s2-openspec

Orchestrate sequential OpenSpec change workflows with feature flagging, verification, and archiving.

Updated Feb 4, 2026
One-click install
npx skills add https://github.com/rlaksana/.sharing --skill s2-openspec
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: s2-openspec
Source: https://github.com/rlaksana/.sharing/tree/main/s2-openspec
Command: npx skills add https://github.com/rlaksana/.sharing --skill s2-openspec

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the entire OpenSpec workflow, from initial setup and artifact generation to implementation, verification, and archiving, eliminating manual intervention and ensuring rapid, reliable development cycles.

Core Features & Use Cases

  • End-to-End Automation: Manages the full lifecycle of a change within the OpenSpec framework.
  • Sequential Execution: Executes predefined steps (FF, Apply, Verify, Archive) in strict order without user prompts.
  • Error Handling & Retries: Implements logic to retry failed steps or terminate gracefully when issues cannot be resolved automatically.
  • Use Case: Automatically process a new feature request by initializing OpenSpec, generating necessary artifacts, applying the code changes, verifying them against defined constraints, and finally archiving the successful implementation.

Quick Start

Use the s2-openspec skill to execute the full OpenSpec workflow for the change named 'my-new-feature'.

Frequently Asked Questions about s2-openspec

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

FAQPage Schema
How do I automate OpenSpec workflows from feature flagging to archiving?

Automating OpenSpec workflows involves orchestrating a sequential, end-to-end process that handles feature flagging, code application, verification, and archiving. It executes predefined steps in strict order without requiring user prompts, ensuring rapid and reliable development cycles.

What is the best way to handle code generation and verification in a CI/CD pipeline?

Handling code generation and verification in a CI/CD pipeline is best achieved through sequential workflow automation that generates artifacts, applies changes, and verifies them against defined constraints. This method includes automated retries for failed implementation and verification stages to ensure reliability.

Does OpenSpec support automated retries for failed implementation and verification steps?

Yes, OpenSpec supports automated retries for failed implementation and verification steps. The workflow implements specific error handling logic to retry failed steps automatically or terminate gracefully when issues cannot be resolved without manual intervention.

How do I ensure constraint propagation and auditability during code generation?

To ensure constraint propagation and auditability during code generation, you can use a workflow that handles DRR ingestion, context priming, and artifact generation. This process ensures constraints are propagated throughout the lifecycle and automatically generates evidence for audit purposes.

Can I use workflow automation to process feature requests without manual prompts?

Yes, you can use workflow automation to process feature requests without manual prompts by executing a strict, sequential lifecycle. The system automatically initializes the necessary framework, generates artifacts, applies code changes, verifies constraints, and archives the successful implementation.

Why does my automated verification stage terminate gracefully instead of retrying?

Automated verification stages terminate gracefully when the error handling logic determines that issues cannot be resolved automatically. This occurs after exhausting automated retry attempts for the implementation or verification stages, preventing endless loops in the workflow.