x-ray
Installation
SKILL.md
X-Ray
Generate an x-ray/ folder at the project root containing all output files. Pipeline: 3 steps, always sequential.
$SKILL_DIR = the directory containing this SKILL.md file. Resolve it from the path you loaded this skill from (e.g. if this file is at /path/to/x-ray/SKILL.md, then $SKILL_DIR = /path/to/x-ray).
Progress tracking (MANDATORY)
Before doing anything else, call TodoWrite with these 3 todos (all pending):
Phase 1: Enumerate & measure codebasePhase 2: Read sources, classify entry points, synthesize invariantsPhase 3: Write x-ray report files
Transitions (update via TodoWrite — never batch):
- Mark Phase 1
in_progressimmediately, before runningenumerate.sh. - When Step 1's parallel batch returns, in ONE TodoWrite call mark Phase 1
completedand Phase 2in_progress. - When Step 2 (including 2b–2g) finishes, in ONE TodoWrite call mark Phase 2
completedand Phase 3in_progress. - After all Step 3 output files are written, mark Phase 3
completed.
Related skills