cc-docs
CLAUDE.md2 starsChanged 8 months agoMITView on GitHub
Official Claude Code documentation and reusable assets, downloaded from <https://code.claude.com/docs>. NEVER use em-dashes ('--') in generated text - they break formatting consistency. Use commas, periods, parentheses, or regular hyphens instead. ALWAYS update both CLAUDE.md and DOCUMENT-INDEX.md when docs are added, removed, or renamed - stale indexes cause agents to reference nonexistent files. ALWAYS commit and push after making changes - this is a shared documentation repo. ALWAYS use files in templates/ as starting points when creating any Claude Code feature…
We split this CLAUDE.md into the rules it gives an agent
7 rules. About 0 are common, 4 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 33
NEVER use em-dashes ('--') in generated text - they break formatting consistency.
- Distinctive: line 35
ALWAYS update both CLAUDE.md and DOCUMENT-INDEX.md when docs are added, removed, or renamed - stale indexes cause agents to reference …
- Distinctive: line 37
ALWAYS commit and push after making changes - this is a shared documentation repo.
- Very specific: line 39
ALWAYS use files in templates/ as starting points when creating any Claude Code feature - they contain tested patterns and correct …
- Very specific: line 45
Update DOCUMENT-INDEX.md with any added, removed, or renamed files
- Distinctive: line 46
Update the Architecture section above if counts or categories changed
- Very specific: line 51
Read DOCUMENT-INDEX.md for the full file-by-file index.
≈ “Common” is an estimate: at least 1 in 5 of the 25,680 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Project: cc-docs
Official Claude Code documentation and reusable assets, downloaded from https://code.claude.com/docs.
Architecture
claude-code-docs/ # 45 official doc pages (getting started, usage, extensibility, IDE, CI/CD, cloud, enterprise, reference)
cheatsheets/ # 65 condensed cheatsheets per doc topic (quickstart, hooks, permissions, MCP, etc.)
templates/ # Copy-paste starting points (skills, subagents, hooks, CLAUDE.md starters, CI/CD, MCP, plugins)
rules/ # 8 drop-in path-specific rules (TypeScript, Python, React, Go, Rails, Rust, SQL, testing)
tips/ # 6 practical tip files + README
skills/ # 15 core + 222 community skills in 16 categories
commands/ # 12 core + 100 community slash commands in 12 categories
hooks/ # 10 core + community hook scripts
agents/ # 12 core + 185 community subagents in 14 categories
guides/ # 7 step-by-step workflow guides + README
output-styles/ # 11 response formatting styles + README
docs/brainstorms/ # Planning and brainstorm documents
Scripts/ # Maintenance scripts
awesome.md # Curated resource list
DOCUMENT-INDEX.md # Full file-by-file index (read this to find specific resources)Commands
Scripts/download-cc-docs.sh # Download/update docs from code.claude.comConstraints
NEVER use em-dashes ('--') in generated text - they break formatting consistency. Use commas, periods, parentheses, or regular hyphens instead.
ALWAYS update both CLAUDE.md and DOCUMENT-INDEX.md when docs are added, removed, or renamed - stale indexes cause agents to reference nonexistent files.
ALWAYS commit and push after making changes - this is a shared documentation repo.
ALWAYS use files in templates/ as starting points when creating any Claude Code feature - they contain tested patterns and correct structure.
Updating Docs
- Run
Scripts/download-cc-docs.sh - Review new/changed/removed pages in
claude-code-docs/ - Update
DOCUMENT-INDEX.mdwith any added, removed, or renamed files - Update the Architecture section above if counts or categories changed
- Commit and push
Finding Resources
Read DOCUMENT-INDEX.md for the full file-by-file index. Key entry points:
- Templates:
templates/SKILL-TEMPLATE.md,SUBAGENT-TEMPLATE.md,HOOKS-TEMPLATE.md,HOOKS-RECIPES.md - Language starters: Python, TypeScript, React, Rails, and monorepo CLAUDE.md starters in
templates/ - Cheatsheets: Quick-reference versions of every doc topic in
cheatsheets/
In this repository239 other files it gives its agents.
- claude-code-docs/agents.mdAGENTS.md
- claude-code-docs/llms.txtllms.txt
- agent-native-architectureSkill
- claude-apiSkill
- embedding-strategiesSkill
- fal-ai-mediaSkill
- gemini-imagegenSkill
- hybrid-search-implementationSkill
- langchain-architectureSkill
- llm-evaluationSkill
- ml-pipeline-workflowSkill
- prompt-engineering-patternsSkill
- rag-implementationSkill
- similarity-search-patternsSkill
- vector-index-tuningSkill
- api-design-principlesSkill
- api-designSkill
- architecture-patternsSkill
- cqrs-implementationSkill
- event-store-designSkill
- fastapi-templatesSkill
- microservices-patternsSkill
- openapi-spec-generationSkill
- projection-patternsSkill
- saga-orchestrationSkill
- api-conventionsSkill
- andrew-kane-gem-writerSkill
- angular-migrationSkill
- auth-implementation-patternsSkill
- backend-patternsSkill
- bazel-build-optimizationSkill
- coding-standardsSkill
- database-migrationSkill
- debugging-strategiesSkill
- dependency-upgradeSkill
- dhh-rails-styleSkill
- dotnet-backend-patternsSkill
- dspy-rubySkill
- error-handling-patternsSkill
- monorepo-managementSkill
- nodejs-backend-patternsSkill
- nx-workspace-patternsSkill
- react-modernizationSkill
- temporal-python-testingSkill
- turborepo-cachingSkill
- workflow-orchestration-patternsSkill
- defi-protocol-templatesSkill
- nft-standardsSkill
- solidity-securitySkill
- web3-testingSkill
- backtesting-frameworksSkill
- billing-automationSkill
- competitive-landscapeSkill
- data-storytellingSkill
- employment-contract-templatesSkill
- investor-materialsSkill
- investor-outreachSkill
- kpi-dashboard-designSkill
- market-sizing-analysisSkill
- paypal-integrationSkill
- The first 60 shown.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

