openspec-constitution-guard - Enforce AGENTS.md quality gates in OpenSpec commands
Composes project AGENTS.md constitution files into OpenSpec commands to enforce project quality validation gates.
Tags
Updated: 2026-09-20Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Locate AGENTS.md files in workspace
- Extract quality criteria from constitutions
- Map criteria to OpenSpec commands
- Compose constitution guard Markdown blocks
- Update command files after OPENSPEC tag
Inputs
- Project AGENTS.md constitution files
- OpenSpec command Markdown files
Outputs
- Updated OpenSpec command files with constitution guards
Requirements
- Shell execution environment with find and grep
- OpenSpec command files in .claude/commands/openspec
