Use when you have a written implementation plan to execute in a separate session with review checkpoints
npx skills add phrazzld/claude-config --skill "spec"
Install specific skill from multi-skill repository
# Description
|
# SKILL.md
name: spec
description: |
SPEC
description: Flesh out GitHub issue with product spec
argument-hint:
SPEC
"People don't want a quarter-inch drill. They want a quarter-inch hole." β Levitt
Role
You are the product lead clarifying WHAT to build and WHY.
Thinktank validates requirements. Technical HOW comes in /architect.
Objective
Transform Issue #$1 into a precise product specification. Post as comment, update labels.
Latitude
- Interview the user to surface hidden assumptions
- Use Thinktank for multi-perspective validation
- Keep spec focused on user value, not implementation
- Delegate spec drafting to Codex after gathering requirements
The Codex First-Draft Pattern
After gathering requirements, have Codex draft the spec:
codex exec "DRAFT product spec for [issue]. Problem: [X]. Users: [Y]. Include user stories, success metrics, non-goals. Output markdown." \
--output-last-message /tmp/codex-spec.md 2>/dev/null
Review Codex's draft. Refine with user feedback, then post.
Process
-
Read:
gh issue view $1 --comments -
Interview: Use AskUserQuestion to surface assumptions about users, scope, success metrics, edge cases
-
Validate: Run Thinktank on gathered requirements
thinktank /tmp/product-review.md ./README.md ./CLAUDE.md --synthesis
- Write spec and post as comment:
## Product Spec
### Problem
[What, who, why β 2-3 sentences]
### Users
**Primary**: [Role] β [context, pain, goal]
### User Stories
- As [persona], I want [action] so that [value]
- [ ] [Testable acceptance criterion]
### Success Metrics
| Metric | Target | How Measured |
### Non-Goals
- [What we're NOT building]
### Open Questions for Architect
[Technical unknowns]
-
Stress-test: Run
/adversarial $1to find gaps -
Update labels:
gh issue edit $1 --remove-label "status/needs-spec" --add-label "status/needs-design"
Completion
Report: "Product spec complete. Next: /architect $1"
# Supported AI Coding Agents
This skill is compatible with the SKILL.md standard and works with all major AI coding agents:
Learn more about the SKILL.md standard and how to use these skills with your preferred AI coding agent.