claude-md

Create and maintain CLAUDE.md files for Claude Code projects.

3|1|Updated Oct 31, 2025
One-click install
npx skills add https://github.com/bandofai/puerto --skill claude-md
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: claude-md
Source: https://github.com/bandofai/puerto/tree/main/plugins/claude-md/skills/claude-md
Command: npx skills add https://github.com/bandofai/puerto --skill claude-md

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps teams create, standardize, and audit CLAUDE.md files across Claude Code projects, ensuring persistent context and optimized agent prompts. It reduces manual documentation time and keeps monorepo contexts consistent.

Core Features & Use Cases

  • Create CLAUDE.md templates for new projects to establish consistent context loading
  • Audit & improve CLAUDE.md quality across repositories to avoid misconfigurations
  • Set up Claude Code configuration for repositories, including monorepos
  • Optimize agent context by aligning CLAUDE.md with multi-location contexts (shared and local)
  • Triggers on requests like "create CLAUDE.md", "improve my CLAUDE.md", "set up Claude Code", "optimize agent context", or "audit my project documentation for Claude"

Quick Start

Use the claude-md skill to generate or update CLAUDE.md for your current repository.

Frequently Asked Questions about claude-md

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a CLAUDE.md file for Claude Code?

CLAUDE.md is a configuration file that tells Claude Code how to load context for your project. Create one by defining build commands, test commands, lint commands, critical rules, architecture overview, code patterns, and workflow rules in a structured format. This ensures Claude Code loads the right context every time.

What should I include in CLAUDE.md for a monorepo?

For monorepos, CLAUDE.md should map build, test, and lint commands for each workspace or subdirectory, define shared rules and patterns, and specify local overrides. This guides Claude Code to apply consistent context across multiple project locations while respecting directory-specific configurations.

Can I use CLAUDE.md to optimize how Claude Code loads my project context?

Yes. CLAUDE.md lets you prioritize critical commands, define architecture overviews, establish code patterns, and set workflow rules that Claude Code respects when gathering context. This reduces token overhead and ensures the agent focuses on relevant information for your project.

How do I audit and improve an existing CLAUDE.md?

Audit CLAUDE.md by checking that build, test, and lint commands are current and correct, rules align with your project structure, and the file meets size and readability targets. Improve it by removing outdated entries, clarifying architecture sections, and ensuring consistency across multi-location contexts.

Does CLAUDE.md work across multiple directories in a project?

Yes. CLAUDE.md supports multi-location contexts, allowing shared configurations at the project root and local overrides in subdirectories. This is especially useful for monorepos where different packages or services have distinct build and workflow requirements.

What's the difference between user-level and project-level CLAUDE.md files?

Project-level CLAUDE.md defines context specific to a repository or monorepo, while user-level CLAUDE.md applies globally across all Claude Code sessions. Use project-level for repo-specific rules and team standards, and user-level for personal preferences and shared conventions.