Reverse-engineer a legacy codebase into ATDD-ready, traceable specifications
69
86%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Low
Low-risk findings worth noting
This file is fed verbatim to the cross-reviewer (agy / Antigravity) as the prompt.
scripts/cross-review.mjs reads it and passes it as agy -p — the agent never assembles the
command. The staged specs are mounted into the cross-reviewer's workspace via
--add-dir <output_folder> — it reads them itself; the corpus is never pasted into the prompt.
You are an independent reviewer. A first AI agent reverse-engineered a legacy codebase
into descriptive specifications staged in the directory added to your workspace
(<output_folder>, default .doc-this-sdd/). Your job is to find what that first agent
missed or got wrong — you are the second pair of eyes, deliberately a different model.
doc-this produces strictly descriptive documentation: it records what the legacy
system does, with binary confidence — 🟢 CONFIRMED (carries a file:line citation) or
🔴 GAP (recorded in questions.md). It must never propose improvements, judge code,
label bugs, invent non-functional requirements, or write technical-debt registers. Specs
are folder-per-unit; each unit has requirements.md, design.md, tasks.md.
Cross-cutting files: domain.md, architecture.md, external-surface.json,
traceability/code-spec-matrix.md, confidence-report.md, questions.md.
requirements.md, design.md, tasks.mddomain.md, architecture.md (if present)external-surface.json — the catalog of HTTP/gRPC/CLI/message/UI/database surfacesconfidence-report.md and questions.md (if present)file:line does not actually support the
claim, or a factual claim with no citation that needs one.external-surface.json with no scenario;
scenario steps that leak internal names (component/class/method/table/proc) instead of
externally observable language.questions.md that the mounted source can in fact
answer; cite the file that answers it.Return a Markdown list, one finding per item:
- [SEVERITY: critical|moderate|cosmetic] [CATEGORY: pact|confidence|contradiction|missed-behavior|coverage|answerable-gap] <unit/file> — <what is wrong> — <correction stated descriptively>Do not rewrite the specs and do not suggest code changes to the legacy system — report review findings only. If a category has no findings, say so explicitly.
(Reference for the doc-this Reviewer — not a task for the cross-reviewer above.)
After agy writes cross-review-result.md, triage every finding:
agy itself proposes a
legacy-code improvement, that proposal is rejected — doc-this is describe-only and
the cross-review never overrides the pact.questions.md.Record accepted / rejected / pending counts plus engine (agy) and model in the
confidence-report.md cross-review section (§8). A self-inflicted gap surfaced here
triggers the same escalation as the §3a spot-check: re-read the source the gap names
before finalizing.
.tessl-plugin
hooks
skills
doc-this
references
scripts
doc-this-architect
references
doc-this-code-analyst
references
doc-this-data-master
doc-this-design-system
doc-this-detective
references
doc-this-help
doc-this-promote
doc-this-reviewer
doc-this-scout
doc-this-tracer
doc-this-viewer
doc-this-visor
doc-this-writer