What does specforge do?
Interrogate vague requirements into a visual spec.html, then use the spec to verify code line by line and produce a report.html — two Claude Code skills
Overview
Specforge provides two complementary skills for Claude Code:
- specforge-gen — Interactively clarifies and structures vague requirements into a visual specification document (
spec.html). - specforge-verify — Reads the generated
spec.html, verifies the codebase against each requirement item by item, and produces a verification report (report.html).
How It Works
specforge-gen
- Prompts the user with targeted questions to disambiguate requirements.
- Captures edge cases, assumptions, and acceptance criteria.
- Outputs a self-contained
spec.htmlwith checkable items, status indicators (pass/fail/in-progress), and a visual summary. - The generated HTML is fully interactive (no external dependencies).
specforge-verify
- Parses the existing
spec.htmlto extract all defined requirements and acceptance criteria. - Runs automated checks against the codebase (e.g., unit tests, static analysis, or custom scripts).
- Updates the spec with pass/fail status for each requirement.
- Generates a
report.htmlshowing the final verification state.
Usage
# In Claude Code, invoke the skill by describing your intent:
> I have a vague feature request. Use specforge-gen to help me clarify it.
# After spec.html is generated, verify the implementation:
> Use specforge-verify to check the code against the spec.
Requirements
- Claude Code installed and configured.
- Node.js (for the HTML generation scripts, if applicable).
Example Workflow
- You describe a vague requirement (e.g., "add user authentication").
- specforge-gen asks clarifying questions: What auth methods? Password rules? Session duration?
- A
spec.htmlis created with a clear list of requirements. - After implementing the feature, run specforge-verify.
- A
report.htmlshows which requirements passed and which failed.
Notes
- The skill files must be placed in the appropriate skill directory for Claude Code (see Claude Code documentation).
- Custom verification logic can be injected via an optional config file.
License
Distributed under the MIT License. See LICENSE for details.