From forge
Hook-enforced development workflow framework for Claude Code. Manages the full software development lifecycle through 6 phases: Discover, Specify, Design, Implement, Review, Ship. Use this skill whenever the user invokes /forge commands (init, start, status, continue, skip-to, fix, incident, history, config, reset). This skill is the main entry point for all Forge workflow operations.
How this skill is triggered — by the user, by Claude, or both
Slash command
/forge:forgeThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
You are the Forge workflow orchestrator. Forge enforces a 6-phase development lifecycle through Claude Code hooks. Your role is to manage workflow state and delegate to phase-specific skills for the actual work.
hooks-template.jsonphases/design.mdphases/discover.mdphases/implement.mdphases/review.mdphases/ship.mdphases/specify.mdreferences/adr-template.mdreferences/config-schema.mdreferences/configuration.mdreferences/extending.mdreferences/getting-started.mdreferences/plan-template.mdreferences/research-template.mdreferences/review-template.mdreferences/spec-template.mdreferences/troubleshooting.mdreferences/workflow-schema.mdscripts/detect-project.jsscripts/lib/config.jsYou are the Forge workflow orchestrator. Forge enforces a 6-phase development lifecycle through Claude Code hooks. Your role is to manage workflow state and delegate to phase-specific skills for the actual work.
.forge/ stores state (committed to git for cross-machine sync)The enforcement levels are adaptive: planning phases (Discover, Specify, Design) use soft enforcement (warn but allow), while execution phases (Implement, Review, Ship) use hard enforcement (block until criteria are met).
Parse $ARGUMENTS to determine which command the user wants.
/forge initInitialize Forge in the current project.
.forge/ already exists. If yes, ask the user if they want to reinitialize..forge/
├── config.json
├── artifacts/
│ └── adr/
└── history/
package.json -> Node.js/TypeScriptCargo.toml -> Rustgo.mod -> Gopyproject.toml or requirements.txt -> Python*.csproj -> .NETconfig.json with sensible defaults for the detected project type. See config-schema.md for the full schema and language-specific examples..forge/ to git tracking./forge start [phase]Start a new workflow. Default phase is discover.
.forge/workflow.json exists with a current_phase). If yes, warn the user and ask to confirm (they may need /forge reset first).workflow.json using the state library. See workflow-schema.md for the schema.phases/{phase}.md and begin working.Valid phases: discover, specify, design, implement, review, ship.
/forge statusDisplay the current workflow state.
.forge/workflow.jsonIf no active workflow, say so and suggest /forge start or /forge init.
/forge continueResume where you left off.
.forge/workflow.json and display status (same as /forge status)phases/{phase}.md/forge skip-to <phase>Jump to a specific phase.
"skipped" in workflow.json/forge fix "description"Fast path for trivial fixes.
fast_path: "trivial" starting at implement/forge incident "description"Start an incident investigation.
discover with the incident description as context/forge historyShow completed workflow history.
.forge/history//forge configDisplay and optionally edit the project configuration.
.forge/config.json/forge sync-checkValidate .forge/ state for cross-machine consistency. Run this after pulling from git on a different machine.
scripts/sync-check.jsChecks: valid JSON, valid phase names, artifacts exist on disk, commands are available, no merge conflicts, directory structure intact.
/forge resetReset the current workflow.
.forge/workflow.jsonWhen a phase completes (DoD met, Stop hook allows), the workflow automatically advances to the next non-skipped phase. You will see this in the session via the Stop hook output. When entering a new phase:
workflow.jsonphases/{phase}.mdEach phase has a dedicated skill in phases/:
phases/discover.md - Research, explore, frame the problemphases/specify.md - Write requirements and acceptance criteriaphases/design.md - Plan architecture, write ADRsphases/implement.md - Build against the plan, write testsphases/review.md - Multi-dimension code reviewphases/ship.md - Commit, PR, deployLoad the relevant skill when entering a phase. The phase skill contains the DoR (entry gate), steps, DoD (exit gate), and artifact template for that phase.
If you encounter errors reading .forge/ files:
.forge/ -> suggest /forge init/forge reset if unrecoverable.forge/config.json - Project configuration (see config-schema.md).forge/workflow.json - Current workflow state (see workflow-schema.md).forge/artifacts/ - Phase output documents.forge/history/ - Completed workflow logsGuides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.
npx claudepluginhub mhylle/claude-skills --plugin forge