From fixclaude
Creates CLAUDE.md with production-grade agent directives overriding Claude Code limitations. Use only if no CLAUDE.md exists; triggers on 'fixclaude init', 'create claude md', or 'initialize claude directives'.
How this skill is triggered — by the user, by Claude, or both
Slash command
/fixclaude:initThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Create a new CLAUDE.md from the production-grade template that reverses
Create a new CLAUDE.md from the production-grade template that reverses Claude Code's built-in limitations discovered in the source code leak.
Check that CLAUDE.md does not already exist:
if [ -f "CLAUDE.md" ] || [ -L "CLAUDE.md" ]; then
echo "ERROR: CLAUDE.md already exists. Use fixclaude:update instead."
exit 1
fi
If it exists, tell the user to use fixclaude:update instead and stop.
Read the template from the plugin's references directory:
${CLAUDE_PLUGIN_ROOT}/references/claude-md-template.md
This template contains the full production-grade agent directives.
Write the template content to CLAUDE.md in the project root.
Add this attribution comment at the very end of the file:
<!-- Agent directives based on https://github.com/iamfakeguru/claude-md (MIT, fakeguru) -->
<!-- Installed by fixclaude plugin -->
Tell the user:
fixclaude:analyze to see how each directive maps to a specific Claude Code limitationnpx claudepluginhub florianbuetow/claude-code --plugin fixclaudeInterviews the user to scaffold a CLAUDE.md or AGENTS.md capturing edge cases and tribal knowledge, not derivable facts. Writes to a scratchpad for review.
Refactors CLAUDE.md files toward progressive disclosure by auditing instructions, deleting no-ops, demoting path-specific rules, and rewriting for clarity.
Creates and improves CLAUDE.md files for project memory and agent configuration using TDD workflow with task tracking. Activates on 'create CLAUDE.md', 'setup project', 'configure agent'.