phaselock

Community

Enforce coding standards and architectural rules

Authorinfinri
Version1.0.0
Installs0

System Documentation

What problem does it solve?

AI code generation fails in predictable, recurring ways: monolithic output, skipped planning phases, self-auditing without verification, and tests as afterthoughts. Phaselock converts each failure mode into a hard rule with mechanical enforcement through hooks and verification scripts, ensuring AI agents generate, review, and verify code against institutional knowledge.

Core Features & Use Cases

  • Tiered Workflow Routing: Classifies tasks into four tiers (Research, Patch, Standard, Complex) to apply the right level of ceremony.
  • Phased Implementation Protocol: Enforces sequential planning phases (call-path declaration, domain invariants, seam justification, system dynamics) with human approval gates.
  • Sliced Code Generation: Breaks implementation into dependency-ordered slices with per-slice validation, static analysis, and handoff JSON.
  • Comprehensive Rule Library: 80 enforceable rules across architecture, database, security, performance, testing, and framework-specific domains (Magento 2, PHP, Python).

Quick Start

Use the phaselock skill to review your AI-generated code against the institutional coding bible and enforce all applicable architectural, security, and performance rules before committing.

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: phaselock
Download link: https://github.com/infinri/Phaselock/archive/main.zip#phaselock

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