deep-survey

Execute a 7-phase TypeScript codebase survey with typegraph-mcp tools.

12|1|Updated Feb 20, 2026
One-click install
npx skills add https://github.com/guyowen/typegraph-mcp --skill deep-survey
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: deep-survey
Source: https://github.com/guyowen/typegraph-mcp/tree/main/skills/deep-survey
Command: npx skills add https://github.com/guyowen/typegraph-mcp --skill deep-survey

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill provides a deep, multi-phase analysis of a TypeScript codebase, uncovering its architectural structure, module anatomy, design patterns, dead code, domain topology, runtime behavior, and potential risks without requiring manual code reading.

Core Features & Use Cases

  • Architectural Mapping: Understand the high-level structure, entry points, and subsystem interactions.
  • Module Analysis: Detail what each module exports, its dependencies, and its boundaries.
  • Risk Assessment: Identify high-impact areas and potential propagation of changes.
  • Use Case: When onboarding to a large, unfamiliar TypeScript project, activate this Skill to generate a comprehensive architectural report, enabling rapid understanding and informed decision-making before making any code changes.

Quick Start

Run a comprehensive 7-phase codebase analysis using all typegraph-mcp tools, producing a detailed architectural report.

Frequently Asked Questions about deep-survey

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

FAQPage Schema
How do I analyze a TypeScript codebase architecture without manually reading code?▼

To analyze a TypeScript codebase architecture without manual reading, run a 7-phase deep survey using typegraph-mcp tools. It maps the structural skeleton, module anatomy, patterns, dead code, domain topology, runtime behavior, and risks to generate a detailed architectural report.

What is the best way to detect dead code and assess risk in a TypeScript project?▼

The best way to detect dead code and assess risk in a TypeScript project is executing a deep survey. It identifies high-impact areas, approximates runtime behavior, and evaluates potential propagation of changes to generate a comprehensive risk assessment report.

Can I use this code analysis approach for large, unfamiliar TypeScript projects?▼

Yes, you can use this code analysis approach for large, unfamiliar TypeScript projects. The deep survey is specifically designed for onboarding, producing a detailed architectural report that enables rapid understanding and informed decision-making before making any code changes.

How do I map module boundaries and dependencies in a TypeScript codebase?▼

To map module boundaries and dependencies in a TypeScript codebase, execute the module anatomy phase of the deep survey. It details what each module exports, its specific dependencies, and its boundaries to clarify structural interactions.

Do I need to install specific dependencies to run a comprehensive codebase analysis?▼

Yes, you need to install the tsx dependency and perform a prerequisite health check using typegraph-mcp tools. The 7-phase codebase analysis requires this environment setup before making subsequent tool calls for each phase.

What does a deep codebase survey cover beyond basic structural mapping?▼

Beyond basic structural mapping, a deep codebase survey covers module anatomy, pattern discovery, dead code detection, domain topology, runtime behavior approximation, and risk assessment across seven distinct analysis phases.