본문으로 건너뛰기
cccskills
무료GitHub에 공개

openspec-workflow

Write the spec before the code, then check the built thing against it — so agents build what was agreed, not what they invented.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(1)

  • SKILL.md3.0 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

OpenSpec Workflow - Specification-Driven Development

OpenSpec ensures AI agents build what was planned, not what they invented.

Directory Structure

project/
└── openspec/
    ├── specs/           # Source of truth (what IS built)
    ├── changes/         # Proposals & WIP (what SHOULD change)
    ├── ideas/           # Quick-capture for later
    └── project.md       # Project conventions

The Three-Stage Workflow

Stage 1: Proposal

Create a change proposal before implementing anything significant.

openspec/changes/add-feature-x/
├── proposal.md     # What and why
├── tasks.md        # Numbered implementation steps
├── design.md       # Technical approach
└── specs/          # Delta specs (what will change)

Stage 2: Implementation

Work through tasks.md sequentially. Keep specs in sync with code.

Stage 3: Archive

When complete: openspec archive <change-id> Specs merge to source of truth. Change moves to archive.

CLI Commands

# List all changes
openspec list

# Show specific change details
openspec show <change-id>

# Validate a change
openspec validate <change-id> --strict

# Archive completed change
openspec archive <change-id> --yes

# List specs
openspec spec list --long

Creating a Proposal

proposal.md format:

# Feature Name

## Summary
One paragraph: what this change does.

## Motivation
Why we need this. What problem it solves.

## Scope
- What's included
- What's explicitly NOT included

## Dependencies
- Other changes this depends on
- External requirements

tasks.md format:

# Implementation Tasks

## Phase 1: Foundation
- [ ] Task 1.1: Description
- [ ] Task 1.2: Description

## Phase 2: Core Implementation
- [ ] Task 2.1: Description
...

Rules

  1. Proposal before code - For anything non-trivial, write proposal.md first
  2. Tasks are sequential - Complete in order unless explicitly parallel
  3. Validate before archive - openspec validate --strict must pass
  4. Specs are truth - Code follows specs, not vice versa
  5. Ideas are cheap - Capture in ideas/ freely, promote to changes/ when ready

When to Use OpenSpec

YES - Use OpenSpec for:

  • New features (more than a few files)
  • Architectural changes
  • Multi-step implementations
  • Anything that needs review

NO - Skip OpenSpec for:

  • Bug fixes (unless complex)
  • Typo corrections
  • Single-file changes
  • Exploratory work

Integration with megg

OpenSpec tracks WHAT gets built. megg tracks WHY decisions were made.

Use both:

  • OpenSpec for implementation specs
  • megg for decision rationale and context

Validation Checklist

Before marking a change complete:

  • All tasks.md items checked
  • openspec validate --strict passes
  • Tests pass
  • Build succeeds
  • Specs match implementation

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Branch and commit conventions that keep an agent's work reviewable — one branch per task, main stays clean, nothing force-pushed.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

ToruAI/toru-claude-agents152026년 7월 26일 업데이트

cc-docs

무료

Look up how Claude Code itself works — hooks, skills, subagents, MCP, plugins, settings — from the official docs, so answers come from the current spec instead of memory.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

ToruAI/toru-claude-agents152026년 7월 26일 업데이트

Design better agents, skills and hooks for Claude Code, checking the current spec instead of guessing at fields.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

ToruAI/toru-claude-agents152026년 7월 26일 업데이트

dev-cycle

무료

Run a feature end to end — scout the code, plan it, build it, and keep a session file so a closed terminal doesn't lose the thread.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

ToruAI/toru-claude-agents152026년 7월 26일 업데이트

Close out a session — summarise what changed, capture what was learned, and prepare the commit.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

ToruAI/toru-claude-agents152026년 7월 26일 업데이트

Hand over a spec and walk away — plans, builds, tests and audits on its own, stopping only at a real blocker.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

ToruAI/toru-claude-agents152026년 7월 26일 업데이트

ToruAI의 스킬 모두 보기

이 스킬의 문제 신고