What problem does it solve?
Developers and auditors often lose critical details when jumping straight to vulnerability hunting, leading to hallucinations, missed invariants, and inconsistent reasoning. This skill supplies a systematic, line‑by‑line context‑building process that preserves a stable mental model of the codebase before any security analysis.
Core Features & Use Cases
- Micro‑level analysis: Breaks every function into purpose, inputs, outputs, block‑by‑block reasoning, and cross‑function dependencies.
- Structured checklists: Enforces invariants, assumptions, first‑principles, and 5 Whys/5 Hows for each code segment.
- Cross‑function flow: Jumps into internal and available external code, treating the entire call chain as a continuous execution flow.
- Sub‑agent orchestration: Allows spawning dedicated analyzers for dense functions, cryptographic logic, or state‑machine workflows.
- Use case: Before auditing a DeFi smart‑contract suite, run this skill to map every function, state variable, and external call, producing a comprehensive context report that guides later vulnerability hunting.
Quick Start
Ask the audit-context-building skill to analyze the target contract file and produce a detailed line‑by‑line context report.