spec
Chains /mvp → /backend-spec — analyzes an app from video/screenshots/description, then generates implementation stories from the analysis.
Install this skill
No account required. Pick your tool, or use the command that detects it for you.
Run in your terminal. It detects your AI tool.
npx @skills-hub-ai/cli install specManual setup by platform
Claude Code
~/.claude/skills/spec/SKILL.md
Signing
SignedSLSA L2- Signed by
- skills-hub.ai distributor
- Method
- Distributor-signed by skills-hub.aiSigned with the skills-hub.ai Ed25519 distributor key over this exact slug, version and content. Check it with `npx @skills-hub-ai/cli verify`.
- Key
- skills-hub-ed25519-2026-11
- Signed
Instructions
You are an autonomous analysis-to-spec agent. Do NOT ask the user questions.
Run the full pipeline below without pausing between phases.
INPUT:
$ARGUMENTS
The user will provide one or more of:
- A video file or screen recording of an application.
- Screenshots of an application.
- A URL or description of the application.
- Any combination of the above.
PHASE 1: PRODUCT ANALYSIS (/mvp)
Follow the instructions defined in the /mvp skill exactly.
Produce all sections of the /mvp output (Application Overview, Feature Inventory,
MVP Definition, Architecture Assessment, UX/Design Analysis, Improvements, Story Candidates, Summary).
Store the full output — you will use the Story Candidates and Feature Inventory
in Phase 2.
Do NOT stop here. Continue immediately to Phase 2.
PHASE 2: STORY GENERATION (/backend-spec)
Take every Story Candidate identified in Phase 1 and generate a full engineering
spec for each one by following the /backend-spec skill instructions exactly.
For each story:
- Use the feature context from the Phase 1 analysis as input
- Generate the full Jira-format spec (description, acceptance criteria, routes, dev notes, schemas)
- Prefix each story with BE: or FE: as appropriate
Order stories by implementation dependency — foundational stories (auth, models, core APIs)
first, then features that build on them.
SELF-HEALING VALIDATION (max 3 iterations)
After completing all phases, validate the combined output:
- Re-run the specific checks that originally found issues to confirm fixes.
- Run the project's test suite to verify fixes didn't introduce regressions.
- Run build/compile to confirm no breakage.
- If new issues surfaced from fixes, add them to the fix queue.
- Repeat the fix-validate cycle up to 3 iterations total.
STOP when:
- Zero Critical/High issues remain
- Build and tests pass
- No new issues introduced by fixes
IF STILL FAILING after 3 iterations:
- Document remaining issues with full context
- Classify as requiring manual intervention or architectural changes
OUTPUT
When both phases are complete, print a summary:
Spec Complete
Product: [app name / description]
Stories generated: [N] (BE: [N], FE: [N])
Implementation order:
- [Story title] — [why first]
- [Story title] — [why next]
- ...
Next steps:
- Run
/arch-review [story]to review a story before implementing - Run
/review-implement [story]to review and implement in one pass - Run
/iterate [story]to implement with autonomous refinement
platforms: - CLAUDE_CODE
SELF-EVOLUTION TELEMETRY
After producing output, record execution metadata for the /evolve pipeline.
Check if a project memory directory exists:
- Look for the project path in
~/.claude/projects/ - If found, append to
skill-telemetry.mdin that memory directory
Entry format:
### /spec — {{YYYY-MM-DD}}
- Outcome: {{SUCCESS | PARTIAL | FAILED}}
- Self-healed: {{yes — what was healed | no}}
- Iterations used: {{N}} / {{N max}}
- Bottleneck: {{phase that struggled or "none"}}
- Suggestion: {{one-line improvement idea for /evolve, or "none"}}
Only log if the memory directory exists. Skip silently if not found.
Keep entries concise — /evolve will parse these for skill improvement signals.
STRICT RULES:
- Do NOT skip Phase 1 and jump to story generation.
- Do NOT ask the user for input between phases.
- Every story in Phase 2 must trace back to a feature or story candidate from Phase 1.
- All rules from
/mvpand/backend-specapply to their respective phases.
NEXT STEPS:
- "Run
/review-implementto review and implement a story in one pass." - "Run
/arch-reviewto review a story's architecture before implementing." - "Run
/iterateto implement a story with autonomous refinement."
Security
Reviews (0)
Related skills
Browse all →More from Skills Hub
View source →More Combo skills
Browse category →Frequently asked questions about spec
What does the spec skill do?
Chains /mvp → /backend-spec — analyzes an app from video/screenshots/description, then generates implementation stories from the analysis. It's a reusable SKILL.md instruction set that loads into your AI coding assistant on demand, no prompt engineering, no copy-pasting every session.
How do I install the spec skill?
Run `npx @skills-hub-ai/cli install spec` from your terminal. The CLI writes the SKILL.md to the correct location for your AI tool (e.g. ~/.claude/skills/spec/ for Claude Code or ~/.cursor/skills/ for Cursor with --target cursor) and adds it to your project's .skills.json lockfile.
Which AI tools does spec work with?
spec runs in Claude Code. It follows the open Agent Skills standard (SKILL.md), so the same skill works in every supported tool without modification.
Is the spec skill free?
Yes. Every skill on skills-hub.ai is free and open-source. There are no premium tiers, paywalls, or usage limits. You only pay for whatever AI assistant you're already using.
How do I use spec after installing it?
In Claude Code, type `/spec` (or whatever slash command the skill registers) and the AI follows the skill's instructions immediately. You can also reference it by name in natural language, your AI loads the skill into context when relevant.
Can I share the spec skill with my team?
Yes. Commit your project's .skills.json lockfile and teammates run `npx @skills-hub-ai/cli install` (no args) to install every skill at the exact version you pinned. Organization-scoped installs work via skills-hub.ai organizations.