Define or update a feature specification. Provide a feature name and description with optional Figma link. Updates spec/feature/[name]/spec.md and design.md without touching source code.
Scanned 5/27/2026
Install via CLI
openskills install ByeongminLee/nextjs-claude-code---
name: spec
description: Define or update a feature specification. Provide a feature name and description with optional Figma link. Updates spec/feature/[name]/spec.md and design.md without touching source code.
argument-hint: "[feature-name] [description + optional Figma URL]"
context: fork
---
## Prerequisite check
Before routing to any agent, verify `/init` has been run:
- Check if `spec/PROJECT.md` exists
- If NOT exists → output: "Project not initialized. Run `/init` first to analyze your codebase and set up the spec directory." → **STOP**
## Model selection
Assess task size per `spec/rules/_model-routing.md`:
- If updating an existing spec with minor changes (feature directory already exists, spec.md present) → spawn `spec-writer` with `model: haiku`
- If creating a new feature spec from scratch → spawn `spec-writer` with `model: sonnet`
## Task
Spawn `spec-writer` agent (with assessed model) with the following prompt:
```
Write or update the feature specification based on the following:
$ARGUMENTS
```
No comments yet. Be the first to comment!
Orchestrate multi-phase deep research with web search, memory retrieval, pattern matching, and synthesis into structured findings