ms-foundation-constitution

Community

Automate Constitution compliance for clean code.

Authorbeomeodev
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Constitution Section II compliance validator for Simplicity-First Architecture that checks file size limits (≤500 SLOC excluding comments), function complexity using McCabe metrics (≤10 cyclomatic complexity), function length constraints (≤100 LOC), and provides actionable refactoring suggestions with split strategies when violations detected. Use when validating code quality, checking file size limits, analyzing function complexity, reviewing Constitution compliance, implementing new features, or running quality gate checks

Core Features & Use Cases

  • Validates file size, function complexity, and function length against Constitution thresholds
  • Suggests refactoring strategies and split plans to restore compliance
  • Integrates into CI gates and code reviews to enforce architecture rules

Quick Start

Run the constitution validator on your codebase to enforce size, complexity, and refactoring guidance.

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: ms-foundation-constitution
Download link: https://github.com/beomeodev/specter/archive/main.zip#ms-foundation-constitution

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 471,000+ vetted skills library on demand.