deep-analysis

Automate deep code analysis across multi-file codebases with semantic search.

2|Updated Dec 25, 2025
One-click install
npx skills add https://github.com/tianzecn/myclaudecode --skill deep-analysis-tianzecn
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: deep-analysis
Source: https://github.com/tianzecn/myclaudecode/tree/main/plugins/code-analysis/skills/deep-analysis
Command: npx skills add https://github.com/tianzecn/myclaudecode --skill deep-analysis-tianzecn

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires claudemem, and includes references (resource) components.

What problem does it solve?

This Skill provides a deep, multi-faceted codebase analysis leveraging AST, semantic search, and pattern matching for holistic understanding.

Core Features & Use Cases

  • Phase-driven Investigation: architecture, implementation, testing, security views.
  • Pattern Recognition: detect common patterns and anti-patterns.
  • Holistic Context: combine map, symbol, callers, callees, and search results.

Quick Start

Trigger codebase-detective with a comprehensive prompt to get a multi-dimensional report.

Frequently Asked Questions about deep-analysis

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I analyze code architecture across a large codebase?

Deep architectural analysis uses AST parsing and semantic search to map code structure, identify patterns, and trace relationships across files. This Skill automates that investigation, combining symbol detection, caller-callee mapping, and context indexing to reveal system design without manual file inspection.

Can I use AST-based analysis to debug code flow in multi-file projects?

Yes. AST-based analysis traces execution paths and dependencies across multiple files, pinpointing where functionality is implemented. This Skill's phase-driven workflow prioritizes semantic search before reading specific lines, accelerating root-cause identification during debugging.

What's the best way to understand feature implementation in unfamiliar codebases?

Combine AST parsing, semantic search, and pattern matching for holistic context. This Skill automates feature tracing by mapping architecture, implementation, testing, and security views simultaneously, reducing the time spent navigating unknown code.

How does semantic search integration improve code analysis?

Semantic search with indexed memory locates relevant code snippets by meaning rather than keywords alone. This Skill couples semantic search with mandatory preflight validation and phased investigation, balancing broad discovery with targeted deep dives.

Can I detect code patterns and anti-patterns automatically?

Yes. Pattern recognition within this Skill identifies both common patterns and anti-patterns during analysis. Combined with AST and symbol mapping, it surfaces architectural issues and design violations across your entire codebase.

What do I need to set up before running deep codebase analysis?

This Skill requires claudemem dependency for indexed memory storage and the code-search-selector component for preflight validation. Ensure your codebase is indexed and ready for semantic search before triggering the analysis workflow.