Skip to content
Search prompts, tools, agents…

Legacy code explorer

Maps an unfamiliar codebase: entry points, structure, data flow and risky areas, so a new person can start working. Use on projects you did not write.

Free Intermediate 0 views 0 copies 0 downloads
Download skill

Skill file

SKILL.md
---
name: legacy-code-explorer
description: "Maps an unfamiliar codebase: entry points, structure, data flow and risky areas, so a new person can start working. Use on projects you did not write."
---

# Legacy code explorer

Build a map before changing anything.

## How to work

1. Find the entry points: main files, routes, jobs, commands.
2. Map the folders to responsibilities.
3. Trace one real request or job from start to end.
4. Find the data stores, external services and configuration.
5. List risky areas: no tests, large files, tangled code.

## Rules

- Say what you verified and what you are guessing.
- Keep the map to one page.

## Output

Overview, folder map, one traced flow, and where to start.

How to use it

  1. Download the skill.
  2. Put its folder (with SKILL.md inside) in .claude/skills/legacy-code-explorer/ for just this project, or in ~/.claude/skills/ for every project.
  3. Restart your tool and ask for what the skill does. It loads on its own when it fits.

Try it

Help me understand this old PHP application.

Maps an unfamiliar codebase: entry points, structure, data flow and risky areas, so a new person can start working. Use on projects you did not write.

Join the conversation

Your email address will not be published. Required fields are marked *