🎯

openspec-dev

🎯Skill

from akornmeier/claude-config

VibeIndex|
What it does

Automates OpenSpec change implementation by parsing tasks, filtering phases, and creating PRs using subagent-driven development.

πŸ“¦

Part of

akornmeier/claude-config(24 items)

openspec-dev

Installation

GoRun with Go
go install claudio.click/cmd/claudio@latest
πŸ“– Extracted from docs: akornmeier/claude-config
1Installs
-
AddedFeb 4, 2026

Skill Details

SKILL.md

Adapter for executing OpenSpec change proposals using subagent-driven-development. Parses OpenSpec structure, groups tasks by phase, and creates one PR per phase.

Overview

# OpenSpec Development Adapter

Converts OpenSpec change proposals into executable plans and delegates implementation to superpowers:subagent-driven-development.

Prerequisites

  • Active OpenSpec change with approved proposal.md
  • Populated tasks.md with tasks organized by phase
  • Clean git state on main branch

Invocation

```

/openspec-dev [phases]

```

Arguments:

  • β€” Required. The OpenSpec change directory name
  • [phases] β€” Optional. Phase filter using numeric ranges (e.g., 1,3,5-7)

Examples:

  • /openspec-dev add-launch-features β€” Execute all phases
  • /openspec-dev add-launch-features 2 β€” Execute phase 2 only
  • /openspec-dev add-launch-features 1,3-5 β€” Execute phases 1, 3, 4, and 5

---

Phase Filtering

When [phases] is provided, only matching phases from tasks.md are executed.

Parsing rules:

  • Single number: 2 β†’ phase 2 only
  • Comma-separated: 1,3,5 β†’ phases 1, 3, and 5
  • Range with dash: 2-4 β†’ phases 2, 3, and 4
  • Mixed: 1,3-5,7 β†’ phases 1, 3, 4, 5, and 7
  • Whitespace ignored, duplicates removed, sorted ascending

Phase numbering: Phases are numbered by order in tasks.md (first ## Phase ... = 1, second = 2, etc.)

Error handling:

  • Invalid phase number (doesn't exist): Warn and skip, continue with valid phases
  • Phase already complete (all tasks checked): Log "Phase N: No unchecked tasks, skipping"
  • Malformed input (non-numeric, zero, negative): Error with usage example

---

Workflow

```

Parse OpenSpec β†’ Extract phases β†’ Per phase: branch + subagent-driven-dev + PR

```

---

Step 1: Parse OpenSpec Structure

Read and extract from openspec/changes//:

  1. proposal.md β€” identify phases/milestones
  2. tasks.md β€” extract tasks, group by phase
  3. Apply phase filter (if [phases] provided):

- Parse phase numbers from argument

- Filter to only matching phases

- Warn for non-existent phases

- Log and skip phases with no unchecked tasks

```markdown

# Example tasks.md structure

Phase 1: Core API

  • [ ] Add user authentication endpoint
  • [ ] Create data validation layer

Phase 2: UI Components

  • [ ] Build login form component
  • [ ] Add dashboard layout

```

Extract unchecked tasks (- [ ]) grouped by their phase heading. When [phases] is specified, only process matching phases.

---

Step 2: Execute Each Phase

For each phase with unchecked tasks:

2a. Create Phase Branch

```bash

git checkout main && git pull

git checkout -b feat/-phase-N

```

2b. Prepare Plan for Subagent-Driven-Development

Convert phase tasks into a plan format:

```markdown

# Phase N:

Context

OpenSpec change:

Spec reference: openspec/specs//spec.md

Tasks

...

```

2c. Invoke Subagent-Driven-Development

Follow the superpowers:subagent-driven-development workflow:

  • Dispatch implementer subagent per task (sequential)
  • Two-stage review: spec compliance β†’ code quality
  • Use TDD discipline throughout

The subagent-driven-development skill handles:

  • Implementer prompts and self-review
  • Spec compliance review
  • Code quality review
  • Retry loops for issues

2d. Create PR for Phase

When all phase tasks complete:

```bash

gh pr create \

--title "feat(): Phase N - " \

--body "## Summary

OpenSpec Reference

  • Change: openspec/changes//proposal.md
  • Tasks: Phase N from tasks.md

Test Coverage

"

```

---

Step 3: Sync Progress to Source tasks.md

Critical: Keep openspec/changes//tasks.md updated as the source of truth.

After Each Task Completes

When a task passes both reviews in subagent-driven-development:

  1. Update the source file openspec/changes//tasks.md
  2. Change - [ ] to - [x] for the completed task
  3. Commit the update to the phase branch

```bash

# Example: mark task complete in source file

# In openspec/changes/add-launch-features/tasks.md:

# - [ ] Add user authentication endpoint β†’ - [x] Add user authentication endpoint

git add openspec/changes//tasks.md

git commit -m "chore(openspec): mark task complete - "

```

After Phase PR Created

Add PR reference to completed tasks:

```markdown

Phase 1: Core API

  • [x] Add user authentication endpoint (PR #142)
  • [x] Create data validation layer (PR #142)

```

Why This Matters

  • Resumability: If execution stops mid-phase, progress isn't lost
  • Visibility: Anyone can check tasks.md to see current status
  • Idempotency: Re-running the skill skips already-completed tasks (- [x])

---

Step 4: Final Report

After all phases:

```markdown

OpenSpec Development Complete: <change-id>

| Phase | Branch | PR | Status |

|-------|--------|-----|--------|

| Phase 1: Core API | feat/change-id-phase-1 | #142 | Ready |

| Phase 2: UI Components | β€” | β€” | Skipped (not in filter) |

| Phase 3: Tests | β€” | β€” | Skipped (already complete) |

| Phase 4: Docs | feat/change-id-phase-4 | #143 | Ready |

Next Steps

  • Review and merge PRs in phase order
  • Run again if tasks were added or skipped

```

Status values:

  • Ready β€” PR created, awaiting review
  • Skipped (not in filter) β€” Phase excluded by [phases] argument
  • Skipped (already complete) β€” All tasks in phase already checked

---

Integration

This skill is a thin adapter that delegates to:

| Skill | Purpose |

|-------|---------|

| superpowers:subagent-driven-development | Task execution, reviews, retry loops |

| superpowers:test-driven-development | TDD discipline (used by implementers) |

| superpowers:finishing-a-development-branch | Final cleanup if needed |

Do not duplicate the implementation/review logic from subagent-driven-development.

More from this repository10

🎯
shadcn-ui🎯Skill

Provides customizable, accessible React UI components using Tailwind CSS that can be directly copied and modified in your project.

🎯
postgresql-psql🎯Skill

Enables interactive PostgreSQL database management through psql, executing queries, scripting, and administering database operations from the command line.

🎯
skill-creator🎯Skill

Generates configurable AI skills with customizable parameters and templates for Claude-based applications.

🎯
better-auth🎯Skill

Securely implement authentication and authorization with a framework-agnostic TypeScript library supporting email/password, OAuth, 2FA, and advanced auth features.

🎯
mongodb🎯Skill

Enables comprehensive MongoDB database management, from schema design and querying to deployment, performance optimization, and secure integration across multiple platforms and languages.

🎯
turborepo🎯Skill

Accelerates monorepo development by enabling intelligent caching, parallel task execution, and efficient build performance across JavaScript and TypeScript projects.

🎯
cloudflare-r2🎯Skill

Enables seamless S3-compatible object storage on Cloudflare's global network with zero egress fees, supporting file uploads, downloads, and migrations.

🎯
nuxt-ui-tdd🎯Skill

Guides developers in building Vue 3 NuxtUI components using strict Test-Driven Development (TDD) methodology with atomic design principles and Storybook interaction tests.

🎯
cloudflare-workers🎯Skill

Enables building and deploying serverless edge functions across Cloudflare's global network using JavaScript, TypeScript, Python, and Rust.

🎯
prd-to-ux🎯Skill

Translates product requirements into comprehensive UX specifications by systematically analyzing user mental models, information architecture, and interaction design.