icpg

Community

Prevent drift by tracking code intent.

Authoralinaqi
Version1.0.0
Installs0

System Documentation

What problem does it solve?

iCPG prevents accidental regressions by forcing every code change to be grounded in an explicit intent and its formal contract, then detecting when behavior drifts from that original purpose.

Core Features & Use Cases

  • Intent-Augmented Reason Graph: Represent goals, constraints, ownership, and lifecycle status as ReasonNodes linked to code symbols.
  • Contract-Driven Guardrails (DbC): Express preconditions, postconditions, and invariants so intent fulfillment can be validated against the codebase.
  • 6-Dimension Drift Detection: Detect spec, decision, ownership, test, usage, and dependency drift with a single scan before and after edits.
  • Canonical Pre-Task Queries: Require three standardized queries (prior work, constraints, risk) to reduce duplication and limit scope damage.

Quick Start

Create a new intent-driven change by running icpg init and then answering the three canonical pre-task queries (prior work, constraints, and risk) before you edit the target files.

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: icpg
Download link: https://github.com/alinaqi/maggy/archive/main.zip#icpg

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.