AI AGENT ADDONS

Fork Discipline

jezweb/claude-skills

A multi-client project has two kinds of code: core and client. Core is shared by every deployment. Client is unique to each one. When these get mixed together, the project becomes hard to maintain. This skill finds where the boundary is blurred.

It scans your codebase and creates a boundary map. It lists every violation where client code hides in core. Then it gives you a refactoring plan to separate them cleanly. You can also generate a FORK.md document and restructuring scripts.

Use this when adding a new client, before a big refactor, or just to keep your project healthy. It works with common patterns like client directories, multiple packages, and runtime client settings.

Add Fork Discipline skill to your workflow

Global

mkdir -p ~/.claude/skills/fork-discipline

Project

mkdir -p .claude/skills/fork-discipline

Source Repository

Stars
884
Forks
91
Watchers
884
License
MIT
Last Push
1 month ago
Created
9 months ago