spec-kitty-constitution-doctrine

Automate governance constitution lifecycle for Spec Kitty projects from interview to sync.

1|Updated Sep 19, 2025
One-click install
npx skills add https://github.com/kentonium3/kg-automation --skill spec-kitty-constitution-doctrine
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: spec-kitty-constitution-doctrine
Source: https://github.com/kentonium3/kg-automation/tree/main/.agents/skills/spec-kitty-constitution-doctrine
Command: npx skills add https://github.com/kentonium3/kg-automation --skill spec-kitty-constitution-doctrine

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Spec Kitty projects often struggle to maintain a single source of truth for governance while coordinating interviews, policy capture, and runtime policy enforcement. This skill automates the constitution lifecycle by enabling an interview-to-generation-to-sync workflow and by loading context for each workflow action.

Core Features & Use Cases

  • Interview governance to capture project policy and mission
  • Generate constitution.md and derive governance.yaml, directives.yaml, and metadata.yaml along with doctrine references
  • Contextualize governance for runtime actions (specify, plan, implement, review) to constrain behavior and provide auditable policy

Quick Start

Run the constitution pipeline: interview, generate, and sync for project governance.

Frequently Asked Questions about spec-kitty-constitution-doctrine

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

FAQPage Schema
How do I establish a single source of truth for project governance rules in YAML?

To establish a single source of truth for project governance, you define policies in a constitution.md file and derive deterministic YAML outputs. This approach ensures governance rules are consistently captured and enforced across the project lifecycle.

What is the best way to automate policy capture from interviews into governance YAML files?

Automating policy capture involves running an interview-to-generation-to-sync workflow that extracts governance rules into governance.yaml and directives.yaml. This process contextualizes runtime actions like specifying and planning with auditable project policies.

How do I constrain runtime workflow actions with context-aware governance policies?

You constrain runtime workflow actions by loading context-aware prompts derived from your governance doctrine during specify, plan, implement, and review phases. This provides auditable policy enforcement directly within the development workflow.

Does this governance workflow require a constitution.md file to function?

Yes, the governance workflow requires a constitution.md file as the single source of truth. From this markdown file, it deterministically extracts project policies into governance.yaml, directives.yaml, and metadata.yaml formats.

Can I synchronize governance rules across multiple Spec Kitty projects?

Yes, you can synchronize governance rules across projects using the sync feature within the constitution lifecycle. This ensures context-aware provisioning and consistent application of derived YAML policies during workflow execution.

Why does my governance YAML derivation need doctrine references?

Derivation needs doctrine references to provide context-aware constraints and auditable policy during runtime actions. They ensure the extracted governance.yaml and directives.yaml accurately reflect the core mission captured during interviews.