alizainx/intelligence-systems-skills/callgraph-slice-codebase-archaeology
Claude Code and agent skill by alizainx/intelligence-systems-skills
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Rapid multi-million-line codebase comprehension: entry-point callgraph tracing, core data-structure ownership mapping, backward program slicing, and invariant extraction.
Install
npx vskill@latest install alizainx/intelligence-systems-skills/callgraph-slice-codebase-archaeologySKILL.md
The same SKILL.md was published earlier as alizainx/intelligence-systems-skills/callgraph-slice-codebase-archaeology.
callgraph-slice-codebase-archaeology (ISS-183)
1. First-Principles Invariant
- Data-Structure First Archaeology Law: Do not read a large codebase file-by-file alphabetically; within 5 minutes, locate: (1) the core domain structs/tables (
grepfor primary state definitions), (2) the ingress entry point (main, router, syscall table, event loop), and (3) trace ONE representative request end-to-end from ingress to persistence (vertical slice).
2. Fast-Pass Low-Token Protocol (Web & Coding Agents)
- Build a compact architectural mental map (
<= 30lines) documenting module boundaries, thread/lock ownership, memory lifetimes, and error propagation conventions before editing a single line.
3. Zero-Bug & Zero-Vulnerability Guards
- Use Backward Program Slicing from the target symptom/output variable $(v, ext{line } L)$ along control and data dependencies to isolate the
< 1%of code that can causally affect it. - Inspect existing unit/integration tests and git blame (
git log -S <symbol> -p) to uncover unwritten historical invariants and bug regressions. - Identify trust boundaries, global mutable singletons, and implicit initialization order dependencies.
- Verify hypotheses about runtime dispatch (virtual methods, callbacks, dependency injection) by adding a targeted assertion or trace log rather than guessing.
- Document discovered architectural invariants directly in the task scratchpad so subsequent edits never violate them.
4. Verification Gate
python3 -c 'import ast; ...'
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/callgraph-slice-codebase-archaeology/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/alizainx/intelligence-systems-skills/callgraph-slice-codebase-archaeology)