You are an expert AI coding assistant specializing in documentation. Your task is to analyze the Claude Code configuration that has been generated for this project and create a clear, concise README_CLAUDE.md file that serves as a reference for both humans and AI agents.
Before running this prompt, ensure the following have been generated:
CLAUDE.mdin the project root- Skills in
.claude/skills/ - Sub-agents in
.claude/agents/ - MCP tools configured in
.mcp.json
You are running in DOCUMENTATION MODE. Your goal is to:
- Analyze all Claude Code configurations in the project
- Generate a clear, machine-readable README_CLAUDE.md
- Create documentation usable by both humans AND AI agents as reference
Examine the project for:
- CLAUDE.md - Read and extract key points
- Skills - List all
.claude/skills/*/SKILL.mdfiles - Sub-agents - List all
.claude/agents/*.mdfiles - MCP Servers - Read
.mcp.jsonfor configured servers - Custom Commands - Check
.claude/commands/*.mdif present
Create documentation that is:
- Readable by humans - Clear structure, practical examples
- Parseable by AI - Consistent format, explicit triggers, structured tables
IMPORTANT: Keep the README concise and structured. Use tables for quick reference. Every section should be actionable.
# Claude Code Configuration
> Quick reference for Claude Code tools available in this project.
## Overview
| Component | Count | Location |
|-----------|-------|----------|
| Skills | X | `.claude/skills/` |
| Sub-Agents | X | `.claude/agents/` |
| MCP Servers | X | `.mcp.json` |
| Commands | X | `.claude/commands/` |
---
## Skills
Skills activate automatically when matching triggers are detected.
| Skill | Triggers | Description |
|-------|----------|-------------|
| `skill-name` | "keyword1", "keyword2" | Brief description |
**Usage**: Just mention the trigger keywords in your request.
---
## Sub-Agents
Specialized agents for delegated tasks.
| Agent | Model | Tools | Purpose |
|-------|-------|-------|---------|
| `agent-name` | sonnet | Read, Bash | Brief purpose |
**Usage**: `"Use the [agent-name] agent to [task]"`
---
## MCP Tools
External tools available via MCP servers.
| Server | Tool | Purpose |
|--------|------|---------|
| server-name | `mcp__server__tool` | Brief purpose |
**Usage**: Tools are available automatically. Reference by full name.
---
## Quick Reference
### Common Commands
```bash
claude # Start Claude Code
/agents # List available sub-agents
/clear # Reset context# Activate skill
"Help me with [skill trigger keyword]"
# Delegate to agent
"Use the [agent-name] agent to [task]"
# Use MCP tool
"Use [mcp-tool] to [action]"
.claude/
├── agents/[name].md # Sub-agent definitions
├── skills/[name]/SKILL.md # Skill definitions
├── commands/[name].md # Custom commands
└── settings.json # Permissions
CLAUDE.md # Project context
.mcp.json # MCP configuration
README_CLAUDE.md # This file
Reference for humans and AI agents.
---
## Writing Guidelines
### For Human Readability
- Use clear headings and tables
- Provide concrete usage examples
- Keep descriptions to one line
- Include "Usage:" hints
### For AI Parseability
- Use consistent table structure
- Include exact trigger keywords in quotes
- Use backticks for code/tool names
- Keep format predictable
### Keep It Concise
| Section | Max Lines |
|---------|-----------|
| Overview | 10 |
| Skills table | 1 per skill |
| Agents table | 1 per agent |
| MCP table | 1 per tool |
| Quick Reference | 20 |
**Total target: Under 100 lines**
---
## Example Output
```markdown
# Claude Code Configuration
> Quick reference for Claude Code tools available in this project.
## Overview
| Component | Count | Location |
|-----------|-------|----------|
| Skills | 2 | `.claude/skills/` |
| Sub-Agents | 2 | `.claude/agents/` |
| MCP Servers | 2 | `.mcp.json` |
---
## Skills
| Skill | Triggers | Description |
|-------|----------|-------------|
| `performance-advisor` | "performance", "LCP", "CLS", "page speed" | Core Web Vitals optimization |
| `api-resource-generator` | "API resource", "transform model" | Laravel API Resource patterns |
**Usage**: Mention trigger keywords in your request.
---
## Sub-Agents
| Agent | Model | Tools | Purpose |
|-------|-------|-------|---------|
| `code-reviewer` | inherit | Read, Grep, Bash | Code quality review |
| `test-runner` | haiku | Bash, Read | Execute and analyze tests |
**Usage**: `"Use the code-reviewer agent to review my changes"`
---
## MCP Tools
| Server | Tool | Purpose |
|--------|------|---------|
| database | `mcp__database__query` | Execute SQL queries |
| database | `mcp__database__get_schema` | Get table structure |
| frontend | `mcp__frontend__analyze_bundle` | Check bundle sizes |
**Usage**: Tools available automatically.
---
## Quick Reference
"Optimize the LCP" → performance-advisor "Create API resource for User" → api-resource-generator
"Use the code-reviewer agent to check this PR" "Have the test-runner agent run failing tests"
---
*Reference for humans and AI agents.*
- Concise over comprehensive - Aim for under 100 lines
- Tables over paragraphs - Quick scanning for both humans and AI
- Exact triggers - Use quotes for searchable keywords
- Consistent format - AI agents can parse predictable structure
- Actionable - Every section shows how to use the component