spec-apply

Implement code proposals with pre-checks, auto-approval, and incremental verification.

9|Updated May 27, 2026
One-click install
npx skills add https://github.com/kamioj/spec-workflow --skill spec-apply
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: spec-apply
Source: https://github.com/kamioj/spec-workflow/tree/main/codex/skills/spec-apply
Command: npx skills add https://github.com/kamioj/spec-workflow --skill spec-apply

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill streamlines code implementation by checking prerequisites before applying changes and verifying them incrementally.

Core Features & Use Cases

  • Pre-check and Auto-approval: Ensures proposal.md carries required prerequisites and appends an 'APPROVED' marker on user invocation.
  • Scoping: Advanced by proposal or tasks, allowing for single executor or multi-executor workflows.
  • Code Dispatch: Scales the code into appropriate scopes, handling UI/Client-side, backend, cross-stack logic, and configuration management.
  • Incremental Verification: Verifies each task or node as it lands without saving them for the end, ensuring the final code matches the proposal.
  • Error Handling: Provides comprehensive error diagnosis and categorization, including implementation issues, syntax bugs, drifts, and incorrect proposals.
  • Stuck Protection: Halts execution on three consecutive unsuccessful attempts with clear reporting on root causes.

Quick Start

Run $spec-apply to start implementing your code proposal, which will trigger pre-checks and automated approvals before dispatching the code to execution.

Frequently Asked Questions about spec-apply

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate proposal-driven code implementation with pre-checks and verification?

Proposal-driven code implementation is automated by validating proposal prerequisites, appending an 'APPROVED' marker, and incrementally verifying each task as it lands to ensure changes match the original spec.

What is incremental verification in spec-based code execution?

Incremental verification in spec-based code execution validates each task or node immediately as it lands, rather than saving checks for the end, ensuring the final code continuously aligns with the proposal.

How do I handle cross-stack logic and configuration management during code dispatch?

Cross-stack logic and configuration management are handled by scaling code dispatch into appropriate scopes, effectively coordinating UI, client-side, backend, and cross-stack implementations within a single workflow.

Can I use spec-based execution for multi-executor team workflows?

Spec-based execution supports multi-executor workflows by scoping proposals and tasks, allowing teams to coordinate single or multiple executors executing cross-stack logic under the same proposal.

Why does my automated code implementation halt after repeated syntax errors?

Automated code implementation halts after repeated syntax errors due to stuck protection, which stops execution after three consecutive unsuccessful attempts and reports the root causes for clear diagnosis.