claude-md  by iamfakeguru

Enhance AI agent performance with production-grade directives

Created 3 days ago

New!

768 stars

Top 45.3% on SourcePulse

GitHubView on GitHub
Project Summary

Summary

This project provides production-grade agent directives for Claude Code, addressing its inherent structural limitations and enhancing reliability. Targeting developers using Claude Code, it offers refined patterns derived from real-world logs and Anthropic's internal practices to prevent predictable failures and improve code generation accuracy.

How It Works

The core approach uses CLAUDE.md as an enhanced system prompt for Claude Code, overriding critical bottlenecks like context compaction, file read limits (2,000 lines), tool result truncation (2,000 bytes), and default prompt bias. It integrates advanced patterns such as spec-based development, sub-agent execution, file system state management, prompt caching, and self-improving error prevention, mirroring Anthropic's internal techniques for more robust agent behavior.

Quick Start & Requirements

Place CLAUDE.md in your project root via curl -o CLAUDE.md https://raw.githubusercontent.com/iamfakeguru/claude-md/main/CLAUDE.md or by cloning and copying. Requires the Claude Code environment. A technical breakdown is available at x.com/iamfakeguru/status/2038965567269249484.

Highlighted Details

  • Mitigates specific Claude Code issues: type errors ("Done!"), context decay, file/tool result truncation, lack of session continuity, and autonomous bug fixing.
  • Supports conditional, filetype-specific directives via .claude/rules/*.md for specialized contexts.
  • Enables custom hooks in ~/.claude/settings.json for actions like auto-formatting code (e.g., black for Python).
  • Designed for native integration with Claude Code, Cursor (via .cursorrules), and compatible with other agents.

Maintenance & Community

Context built by @fakeguru, with @OpenServAI as advisor. No other community channels or maintenance details are provided.

Licensing & Compatibility

Released under the MIT license, which is permissive for commercial use and integration into closed-source projects.

Limitations & Caveats

Effectiveness depends on the underlying Claude Code platform and its inherent limitations. The "reverse-engineered" nature of some directives may require future adjustments. It configures Claude Code's behavior rather than altering its core architecture.

Health Check
Last Commit

2 days ago

Responsiveness

Inactive

Pull Requests (30d)
0
Issues (30d)
2
Star History
770 stars in the last 3 days

Explore Similar Projects

Feedback? Help us improve.