ryan-nguyen-01/maestro/legacy-code-comprehension

Claude Code and agent skill by ryan-nguyen-01/maestro

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Read and understand an unfamiliar/legacy codebase safely before changing it — entry points, dependency tracing, behavior mapping, characterization tests, seams. Use during onboarding of an existing project or before any change in code you did not write.

Install

npx vskill@latest install ryan-nguyen-01/maestro/legacy-code-comprehension

SKILL.md

The same SKILL.md was published earlier as ryan-nguyen-01/maestro/legacy-code-comprehension.

Legacy Code Comprehension

Discipline for understanding code you did not write, BEFORE touching it. Guessing on a running system is how regressions are born (R-024: claims cite sources; brownfield ask-don't-infer).

Reading order (outside-in)

text
1. RUN IT first if possible: build + start + existing tests. What you observe beats what you assume.
2. Entry points: main/server bootstrap, route tables, cron/queue consumers, CLI commands.
3. Money paths: follow the 2-3 most important user flows end-to-end (request -> handler -> data).
4. Data model: schema/migrations tell you the domain truth faster than the code does.
5. Boundaries: external calls (HTTP clients, queues, SDKs), config/env reads, feature flags.
6. Conventions: naming, error handling, DI style — record them; your changes must match (R-006-19).

Map what you learn (evidence, not vibes)

text
- Every statement about the system carries file:line or command output (R-024-04).
- Record into knowledge: component profile, context_hints, conventions.md, test-policy.
- Unknowns are listed as unknowns with a question — never silently assumed.

Before changing anything

text
- CHARACTERIZATION TESTS: if the area you must change has no tests, first write tests that pin the
CURRENT behavior (even if "wrong") — then change with the safety net.
- SEAMS: prefer introducing a seam (interface/adapter/wrapper) over editing tangled internals.
- BLAST RADIUS: list callers/consumers of what you change (grep imports/routes/events) into
impact_analysis before the first edit.
- Smallest change that satisfies the task — no drive-by refactors (task fidelity).

Smells that demand a user question (do not guess)

text
Dead-looking code that is actually reachable; duplicated logic with subtle differences; config that
contradicts docs; tests that are skipped/commented; TODOs around the change area; behavior that
differs between environments.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/ryan-nguyen-01/maestro/legacy-code-comprehension/badge)](https://verified-skill.com/skills/ryan-nguyen-01/maestro/legacy-code-comprehension)

Something wrong with this skill or its page? Tell us.