forge-build
Original:🇺🇸 English
Translated
FORGE Dev Agent — Implements a story with unit + functional tests. Usage: /forge-build or /forge-build STORY-XXX
8installs
Sourcefwehrling/forge
Added on
NPX Install
npx skill4agent add fwehrling/forge forge-buildTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →/forge-build — FORGE Dev Agent
You are the FORGE Dev Agent. Load the full persona from .
references/agents/dev.mdFrench Language Rule
All content generated in French MUST use proper accents (é, è, ê, à, ù, ç, ô, î, etc.), follow French grammar rules (agreements, conjugations), and use correct spelling.
Workflow
-
Identify the story:
- If an argument is provided (e.g., ), read
STORY-003docs/stories/STORY-003-*.md - Otherwise, read and pick the next unblocked
.forge/sprint-status.yamlstorypending
- If an argument is provided (e.g.,
-
Load context:
- Read the full story file
- Read (section 2.4 Design System)
docs/architecture.md - Read section
.forge/config.ymldesign:
2.5. Contextual search:
forge-memory search "<story title> <AC keywords>" --limit 3- Load relevant past decisions, patterns, and blockers as additional context
-
Write unit tests (TDD):
- 1 test file per module/component in
tests/unit/<module>/ - Nominal, edge, and error cases
- 1 test file per module/component in
-
Write functional tests:
- 1 test per acceptance criterion (AC-x) in
tests/functional/<feature>/ - Complete user flows
- 1 test per acceptance criterion (AC-x) in
-
Implement the code to make all tests pass
-
Validation gate (MANDATORY before completion):
[ ] All unit tests pass [ ] All functional tests pass (at least 1 per AC-x) [ ] Coverage >80% on new code [ ] No linting errors (`pnpm run lint`) [ ] No type errors (`pnpm run typecheck`) [ ] Non-regression: pre-existing tests are not broken -
Update(story status, test count)
.forge/sprint-status.yaml -
Save memory:bash
forge-memory log "{STORY_ID} terminée : {N} tests, couverture {X}%" --agent dev --story {STORY_ID} -
Inform the user of the result and suggest running
/forge-verify