원클릭으로
spec-new
Create a new feature specification through structured interview
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Create a new feature specification through structured interview
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Generate changelog entries following Keep a Changelog format
Generate a well-structured pull request with summary and test plan
Cluster related instincts into skills, commands, or agents
Export instincts for sharing with teammates or backup
Import instincts from teammates or community collections
View learned instincts grouped by domain with confidence levels
| name | spec-new |
| description | Create a new feature specification through structured interview |
| user-invocable | true |
Start a structured interview to create a comprehensive specification before
implementation. Uses the spec-interviewer agent to gather requirements
across 8 categories.
$ARGUMENTS — Name or brief description of the feature to specCreate the spec directory and files:
.spec/
└── {slug}.spec.md # Will be populated by interview
Generate slug from the feature name (lowercase, hyphens).
Before starting the interview, explore the codebase:
Delegate to the spec-interviewer agent to ask questions across:
| Category | Focus |
|---|---|
| Functional | What it does, who uses it, user flows |
| Technical | Language, framework, existing patterns |
| Data Model | Entities, relationships, storage |
| Edge Cases | Error handling, boundary conditions |
| Security | Auth, validation, secrets, OWASP |
| Testing | Test types, coverage, fixtures |
| Non-Functional | Performance, scale, accessibility |
| Implementation | Task breakdown, dependencies, risks |
After the interview, compile answers into .spec/{slug}.spec.md:
# Spec: {Feature Name}
## Status: draft
## Created: {date}
## Updated: {date}
## Overview
{Summary from interview}
## Functional Requirements
{From functional category}
## Technical Constraints
{From technical category}
## Data Model
{From data model category}
## Edge Cases & Error Handling
{From edge cases category}
## Security Considerations
{From security category}
## Testing Strategy
{From testing category}
## Non-Functional Requirements
{From non-functional category}
## Implementation Approach
{From implementation category}
## Acceptance Criteria
- [ ] {Derived criteria}
Delegate to the planner agent to create .spec/{slug}.tasks.md:
# Tasks: {Feature Name}
## Progress: 0/N complete (0%)
### Phase 1: Foundation
- [ ] 1.1 Task description
- [ ] 1.2 Task description
### Phase 2: Core Implementation
- [ ] 2.1 Task description
- [ ] 2.2 Task description
### Phase 3: Testing & Hardening
- [ ] 3.1 Task description
- [ ] 3.2 Task description
Initialize .spec/{slug}.log.md:
# Implementation Log: {Feature Name}
## {date} — Spec created
Spec created via /spec-new interview.
Ready for implementation.
After completion, display:
## Spec Created: {Feature Name}
**Files created:**
- `.spec/{slug}.spec.md` — Specification document
- `.spec/{slug}.tasks.md` — Task breakdown (N tasks)
- `.spec/{slug}.log.md` — Implementation log
**Next steps:**
1. Review the spec: `cat .spec/{slug}.spec.md`
2. Check task status: `/spec-status {slug}`
3. Start implementation: `/orchestrate implement {slug}`
**WAITING FOR CONFIRMATION** before starting implementation.
User: /spec-new user authentication
Claude: Creating spec for "user-authentication"...
[Interview begins]
Q1: What is the core purpose of this authentication feature?
...
[After interview completes]
## Spec Created: User Authentication
**Files created:**
- `.spec/user-authentication.spec.md` — Specification document
- `.spec/user-authentication.tasks.md` — Task breakdown (12 tasks)
- `.spec/user-authentication.log.md` — Implementation log
**Next steps:**
1. Review the spec: `cat .spec/user-authentication.spec.md`
2. Check task status: `/spec-status user-authentication`
3. Start implementation: `/orchestrate implement user-authentication`
**WAITING FOR CONFIRMATION** before starting implementation.