Skip to content
Skillv1.0.0

code-necromancer

Systematic framework for resurrecting and modernizing legacy codebases through archaeology, resurrection, and rejuvenation phases. Activate on "legacy code", "inherited codebase", "no documentation",

by majiayu000(0) 0 installs
Free
Sign in to install

Free account. Installing gives you the manifest plus copy-paste snippets.

See reviews

About

Imported from majiayu000/claude-skill-registry (skills/development/code-necromancer-erichowens-some-claude-skills/SKILL.md). Install upstream with npx skills add majiayu000/claude-skill-registry --skill code-necromancer-erichowens-some-claude-skills. Copyright stays with the author.

Code Necromancer

Tagline: Raise dead codebases from the grave

Systematic framework for understanding, resurrecting, and modernizing legacy codebases.

When to Activate

Use when:

  • Inheriting a codebase with 5+ repos and no documentation
  • Resurrecting a product dormant for 2+ years
  • Joining a company with significant technical debt and tribal knowledge loss
  • Performing due diligence on acquired codebases
  • Modernizing legacy systems without breaking existing functionality

NOT for:

  • Greenfield projects (start fresh instead)
  • Well-documented active codebases
  • Simple bug fixes in maintained systems

The Three Phases

Phase 1: ARCHAEOLOGY

Objective: Create a complete map before touching anything.

Output Description
repo-inventory.json All repos with metadata, languages, activity
dependency-graph.mmd Inter-repo and external dependencies
architecture-diagram.mmd Visual system topology
tech-stack-matrix.md Language/framework versions per repo
maturity-assessment.md Code quality, test coverage, docs quality
missing-pieces.md Gaps, orphaned repos, broken integrations

Process: Inventory → Deep Scan → Cross-Reference → Visualize → Assess

→ See references/archaeology-guide.md for detailed techniques.

Phase 2: RESURRECTION

Objective: Get the system running in development.

Output Description
dependency-audit.md Outdated packages, vulnerabilities, breaking changes
environment-variables.md All required env vars with defaults
secrets-needed.md API keys, certs, OAuth credentials
infrastructure-status.md Cloud resources, what exists vs deleted
resurrection-blockers.md Critical issues preventing launch
integration-tests/ Tests verifying components work and communicate

Process: Audit Dependencies → Map Environment → Check Infrastructure → Write Tests → Document Blockers

→ See references/integration-test-patterns.md for resurrection test patterns.

Phase 3: REJUVENATION

Objective: Modernize while maintaining feature parity.

Output Description
security-recommendations.md Vulnerability fixes, compliance
modernization-roadmap.md Prioritized upgrades with effort estimates
architecture-improvements.md Scalability, performance, maintainability

Process: Security First → Infrastructure (containerize, CI/CD) → Code Quality → Architecture

Key Commands

# List all repos in org
gh repo list ORG --limit 1000 --json name,primaryLanguage,pushedAt

# Dependency analysis
npm audit && npm outdated      # Node.js
pip list --outdated && safety check  # Python
go mod graph                    # Go

# Find env vars in code
grep -rn 'process\.env\|os\.environ' --include="*.js" --include="*.py"

→ See references/framework-detection.md for framework/stack identification. → See references/infrastructure-mapping.md for cloud resource discovery. → See references/dependency-patterns.md for dependency detection.

Anti-Patterns to Avoid

1. Premature Resurrection

What it looks like: Running npm install before reading any code Why it's wrong: You'll fix the same bug 5 times; dependencies have changed Fix: Complete archaeology first; understand before touching

2. Scope Creep

What it looks like: "Let's also refactor while we're here" Why it's wrong: Scope explosion; never actually resurrect Fix: Strict phase separation; refactoring is Phase 3

3. Big Bang Updates

What it looks like: Update all dependencies in one commit Why it's wrong: Something breaks, no idea what Fix: Update incrementally; test after each

4. Ignoring Tests

What it looks like: "It runs, ship it" Why it's wrong: Regression city; no baseline for changes Fix: Write resurrection tests as you go; they prove progress

5. Undocumented Changes

What it looks like: "I fixed it but forgot what I changed" Why it's wrong: Tribal knowledge returns; next person is you in 6 months Fix: Document everything you learn and change

6. Trusting Old Documentation

What it looks like: Following README from 2019 Why it's wrong: APIs change, services get deprecated Fix: Verify every instruction; documentation lies

Success Metrics

Archaeology Complete When:

  • All repos cataloged with metadata
  • Dependency graph visualized
  • Architecture diagram created
  • Core vs peripheral repos identified
  • Missing pieces documented

Resurrection Complete When:

  • All services start locally
  • Services can communicate with each other
  • Integration tests pass
  • At least one full user flow works

Rejuvenation Complete When:

  • No critical security vulnerabilities
  • All dependencies reasonably current
  • CI/CD pipeline working
  • Documentation current
  • Team can develop new features

References

references/archaeology-guide.md - Deep code archaeology techniques → references/dependency-patterns.md - Dependency detection across ecosystems → references/framework-detection.md - Framework/stack identification → references/infrastructure-mapping.md - Cloud resource discovery → references/integration-test-patterns.md - Resurrection test patterns

Templates

templates/repo-inventory.json - Repository catalog → templates/archaeology-report.md - Phase 1 output → templates/resurrection-plan.md - Phase 2 output → templates/rejuvenation-roadmap.md - Phase 3 output

Use it

Copy one of these into your project. Installing also returns the manifest and these snippets.

yaml
targets:
  - https://api.opensmartroute.ai/api/v1/registry/majiayu000-claude-skill-registry-code-necromancer-ericho-69758a/manifest   # or paste the manifest below

Manifest

An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.

majiayu000-claude-skill-registry-code-necromancer-ericho-69758a.ocm.jsonjson
{
  "ocm": "1",
  "id": "majiayu000-claude-skill-registry-code-necromancer-ericho-69758a",
  "kind": "skill",
  "name": "code-necromancer",
  "description": "Systematic framework for resurrecting and modernizing legacy codebases through archaeology, resurrection, and rejuvenation phases. Activate on \"legacy code\", \"inherited codebase\", \"no documentation\", \"technical debt\", \"resurrect\", \"modernize\". NOT for greenfield projects or well-documented active codebases.",
  "publisher": "majiayu000",
  "version": "1.0.0",
  "capabilities": {
    "domains": [
      "coding"
    ],
    "tags": [
      "skill-md",
      "legacy",
      "modernization",
      "technical-debt",
      "archaeology",
      "refactoring",
      "github"
    ],
    "languages": [
      "en"
    ]
  },
  "quality_prior": 0.6,
  "examples": [
    "Systematic framework for resurrecting and modernizing legacy codebases through archaeology, resurrection, and rejuvenation phases. Activate on \"legacy code\", \"inherited codebase\", \"no documentation\", \"technical debt\", \"resurrect\", \"modernize\". NOT for greenfield projects or well-documented active codebases."
  ],
  "primary": false,
  "metadata": {
    "source": {
      "provider": "github",
      "repository": "https://github.com/majiayu000/claude-skill-registry",
      "path": "skills/development/code-necromancer-erichowens-some-claude-skills/SKILL.md",
      "ref": "a16e8e7bdddc9a7406a56f51e520cef7a8646208",
      "url": "https://github.com/majiayu000/claude-skill-registry/blob/a16e8e7bdddc9a7406a56f51e520cef7a8646208/skills/development/code-necromancer-erichowens-some-claude-skills/SKILL.md",
      "key": "majiayu000/claude-skill-registry/skills/development/code-necromancer-erichowens-some-claude-skills/SKILL.md"
    },
    "allowed_tools": [
      "Read,Write,Edit,Bash,WebFetch,Grep,Glob"
    ]
  },
  "instructions": "# Code Necromancer\n\n**Tagline**: Raise dead codebases from the grave\n\nSystematic framework for understanding, resurrecting, and modernizing legacy codebases.\n\n## When to Activate\n\n✅ **Use when:**\n- Inheriting a codebase with 5+ repos and no documentation\n- Resurrecting a product dormant for 2+ years\n- Joining a company with significant technical debt and tribal knowledge loss\n- Performing due diligence on acquired codebases\n- Modernizing legacy systems without breaking existing functionality\n\n❌ **NOT for:**\n- Greenfield projects (start fresh instead)\n- Well-documented active codebases\n- Simple",
  "cost": {
    "context_tokens": 1407
  }
}

Fetch it by URL: GET /api/v1/registry/majiayu000-claude-skill-registry-code-necromancer-ericho-69758a/manifest?version=1.0.0

Reviews

Star ratings from people who tried it. One review per account; edit yours any time.

No reviews yet. Install it, try it, and be the first to rate it.