x-ray - Generate a protocol pre-audit report
Analyzes a smart contract codebase, threat model, invariants, integrations, documentation, tests, and Git history to generate an x-ray pre-audit report.
Tags
Updated: 2026-12-03Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Enumerate and measure codebases
- Classify contract entry points
- Synthesize security invariants
- Analyze protocol threat profiles
- Map composability dependencies
- Analyze Git security history
- Assess documentation and tests
- Write pre-audit report files
Inputs
- Project root path
- Solidity source files
- Foundry or Hardhat configuration
- Git repository history
- Protocol specification documents
Outputs
- x-ray.md pre-audit report
- Git security analysis JSON file
- TodoWrite phase status changes
Requirements
- TodoWrite tool
- Bash shell
- Python 3
- Git repository
- Foundry or Hardhat for coverage
