backpropagation
Trace runtime bugs back to spec gaps — identify missing acceptance criteria, update specs, generate regression tests, and detect patterns
Autonomous task implementation workflow — implement, test, review, commit for each task in the frontier
$ npx -y skills add LucasDuys/forge --skill executing --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/executingContext preview
The summary Claude sees to decide when to auto-load this skill.
Autonomous task implementation workflow — implement, test, review, commit for each task in the frontier
name: executing description: Autonomous task implementation workflow — implement, test, review, commit for each task in the frontier
This skill guides the per-task implementation cycle during `/forge execute`. For each task in the frontier, you follow a structured workflow: read the spec, implement, test, review, commit, and update state. The Stop hook drives task-to-task progression; this skill handles the work within a single task.
You will receive:
1. **Read current state** from `.forge/state.md` — check what task you are on, what is already done, any in-flight work or key decisions from prior tasks. 2. **Read the frontier** from `.forge/plans/{spec}-frontier.md` — find your current task, understand its dependencies, and what comes after. 3. **Read the spec** from `.forge/specs/spec-{domain}.md` — find the R-numbered requirements and acceptance criteria that this task must satisfy. Identify the exact checkboxes you need to check off. 4. **Read capabilities** from `.forge/capabilities.json` if it exists — check for available MCP servers (Context7 for docs, Playwright for E2E, MongoDB for data inspection) and skills (TDD, systematic debugging, code review). 5. **Cited-docs pass (forge-self-fixes R009).** Before moving to Step 2, list every external document the spec references and read each one. Run:
node scripts/forge-tools.cjs list-cited-docs --spec .forge/specs/spec-{domain}.md --repo-root .The CLI returns a JSON array of `{ line, path }` for absolute, home-relative, and sibling-repo paths. For each returned path, use `Read` to open the document before writing any implementation code. If a path does not resolve, log a warning to state.md decisions and continue — do NOT fabricate values that were supposed to come from the cited doc. This closes the gap from the 2026-04-21 forge-landing run where the executor fabricated benchmark numbers instead of reading the source doc the spec had cited.
1. **Multi-repo**: If the task has a `repo:` tag, `cd` into the correct repo directory (from `.forge/config.json` repos). Read that repo's CLAUDE.md or coding conventions file first. 2. **Single-repo**: Stay in the current directory. Read CLAUDE.md if it exists. 3. **Conventions**: Note the project's coding style, naming conventions, import patterns, test framework, and commit message format. Follow them exactly. 4. **UI-task detection (forge-self-fixes R003).** Run the classifier to decide whether this task needs the design-skill routing:
node scripts/forge-tools.cjs task-classify \
--task-id T00N \
--spec .forge/specs/spec-{domain}.md \
--capabilities .forge/capabilities.jsonThe output shape is `{ ui:boolean, brand:string|null, reasons:[...] }`. If `ui` is true you MUST, before writing any component code in Step 3:
This is the execution-side counterpart to the R002 DESIGN.md gate in the brainstorming skill. The brainstorm skill wrote the tokens; the executor reads them. The 2026-04-21 forge-landing regression was an executor that wrote an "Anthropic-aesthetic" landing page without either step, so the tokens shipped as approximations. This block closes that loop.
The implementation approach depends on the depth level and available capabilities:
1. **Write failing tests first.** Based on the acceptance criteria, write test cases that define the expected behavior. Run them to confirm they fail. 2. **Implement the feature** to make the tests pass. Write the minimum code needed. 3. **Run all tests** (not just the new ones) to ensure nothing is broken. 4. **Refactor** if needed — clean up while tests are green.
1. **Implement the feature** based on the acceptance criteria. 2. **Write tests** after implementation — cover happy paths and key error cases from the acceptance criteria. 3. **Run all tests** to confirm everything passes.
1. **Implement the feature** based on the acceptance criteria. 2. **Run existing tests** if there is an existing test suite. Do not write new tests unless the project requires it. 3. If no test suite exists, manually verify the implementation satisfies the acceptance criteria.
After implementation, run the test suite:
1. Run the relevant test command for the project (de
Turn a one-line idea into a branch with tested, reviewed, committed code. The brainstorm-to-commit pipeline for Claude Code.
Repo: LucasDuys/forge
Trace runtime bugs back to spec gaps — identify missing acceptance criteria, update specs, generate regression tests, and detect patterns
Interactive spec generation — turn ideas into concrete specs with R-numbered requirements and testable acceptance criteria
Internal token optimization for Forge agent artifacts (handoff notes, artifact summaries, review notes). NOT exposed as a user-facing /caveman command.
Hackathon-native multiplayer collaboration mode -- brain-dump together, claim tasks across machines, flag decisions async. Drives the subcommands of…
DESIGN.md integration for Forge — ensures visual consistency across all UI tasks through standardized design specifications
Graph-aware planning and research using codebase knowledge graphs — enables architecture-aware task decomposition, dependency discovery, and context reduction