โ† Back to list
nicepkg

legacy-to-ai-ready

by nicepkg

๐Ÿš€ 170+ pre-built skills for Claude Code, Cursor, Codex & 14+ AI tools. Stop re-teaching your AI the same things. One command โ†’ instant domain expertise. Marketing, SEO, Trading, Video, PM workflows included.

โญ 9๐Ÿด 3๐Ÿ“… Jan 24, 2026

SKILL.md


name: legacy-to-ai-ready description: 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 codebase, (4) onboarding new team members with AI-assisted development, (5) user mentions "make project AI-ready", "generate Claude config", or "create coding standards for AI".

Legacy to AI-Ready

Transform legacy codebases into AI-ready projects by generating Claude Code configurations.

Quick Start (5-Minute Setup)

For most projects, start with just CLAUDE.md:

  1. Analyze: python scripts/analyze_codebase.py [path]
  2. Create CLAUDE.md with build commands, code style, architecture overview
  3. Done - Claude can now write code following your project's conventions

Expand to full configuration only when needed.

Interactive Discovery

Before generating configs, ask these questions:

Project Scope:

  • What is this project? (web app, API, CLI, library)
  • Primary language and frameworks?
  • Team size? (solo, small team, enterprise)

Pain Points:

  • What mistakes do new developers commonly make?
  • What patterns should always be followed?
  • What operations are repeated frequently?

Integration Needs:

  • External services used? (databases, APIs, cloud)
  • CI/CD pipeline? (GitHub Actions, Jenkins)
  • Code quality tools? (linters, formatters)

Configuration Decision Tree

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

Generated Configurations

ConfigPurposeWhen to Create
CLAUDE.mdProject memory (shared)Always (required)
CLAUDE.local.mdPersonal preferences (git-ignored)Individual customization
.claudeignoreFiles Claude should not accessSensitive files exist
.claude/rules/Path-specific rulesMulti-module projects
.claude/skills/Domain knowledgeComplex business logic
.claude/agents/Task specialistsRepeated review/debug tasks
.claude/commands/Quick promptsCommon workflows
.claude/settings.jsonHooks + permissionsAuto-formatting, security
MCP serversExternal toolsDatabase/API integrations

Workflow

Phase 1: Automated Analysis

python scripts/analyze_codebase.py [project-path]

The script detects:

  • Languages and frameworks
  • Directory structure patterns
  • Development tools (linters, formatters)
  • Git commit patterns
  • Environment variables
  • Code style indicators
  • CI/CD configurations (GitHub Actions, etc.)
  • Sensitive files (warns about .env, credentials)

Output includes:

  • Recommendations for which configs to create
  • Security warnings for sensitive files
  • Suggested .claudeignore patterns

Phase 2: Context Gathering

Claude should read:

  1. 3-5 representative source files - understand naming, patterns
  2. Test files - understand testing approach
  3. Config files - package.json, tsconfig, etc.
  4. README/docs - project overview
  5. Recent commits - understand commit style

Phase 2.5: Discover Existing Resources

Before creating custom configs, search for existing skills and MCP servers:

  1. Search skill marketplaces - SkillsMP, SkillHub.club, Claude Skills Hub
  2. Check GitHub repositories - awesome-claude-skills, themed skill collections
  3. Find relevant MCP servers - Glama, MCP Market, official registry

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.

Phase 3: Generate Configurations

1. CLAUDE.md (Required)

Create at project root with:

  • Quick reference commands (build, test, lint)
  • Naming conventions
  • Architecture overview
  • Testing guidelines
  • Git workflow

See references/claude-md-patterns.md.

2. Rules (If Multi-Module)

Create .claude/rules/ when:

  • Multiple languages need different conventions
  • Modules have distinct patterns (frontend/backend)
  • Path-specific requirements exist

See references/rules-patterns.md.

3. Skills (If Complex Domain)

Create .claude/skills/ when:

  • Domain-specific workflows exist (database, API patterns)
  • Team knowledge needs preservation
  • Complex procedures are repeated

See references/skills-patterns.md.

4. Subagents (If Specialized Tasks)

Create .claude/agents/ for:

  • Code review automation
  • Debugging assistance
  • Security auditing
  • Documentation generation

See references/agents-patterns.md.

5. Commands (If Common Operations)

Create .claude/commands/ for:

  • Git commit workflow
  • PR review process
  • Deployment steps
  • Test running

See references/commands-patterns.md.

6. Hooks (If Auto-Formatting Needed)

Configure .claude/settings.json for:

  • Auto-format on file edit
  • Protected files
  • Command logging

See references/hooks-patterns.md.

7. MCP Servers (If External Integrations)

Configure MCP for:

  • Database access
  • GitHub integration
  • Slack notifications
  • Custom internal tools

See references/mcp-patterns.md.

Phase 4: Validate

  1. Ask Claude to perform a typical task
  2. Verify it follows project conventions
  3. Iterate based on gaps discovered

Output Structure

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 Materials

ReferenceWhen to Read
examples.mdComplete real-world examples
resource-discovery.mdFind existing skills & MCP servers
advanced-patterns.mdMigrations, team collab, monorepos
claude-md-patterns.mdCreating CLAUDE.md
rules-patterns.mdModule-specific rules
skills-patterns.mdDomain knowledge
agents-patterns.mdTask specialists
commands-patterns.mdQuick prompts
hooks-patterns.mdAuto-formatting
mcp-patterns.mdExternal tools

Templates & Bundled Skills

Templates:

  • assets/CLAUDE.md.template - Project memory template
  • assets/settings.json.template - Hooks configuration
  • assets/claudeignore.template - File ignore patterns

Bundled skills to install in target project:

  • assets/skill-creator/ - For creating new project-specific skills
  • assets/skill-downloader/ - For downloading additional skills
  • assets/resource-scout/ - For discovering existing skills & MCP servers

Installing Bundled Skills

Copy 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:

  1. resource-scout - Discover existing skills & MCP servers before building custom
  2. skill-downloader - Download and install skills from GitHub or archives
  3. skill-creator - Create custom skills tailored to their domain

Language Quick Reference

TypeScript/JavaScript

  • Extract: eslint, prettier, tsconfig
  • Hooks: prettier auto-format
  • Skills: API patterns, component patterns

Python

  • Extract: black, ruff, mypy, pyproject.toml
  • Hooks: black/ruff auto-format
  • Skills: API patterns, ORM patterns

Go

  • Extract: gofmt, golangci-lint
  • Hooks: gofmt auto-format
  • Skills: error handling patterns

Rust

  • Extract: rustfmt, clippy
  • Hooks: rustfmt auto-format
  • Skills: error handling, async patterns

Score

Total Score

75/100

Based on repository quality metrics

โœ“SKILL.md

SKILL.mdใƒ•ใ‚กใ‚คใƒซใŒๅซใพใ‚Œใฆใ„ใ‚‹

+20
โœ“LICENSE

ใƒฉใ‚คใ‚ปใƒณใ‚นใŒ่จญๅฎšใ•ใ‚Œใฆใ„ใ‚‹

+10
โœ“่ชฌๆ˜Žๆ–‡

100ๆ–‡ๅญ—ไปฅไธŠใฎ่ชฌๆ˜ŽใŒใ‚ใ‚‹

+10
โ—‹ไบบๆฐ—

GitHub Stars 100ไปฅไธŠ

0/15
โœ“ๆœ€่ฟ‘ใฎๆดปๅ‹•

1ใƒถๆœˆไปฅๅ†…ใซๆ›ดๆ–ฐ

+10
โ—‹ใƒ•ใ‚ฉใƒผใ‚ฏ

10ๅ›žไปฅไธŠใƒ•ใ‚ฉใƒผใ‚ฏใ•ใ‚Œใฆใ„ใ‚‹

0/5
โœ“Issue็ฎก็†

ใ‚ชใƒผใƒ—ใƒณIssueใŒ50ๆœชๆบ€

+5
โœ“่จ€่ชž

ใƒ—ใƒญใ‚ฐใƒฉใƒŸใƒณใ‚ฐ่จ€่ชžใŒ่จญๅฎšใ•ใ‚Œใฆใ„ใ‚‹

+5
โœ“ใ‚ฟใ‚ฐ

1ใคไปฅไธŠใฎใ‚ฟใ‚ฐใŒ่จญๅฎšใ•ใ‚Œใฆใ„ใ‚‹

+5

Reviews

๐Ÿ’ฌ

Reviews coming soon