agentleFS

CLAUDE.md examples from real projects

How real projects brief Claude Code: the commands, conventions and warnings they put in CLAUDE.md.

Worked for most · soon
ZhangHanDongCLAUDE.md

rust-skills

ZhangHanDong/rust-skills/CLAUDE.md

STOP! Before loading ANY skill, check if negotiation is required: When negotiation is required, your response MUST include: *DO NOT skip directly to tokio-basics, ratatui-, or other specialized skills for…

1.5k10mo agoReviewMountCreate a free account to mount
ZhangHanDongCLAUDE.md

harness-engineering-from-cc-to-ai-coding

ZhangHanDong/harness-engineering-from-cc-to-ai-coding/CLAUDE.md

本项目基于 Claude Code v2.1.88 的逆向工程源码,编写一本关于 AI Agent 驾驭工程(Harness Engineering)的技术书籍(29 章 + 4 附录)。 任务契约和实施计划在 specs/ 目录: 编写任何章节前,先读对应的 spec 文件。大纲在 docs/book-outline.md。 章节文件写在 book/src/partN/chNN.md,mdbook 通过 SUMMARY.md 自动组织目录。 编写本书时,AI agent 必须加载以下 skill: 每章开始写作前,必须声明预算(tech-writer skill 的 Step 0): 如果某个论点需要第 4 层深度(production 约束讨论),在预算中显式标注。 源码在 restored-src/src/ 下,关键文件索引见 docs/book-outline.md 附录 A。 绝不修改 restored-src/ 下的任何文件。 每章写完后,按 tech-writer skill 的 Phase 3 执行 3-agent 并行 review: 三个 agent 必须在单条消息中并行启动。

1.5k7mo agoReviewMountCreate a free account to mount
CLAUDE.md vs AGENTS.md

About CLAUDE.md

What is CLAUDE.md?

A file Claude Code reads at the start of every session. It holds the commands, conventions and warnings the agent needs for this project.

Where does it go?

At the repository root. Claude Code also reads CLAUDE.md files in subdirectories when it works there.

What should it contain?

Build and test commands, the project's layout, conventions that aren't obvious from the code, and mistakes to avoid. Short files tend to work better than long ones.

CLAUDE.md or AGENTS.md?

Claude Code reads CLAUDE.md; most other agents read AGENTS.md. Many projects keep one and point the other at it.