mirror of
https://github.com/alirezarezvani/ClaudeForge.git
synced 2026-07-03 10:23:15 -04:00
feat: ClaudeForge 2.1.0 — installable plugin with 150-line cap, forked audit skills, /sync --weekly, and AGENTS.md export (#26)
This commit is contained in:
@@ -211,9 +211,10 @@ def calculate_quality_score(self) → int:
|
||||
**Validation Categories:**
|
||||
|
||||
1. **Length Validation**
|
||||
- Recommended: 20-300 lines
|
||||
- Warning: 300-400 lines (suggest modular)
|
||||
- Error: < 20 or > 400 lines
|
||||
- Recommended: 20–120 lines (sweet spot)
|
||||
- Warning: 120–150 lines (approaching cap)
|
||||
- **Hard cap: 150 lines** — enforced deterministically by `hooks/validate-claude-md.py` on `PostToolUse(Edit|Write)` *and* `InstructionsLoaded`. Files over the cap must be split into chained sub-CLAUDE.md files.
|
||||
- Exempt: any file whose basename ends in `.local.md` (personal-tier override).
|
||||
|
||||
2. **Structure Validation**
|
||||
- Required sections: Core Principles, Tech Stack, Workflow
|
||||
@@ -432,9 +433,9 @@ Triggers update if:
|
||||
|
||||
### File Size Limits
|
||||
|
||||
- Single file: Max 400 lines (prefer 300)
|
||||
- Modular files: Each 150-300 lines
|
||||
- Total project: Unlimited with modular
|
||||
- Every CLAUDE.md: hard cap 150 lines (no exceptions outside `*.local.md`).
|
||||
- Modular split via `@path/to/sub/CLAUDE.md` chain imports when content would exceed the cap.
|
||||
- Total project: unlimited via modular chaining + `.claude/rules/*.md` for path-scoped guidance.
|
||||
|
||||
### Caching Strategy
|
||||
|
||||
|
||||
Reference in New Issue
Block a user