agentleFS
Sign inSign up

CLAUDE.md examples from real projects

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

Most stars first · from page 2Worked for most · soon
addyosmaniCLAUDE.md

agent-skills

addyosmani/agent-skills/CLAUDE.md

This is the agent-skills project — a collection of production-grade engineering skills for AI coding agents. Scope: This file configures agents working on the addyosmani/agent-skills repository itself, not other projects. Don't copy it into another project or a global agent configuration; the reusable assets are the skills in skills/. Define: interview-me, idea-refine, spec-driven-development Plan: planning-and-task-breakdown Build: incremental-implementation, test-driven-development, context-engineering, source-driven-development, doubt-driven-development, frontend-ui-engineering, api-and-interface-design Verify: browser-testing-with-devtools, debugging-and-error-recovery Review: code-review-and-quality, code-simplification, security-and-hardening, performance-optimization Ship: git-workflow-and-versioning, ci-cd-and-automation, deprecation-and-migration, documentation-and-adrs, observability-and-instrumentation, shipping-and-launch Before adding…

100k5d agoDiscuss
MicrosoftCLAUDE.md

playwright

microsoft/playwright/CLAUDE.md

playwright-chromium, playwright-firefox, playwright-webkit — per-browser distributions. playwright-browser-chromium, playwright-browser-firefox, playwright-browser-webkit — binary packages. Assume watch is running and code is up to date. Generated files (types, channels, validators) are produced by watch automatically. Runs all lint checks in parallel: eslint, tsc, doclint, check-deps, generatechannels, generatetypes, lint-tests, test-types, lint-packages, code-snippet linting. Always run flint before committing. Do not use tsc --noEmit or individual lint commands separately. Decision rule: Does the test need browser/browserType/context → tests/library/. Just needs page + server → tests/page/.

97k20d agoDiscuss
thedotmackCLAUDE.md

claude-mem

thedotmack/claude-mem/CLAUDE.md

Claude-mem is a Claude Code plugin providing persistent memory across sessions. It captures tool usage, compresses observations using the Claude Agent SDK, and injects relevant context into future sessions. Public Docs: https://docs.claude-mem.ai (Mintlify) Source: docs/public/ - MDX files, edit docs.json for navigation Deploy: Auto-deploys from GitHub on push to main No need to edit the changelog ever, it's generated automatically.

95k5mo agoDiscuss
Model Context ProtocolCLAUDE.md

servers

modelcontextprotocol/servers/CLAUDE.md

Official MCP reference server implementations. This is an npm workspaces monorepo containing 7 servers (4 TypeScript, 3 Python) under src/. Each server is a standalone package published to npm or…

91k6mo agoDiscuss
PanniantongCLAUDE.md

Agent-Reach

Panniantong/Agent-Reach/CLAUDE.md

No summary in the file. Open it to read it.

84k55d agoDiscuss
bytedanceCLAUDE.md

deer-flow / backend

bytedance/deer-flow/backend/CLAUDE.md

The backend agent guidance lives in AGENTS.md so it is shared across coding agents (Claude Code, Codex, and others). Claude Code imports it below.

83k3mo agoDiscuss
bytedanceCLAUDE.md

deer-flow

bytedance/deer-flow/CLAUDE.md

The repo's agent guidance lives in AGENTS.md so it is shared across coding agents (Claude Code, Codex, and others). Claude Code imports it below.

83k3mo agoDiscuss
bytedanceCLAUDE.md

deer-flow / frontend

bytedance/deer-flow/frontend/CLAUDE.md

The frontend agent guidance lives in AGENTS.md so it is shared across coding agents (Claude Code, Codex, and others). Claude Code imports it below.

83k3mo agoDiscuss
lobehubCLAUDE.md

lobehub / e2e

lobehub/lobehub/e2e/CLAUDE.md

本文档记录了在 LobeHub E2E 测试开发中的经验和最佳实践。 Related: LOBE-2417 建立完整的用户体验链路 E2E 测试,作为未来变更和重构的体验基准线。 此外已覆盖 Home、Community 和核心路由(未排优先级)。当前覆盖范围以 e2e/src/features/ 为准。 详细流程参考 e2e/docs/local-setup.md 使用 TypeScript 脚本自动完成环境设置:

83k3d agoDiscuss
rtk-aiCLAUDE.md

rtk

rtk-ai/rtk/CLAUDE.md

rtk (Rust Token Killer) is a high-performance CLI proxy that minimizes LLM token consumption by filtering and compressing command outputs. It reduces bash output by 60-90% on common development operations through smart filtering, grouping, truncation, and deduplication. All percentages in this repo measure bash output, not your bill. RTK ships no tokenizer (src/core/tracking.rs estimates tokens as bytes / 4), so the ratios are reliable but the absolute token counts are approximate. This is a fork with critical fixes for git…

82k8d agoDiscuss
ElasticCLAUDE.md

elasticsearch

elastic/elasticsearch/CLAUDE.md

No summary in the file. Open it to read it.

78k5mo agoDiscuss
ruvnetCLAUDE.md

ruflo / v3

ruvnet/ruflo/v3/CLAUDE.md

This directory contains the V3 monorepo packages. Root CLAUDE.md rules apply here. Source of truth: docs/reviews/intelligence-system-audit-2026-05-29.md + scripts/benchmark-intelligence.mjs. Numbers below are measured unless marked "target/unverified".

73k21d agoDiscuss
career-ops-hqCLAUDE.md

career-ops

career-ops-hq/career-ops/CLAUDE.md

No summary in the file. Open it to read it.

73k34d agoDiscuss
colbymchenryCLAUDE.md

codegraph

colbymchenry/codegraph/CLAUDE.md

Claude Code project guidance for this repository. Primary instructions live in the canonical agent guide — import it:

72k57d agoDiscuss
diegosouzapwCLAUDE.md

OmniRoute

diegosouzapw/OmniRoute/CLAUDE.md

All project rules live in AGENTS.md — the single source of truth for every AI assistant (architecture, conventions, testing, quality gates, git workflow, the 23 Hard Rules, PII learnings). Read it in full; do not re-add project rules here. Everything below applies ONLY to Claude Code — operational refinements of rules already defined in AGENTS.md. The full mandatory worktree protocol (base-branch confirmation, .claude/worktrees/ canonical path, cp -al node_modules, teardown rules) is in AGENTS.md → Git Workflow → "Worktree isolation". Claude-Code-specific…

71k12d agoDiscuss
shanraisshanCLAUDE.md

claude-code-best-practice

shanraisshan/claude-code-best-practice/CLAUDE.md

This is a best practices repository for Claude Code configuration, demonstrating patterns for skills, subagents, hooks, and commands. It serves as a reference implementation rather than an application codebase. Two skill patterns: agent skills (preloaded via skills: field) vs skills (invoked via Skill tool). See orchestration-workflow/orchestration-workflow.md for the complete flow diagram. Hook events configured in .claude/settings.json: PreToolUse, PostToolUse, UserPromptSubmit, Notification, Stop, SubagentStart, SubagentStop, PreCompact, SessionStart, SessionEnd, Setup, PermissionRequest, TeammateIdle, TaskCompleted, ConfigChange. Special handling: git commits trigger pretooluse-git-committing sound. Be explicit…

66k5mo agoDiscuss
calesthioCLAUDE.md

OpenMontage

calesthio/OpenMontage/CLAUDE.md

**MANDATORY: Read AGENT_GUIDE.md before responding to ANY user message.** Do not act on the user's request until you have read AGENT_GUIDE.md. It contains routing rules that determine your first action…

59k43d agoDiscuss
JetBrainsCLAUDE.md

kotlin

JetBrains/kotlin/CLAUDE.md

CRITICAL: @./.ai/guidelines.md guidelines MUST be followed at all times. Local Preferences: @./.claude/local.md When asked to update memory, you must update ./.claude/CLAUDE.md if it is not specified that another file should…

53k29d agoDiscuss
AnthropicCLAUDE.md

claude-cookbooks / chief_of_staff_agent

anthropics/claude-cookbooks/claude_agent_sdk/chief_of_staff_agent/CLAUDE.md

Output: JSON with monthlyburn, runwaymonths, totalrunwaydollars, quarterlyburn, and burnrate_daily Remember: As Chief of Staff, you have access to financial data in the financial_data/ directory and can delegate specialized analysis to your subagents (financial-analyst and recruiter).

53k8mo agoDiscuss
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.