openspec-constitution-guard

Community

Guard OpenSpec quality with project constitutions.

Authorcyberelf
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This skill translates project constitutions into OpenSpec command guards, ensuring every openspec action enforces organization-specific QA gates.

Core Features & Use Cases

  • Constitution-driven guards: Reads AGENTS.md files across the workspace to tailor checks for OpenSpec commands (proposal, apply, archive).
  • Automatic guard composition: Generates a constitution block and embeds it into the corresponding OpenSpec command files.
  • Sync and maintenance: Updates guards when constitutions change, keeping OpenSpec artifacts aligned with project standards.

Quick Start

Run the constitution guard workflow to read AGENTS.md files, generate the OpenSpec guard blocks, and update the command files accordingly. Ensure AGENTS.md files exist in the workspace or in the project areas you want to govern. The tool writes guards to the command files after the OPENSPEC guard marker and keeps a record of source constitutions.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: openspec-constitution-guard
Download link: https://github.com/cyberelf/agent_skills/archive/main.zip#openspec-constitution-guard

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.