Agent skill
claude-md
Methodology for authoring and maintaining CLAUDE.md. Enforces brevity, relevance, and structure.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/claude-md
SKILL.md
CLAUDE.md Authoring
Purpose
Methodology for editing CLAUDE.md that keeps it concise, high-signal, and structurally sound. The guide (patterns/anti-patterns in skill.yaml) is the primary value; the linter (lint-claude-md.sh) is a safety net for quantifiable rules.
Quick Reference
- Target: <120 lines, 80% relevance per line
- Structure: Title, behavioral, "Built with:", dirs-only structure, auto-gen table, commands, conventions
- Rule: Reference material lives in
docs/— CLAUDE.md links to it
task docs:lint-claude-md # Validate CLAUDE.md structure
Key Principle
Every line in CLAUDE.md must be useful in 80%+ of sessions. If it's reference material, move it to docs/ and link. If Claude can discover it with tools, omit it.
Automation
See skill.yaml for patterns, anti-patterns, and editing procedure.
See collaboration.yaml for boundaries with docs-refresh.
See sharp-edges.yaml for common pitfalls.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?