iikit-00-constitution

Create or update a CONSTITUTION.md defining project governance principles and quality gates.

1|Updated Apr 30, 2026
One-click install
npx skills add https://github.com/hafidzlvm/opencode --skill iikit-00-constitution-hafidzlvm
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: iikit-00-constitution
Source: https://github.com/hafidzlvm/opencode/tree/main/.tessl/tiles/tessl-labs/intent-integrity-kit/skills/iikit-00-constitution
Command: npx skills add https://github.com/hafidzlvm/opencode --skill iikit-00-constitution-hafidzlvm

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve? Teams practicing specification-driven development need a single, versioned source of truth for coding standards, TDD policy, review requirements, and non-negotiable development rules. This Skill generates and maintains that governing document so every downstream planning and implementation step stays consistent. ## Core Features & Use Cases - Constitution Authoring: Creates or updates CONSTITUTION.md from a template, filling placeholders for principles, governance rules, ratification dates, and semantic version tracking. - TDD Policy Extraction: Derives the TDD determination (mandatory, optional, or forbidden) from the constitution text and writes it to .specify/context.json for downstream skills. - Phase Separation Validation: Scans the draft for technology-specific content that belongs in the plan phase and auto-fixes violations until clean. - Use Case: After initializing a project premise, run this Skill to establish five core principles including a mandatory test-first rule, then let later skills like testify and implement automatically enforce that policy. ## Quick Start Ask the AI to create the project constitution defining coding standards, quality gates, and a mandatory TDD policy for the current repository.

Frequently Asked Questions about iikit-00-constitution

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

FAQPage Schema
How do I create a project constitution for specification-driven development?▼

Run the constitution skill after initializing PREMISE.md. It loads the constitution template, collects values for placeholders like version and ratification date, drafts declarative principles with rules and rationale, and writes CONSTITUTION.md with a sync impact report.

What should a project constitution contain?▼

A constitution must contain governance principles, non-negotiable development rules, quality standards, amendment procedures, and compliance expectations. It must not contain technology stacks, frameworks, databases, or tool versions, which belong in the implementation plan phase.

How is the TDD policy determined from the constitution?▼

The skill scans the constitution text for mandatory language. If it contains MUST or REQUIRED combined with TDD, test-first, or red-green-refactor, the policy is mandatory; if testing is optional or unmentioned, it is optional. The result is cached in .specify/context.json.

Why does the constitution skill fail with a PREMISE.md error?▼

The skill requires PREMISE.md to exist and be fully filled before proceeding. If the file is missing or contains unresolved bracket placeholders, run the init command first and complete all premise sections, then re-run the constitution skill.

How is constitution versioning handled when principles change?▼

The constitution uses semantic versioning: MAJOR for principle removal or redefinition, MINOR for new principles, and PATCH for clarifications. Each update records the version change, modified principles, and follow-up TODOs in a sync impact report.