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

cc-openspec

Run OpenSpec backlog delivery — validate BACKLOG.md, plan TaskCards, orchestrate agents by phase, review gate, and update backlog state.

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

설치 방법 보기

포함된 파일(1)

  • SKILL.md9.2 KB

SKILL.md(원문)

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

openspec

Invoke as $cc-openspec. The user request follows the skill mention.

Model and context budget

Use GPT-6.1 Sol with medium reasoning effort for every OpenSpec phase. Pass each role only its current TaskCard, relevant file paths, acceptance criteria, and a short handoff. Avoid replaying the full transcript or re-reading large files.

OpenSpec Backlog Workflow

Scope: $ARGUMENTS

Orchestrate FIFO delivery from BACKLOG.md. CodeConductor owns planning; agents execute one TaskCard per phase with the installed preset model for each role.



Web interface scope

When the task concerns web layout, component states, feedback, motion, or a requested UI audit, apply skill web-design-engineering from the installed skill library. Use it during intake/discovery, design, test/implement, and review as applicable; keep this workflow’s gates and TDD order. Framework presence alone does not activate it; backend-only and native mobile work are excluded. Record required visual checks as pending when unavailable. Keep findings in the existing Review Report: contract failures in Spec Axis, technical issues in existing subchecks, and aesthetic preferences as suggestions; do not add an axis.

Android phone interface scope

When the task concerns concrete Jetpack Compose phone layout, component states, interaction, accessibility, visual behavior, or a requested UI audit, apply skill android-ui-design. Use it during design, test/implementation, and review as applicable while keeping this workflow's gates and TDD order. Kotlin, Compose, framework, or dependency presence alone does not activate it; non-UI Android work stays with the general android skill. Audit-only requests remain read-only, and unavailable visual or emulator checks remain pending rather than claimed complete.

Step 0 — CCEP Bootstrap

Command: openspec (fixed for this workflow — do not infer from user text)

  1. Run: npx cc-codeconductor ccep profile openspec --output json to get the phases and their roles.
  2. For each delegated phase, run: npx cc-codeconductor ccep compile --command openspec --phase <phase-id> "$ARGUMENTS" --view prompt --output json
  3. After planner/intake JSON is available, run: npx cc-codeconductor ccep evaluate --command openspec --input <planner.json> --output json. If stop is true, show questions or risks and wait for human input.
  4. Pass each subagent only the compiled prompt for its phase — never forward raw $ARGUMENTS to planners. Canonical delivery order is test-before-implement whenever both phases apply.

Step 0b — OpenSpec quality gates

If openspec status reports an active change folder:

  1. Run: npx cc-codeconductor openspec validate --output json
  2. Run: npx cc-codeconductor openspec analyze --output json
  3. If analyze stop is true or any finding is CRITICAL, stop. Do not delegate to implementer.
  4. Next command spelling on this runner: $cc-openspec

Run the CLI as npx cc-codeconductor <same argv>.


Step 1 — Validate (mandatory gate)

Run:

npx cc-codeconductor openspec validate

If validation fails:

  1. List all errors and recommendations from the CLI output.
  2. Show the canonical BACKLOG.md structure (## Global, ## Items, ### BC-001 | Title, Priority, Status, Type, Depends on, Description, Scope, Acceptance).
  3. STOP. Do not scan, plan, or execute until the user fixes BACKLOG.md.

Step 2 — Scan

Run:

npx cc-codeconductor openspec scan

Report: new items, modified items, closed/archived items, and whether the file changed.


Step 3 — Select item

If $ARGUMENTS contains a BC-xxx ID, use that item. Otherwise run:

npx cc-codeconductor openspec status

Pick the next READY item with satisfied dependencies (FIFO by priority). Skip items in DONE or Archive.

STOP if no eligible item. Report backlog status and wait for the user.


Step 4 — Plan

Run:

npx cc-codeconductor openspec plan <BC-id>

Show:

  • Generated TaskCards (discover → design → test → implement → review when TDD required)
  • Path to openspec/changes/<slug>/ (proposal, design, tasks, specs)

Update BACKLOG item status to PLANNED (CLI does this automatically).

plan is planning-only: it writes TaskCards plus proposal/design/tasks/specs and stops. Before Step 5, review the plan in this order — proposal → delta specs → tasks — and confirm: intent is right, no scope creep, every FR is testable with a scenario that exercises it, edge/error cases are covered, and each task traces to an FR/SC. Fix the Markdown directly or ask for revisions. Do not start any card until the plan reads correctly.


Drive card status (CLI)

Do not edit .codeconductor/openspec-state.json by hand.

npx cc-codeconductor openspec start <cardId>
npx cc-codeconductor openspec done <cardId>
npx cc-codeconductor openspec block <cardId> --reason "waiting on design"
npx cc-codeconductor openspec sync <itemId>
npx cc-codeconductor openspec verify <itemId>
npx cc-codeconductor openspec archive <itemId>

start moves the card pending → doing and the item PLANNED → IN_PROGRESS. done marks the card complete, updates Progress, and moves the item to REVIEW when every card is done and review is required. sync merges delta specs into openspec/specs/ without closing the item (optional before archive). verify is the advisory pre-archive checklist: exit 0 with archiveReady plus Completeness/Correctness/Coherence issues. archive requires all cards done (and review evidence when Global review is required), re-checks planning artifacts and analyze CRITICALs, fails on unchecked tasks.md boxes (override: --allow-unchecked), ticks the BACKLOG acceptance criteria, then moves openspec/changes/<slug> to archive/.

For test and implementation cards, done requires current runner-captured TDD evidence: npx cc-codeconductor tdd capture --task <cardId> --phase red|green --command "<test command>" (RED for the test card, GREEN for the implement card). It is ev-tdd-* evidence, not an RDD receipt: do not pass it to rdd verify. Do not reuse evidence after candidate files change; capture it again.


Step 5 — Model matrix and execute loop

Before executing phases, show resolved models:

npx cc-codeconductor scorecard models

For each pending TaskCard, run:

npx cc-codeconductor openspec next

Invoke the agent named on the card as a subagent with isolated context (subagents already start fresh; do not /clear the main session between phases):

PhaseAgentRole
discoverrepo-explorerMap repo and impact
designarchitectTechnical plan
testtesterTDD tests (before implement if TDD required)
implementimplementerMinimal diff in worktree
reviewreviewerAcceptance + scope gate

Use the model configured in the installed preset for each agent role.

After each phase:

  • Mark progress in deliverable summary.
  • Run npx cc-codeconductor openspec done <cardId> when the phase completes. Do not edit openspec-state.json by hand.

Implementer: create a Git worktree before editing (git worktree add ../<branch>-session <branch>).

Discover is read-only: repo-explorer never writes code. openspec done ticks the boxes tagged with that card and keeps your edits; the implementer ticks any other tasks.md box it adds (- [ ] → - [x]) — only x/X counts as done. If implementation reveals a design problem, pause and reconcile the planning artifacts first (any direction: a later artifact may force revising an earlier one). Planning artifacts only in that step — never code — and confirm each edit. If the item's intent changed rather than its details, open a fresh item with $cc-backlog instead of warping this one.


Step 6 — Review gate

Run regression when BACKLOG Global Review required: yes:

npx cc-codeconductor scorecard regression

The reviewer agent must verify:

  • All acceptance criteria from BACKLOG.md
  • Tests pass
  • Scope matches the backlog item
  • No architectural violations

If rejected: set item status IN_PROGRESS, record findings in state, STOP and report to user.

If approved: proceed to Step 6.


Step 7 — Scorecard and update backlog

First run the advisory pre-archive check (npx cc-codeconductor openspec verify <BC-id> --output json): confirm archiveReady and clear any Completeness/Correctness/Coherence issues. Optionally run openspec sync <BC-id> to merge delta specs into openspec/specs/ without closing the item. Then:

  1. npx cc-codeconductor scorecard create --task <BC-id> --from-diff
  2. Complete criteria; scorecard record with verdict and optional cost/tokens
  3. Set item Progress: 100%, Status: DONE if PASS
  4. Move item to ## Archive in BACKLOG.md if DONE
  5. Run npx cc-codeconductor openspec scan

Report completion: Task Cards executed, scorecard verdict, change folder path, files changed.


Skill

Apply .codex/skills/openspec/SKILL.md for backlog format rules and state transitions.

리뷰

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

댓글

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

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

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

0 / 1,000자

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

같은 저장소의 스킬

Use when adding monitoring, metrics, logging, or tracing to Spring AI or LLM integration code. Covers token tracking, latency measurement, cost estimation, and prompt/response logging. Use when user mentions AI monitoring, token costs, or LLM observability.

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

lgzarturo/springboot-course32026년 10월 17일 업데이트

android

무료

Provides expert knowledge for building modern native Android apps using Kotlin, Jetpack Compose, Material Design 3, MVI architecture, Hilt dependency injection, and Media3/ExoPlayer.

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

lgzarturo/springboot-course32026년 10월 17일 업데이트

Design, implement, review, and audit Android Jetpack Compose UI/UX for phone interfaces. Use when a request concerns concrete Compose layout, components, interaction, accessibility, or visual behavior. Do not activate for framework or dependency presence alone; non-UI Android work is excluded.

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

lgzarturo/springboot-course32026년 10월 17일 업데이트

Provides expert knowledge for designing, implementing, and managing REST API versioning strategies with deprecation workflows.

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

lgzarturo/springboot-course32026년 10월 17일 업데이트

astro

무료

Provides expert knowledge for building Astro 5+ sites with Islands Architecture, Content Collections, TypeScript, and performance-first rendering strategies.

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

lgzarturo/springboot-course32026년 10월 17일 업데이트

Audits token storage mechanisms to prevent XSS-based JWT theft.

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

lgzarturo/springboot-course32026년 10월 17일 업데이트

lgzarturo의 스킬 모두 보기

이 스킬의 문제 신고