pooyagolchian/specforge/init
Claude Code and agent skill by pooyagolchian/specforge
- community
Checking that the SKILL.md file is still in the repository.
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.
Install
npx vskill@latest install pooyagolchian/specforge/initSKILL.md
The same SKILL.md was published earlier as pooyagolchian/specforge/init.
/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 approvals section 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.
Seed content (use if _shared/ templates are unavailable)
constitution.md — a short principles file (4–8 principles). Start minimal:
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.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplugins/specforge/skills/init/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/pooyagolchian/specforge/init)