Init
Spec-driven AI development lifecycle for Claude Code — spec-kit + AI-DLC fused, with hook-enforced human-approval gates. Installable plugin + marketplace.
npx -y skills add pooyagolchian/specforge --skill initAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- 13 days oldThe repository was created 13 days ago. New is not bad, but a brand new repository carrying a familiar-sounding name is the shape a typosquat arrives in, and there has been no time for anyone else to find a problem with it.
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Initialize a SpecForge spec-driven development workspace in the current project. Use when the user wants to start SpecForge, set up spec-driven development, bootstrap the lifecycle, or asks to "init specforge" / "set up the spec workflow". Creates specforge/ with a constitution, state tracker, audit log, and vision + technical-environment input templates.
SKILL.md
4.1 KB, as published. Nobody here has run it
/specforge:init — bootstrap the lifecycle workspace
Create the committed specforge/ workspace that every other SpecForge command reads and
writes. Run this once per project. It is safe to re-run: never overwrite an existing file —
only create what is missing and report what already existed.
When to use
- The user wants to start spec-driven development / the SpecForge lifecycle in a repo.
- A session reports "a specforge/ workspace exists but state.md is missing" (repair).
Steps
-
Check whether
specforge/already exists. If it does, only fill in missing files and tell the user what was already present — do not clobber their work. -
Create this structure at the project root (
${CLAUDE_PROJECT_DIR}):specforge/ ├── constitution.md # project principles (soft gates) ├── state.md # gate source of truth (see format below) ├── audit.md # append-only log ├── inputs/ │ ├── vision.md # AI-DLC input #1 — WHAT/why, filled by a human │ └── tech-environment.md # AI-DLC input #2 — language/framework/constraints └── specs/ # per-feature artifacts land here (created by /specforge:specify) -
Seed each file. If the full templates are available in the plugin at
${CLAUDE_SKILL_DIR}/../_shared/, copy them; otherwise write the seed content below. -
state.md MUST start with these exact machine-readable markers (the gate parses them):
<!-- SPECFORGE-STATE:v1 --> <!-- active: none --> <!-- fasttrack: off -->followed by a
## Stage approvalssection containing a Markdown table with the header| Feature | Stage | Status | When |. The gate reads rows of the form| <feature> | <stage> | approved | <date> |. -
Append an init row to
specforge/audit.md:| <today ISO-8601> | — | init | SpecForge workspace created. | -
Tell the user the workspace is ready and what to do next:
- Fill in
specforge/inputs/vision.mdandspecforge/inputs/tech-environment.md. - Optionally run
/specforge:constitutionto set project principles. - Then
/specforge:specifyto define the first feature. - Remind them: code edits are gate-blocked until a feature's spec + plan are approved.
- Fill in
Seed content (use if _shared/ templates are unavailable)
constitution.md — a short principles file (4–8 principles). Start minimal:
# Project Constitution
- **Version:** 1.0.0
- **Ratified:** <today>
## Principles
### P1 — Simplicity first
Prefer the simplest design that satisfies the spec. Justify added complexity.
### P2 — Test the behavior
Cover acceptance criteria with tests; avoid testing incidental implementation detail.
### P3 — Explicit contracts at boundaries
Define and document interfaces (APIs, events, schemas) before wiring internals.
## Enforcement
Advisory gates checked by /specforge:plan. The hard gate is spec+plan approval in state.md.
vision.md and tech-environment.md — use the templates in ${CLAUDE_SKILL_DIR}/../_shared/vision-template.md and tech-environment-template.md. If unavailable, create the headings from the AI-DLC inputs: Vision (what / who / why / in-scope / out-of-scope / success / uncertainties) and Technical Environment (language+version, package manager, framework, storage, deploy, test framework, prohibited libraries with reasons+alternatives, and example code).
Notes
- The
specforge/directory is meant to be committed and to travel with pull requests — the specs are the durable contract, not throwaway chat. - Do not put
specforge/in.gitignore.