claude-md-enhancer

11
0
Source

Analyzes, generates, and enhances CLAUDE.md files for any project type using best practices, modular architecture support, and tech stack customization. Use when setting up new projects, improving existing CLAUDE.md files, or establishing AI-assisted development standards.

Install

mkdir -p .claude/skills/claude-md-enhancer && curl -L -o skill.zip "https://mcp.directory/api/skills/download/2482" && unzip -o skill.zip -d .claude/skills/claude-md-enhancer && rm skill.zip

Installs to .claude/skills/claude-md-enhancer

About this skill

CLAUDE.md File Enhancer

This skill provides comprehensive CLAUDE.md file generation and enhancement for Claude Code projects. It analyzes existing files, validates against best practices, and generates customized guidelines tailored to your project type, tech stack, and team size.

Capabilities

  • 🆕 Interactive Initialization: Intelligent workflow that explores your repository, detects project type and tech stack, asks for confirmation, then creates customized CLAUDE.md files
  • ✨ 100% Native Format Compliance: All generated files follow official Claude Code format with project structure diagrams, setup instructions, architecture sections, and file structure explanations (matching /update-claude-md slash command)
  • Analyze Existing Files: Scan and evaluate current CLAUDE.md files for structure, completeness, and quality
  • Validate Best Practices: Check against Anthropic guidelines (file length, required sections, formatting standards)
  • Generate New Files: Create complete CLAUDE.md files from scratch for new projects
  • Enhance Existing Files: Add missing sections, improve structure, and update to latest best practices
  • Modular Architecture: Support context-specific CLAUDE.md files in subdirectories (backend/, frontend/, docs/)
  • Tech Stack Customization: Tailor guidelines to specific technologies (TypeScript, Python, Go, React, Vue, etc.)
  • Team Size Adaptation: Adjust complexity based on team size (solo, small <10, large 10+)
  • Template Selection: Choose appropriate template based on project complexity and development phase

Input Requirements

For Analysis and Enhancement

Provide existing CLAUDE.md file content or file path:

{
  "mode": "enhance",
  "file_path": "CLAUDE.md",
  "content": "[existing CLAUDE.md content]",
  "project_context": {
    "type": "web_app",
    "tech_stack": ["typescript", "react", "node", "postgresql"],
    "team_size": "small",
    "phase": "mvp"
  }
}

For New File Generation

Provide project context:

{
  "mode": "create",
  "project_context": {
    "type": "api",
    "tech_stack": ["python", "fastapi", "postgresql", "docker"],
    "team_size": "medium",
    "phase": "production",
    "workflows": ["tdd", "cicd", "documentation_first"]
  },
  "modular": true,
  "subdirectories": ["backend", "database", "docs"]
}

Context Parameters

  • type: Project type (web_app, api, fullstack, cli, library, mobile, desktop)
  • tech_stack: Array of technologies (e.g., ["typescript", "react", "node"])
  • team_size: solo, small (<10), medium (10-50), large (50+)
  • phase: Development phase (prototype, mvp, production, enterprise)
  • workflows: Key workflows (tdd, cicd, documentation_first, agile, etc.)

Output Formats

Analysis Report

{
  "analysis": {
    "file_size": 450,
    "line_count": 320,
    "sections_found": [
      "Quick Navigation",
      "Core Principles",
      "Tech Stack",
      "Workflow Instructions"
    ],
    "missing_sections": [
      "Testing Requirements",
      "Error Handling Patterns"
    ],
    "issues": [
      {
        "type": "length_warning",
        "severity": "medium",
        "message": "File exceeds recommended 300 lines (320 lines)"
      },
      {
        "type": "missing_section",
        "severity": "low",
        "message": "Consider adding 'Testing Requirements' section"
      }
    ],
    "quality_score": 75,
    "recommendations": [
      "Split into modular files (backend/CLAUDE.md, frontend/CLAUDE.md)",
      "Add testing requirements section",
      "Reduce root file to <150 lines"
    ]
  }
}

Generated Content

Complete CLAUDE.md file content or specific sections to add:

# CLAUDE.md

This file provides guidance for Claude Code when working with this project.

## Quick Navigation

- [Backend Guidelines](backend/CLAUDE.md)
- [Frontend Guidelines](frontend/CLAUDE.md)
- [Database Operations](database/CLAUDE.md)
- [CI/CD Workflows](.github/CLAUDE.md)

## Core Principles

1. **Test-Driven Development**: Write tests before implementation
2. **Type Safety First**: Use TypeScript strict mode throughout
3. **Component Composition**: Favor small, reusable components
4. **Error Handling**: Always handle errors with proper logging
5. **Documentation Updates**: Keep docs in sync with code changes

[... additional sections based on template ...]

How to Use

Example 1: Initialize CLAUDE.md for New Project (Interactive)

Hey Claude—I just added the "claude-md-enhancer" skill. I don't have a CLAUDE.md file yet. Can you help me create one for this project?

What Happens:

  1. Claude checks if CLAUDE.md exists (it doesn't)
  2. Claude explores your repository using built-in commands
  3. Claude analyzes: project type, tech stack, team size, workflows
  4. Claude shows discoveries and asks for confirmation
  5. You confirm the settings
  6. Claude creates customized CLAUDE.md file(s)
  7. Claude enhances with best practices

Interactive Flow:

  • ✋ User must confirm before creation
  • 🔍 Full visibility into what was discovered
  • ⚙️ Option to adjust settings before proceeding

Example 2: Analyze Existing CLAUDE.md

Hey Claude—I just added the "claude-md-enhancer" skill. Can you analyze my current CLAUDE.md file and tell me what's missing or could be improved?

Example 2: Generate New CLAUDE.md for TypeScript Project

Hey Claude—I just added the "claude-md-enhancer" skill. Can you create a CLAUDE.md file for my TypeScript React project with a team of 5 developers? We use PostgreSQL, Docker, and follow TDD practices.

Example 3: Enhance Existing File

Hey Claude—I just added the "claude-md-enhancer" skill. Can you enhance my existing CLAUDE.md by adding missing sections and improving the structure? Here's my current file: [paste content]

Example 4: Generate Modular Architecture

Hey Claude—I just added the "claude-md-enhancer" skill. Can you create a modular CLAUDE.md setup for my full-stack project? I need separate files for backend (Python/FastAPI), frontend (React), and database (PostgreSQL).

Initialization Workflow (New Projects)

When CLAUDE.md doesn't exist in your project, this skill provides an intelligent initialization workflow:

Workflow Steps

Step 1: Detection

  • Skill checks if CLAUDE.md exists in project root
  • If not found, initialization workflow begins

Step 2: Repository Exploration

  • Uses Claude Code's built-in explore command
  • Analyzes project structure, files, and directories
  • Examines configuration files (package.json, requirements.txt, go.mod, etc.)
  • Reviews existing documentation

Step 3: Intelligent Analysis

  • Project Type Detection: web_app, api, fullstack, cli, library, mobile, desktop
  • Tech Stack Detection: TypeScript, Python, React, FastAPI, PostgreSQL, Docker, etc.
  • Team Size Estimation: Based on project complexity (solo, small, medium, large)
  • Development Phase: prototype, mvp, production, enterprise
  • Workflow Detection: TDD, CI/CD, documentation-first, agile
  • Structure Recommendation: Single file vs. modular architecture

Step 4: User Confirmation

  • Displays all discoveries in clear format
  • Shows recommended CLAUDE.md structure
  • Asks user to confirm or adjust settings
  • User must explicitly approve before proceeding

Step 5: File Creation

  • Generates customized CLAUDE.md based on confirmed settings
  • Creates modular files if recommended (backend/, frontend/, etc.)
  • Applies tech-specific best practices

Step 6: Enhancement

  • Validates generated content
  • Adds quality improvements
  • Ensures completeness

Step 7: Summary

  • Shows what files were created
  • Provides next steps
  • Ready for immediate use

Interactive Example

User: "I need a CLAUDE.md for this project"

Claude: "I'll explore your repository first to understand the project.
        [Explores using built-in commands]

        Based on my exploration, here's what I discovered:

        Project Type: Full-Stack Application
        Tech Stack: TypeScript, React, Node.js, PostgreSQL, Docker
        Team Size: Small (2-9 developers)
        Development Phase: MVP
        Workflows: TDD, CI/CD

        Recommended Structure: Modular architecture
        - Root CLAUDE.md (navigation hub)
        - backend/CLAUDE.md (API guidelines)
        - frontend/CLAUDE.md (React guidelines)

        Would you like me to create these files?"

User: "Yes, please proceed"

Claude: "Creating customized CLAUDE.md files...
        ✅ Created CLAUDE.md (100 lines)
        ✅ Created backend/CLAUDE.md (150 lines)
        ✅ Created frontend/CLAUDE.md (175 lines)

        Your project is ready for AI-assisted development!"

Scripts

workflow.py

Manages the interactive initialization workflow for new projects.

Key Functions:

  • check_claude_md_exists() - Detect if CLAUDE.md exists
  • generate_exploration_prompt() - Guide Claude to explore repository
  • analyze_discoveries() - Analyze exploration results
  • generate_confirmation_prompt() - Create user confirmation prompt
  • get_workflow_steps() - Get complete workflow steps

analyzer.py

Analyzes existing CLAUDE.md files to identify structure, sections, and quality issues.

Key Functions:

  • analyze_file() - Parse and analyze CLAUDE.md structure
  • detect_sections() - Identify present and missing sections
  • calculate_quality_score() - Score file quality (0-100)
  • generate_recommendations() - Provide actionable improvement suggestions

validator.py

Validates CLAUDE.md files against best practices and Anthropic guidelines.

Key Functions:

  • validate_length() - Check file length (warn if >300 lines)
  • validate_structure() - Verify required sections present
  • validate_formatting() - Check markdown formatting quality
  • validate_completeness() - Ensure critical information included

generato


Content truncated.

senior-architect

alirezarezvani

Comprehensive software architecture skill for designing scalable, maintainable systems using ReactJS, NextJS, NodeJS, Express, React Native, Swift, Kotlin, Flutter, Postgres, GraphQL, Go, Python. Includes architecture diagram generation, system design patterns, tech stack decision frameworks, and dependency analysis. Use when designing system architecture, making technical decisions, creating architecture diagrams, evaluating trade-offs, or defining integration patterns.

170129

content-creator

alirezarezvani

Create SEO-optimized marketing content with consistent brand voice. Includes brand voice analyzer, SEO optimizer, content frameworks, and social media templates. Use when writing blog posts, creating social media content, analyzing brand voice, optimizing SEO, planning content calendars, or when user mentions content creation, brand voice, SEO optimization, social media marketing, or content strategy.

11619

cold-email

alirezarezvani

When the user wants to write, improve, or build a sequence of B2B cold outreach emails to prospects who haven't asked to hear from them. Use when the user mentions 'cold email,' 'cold outreach,' 'prospecting emails,' 'SDR emails,' 'sales emails,' 'first touch email,' 'follow-up sequence,' or 'email prospecting.' Also use when they share an email draft that sounds too sales-y and needs to be humanized. Distinct from email-sequence (lifecycle/nurture to opted-in subscribers) — this is unsolicited outreach to new prospects. NOT for lifecycle emails, newsletters, or drip campaigns (use email-sequence).

3713

content-trend-researcher

alirezarezvani

Advanced content and topic research skill that analyzes trends across Google Analytics, Google Trends, Substack, Medium, Reddit, LinkedIn, X, blogs, podcasts, and YouTube to generate data-driven article outlines based on user intent analysis

10913

ceo-advisor

alirezarezvani

Executive leadership guidance for strategic decision-making, organizational development, and stakeholder management. Includes strategy analyzer, financial scenario modeling, board governance frameworks, and investor relations playbooks. Use when planning strategy, preparing board presentations, managing investors, developing organizational culture, making executive decisions, or when user mentions CEO, strategic planning, board meetings, investor updates, organizational leadership, or executive strategy.

8413

content-humanizer

alirezarezvani

Makes AI-generated content sound genuinely human — not just cleaned up, but alive. Use when content feels robotic, uses too many AI clichés, lacks personality, or reads like it was written by committee. Triggers: 'this sounds like AI', 'make it more human', 'add personality', 'it feels generic', 'sounds robotic', 'fix AI writing', 'inject our voice'. NOT for initial content creation (use content-production). NOT for SEO optimization (use content-production Mode 3).

359

You might also like

flutter-development

aj-geddes

Build beautiful cross-platform mobile apps with Flutter and Dart. Covers widgets, state management with Provider/BLoC, navigation, API integration, and material design.

643969

drawio-diagrams-enhanced

jgtolentino

Create professional draw.io (diagrams.net) diagrams in XML format (.drawio files) with integrated PMP/PMBOK methodologies, extensive visual asset libraries, and industry-standard professional templates. Use this skill when users ask to create flowcharts, swimlane diagrams, cross-functional flowcharts, org charts, network diagrams, UML diagrams, BPMN, project management diagrams (WBS, Gantt, PERT, RACI), risk matrices, stakeholder maps, or any other visual diagram in draw.io format. This skill includes access to custom shape libraries for icons, clipart, and professional symbols.

591705

ui-ux-pro-max

nextlevelbuilder

"UI/UX design intelligence. 50 styles, 21 palettes, 50 font pairings, 20 charts, 8 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app, .html, .tsx, .vue, .svelte. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient."

318398

godot

bfollington

This skill should be used when working on Godot Engine projects. It provides specialized knowledge of Godot's file formats (.gd, .tscn, .tres), architecture patterns (component-based, signal-driven, resource-based), common pitfalls, validation tools, code templates, and CLI workflows. The `godot` command is available for running the game, validating scripts, importing resources, and exporting builds. Use this skill for tasks involving Godot game development, debugging scene/resource files, implementing game systems, or creating new Godot components.

339397

nano-banana-pro

garg-aayush

Generate and edit images using Google's Nano Banana Pro (Gemini 3 Pro Image) API. Use when the user asks to generate, create, edit, modify, change, alter, or update images. Also use when user references an existing image file and asks to modify it in any way (e.g., "modify this image", "change the background", "replace X with Y"). Supports both text-to-image generation and image-to-image editing with configurable resolution (1K default, 2K, or 4K for high resolution). DO NOT read the image file first - use this skill directly with the --input-image parameter.

451339

fastapi-templates

wshobson

Create production-ready FastAPI projects with async patterns, dependency injection, and comprehensive error handling. Use when building new FastAPI applications or setting up backend API projects.

304231

Stay ahead of the MCP ecosystem

Get weekly updates on new skills and servers.