tool-selection

Select typegraph-mcp tools for semantic TypeScript code navigation tasks.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides AI agents with type-aware navigation tools for TypeScript codebases, replacing inefficient and inaccurate grep/glob methods.

Core Features & Use Cases

  • Precise Navigation: Find definitions, references, and types with 100% accuracy, resolving through complex module structures.
  • Codebase Understanding: Map dependencies, detect circular imports, and analyze code impact for safer refactoring.
  • Use Case: An AI agent needs to understand the implementation of a function. Instead of searching text files, it uses ts_definition to get the exact source code location and type information, drastically reducing context token usage and improving accuracy.

Quick Start

Use the tool-selection skill to find the definition of the 'createUser' symbol in the file 'src/handlers.ts'.

Frequently Asked Questions about tool-selection

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

FAQPage Schema
How do I navigate TypeScript code semantically instead of using text search?

Semantic TypeScript navigation resolves exact definitions, references, and types through module structures, replacing grep and glob text searches with type-aware symbol resolution for accurate code understanding.

What is the best way to trace function calls and dependencies in a TypeScript codebase?

Type-aware navigation maps dependencies and traces function calls precisely, detecting circular imports and analyzing code impact to ensure refactoring safety in TypeScript codebases.

Can I find the exact source location and type information of a symbol in TypeScript?

Yes, semantic navigation tools resolve TypeScript symbols with 100% accuracy, providing exact source code locations and type information while drastically reducing context token usage.

Does semantic code navigation help with refactoring safety in TypeScript?

Semantic code navigation improves refactoring safety by mapping dependencies, detecting circular imports, and analyzing code impact through type-aware symbol resolution rather than text matching.

Why does grep return inaccurate results when searching for TypeScript definitions?

Grep relies on text matching, which fails to resolve complex module structures. Type-aware semantic navigation resolves definitions and references through the type system for 100% accuracy.

Do I need a typegraph to analyze code structure and circular imports in TypeScript?

Yes, type-aware navigation requires a typegraph to resolve symbols accurately, map dependencies, and detect circular imports for precise codebase understanding and impact analysis.