chenxin-yan/ralph-starter/create-spec
Claude Code and agent skill by chenxin-yan/ralph-starter
- community
Checking that the SKILL.md file is still in the repository.
Create or refine SPEC.md technical specifications for Ralph AI coding agent. Use when asked to "create spec", "write specification", "define requirements", "plan architecture", or when setting up a new project.
Install
npx vskill@latest install chenxin-yan/ralph-starter/create-specSKILL.md
SPEC Creation Helper
Create or refine SPEC.md for Ralph — an AI coding agent that reads SPEC.md at the start of every iteration to understand what it's building.
Core Principles
- SPEC.md captures what and why. High-level goals, scope, and architectural decisions. Not implementation steps — those belong in
prd.json. - Codebase is source of truth. The agent reads code for implementation details. SPEC.md should not duplicate what the code already shows.
- Keep it stable. A good spec rarely changes. If you're constantly updating it, you're putting implementation details in the wrong place.
- Universal scope. SPEC.md describes the project as it should be — not tied to "v1" or a single milestone. Use
prd.jsonfor phased work.
Output Template
Section Rules
1. Overview — what, why, who
Clearly state what the project is, the problem it solves, and the target users. Vagueness here cascades everywhere.
2. Scope — high-level capabilities, not implementation tasks
List what the project does and doesn't do. Think capabilities, not user stories or acceptance criteria — those belong in prd.json.
Always include an Excluded section. Without boundaries, the agent will over-build.
3. Technical Stack — eliminate all guesswork
Every major technology choice must be explicit. If the agent has to guess, it will guess wrong.
Include: language, framework, database + access method, infrastructure, key libraries.
4. Architecture — decisions, not file trees
Describe the high-level patterns and how components interact. Do NOT document directory structure or file-level organization — the codebase shows that.
Optional for simple projects.
5. Constraints — guiding principles, not exact targets
Capture non-functional requirements that guide the agent's decisions. Keep them directional — exact thresholds and metrics belong in prd.json task notes.
Categories: performance, security, compatibility, code quality.
6. References — link external context
Links to design mockups, API docs, similar projects. Optional — omit if none exist.
Workflows
| User Intent | Workflow | |
|---|---|---|
| "Create spec", "define requirements", "plan the project" | Create | |
| "Review spec", "improve spec", "update spec" | Refine | |
| Unclear | Ask the user |
Create
- Gather requirements — ask the user:
- What are you building? What problem does it solve? Who uses it?
- What's in scope? What's explicitly out?
- What language/framework/database? Key libraries?
- High-level architecture (monolith, microservices, serverless)?
- Any hard constraints (performance, security, compatibility)?
- Draft the spec following the output template and section rules.
- Present for feedback — ask about missing scope, unclear decisions, or tech stack changes.
- Refine and output the final
SPEC.md.
Refine
- Read existing `SPEC.md` and evaluate against section rules.
- Identify gaps — missing sections, vague scope, unspecified tech, no boundaries, implementation details that should move to
prd.json. - Ask clarifying questions to fill gaps.
- Output the refined `SPEC.md`.
Validation Checklist
- [ ] Overview clearly states what, why, and who
- [ ] Scope lists high-level capabilities (not implementation tasks)
- [ ] Excluded section defines explicit boundaries
- [ ] All major technology choices specified
- [ ] Architecture describes patterns, not file structure
- [ ] Constraints are directional, not over-specified
- [ ] No implementation details that belong in
prd.json - [ ] Stable — won't need updating as code evolves
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 repositoryCheckingskills/create-spec/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/chenxin-yan/ralph-starter/create-spec)