/ai-sdlc:sdlc-buildfrom AI-Native SDLC Loop
Converts an accepted spec.md into an engineer-approved plan.md and implements it. Also handles the fast path for low-risk changes that skip intent and spec stages.
Ships in AI-Native SDLC Loop. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Run Stage 3 of 6 in the AI-Native SDLC playbook described in docs/PLAYBOOK.md.
Work in two distinct phases: create an approved engineering plan, then implement the approved plan.
plan.md is the contract for implementation. Do not treat it as optional notes.
Locate .sdlc/<slug>/spec.md and read it completely.
Proceed only when the spec exists and declares Status: accepted.
If the spec is absent, draft, or unapproved, route to sdlc-design and stop —
unless the change enters on the fast path below.
Do not begin code changes during Phase A.
The playbook already allows a low-risk change to enter at Build. This is how.
A change takes the fast path only when a person declares it low-risk. The agent never makes that call; it checks the declaration and can refuse it.
On a declaration, before writing anything:
Read the Sensitive paths list in REVIEW.md. If that file or that list is
absent, there is no fast path: route to sdlc-plan and stop.
Compare every file the change will touch against that list.
If any file matches, refuse the fast path, name the matching path, and route to
sdlc-plan. A declaration does not override the list.
If none matches, write .sdlc/<slug>/plan.md with a ## Fast path section
immediately above ## Files that change:
## Fast path
Declared low-risk by: [person]. Reason: [why].
Sensitive-path check: no file in `REVIEW.md` **Sensitive paths** is touched.
Add that heading only to a fast-path plan. The artifact gate reads it from the
committed plan, and while it is present every sensitive path is closed to this
change — an ordinary plan carrying it would block its own work. When a change is
re-routed to sdlc-plan, remove the section.
A fast-path change skips Stage 1 and Stage 2. It skips nothing else. It still gets the Plan review below, the full Build and Test stages, the Stage 5 review passes, and a human approval on the PR.
The declared file list is a claim, not a fact. sdlc-deploy checks the real diff
against the sensitive-path list again, and a diff that reaches one revokes the fast
path.
## Fast path
declaration instead, and treat its stated reason and scope as the requirement the
plan must satisfy..sdlc/<slug>/plan.md using the required template.Review the plan while changing direction still means editing Markdown. A defect caught here costs a paragraph; the same defect caught at Stage 5 costs a commit and a review round, and every round an agent author spends is a round nobody spends on the next change.
REVIEW.md. The default is
codex-plan-review.sdlc-reviewer subagent
running the Plan pass, and record the fallback. Never skip the review because
the configured reviewer is missing.Plan pass only. Bugs, Security and Compliance need code and run at
Stage 5.Plan pass only, at most three rounds,
only what changed since the previous round after round 1, no finding that
review-findings.md already records, a repeated defect reported once as a
class, and findings in the one-line path:line — Severity — failure — fix form..sdlc/<slug>/review-findings.md under stage Plan.An external reviewer may debate to its own conclusion rather than to this budget —
codex-plan-review, for one, is documented to run until it approves or deadlocks,
with no round cap of its own. Passing the budget in the invocation is then a request,
not a limit. Where the cost of that matters more than the extra depth, name
sdlc-reviewer for Stage 3 in REVIEW.md: it honours the cap because this skill
drives its rounds.
Fix what the review finds before showing the plan, or record why a finding was not acted on. The engineer approves the plan and its findings together.
Pay particular attention to Files that change. The artifact gate admits source
writes from that list: a missing entry blocks the implementation mid-flight, and an
over-broad entry widens what the gate will admit.
Write this plan structure verbatim. Replace only bracketed content with the engineer's confirmed approach.
# Plan: [feature name] (from spec.md [date])
## Files that change
[list of affected files]
## Order of work
[numbered steps]
## Risks
[potential issues]
## Proof
[test coverage description]
In Proof, describe verification coverage rather than writing test code. For example, name the unit tests and integration tests that will establish correctness.
List expected files precisely enough that reviewers can compare plan to changes.
After showing the plan, stop and ask exactly:
Engineer, does this plan match your approach?
Accept only explicit engineer approval. Do not treat a request to continue as approval, and do not implement while approval is pending.
If the engineer corrects the plan, revise it and repeat the gate.
Begin Phase B only after explicit approval of plan.md.
CLAUDE.md before touching implementation.CLAUDE.md as project memory and instructions.plan.md as it happens, including why it was
necessary and how it affects proof or risk.If a deviation invalidates the plan's contract, pause and seek engineer direction before continuing.
Do not claim that tests pass in this stage unless tests have actually been run; formal verification is Stage 4.
When the code exists and deviations are recorded, stop and ask exactly:
Is the implementation complete per the plan?
Move to testing only after confirmation.
If the engineer says no or identifies incomplete work, return to the accepted plan and complete or revise the recorded work before asking again.
Hand off plan.md and the implemented code to sdlc-test.
Include actual deviations and their recorded locations in plan.md.
Do not hand off a plan without code or code without its plan.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
sdlc, planning, implementation, fast-path, engineering-workflow
npx claudepluginhub ghiaog123/ai-native-sdlc --plugin ai-sdlc8 skills in this plugin
/ai-sdlc-initScaffold a repository for the AI-native SDLC loop — create .sdlc/, generate project memory (CLAUDE.md for Claude Code, AGENTS.md for Codex) from the project's real build, test and lint commands, and install the REVIEW.md and bands.yaml policy templates. Use when the user says "initialize the SDLC loop", "set up ai-sdlc here", "onboard this repo onto the AI-native SDLC", "turn the loop on for this project", or runs /ai-sdlc-init. Idempotent and safe to re-run. Do NOT use for reporting progress on in-flight changes (ai-sdlc-status), or for any stage work itself (sdlc-plan through sdlc-maintain)./ai-sdlc-statusReport where every in-flight change sits in the AI-native SDLC loop — furthest completed stage, git state of its artifacts, the next required human gate, and any stall. Use when the user asks "where are we", "what is the SDLC status", "which changes are waiting on me", "what gate is pending", "show in-flight changes", or runs /ai-sdlc-status. Do NOT use to set the loop up (ai-sdlc-init) or to advance a stage (sdlc-plan through sdlc-maintain)./sdlc-deployPrepare a verified change for human PR review by running REVIEW.md passes through the sdlc-reviewer subagent and posting ranked findings. Do NOT use for intent or scope decisions, accepting organizational risk, self-approval, merging, deploying, or bypassing branch protection./sdlc-designTurn an accepted .sdlc/feature-slug/intent.md into a policy-constrained, reviewer-approved spec.md when asked to design or specify an approved feature. Do NOT use for raw idea discovery, coding, test execution, PR review, deployment, or production monitoring./sdlc-maintainMonitor deployed code against project-root bands.yaml, diagnose tier-2 breaches, and propose a new intent for tier-3 breaches. Do NOT use to apply production fixes, merge or deploy code, replace incident ownership, or make unapproved risk decisions./sdlc-planTurn a raw feature idea, problem statement, or request such as “plan this feature” into a human-approved .sdlc/feature-slug/intent.md by interviewing the originator before design begins. Do NOT use for architecture design, implementation, testing, review, deployment, or monitoring work.Other plugins' skills for the same job