Unknowns Reference Map

Prove semantic understanding before porting, reimplementing, or matching a reference implementation. Use when the user points at another file/package/language/repo as the desired behavior, asks for a semantics map, or wants confirmation before Codex writes code based on a reference.

Infinite-Labs-AI 3e838c5 2 files · 1.3 KB Updated

File contents

Unknowns Reference Map

Workflow

Map behavior before porting.

Return:

  • Reference inventory: key behaviors, invariants, edge cases, and tests.
  • Source-to-target semantic pairs.
  • Preserved behavior, adapted behavior, deliberately dropped behavior.
  • Gotchas where syntax translation would break semantics.
  • Tests required to prove equivalence.
  • Confirmation/correction prompt.
  • Stop condition: the user confirms the map or corrects it before implementation starts.

Rules

Do not implement until the semantics map is accepted unless the user explicitly overrides that gate. Distinguish exact equivalence from intentional product/API adaptation.

Use HTML when side-by-side code excerpts, highlighted notes, and correction buttons make review easier.

Infinite-Labs-AI/know-your-unknowns-skills/tree/main/unknowns-reference-map commit 3e838c5819

Frequently asked questions

npx skillmds@latest add infinite-labs-ai/unknowns-reference-map