xiaohongshu
xiaohongshu
legacy-to-ai-ready
Transform legacy codebases into AI-ready projects with Claude Code configurations. Use when (1) analyzing old projects to generate AI coding configurations, (2) creating CLAUDE.md, skills, subagents, slash commands, hooks, or rules for existing projects, (3) user wants to enable vibe coding for a...
Full skill instructions
Transform legacy codebases into AI-ready projects by generating Claude Code configurations.
For most projects, start with just CLAUDE.md:
python scripts/analyze_codebase.py [path]Expand to full configuration only when needed.
Before generating configs, ask these questions:
Project Scope:
Pain Points:
Integration Needs:
Start
│
├─ Small project / Solo dev
│ └─ CLAUDE.md only
│
├─ Team project
│ ├─ Multi-language? → Add .claude/rules/
│ ├─ Complex domain? → Add .claude/skills/
│ ├─ Code reviews? → Add .claude/agents/
│ └─ Repeated tasks? → Add .claude/commands/
│
└─ Enterprise / Large team
└─ All configurations + MCP servers + Hooks
| Config | Purpose | When to Create |
|---|---|---|
| CLAUDE.md | Project memory (shared) | Always (required) |
| CLAUDE.local.md | Personal preferences (git-ignored) | Individual customization |
| .claudeignore | Files Claude should not access | Sensitive files exist |
| .claude/rules/ | Path-specific rules | Multi-module projects |
| .claude/skills/ | Domain knowledge | Complex business logic |
| .claude/agents/ | Task specialists | Repeated review/debug tasks |
| .claude/commands/ | Quick prompts | Common workflows |
| .claude/settings.json | Hooks + permissions | Auto-formatting, security |
| MCP servers | External tools | Database/API integrations |
python scripts/analyze_codebase.py [project-path]
The script detects:
Output includes:
Claude should read:
Before creating custom configs, search for existing skills and MCP servers:
See references/resource-discovery.md for complete directory of sources.
Tip: Many common needs (git commit, code review, database patterns) already have well-maintained skills available.
Create at project root with:
See references/claude-md-patterns.md.
Create .claude/rules/ when:
See references/rules-patterns.md.
Create .claude/skills/ when:
See references/skills-patterns.md.
Create .claude/agents/ for:
See references/agents-patterns.md.
Create .claude/commands/ for:
See references/commands-patterns.md.
Configure .claude/settings.json for:
See references/hooks-patterns.md.
Configure MCP for:
See references/mcp-patterns.md.
Minimal (small projects):
project/
├── CLAUDE.md
└── [existing files]
Standard (team projects):
project/
├── CLAUDE.md
├── .claude/
│ ├── rules/
│ │ └── code-style.md
│ └── commands/
│ └── commit.md
└── [existing files]
Complete (enterprise):
project/
├── CLAUDE.md # Shared project memory
├── CLAUDE.local.md # Personal (git-ignored)
├── .claudeignore # Files to protect
├── .claude/
│ ├── settings.json # Hooks + permissions
│ ├── rules/
│ ├── skills/
│ ├── agents/
│ └── commands/
└── [existing files]
| Reference | When to Read |
|---|---|
| examples.md | Complete real-world examples |
| resource-discovery.md | Find existing skills & MCP servers |
| advanced-patterns.md | Migrations, team collab, monorepos |
| claude-md-patterns.md | Creating CLAUDE.md |
| rules-patterns.md | Module-specific rules |
| skills-patterns.md | Domain knowledge |
| agents-patterns.md | Task specialists |
| commands-patterns.md | Quick prompts |
| hooks-patterns.md | Auto-formatting |
| mcp-patterns.md | External tools |
Templates:
assets/CLAUDE.md.template - Project memory templateassets/settings.json.template - Hooks configurationassets/claudeignore.template - File ignore patternsBundled skills to install in target project:
assets/skill-creator/ - For creating new project-specific skillsassets/skill-downloader/ - For downloading additional skillsassets/resource-scout/ - For discovering existing skills & MCP serversCopy these skills to the target project's .claude/skills/ directory:
cp -r assets/skill-creator [target-project]/.claude/skills/
cp -r assets/skill-downloader [target-project]/.claude/skills/
cp -r assets/resource-scout [target-project]/.claude/skills/
This enables the target project to:
xiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience