Help us improve
Share bugs, ideas, or general feedback.
From fixclaude
Updates existing CLAUDE.md files by merging production-grade directives that override Claude Code limitations like verification gates, context spirals, and tool blindness, preserving project instructions.
npx claudepluginhub florianbuetow/claude-code --plugin fixclaudeHow this skill is triggered — by the user, by Claude, or both
Slash command
/fixclaude:updateThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Augment an existing CLAUDE.md with production-grade agent directives. Preserves
Audits and restructures CLAUDE.md files to reduce token bloat and improve Claude compliance. Targets 2,500–3,500 tokens with a hard 5,000 limit.
Creates, updates, or optimizes CLAUDE.md files following Anthropic best practices for project context, coding standards, and persistent memory management.
CLAUDE.md instruction quality: writing effective project instructions, diagnosing why Claude ignores rules, routing content to the right layer, and systematic improvement. Invoke whenever task involves any interaction with CLAUDE.md files — writing, reviewing, auditing, improving, or debugging instruction compliance.
Share bugs, ideas, or general feedback.
Augment an existing CLAUDE.md with production-grade agent directives. Preserves existing project-specific instructions while adding overrides for Claude Code's built-in limitations.
If a specific path was passed (from the install router handling a symlink), use that path. Otherwise:
TARGET="CLAUDE.md"
if [ -L "$TARGET" ]; then
TARGET=$(readlink -f "$TARGET")
echo "Resolved symlink to: $TARGET"
fi
Read the target file completely. Understand its structure:
Read the full template from:
${CLAUDE_PLUGIN_ROOT}/references/claude-md-template.md
Read the source leak findings reference for full context on what each directive fixes:
${CLAUDE_PLUGIN_ROOT}/skills/analyze/references/source-leak-findings.md
Compare the existing CLAUDE.md against all 7 findings. For each finding, determine whether the existing file already addresses it:
| Finding | Check |
|---|---|
| 1. Verification gate | Has forced verification / compile-check mandate? |
| 2. Context death spiral | Has Step 0 cleanup / phased execution rules? |
| 3. Brevity mandate | Has senior dev override / quality reframing? |
| 4. Agent swarm | Has sub-agent swarming rules? |
| 5. 2,000-line blind spot | Has file read budget / chunked read rules? |
| 6. Tool result blindness | Has truncation awareness / narrow scoping rules? |
| 7. grep not AST | Has multi-search mandate for renames? |
For each missing or incomplete directive:
---
## Agent Override Directives
> Production-grade overrides for Claude Code limitations.
> Based on https://github.com/iamfakeguru/claude-md (MIT, fakeguru)
> Installed by fixclaude plugin
Write the updated file. Then tell the user:
fixclaude:analyze for a detailed gap analysis