<< All versions
Skill v1.0.0
currentAutomated scan100/100erik-kroon/primestack/context-map
──Details
PublishedSeptember 27, 2026 at 01:29 AM
Content Hashsha256:cc8a1ff538dba463...
Git SHA684d6aba48fd
──Files
Files (1 file, 2.4 KB)
SKILL.md2.4 KBactive
SKILL.md · 51 lines · 2.4 KB
version: "1.0.0" name: context-map description: Build a compact evidence-backed map of an unfamiliar codebase, subsystem, behavior, or historical decision before changing it. Use for code walkthroughs, ownership questions, call/data flow, impact analysis, or “how/why does this work?” investigations. license: MIT
Context Map
Orient before acting. Produce the smallest map that lets the next decision be made without dumping the repository into context.
Choose the question
- How: ownership, entry points, calls, data flow, state, boundaries, and extension seams.
- Why: design rationale, regressions, thresholds, historical constraints, and discarded alternatives.
- Change impact: callers, contracts, persisted data, permissions, concurrency, tests, operations, and user surfaces.
Workflow
- State the question and what decision the map should enable.
- Read repo guidance, domain docs, ADRs, and the nearest entry point.
- Trace behavior from an external trigger through ownership boundaries to effects and return path.
- Identify authoritative types/interfaces, state, invariants, and tests.
- For “why,” search primary evidence: commit history/blame, issues or PRs if locally referenced/available, docs, incidents, and code evolution. Separate evidence from inference.
- For impact, search real callers and dynamic/external boundaries; do not stop at direct imports.
- Record what can safely be ignored for this question.
- Name the next inspection or decision, not a generic list of files.
For a genuinely broad subsystem, use prime-delegate in read-only fan-out mode by distinct evidence source or boundary. Keep raw exploration in children; verify load-bearing claims in the coordinator.
Evidence standard
- Prefer code, tests, version history, specifications, and first-party documentation.
- Cite file/line, command, commit, or URL for important claims.
- Label
observed,inferred, andunknownexplicitly. - Do not claim intent from current code alone.
- Do not edit while mapping unless the user separately requests implementation.
Output
Question and enabled decisionActors and entry pointsOwnership/module mapCall and data flowState, invariants, and boundariesTests and real verification surfaceHistorical rationalewhen askedChange impactwhen askedIgnored surfaceUnknowns and next inspection