Agent skill

Spec Coder

by LeoYeAI in LeoYeAI/openclaw-master-skills

Structured spec-first development workflow with multi-role expert review gates: clarify requirements, author spec documents (requirements/design/tasks), generate code from spec, verify with real…

MITAuto-check passedDevelopment

Install Spec Coder

skills CLI
$ npx skills add LeoYeAI/openclaw-master-skills --skill spec-coder -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install LeoYeAI/openclaw-master-skills spec-coder --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/LeoYeAI/openclaw-master-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/spec-coder .claude/skills/spec-coder && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
spec-coder
GitHub stars
2.2k
Token cost
~5.3k tokens
SKILL.md length
2,384 words
Files
7 (incl. references)
Skills in repo
1,215
Repo updated
First seen
Licence
MIT

At a glance

Structured spec-first development workflow with multi-role expert review gates: clarify requirements, author spec documents (requirements/design/tasks), generate code from spec, verify with real…

  • Works in 6 steps: (Optional): Codebase Scan → Clarify & Scope → Spec → …
  • User wants to build a feature
  • SKILL.md covers Session Start, Workflow Overview, When to Use and File Organization, plus 6 more sections
  • Calls npm and go

What it does

Spec Coder is an agent skill from LeoYeAI/openclaw-master-skills. Structured spec-first development workflow with multi-role expert review gates: clarify requirements, author spec documents (requirements/design/tasks), generate code from spec, verify with real tests, and iterate while keeping spec and code in sync. Use when user wants to build a feature or system with a spec-first approach, mentions "spec coding", "spec-driven development", or asks to write specs before coding.

Its SKILL.md is about 5.3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 7 other files, including reference files (for example `_meta.json`, `references/expert-review-protocol.md` and `references/spec-lifecycle.md`).

It sits in Development, covering Spec-driven development, Requirements gathering and Human-in-the-loop approvals. The repository describes itself as: 🧠 Curated collection of 1209+ best OpenClaw skills — weekly updated by MyClaw.ai. The licence is MIT.

When your agent uses it

  • User wants to build a feature
  • System with a spec-first approach
  • Mentions spec coding
  • Spec-driven development

Example prompts

  • “spec coding”
  • “spec-driven development”
  • “/spec-coder”

Workflow steps

6 steps, taken from the step headings in SKILL.md.

  1. (Optional): Codebase Scan
  2. Clarify & Scope
  3. Spec
  4. Generate
  5. Verify
  6. Evolve — New Features & Changes

What it can do on your machine

Read from SKILL.md and the folder at commit e5199b5. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • npm
    • go

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use npm, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Spec Coder loads about 5.3k tokens when it runs, and up to ~16k if it reads all its reference files. Until then it costs about 107 tokens; SKILL.md has 2,384 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~107
When it runs · the whole SKILL.md, loaded when a task matches
~5.3k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~16k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from LeoYeAI/openclaw-master-skills at commit e5199b5, republished under its MIT licence (© LeoYeAI). 2,384 words, ~5,324 tokens.

Download SKILL.mdSave it as .claude/skills/spec-coder/SKILL.md (or your agent's skills folder). This skill also uses 6 other files; get the full folder from GitHub.
name
spec-coder
description
Structured spec-first development workflow with multi-role expert review gates: clarify requirements, author spec documents (requirements/design/tasks), generate code from spec, verify with real tests, and iterate while keeping spec and code in sync. Use when user wants to build a feature or system with a spec-first approach, mentions "spec coding", "spec-driven development", or asks to write specs before coding.

Spec Coding Workflow

Write specs first, then generate code. 5 phases, each producing artifacts that feed the next. Expert review gates between phases catch issues early.

Session Start

On every new session:

  1. Read specs/status.md to identify current phase, active changes, and deferred items.
  2. Read phase-relevant spec files — see Quick Reference table below for which artifacts each phase produces/consumes.
  3. Confirm with the user which phase/gate to continue from. If mid-phase, summarize progress so far.
  4. No specs/status.md? This is a new project — start from Phase 0 (existing codebase) or Phase 1 (greenfield).

Workflow Overview

Phase 0 ──→ Phase 1 ──→ ║Gate 1║ ──→ Phase 2a ──→ Phase 2b ──→ ║Gate 2║
(scan)      (clarify)    (req.)       (design)      (preview)     (design)
                                                                     │
    ┌────────────────────────────────────────────────────────────────┘
    ▼
Phase 2c ──→ Phase 2d ──→ ║Gate 3║ ──→ Phase 3 ──→ ║Gate 4║ ──→ Phase 4 ──→ Phase 5
(tasks)      (specs)       (plan)       (code)       (code)       (verify)    (iterate)
                                                                                  │
                                                                    ┌─────────────┘
                                                                    ▼
                                                              Re-trigger Gate
                                                              2 / 3 / 4 based
                                                              on change scope

Gates auto-approve when no Critical/Major issues. See Expert Review Protocol for details.

Quick Reference
PhaseInputOutputGateNext
0. Codebase Scancodebase filesstatus.md § Codebase Context—Phase 1
1. Clarify & Scopeuser requirements + Phase 0 contextrequirements.mdGate 1 (req.)Phase 2a
2a. Technical Designrequirements.mddesign.md—Phase 2b
2b. Design Previewdesign.mddesign-preview/Gate 2 (design)Phase 2c
2c. Task Breakdowndesign.md + requirements.mdtasks.md—Phase 2d
2d. Feature Specstasks.md + design.mdspec_xxx.mdGate 3 (plan)Phase 3
3. Generatetasks.md + spec_xxx.mdcode + testsGate 4 (code)Phase 4
4. Verifycode + tests + spec_xxx.mdtest results, Implementation Map—Phase 5 or done
5. Evolvetrunk specs + user requestchanges/scoped gate→ Phase 1–4

When to Use

Trigger conditions:

  • User mentions "spec coding", "spec-first", "spec-driven development"
  • User asks to write specs / requirements / design docs before implementation
  • User mentions phase keywords: "clarify requirements", "write a spec", "generate from spec"

When NOT to use: Pure bug fixes, one-line config changes, dependency updates, or tasks completable in < 15 minutes without design decisions.

Complexity triage — choose the right track:

TrackWhenPhasesArtifactsReview Depth
SmallSingle endpoint, field addition, < 1 hrSpec (lite) → Generate → Verifyspec_xxx.md onlyLite (1–2 roles, skip if trivial)
MediumSingle feature, 1–4 hrs, 1–3 modulesClarify (brief) → Spec → Generate → Verifyspec_xxx.md + tasks.mdStandard (2–3 roles)
LargeMulti-module, > 4 hrs, or new systemFull 5-phase workflowAll spec filesFull (all roles)

Ask the user which track fits, or infer from the scope of their request.

Small track shortcut: Skip Phase 1. Write a single spec_xxx.md (Interface + Business Rules + Test Points only), then go straight to Generate → Verify.

Medium track shortcut: Phase 1 is a brief bullet-point confirmation (no full requirements.md). Phase 2 produces tasks.md + spec_xxx.md only (skip design.md and design-preview/ unless architecture decisions are needed).

Mid-project entry: If the user already has spec files or an existing codebase, read them first. Validate existing artifacts against the expected format, then confirm which phase to start from.

File Organization

Two-layer structure: trunk (current system truth) + changes (incremental work).

specs/
├── index.md                    ← navigation hub: all features & recent changes
├── requirements.md             ← project-level requirements (grows incrementally)
├── design.md                   ← system-level architecture (grows incrementally)
├── design-preview/
├── tasks.md                    ← active tasks only
├── status.md
├── spec_<feature_name>.md      ← feature specs (current truth, one per feature)
└── changes/                    ← all incremental work
    ├── FEAT-NNN-name/          ← new feature (full spec lifecycle)
    │   ├── spec.md
    │   ├── design.md
    │   ├── tasks.md
    │   └── delta.md            ← merge instructions for trunk
    ├── CHG-NNN-name/           ← change/enhancement (delta only)
    │   ├── spec.md             ← ADDED / MODIFIED / REMOVED sections
    │   ├── tasks.md
    │   └── delta.md
    └── archive/                ← completed & merged changes

First-time projects: Start with trunk only (no changes/ needed). The changes layer is introduced when the first post-v1 feature or modification begins.

For full lifecycle management details, see Spec Lifecycle Management.

Phase 0 (Optional): Codebase Scan

For existing codebases, run before Phase 1: read dependency files to detect tech stack, list directory tree, identify existing interfaces/models/conventions, and summarize findings.

Output: Write results to specs/status.md under ## Codebase Context (tech stack, key conventions, existing interfaces, directory structure summary). This persists the scan across sessions. Phase 1 references this for requirements scoping; Phase 2a references it for architecture decisions.

Phase 1: Clarify & Scope

Goal: Turn informal requirements into a confirmed, structured requirements.md.

Constraints: Do NOT write any code. Only ask questions and produce documents.

  1. Interactive Clarification — Ask user for raw requirements. Summarize goals (3–5 bullets), list ambiguities with options, suggest unconsidered constraints. Iterate until confirmed.
  2. Structured Requirements — Produce specs/requirements.md (see template): Background & Objectives, User Roles & Use Cases, Functional Requirements (FR-001...), Non-Functional Requirements, Out of Scope. If Phase 0 ran, populate the "Existing Architecture" section with requirement-relevant context from status.md § Codebase Context.
→ Gate 1: Requirements Review

Per Expert Review Protocol — Gate 1. Exit: User approves (or auto-approved).

Phase 2: Spec

Goal: Produce spec documents that directly drive code generation.

2a: Technical Design → specs/design.md

Based on requirements.md, produce specs/design.md (see template):

  1. Architecture overview (tech stack, layers, services)
  2. Core module breakdown with responsibilities and dependency directions
  3. Key data models, interfaces & interaction flows
  4. Cross-cutting concerns (error handling, auth, observability, deployment) — skip on Small track
  5. NFR fulfillment matrix + key architecture decisions (ADR format) — skip on Small/Medium track

For existing codebases: populate "Existing Architecture" section with architecture-relevant context from status.md § Codebase Context (what's new vs. modified).

2b: Design Preview → specs/design-preview/

Self-contained HTML prototype visualizing architecture, module layout, UI screens or API flows, and data models.

Constraints:

  • Single HTML file per page/screen (inline CSS + JS, no external dependencies) — must open in any browser without a build step.
  • Target: validate information architecture and user flow, not pixel-perfect design. Lo-fi is acceptable.
  • Limit to ≤ 5 key screens/pages. Prioritize primary user workflow.
  • For non-UI projects: Architecture Diagram Preview only (module relationships + data flow as a single HTML page).

UI projects: All generated UI must follow the UI Design Guidelines to avoid AI-template aesthetics.

→ Gate 2: Design Review (2a + 2b combined)

Per Expert Review Protocol — Gate 2. Exit: User approves (or auto-approved).

2c: Task Breakdown → specs/tasks.md

Task table (see template). Target granularity: 30–90 min per task.

2d: Feature Spec → specs/spec_<feature>.md

Per feature (see template): Feature Description & Use Cases, Interface Definition, Data Model, Business Rules & Edge Cases, Test Points (≥ 5 per feature, complex: 10–20; categories: Normal / Error / Boundary / Combination).

→ Gate 3: Implementation Plan Review (2c + 2d combined)

Per Expert Review Protocol — Gate 3. Exit: User approves (or auto-approved).

Spec Quality Checklist

Before leaving Phase 2: every interface has explicit I/O types; every business rule has ≥ 1 test point; specs describe what not how; each spec is self-contained for code generation; edge cases are explicit, not implied.

Phase 3: Generate

Goal: Produce implementation code + tests strictly based on the spec.

Spec adherence — tiered rules:

TierScopeRule
StrictInterfaces, data models, business rulesFollow spec exactly. Do not change signatures, field names, or behavior.
FlexibleInternal implementation (function names, code organization, logging, error messages)AI decides, but must note deviations in Human-review points.
SPEC-GAPScenarios the spec doesn't cover (discovered during coding)Implement a reasonable solution, tag it [SPEC-GAP], and continue. Collect all gaps for batch review in Phase 4.

Never silently deviate from Strict-tier items. If a Strict item is wrong or incomplete, flag it and ask the user — but do not block on every minor gap.

Execution Strategy
  1. Order: Sort tasks by dependency graph (topological order). Infrastructure/setup tasks first.
  2. Parallelism: Tasks with no mutual dependencies may be executed in parallel (e.g., via subagents). Tasks sharing the same module should be sequential to avoid merge conflicts.
  3. Commit cadence: One commit per task, tagged with task ID: feat(TASK-001): ...
  4. Failure handling: If a task fails to generate or test correctly after 2 attempts, mark it Blocked in tasks.md, log the reason, and continue with non-dependent tasks. Return to blocked tasks after unblocked tasks complete.
  5. Progress tracking: Update tasks.md Status column (Pending → In Progress → Done / Blocked) as each task progresses.
Steps
  1. Scan project structure and tech stack (or use Phase 0 results).
  2. For each task in tasks.md (per execution strategy above), take its linked spec_xxx.md as input.
  3. Output per task:
    • File list (create vs. modify, with paths)
    • Implementation code
    • Tests derived from spec Test Points (TP-001 → test function)
    • Human-review points — Flexible-tier deviations + all [SPEC-GAP] items
  4. Add spec traceability comments at module/class level: // SPEC: spec_auth.md | TASK-002 — enables reverse lookup from code to spec.

For existing codebases: clearly distinguish "new file" vs. "modify existing file" and show diffs for modifications.

→ Gate 4: Code Review

Per Expert Review Protocol — Gate 4. Exit: User approves (or auto-approved). Proceed to Phase 4.

Phase 4: Verify

Goal: Confirm generated code satisfies the spec through execution (static compliance is already covered by Gate 4).

4a: Dynamic Verification

Run the following checks in order. Stop and fix if any step fails.

  1. Build — Project compiles / bundles without errors.
  2. Lint & Type Check — Run linter and type checker (if available). Zero errors required; warnings acceptable.
  3. Unit Tests — Execute test suite (pytest, npm test, go test, etc.). Map each TP-ID to pass/fail.
  4. Integration Tests — Run integration / E2E tests if defined in tasks.md.
  5. Coverage Check — Report test coverage. Flag spec Test Points that have no corresponding test execution.
  6. NFR Verification — If requirements.md defines measurable NFRs (response time, throughput), run benchmarks and compare. Log results even if not blocking.
  7. Manual Test Checklist — For tasks marked AI-Auto: No in tasks.md, generate a manual test checklist with steps and expected results for the user to execute.
4b: SPEC-GAP Resolution

For each [SPEC-GAP] from Phase 3: Accept (update spec) / Reject (fix code) / Defer (add to backlog).

Show full SKILL.md (956 more words)Show less
4c: Implementation Map Update

After all tests pass, update the ## Implementation Map section in each spec_xxx.md with the actual code file paths and function/class names. This enables reverse lookup from spec to code.

Output & Transitions
  • Passed — items satisfying the spec; Failed — items deviating (recommend: fix spec or fix code)
  • All passed → Phase 5 or next task. Failed → fix in Phase 2 or 3 → re-verify.

Exit condition: All items pass, or user acknowledges remaining gaps.

Workflow completion (initial build): If this is the initial build and no further changes are planned, update status.md: mark all phases complete, remove the Initial Build Progress table, and present a summary to the user (features built, test pass rate, deferred items count).

Phase 5: Evolve — New Features & Changes

Goal: Add new capabilities or modify existing ones while keeping all specs in sync.

Key rule: Always update the spec BEFORE updating the code. Every change goes through specs/changes/.

Step 1: Classify the Work
TypeCriteriaAction
New FeatureIndependent business value, new interfaces/modelsCreate specs/changes/FEAT-NNN-name/, run full Phase 1–4 within it
Change / EnhancementModifies existing feature behaviorCreate specs/changes/CHG-NNN-name/, write delta spec, run Phase 2d–4
Trivial FixSingle spec file, single section, no interface/model changeUpdate trunk spec directly with changelog entry, skip change dir
Step 2: Overlap Check

Before creating the change directory, run Overlap Check against all In-Progress changes listed in specs/index.md. If overlapping Target Specs are found, warn the user and agree on a resolution strategy before proceeding.

Step 3: Work Within the Change Directory

For Features: run the full workflow (Phase 1–4) inside specs/changes/FEAT-NNN/. For Changes: write a delta-format spec.md (ADDED / MODIFIED / REMOVED), then run Phase 2d–4. For Changes that add/remove screens, modify navigation structure, or alter primary interaction patterns (e.g., forms → tables): also run Phase 2b to update design-preview/.

Path rule: All Phase 1–4 outputs go into the change directory, not the trunk. For example, Phase 2a produces specs/changes/FEAT-NNN/design.md, not specs/design.md. The trunk is only updated during Step 4 (Merge to Trunk).

Nesting rule: Changes are always flat — never create a change inside another change directory. If FEAT-NNN's implementation reveals the need for an additional feature, create a sibling FEAT-NNN+1 at the top level (specs/changes/FEAT-NNN+1-name/) and add a dependency note in both tasks.md files.

Apply the same review gates as the main workflow, scoped to the change:

  • Interface/architecture change → Gate 2 | Business rule change → Gate 3 | Implementation-only → Gate 4
Step 4: Cross-Feature Impact Analysis

Before generating code, analyze impact across ALL trunk specs:

  • Direct: Specs explicitly modified by this change.
  • Indirect: Specs that depend on modified interfaces or data models.
  • Test: Test points in other specs that may need updating.

Present impact analysis to the user for confirmation.

Step 5: Merge to Trunk

After code is verified (Phase 4 passed):

  1. (Features only) Copy changes/FEAT-NNN/spec.md to specs/spec_<feature>.md.
  2. Generate delta.md — merge instructions listing every trunk file/section to update.
  3. Apply delta to trunk specs (specs/*.md): insert ADDED content, replace MODIFIED sections, remove REMOVED items.
  4. Add changelog entries to every modified trunk file.
  5. Update specs/index.md with the change reference.
  6. Commit all trunk updates atomically: spec: merge FEAT/CHG-NNN to trunk.
  7. Move change directory to specs/changes/archive/.

For full lifecycle details, merge rules, and scaling guidance, see Spec Lifecycle Management.

Cross-Phase Guidelines

  • No phase skipping: Do not generate code without a confirmed spec. Ask user for confirmation before advancing phases.
  • Spec-code traceability: Every code change traces to a spec item (TASK-ID + TP-ID); every spec item has corresponding code and tests.
  • Status tracking: Maintain specs/status.md (see template). Update at each phase end with current phase, gate results, and deferred item counts. On session start, read specs/status.md first to restore context.
  • Context management: Keep each spec file under ~300 lines. In Phase 3, feed only the relevant spec_xxx.md + related design.md sections — not all spec files at once.
  • Expert review: All review gates follow the Expert Review Protocol. Key points: auto-approve when no Critical/Major issues; max 3 rounds per gate; track prior issues across rounds; deferred items logged in spec files. Users can set review preferences in specs/status.md.
  • UI de-AI aesthetic: All user-facing UI must follow the UI Design Guidelines to avoid AI-template aesthetics. Gate 2 and Gate 4 reviewers check UI against the de-AI checklist.

Error Recovery

ScenarioRecovery Action
Phase 3: Task fails after 2 attemptsMark task Blocked in tasks.md, log root cause, continue with non-dependent tasks. After all other tasks complete, revisit blocked tasks — may require spec revision (back to Phase 2d).
Phase 4: Tests failCategorize: spec bug (fix spec then re-generate) vs. code bug (fix code, re-run tests). Do not loop more than 3 fix-verify cycles per task — escalate to user.
Phase 4: Test environment unavailableGenerate manual test checklist, document expected setup, and mark verification as Pending-Env in status.md. Proceed with remaining phases that don't require the environment.
SPEC-GAP: Cannot decide autonomouslyTag as [SPEC-GAP-BLOCKED], implement a safe no-op or error response as placeholder, and batch all blocked gaps for user decision before Phase 4 verification.
Phase 5: Delta merge conflictFollow conflict handling in spec-lifecycle.md. Never force-overwrite trunk — always present both versions to the user.
Cross-session context lossRead specs/status.md + last completed artifacts (see Session Start). If status.md is missing or stale, scan specs/ directory structure and tasks.md status to reconstruct state.
Phase 1: Requirements deadlockIf the user cannot decide after 3 clarification rounds, present a default recommendation with rationale. Ask for explicit approval or override. Do not loop indefinitely.
Phase 2: Design deadlockIf two design options are equally viable, document both in ADR format (pros/cons/consequences), provide a recommended option, and ask the user to decide. Limit to 2 discussion rounds, then adopt the recommendation if no response.

Templates

For spec file templates, see templates.md (core) and templates-lifecycle.md (lifecycle & review).

© LeoYeAI, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 6 other files (references) in skills/spec-coder of LeoYeAI/openclaw-master-skills.

  • SKILL.md
  • _meta.json
  • references/expert-review-protocol.md
  • references/spec-lifecycle.md
  • references/templates-lifecycle.md
  • references/templates.md
  • references/ui-design-guidelines.md

Open the folder on GitHubat commit e5199b5

Compare with similar skills

Spec Coder next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Spec Coder compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Spec Coder this skillLeoYeAI/openclaw-master-skills2.2k—~5.3kAutomated safety check: PassMIT
Spec Writergarrytan/gstack136k—~14kAutomated safety check: NotesMIT
Spec-Driven Developmentaddyosmani/agent-skills102k1 repos~3.2kAutomated safety check: PassMIT
MoAI SPEC Workflowmodu-ai/moai-adk1.2k—~5.1kAutomated safety check: PassApache-2.0
Loop FactoryJuliusBrussee/skills161—~2kAutomated safety check: PassMIT
Feature Spec Generatorcashew-labs/libretto904—~2.4kAutomated safety check: PassMIT

Similar skills

  • Spec Writer

    garrytan/gstack

    Converts a vague idea into a precise, executable spec in five phases, files it as an issue and can start an agent on it in a fresh worktree.

    136k GitHub stars~14k tokensUpdated today
    DevelopmentAuto-check: notes
  • Spec-Driven Development

    addyosmani/agent-skills

    Writes a structured specification before any code, moving through gated specify, plan, tasks and implement phases, with an optional capability map for multi-part requests.

    102k GitHub starsUsed in 1 repo~3.2k tokens
    DevelopmentAuto-check passed
  • MoAI SPEC Workflow

    modu-ai/moai-adk

    Manages SPEC documents for MoAI-ADK development, with GEARS or EARS requirement notation, acceptance criteria and a link into the Plan-Run-Sync workflow.

    1.2k GitHub stars~5.1k tokensUpdated today
    DevelopmentAuto-check passed
  • Loop Factory

    JuliusBrussee/skills

    Run a spec-driven agent loop where coding tasks live as markdown specs that move through inbox → active → archive, get implemented by Claude Code or Codex, and pass a review gate before they count…

    161 GitHub stars~2k tokensUpdated 2 mo ago
    Agent WorkflowsAuto-check passed
  • Feature Spec Generator

    cashew-labs/libretto

    Researches the codebase and relevant docs, asks clarifying questions, then writes a spec sheet in specs/ for a significant feature or complex fix.

    904 GitHub stars~2.4k tokensUpdated 1 mo ago
    DevelopmentAuto-check passed
  • Spec-Driven Development

    LichAmnesia/lich-skills

    Runs a gated Spec, Plan, Build, Test, Review, Ship workflow so non-trivial changes are specified, verified and reviewed before they ship, with a named artifact per phase.

    234 GitHub stars~3.5k tokensUpdated 3 mo ago
    Agent WorkflowsAuto-check passed

More from LeoYeAI/openclaw-master-skills

All 1,215 skills in this repo
  • DevOps Pipeline Management

    LeoYeAI/openclaw-master-skills

    Manages pipelines on a DevOps quality and efficiency platform through its OpenAPI: list workspaces and templates, create, update, run and cancel pipelines, and read run records.

    2.2k GitHub stars~4.2k tokensUpdated 2 mo ago
    Auto-check: notes
  • Feishu Document Collaboration

    LeoYeAI/openclaw-master-skills

    Patches OpenClaw's Feishu extension so an edited document triggers an isolated agent session that reads the doc and replies inline, turning it into a live chat space.

    2.2k GitHub stars~2k tokensUpdated 2 mo ago
    Auto-check passed
  • Files Memory System

    LeoYeAI/openclaw-master-skills

    Multi-context memory management system for OpenClaw agents with group-isolated storage, global shared memory, workspace organization, and group-specific skills isolation.

    2.2k GitHub stars~3.8k tokensUpdated 2 mo ago
    Auto-check passed
  • GEO-Claw AI Visibility Agent

    LeoYeAI/openclaw-master-skills

    Runs a brand's AI-search visibility work end to end: diagnosing how AI platforms represent it, repositioning it, producing AI-optimized content and monitoring ongoing mentions.

    2.2k GitHub stars~4.7k tokensUpdated 2 mo ago
    Auto-check passed
  • Google Workspace CLI

    LeoYeAI/openclaw-master-skills

    Installs and authenticates the gws CLI, then automates Gmail, Drive, Sheets, Calendar, Docs, Chat and Tasks with ready-made recipes, persona bundles and security audits.

    2.2k GitHub stars~2.6k tokensUpdated 2 mo ago
    Auto-check: notes
  • HealthFit Health Advisors

    LeoYeAI/openclaw-master-skills

    Runs four advisor roles, a fitness coach, nutritionist, data analyst and TCM practitioner, to build a health profile and track workouts, diet and wellness over time.

    2.2k GitHub stars~4.4k tokensUpdated 2 mo ago
    Auto-check passed

Questions about Spec Coder

What does Spec Coder do?

Structured spec-first development workflow with multi-role expert review gates: clarify requirements, author spec documents (requirements/design/tasks), generate code from spec, verify with real…. Spec Coder is an agent skill from LeoYeAI/openclaw-master-skills. Structured spec-first development workflow with multi-role expert review gates: clarify requirements, author spec documents (requirements/design/tasks), generate code from spec, verify with real tests, and iterate while keeping spec and code in sync.

When should I use Spec Coder?

Spec Coder fits situations like: user wants to build a feature; system with a spec-first approach; mentions spec coding; spec-driven development.

How do I install Spec Coder in Claude Code?

Run `npx skills add LeoYeAI/openclaw-master-skills --skill spec-coder -a claude-code`. Or copy the skill folder (skills/spec-coder in LeoYeAI/openclaw-master-skills) into .claude/skills/spec-coder in your project. Claude Code loads it when a task matches its description.

How do I install Spec Coder in Codex?

Run `npx skills add LeoYeAI/openclaw-master-skills --skill spec-coder -a codex`. Or copy the skill folder (skills/spec-coder in LeoYeAI/openclaw-master-skills) into .agents/skills/spec-coder in your project. Codex loads it when a task matches its description.

Can I use Spec Coder in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add LeoYeAI/openclaw-master-skills --skill spec-coder -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/spec-coder, .gemini/skills/spec-coder, .github/skills/spec-coder and .opencode/skills/spec-coder in your project.

What does Spec Coder need to run?

Going by SKILL.md and its folder, Spec Coder needs the command-line tools its instructions call (npm and go).

Does Spec Coder access the network?

SKILL.md contains no URLs. Its commands use npm, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Spec Coder safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Spec Coder use?

Spec Coder is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Spec Coder use?

About 5.3k tokens (SKILL.md is roughly 21k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 10k tokens, read only when the agent opens those files.

What are the alternatives to Spec Coder?

Skills that share tags, products or a category with Spec Coder: Spec Writer (garrytan/gstack, 136k stars), Spec-Driven Development (addyosmani/agent-skills, 102k stars), MoAI SPEC Workflow (modu-ai/moai-adk, 1.2k stars) and Loop Factory (JuliusBrussee/skills, 161 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Spec Coder?

LeoYeAI (a GitHub user) maintains it in LeoYeAI/openclaw-master-skills, which has 2,158 GitHub stars. The repository holds 1,215 skills in this directory. The repository was last updated on July 20, 2026.

Source: LeoYeAI/openclaw-master-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.