From spec-plugin
Break down a single version into executable story files. Reads the version spec, architecture, and roadmap, then creates ordered stories. Adapts to project type — code stories for engineers, deliverable stories for any project type. Use after /architect-version.
npx claudepluginhub nexaedge/nexaedge-marketplace --plugin spec-pluginThis skill uses the workspace's default tool permissions.
Your task: break a version into ordered story files, each sized for a single AI agent session.
Guides Next.js Cache Components and Partial Prerendering (PPR) with cacheComponents enabled. Implements 'use cache', cacheLife(), cacheTag(), revalidateTag(), static/dynamic optimization, and cache debugging.
Migrates code, prompts, and API calls from Claude Sonnet 4.0/4.5 or Opus 4.1 to Opus 4.5, updating model strings on Anthropic, AWS, GCP, Azure platforms.
Automates semantic versioning and release workflow for Claude Code plugins: bumps versions in package.json, marketplace.json, plugin.json; verifies builds; creates git tags, GitHub releases, changelogs.
Your task: break a version into ordered story files, each sized for a single AI agent session.
specs/ in CWD.specs/<version>.mdspecs/<version>/architecture.mdspecs/architecture.mdspecs/roadmap.mdspecs/<version>/Pay special attention to the version spec's Definition of Done — the final story or stories must directly satisfy these conditions.
Break the version into stories following these principles:
Every story must specify its agent — the agent type that will execute it:
For code projects:
engineer — Backend, data layer, API endpoints, integrations, tests, wiring UI. Runs /execute-task.designer — Visual UI creation: new pages, components, layouts, design system. Runs /interface-design.For non-code projects:
engineer — The default executor. Runs /execute-task for any deliverable type (documents, analyses, research outputs). Despite the name, this agent handles all execution work.The orchestrator uses this field directly as subagent_type when spawning agents.
For features with UI, use paired stories:
agent: designer) — Creates visual components/layoutsagent: engineer) — Wires design into codebaseNot every UI story needs pairing. Use judgment.
Each engineer story must include testing acceptance criteria proportional to complexity:
Include a ## Testing Guidance section in each code story.
Each story should include clear acceptance criteria that can be verified by reading/reviewing the output:
Create each story as specs/<version>/NNN-story-slug.md:
# NNN: Story Title
**Agent**: `engineer` | `designer`
## Summary
One paragraph describing what this story delivers.
## Prerequisites
- What must exist before starting (prior stories, inputs, access)
## Deliverables
- What exists after completion (new files, endpoints, documents, analyses)
## Acceptance Criteria
- [ ] Concrete, verifiable condition 1
- [ ] Concrete, verifiable condition 2
## Implementation Guidance
Specific guidance on how to produce the deliverable. For code: files to create/modify, patterns to follow. For non-code: sources to use, structure to follow, quality standards.
## Testing Guidance (code projects)
What to test, at what level, and any fixtures needed.
## Architecture Context
Inline the relevant decisions so the executor doesn't need to cross-reference.
## References
- Links to relevant architecture sections for deeper context
Write specs/<version>/stories.md:
# <Version> — Stories
## Status
| # | Story | Agent | Status |
|---|-------|-------|--------|
| 001 | Story title | engineer | pending |
| 002 | Design: Page X | designer | pending |
| 003 | Integrate: Page X | engineer | pending |
## Dependency Graph
(mermaid diagram showing story dependencies if non-linear)