From dev
Generate a comprehensive technical specification document optimised for Claude Code agentic execution. Use this skill whenever a user wants to spec out a feature, system, or product — including phrases like "write a spec", "create a spec", "spec this out", "I want to build X", "document this feature", "create a technical plan", "plan this system", or any time they describe something they want built and need a structured implementation plan. Also trigger when a user describes an architecture or workflow and asks how to structure it for an agent or developer. Always use this skill before starting any significant build — it produces a single structured document covering architecture, data models, API, frontend components, parallel agent tasks, and acceptance criteria.
How this skill is triggered — by the user, by Claude, or both
Slash command
/dev:spec-writerThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Produces a single comprehensive specification document structured for parallel execution by Claude Code.
Produces a single comprehensive specification document structured for parallel execution by Claude Code.
/dev:spec-writer
When to use: When you want to spec out a feature, system, or product before building it. Produces a structured implementation plan covering architecture, data models, API, frontend components, parallel agent tasks, and acceptance criteria.
What you'll need to provide:
What you get back: A single markdown spec document ready for execution by Claude Code agents.
Examples:
/dev:spec-writer I want to build a dashboard that shows real-time project status
/dev:spec-writer
Before writing the spec, extract from the conversation or ask the user for:
If the user has provided a description, extract as much as possible from it before asking questions. Ask only for what's missing.
Produce a single markdown document with the following sections in order:
For each entity:
Entity: <Name>
Table/Collection: <name>
Fields:
- field_name: type | description | constraints
Indexes: list any non-primary indexes
Relationships: foreign keys or references
Include all entities. If using Convex, write as Convex schema syntax. If using Prisma, write as Prisma schema. Match the project's actual ORM/DB.
For each endpoint or backend function:
Function: <name>
Type: query | mutation | action | REST GET/POST/etc.
Input: { field: type }
Output: { field: type }
Auth: required role or none
Description: what it does
Side effects: any writes, emails, webhooks triggered
Group by domain (e.g. "Bid Functions", "User Functions").
For each significant component:
Component: <Name>
Route/Location: <path or parent component>
Props: { field: type }
State: key local state variables
Data fetching: which API calls / queries it uses
User interactions: what the user can do
Note any shared/reusable components. Include page-level components and key sub-components.
If the system uses structured JSON as a data contract (e.g. document section schemas, AI output schemas), define them here:
{
"type": "object",
"properties": {
"field": { "type": "string", "description": "..." }
},
"required": ["field"]
}
Include one schema block per distinct JSON structure.
Break the full build into parallel workstreams. Each workstream should be independently executable with no blocking dependency on other workstreams (unless explicitly noted).
Format:
## Workstream A: <Name>
Depends on: none | Workstream X (describe what specifically)
Tasks:
1. <Specific, atomic task with clear done condition>
2. ...
Files to create/modify: list key files
Done when: <acceptance statement>
## Workstream B: <Name>
...
Guidelines for task breakdown:
For each major capability, a testable pass/fail statement:
[ ] <Capability>: <specific observable behaviour that proves it works>
Group by workstream. Cover happy path, key error states, and edge cases.
rfpId in the schema should be rfpId everywhere.> Assumption: ...npx claudepluginhub mercurial-weasel/bh-ops-claude-plugins --plugin devProvides behavioral guidelines to reduce common LLM coding mistakes, focusing on simplicity, surgical changes, assumption surfacing, and verifiable success criteria.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.