AU

autonomous-sdd

End-to-end automation of the Spec-Driven Development lifecycle.

Install

mkdir -p .claude/skills/autonomous-sdd && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/18586" && unzip -o skill.zip -d .claude/skills/autonomous-sdd && rm skill.zip

Installs to .claude/skills/autonomous-sdd

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Fully automates the OpenSpec SDD workflow from branch creation to Pull Request. Use this when the user asks to "auto-build", "run the spec pipeline", or implement a feature end-to-end. Examples: - "Auto-build the user authentication module" - "Run the spec pipeline to add Stripe integration"
292 chars✓ has a “when” triggerlonger than Claude Code's old 250-char listing cap (fine on current versions)
Advanced

Key capabilities

  • Orchestrate OpenSpec SDD workflow
  • Perform exploration for feature requests
  • Initialize Git branches
  • Generate planning artifacts
  • Implement features based on specs
  • Verify implementation against delta specs

How it works

This skill automates the OpenSpec SDD workflow by orchestrating exploration, Git initialization, spec generation, implementation, verification, archival, and GitHub PR creation. It follows a strict sequential execution loop.

Inputs & outputs

You give it
Feature request
You get back
GitHub Pull Request with implemented and verified code

When to use autonomous-sdd

  • Auto-build feature module
  • Run spec pipeline for task
  • Implement feature end-to-end
  • Generate PR from spec

About this skill

Objective

You are an autonomous Spec-Driven Development (SDD) agent. Your job is to take a feature request and automatically orchestrate the entire OpenSpec /opsx lifecycle, write the code, verify it, and submit a GitHub Pull Request—without stopping to ask for user input unless a fatal error occurs.

The Execution Loop

When invoked, you must strictly follow these steps sequentially. Do not stop between steps unless you need to ask for user permission or ask the user for clarification; execute them as a continuous pipeline.

1. Exploration

  • Use OpenSpec explore skill .codex/skills/openspec-explore to think through ideas, investigate problems, clarify requirements.

2. Git Initialization

  • Derive a concise branch name from the request (e.g., feature/add-stripe).
  • Run the terminal command: git checkout -b <branch-name>

3. Spec Generation

  • Use OpenSpec propose skill .codex/skills/openspec-propose to create a change and generate planning artifacts.
  • Crucial: Read the newly generated tasks.md, design.md and proposal.md in the .openspec folder to internalize the plan before writing any code.
  • Only after generating the files, check if there are open questions and if so, show them to the user and wait for their answers before continuing.

4. Implementation

  • Use OpenSpec apply skill .codex/skills/openspec-apply-change to apply the change.
  • Follow the generated tasks.md step-by-step. Write the application code, use LSP tools to check for errors, and mark tasks as complete in the markdown file.

5. Verification

  • Use OpenSpec verify skill .codex/skills/openspec-verify-change to validate implementation against artifacts.
  • Cross-reference the implementation against the delta specs. If you detect missing requirements, automatically write the missing code to fix them.

6. Archival

  • Use OpenSpec archive skill .codex/skills/openspec-archive-change to archive the change.
  • This merges the finalized delta specs into the project's main specs/ directory.

7. Ship It (Git & GitHub)

  • Add the changes to the staging area: git add ., be careful not to add any files that are not part of the change or may contain sensitive information.
  • Build a meaningful commit message that states the feature and intent (not a generic placeholder).
  • Prefer AI-authored commits without changing git config:
    • Format: <type>(<optional scope>): <description> <list of relevant changes>
    • Allowed Types: feat, fix, docs, style, refactor, test, chore.
    • First attempt (AI as both author and committer): GIT_COMMITTER_NAME="AI Agent" GIT_COMMITTER_EMAIL="ai-agent@local" git commit --author="AI Agent <ai-agent@local>" -m "<type>(<optional scope>): <description> <list of relevant changes>" -m "<why this change was made and expected impact>"
    • If custom author/committer metadata is rejected by repository policy/hooks, retry with git commit --author="AI Agent <ai-agent@local>" ....
    • If author-only is also rejected, retry with a normal git commit and keep moving.
  • Run: git push -u origin HEAD
  • Use GitHub MCP to create the PR (server: github, tool: create_pull_request) with:
    • Title: <type>(<optional scope>): <description>
    • Body (concise but comprehensive):
      • ## Summary with 2-4 bullets describing what changed and why.
      • ## Validation with executed checks/commands and outcomes (for example tests, lint, type-check, build, /opsx:verify).
      • ## Spec Alignment with the implemented spec/change identifier and archive status.
    • Never use a generic one-line PR body.

Agent Guardrails

  • Self-Correction: If a terminal command fails (e.g., a compiler error during apply), attempt to fix the code and retry up to 2 times before halting to ask the user for help.
  • No Premature Coding: Do not write application code before step 4 (apply-change). Steps 1 to 3 are strictly for planning and spec generation.
  • Never merge into main: Never merge into the main branch. Always create a PR.

When not to use it

  • Writing application code before step 4 (apply-change)
  • Merging into the main branch
  • When a terminal command fails more than 2 times

Limitations

  • Does not write application code before step 4
  • Never merges into the main branch
  • Retries failed terminal commands up to 2 times before halting

How it compares

This skill fully automates the entire feature-to-PR pipeline based on OpenSpec standards, including self-correction for command failures, unlike manual development workflows.

Compared to similar skills

autonomous-sdd side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
autonomous-sdd (this skill)020dNo flagsAdvanced
yaml-pipeline-transfer12moNo flagsAdvanced
openspec-onboard105moReviewBeginner
bazel-build-optimization142moNo flagsAdvanced

Try saying

Example prompts that trigger this skill in your AI assistant.

Search skills

Search the agent skills registry