aammo1/sk

create-spec

Create a structured feature specification with self-contained task files organized into parallel execution waves.

소스 보기

사용 방법

  1. 설치 명령을 복사하고 자신의 에이전트 환경에 설치하기 전에 소스 패키지를 확인하세요.
  2. 필요한 도구, 인증 정보, 지원 환경은 원본 문서에서 확인하세요.
  3. 입력과 원하는 산출물을 설명하고 출처와 결과를 대조하세요.
npx skills add https://github.com/aammo1/sk --skill create-spec

시작 전 확인

  • 설치에는 모델 구독, API 한도, 파일 접근 권한이 포함되지 않습니다.
  • 별점 수와 설치 수는 활동 지표이며 독립적인 품질·보안 검증이 아닙니다.
원본 Skill 문서

원본 저장소의 제목, 예시, 코드, 표, 링크, 이미지를 유지해 표시합니다.

Create Feature Specification

Transform a planning conversation into a structured spec folder that enables parallel agent implementation. The spec breaks a feature into self-contained task files — each one detailed enough that a coder agent can pick it up cold and implement it without reading anything else.

The key insight: implementation plans that live in a single file are either too large for a context window or too shallow for independent execution. By splitting into one file per task with full context in each, we enable multiple agents to work in parallel while keeping each agent's context focused.

When to Use

  • After a planning conversation where requirements and technical details have been discussed
  • When the user asks to create a spec, plan a feature, or break work into tasks
  • When the user wants to prepare work for parallel agent implementation

Instructions

Step 1: Gather Requirements

If the conversation already contains planning context (requirements discussed, technical decisions made, architecture outlined), extract all of it. Review the entire conversation to ensure nothing is lost — the spec is the single source of truth, and anything not captured here disappears.

If no planning conversation exists, interview the user:

  • What does this feature do and why does it matter?
  • What are the acceptance criteria?
  • What technical constraints or decisions have been made?
  • What files, APIs, schemas, or patterns are involved?

Step 2: Name the Feature

Choose a kebab-case name that clearly identifies the feature (e.g., add-user-auth, migrate-to-postgres, dashboard-redesign). This becomes the folder name under specs/.

Step 3: Decompose into Tasks

Break the implementation into atomic tasks. Each task should:

  • Be completable in a single coding session by one agent
  • Have a clear, specific scope (one concern per task)
  • Produce working, testable code when complete
  • Not overlap in files modified with other tasks in the same wave

Think carefully about granularity. Too coarse and agents can't work in parallel. Too fine and the overhead of context-switching between tasks dominates. A good task typically creates or modifies 1-5 files around a single concern.

Do NOT include testing tasks (unit tests, e2e tests) unless the user explicitly asks for them.

Step 4: Build the Dependency Graph

For each task, identify:

  • What it depends on: which tasks must complete before this one can start
  • What depends on it: which tasks are blocked until this one finishes

Tasks with no dependencies form Wave 1. Tasks whose dependencies are all in Wave 1 form Wave 2. And so on. All tasks within a wave can execute in parallel.

When assigning waves, verify that tasks within the same wave do not modify overlapping files. If two tasks in the same wave would touch the same file, move one to a later wave — parallel agents on the same branch cannot safely modify the same file.

Step 5: Create the Spec Folder

Create the following structure at specs/{feature-name}/:

specs/{feature-name}/
├── README.md
├── requirements.md
├── action-required.md
└── tasks/
    ├── task-01-{name}.md
    ├── task-02-{name}.md
    └── ...

Read the templates in references/ before writing each file:

  • references/readme-template.md — for the README (dependency graph, wave table, status tracking)
  • references/task-template.md — for each task file (self-contained with all context)
  • references/requirements-template.md — for the requirements document
  • references/action-required-template.md — for manual human steps

Task files are numbered with zero-padded two-digit prefixes in topological order: Wave 1 tasks first, then Wave 2, etc. Within a wave, order is arbitrary but stable.

Step 6: Write Self-Contained Task Files

This is the most important step. Each task file is the only thing a coder agent will read before implementing. It must contain everything the agent needs:

  • Description: what to build and why it matters in context
  • Dependency context: what prior tasks produce that this task needs (summarized in prose, not just filenames). The agent should not need to read other task files.
  • Technical details: CLI commands, code snippets, schemas, file paths, env vars, API endpoints — every implementation-specific detail from the planning conversation
  • Files to create/modify: explicit list with purpose for each
  • Acceptance criteria: specific, verifiable conditions

Review each task file with fresh eyes: could an agent who has never seen the planning conversation implement this correctly using only this file? If not, add what's missing.

Step 7: Extract Manual Actions

Identify any steps that require human action (account creation, API key setup, DNS configuration, environment variables, third-party service registration, etc.). Write these to action-required.md grouped by timing (Before/During/After implementation). If none exist, note "No manual steps required."

Step 8: Report to User

After creating the spec, display:

Feature specification created at specs/{feature-name}/

Files created:
- README.md (dependency graph, {N} waves, {T} tasks)
- requirements.md
- action-required.md
- tasks/ ({T} task files)

Wave breakdown:
- Wave 1: {count} tasks (parallel) — {brief description}
- Wave 2: {count} tasks (parallel) — {brief description}
- ...

Next steps:
1. Review action-required.md for tasks you need to complete manually
2. Review the requirements and task files
3. Use /implement-feature to start parallel implementation

Critical Rules

  • Every task file must be fully self-contained — this is the entire point of the spec structure. A coder agent reading only that file must know exactly what to do.
  • Capture ALL technical details from the planning conversation. The spec is the single source of truth — CLI commands, schemas, code snippets, file paths, env vars, API endpoints. Anything not captured here is lost.
  • Tasks within the same wave must not modify overlapping files. Parallel agents on the same branch cannot safely touch the same files.
  • Keep tasks atomic — one concern per task. If a task has more than 5-7 files to modify, consider splitting it.
  • Do not create testing tasks unless the user explicitly asks for them.
  • Number task files in topological order (wave 1 first, then wave 2, etc.) for easy scanning.

관련 작업

같은 저장소의 Skills

더 많은 Skills

모든 Skills
aammo1
커뮤니티

find-skills

Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill.

설치 수
1
GitHub Stars
0
업데이트
10월 17일
aammo1
커뮤니티

frontend-design

Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, artifacts, posters, or applications (examples include websites, landing pages, dashboards, React components, HTML/CSS layouts, or when styling/beautifying any web UI). Generates creative, polished code and UI design that avoids generic AI aesthetics.

설치 수
1
GitHub Stars
0
업데이트
10월 17일
aammo1
커뮤니티

implement-feature

Orchestrate parallel implementation of a feature specification by dispatching coder agents wave-by-wave with code review gates between waves. Use this skill when the user says "implement this feature", "start implementing", "run the spec", "execute the plan", "continue implementing", or wants to begin coding a previously planned feature from a specs/{feature}/ folder. Also use when the user says "/implement-feature" or drags a spec folder into the conversation and asks to implement it. This skil

설치 수
1
GitHub Stars
0
업데이트
10월 17일
aammo1
커뮤니티

nextjs

Next.js App Router expert guidance. Use when building, debugging, or architecting Next.js applications — routing, Server Components, Server Actions, Cache Components, layouts, middleware/proxy, data fetching, rendering strategies, and deployment on Vercel.

설치 수
1
GitHub Stars
0
업데이트
10월 17일