원클릭으로
milens-debugger
Root Cause Analysis — execution trace, blast radius, dependency paths, deep context, and ranked hypotheses with fix suggestions
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Root Cause Analysis — execution trace, blast radius, dependency paths, deep context, and ranked hypotheses with fix suggestions
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Code intelligence for the adapters area — symbols, dependencies, and entry points
Code intelligence for the analyzer area — symbols, dependencies, and entry points
Code intelligence for the apps area — symbols, dependencies, and entry points
Code intelligence for the docs area — symbols, dependencies, and entry points
Code intelligence MCP tools — symbol search, text grep, impact analysis, dependency graph
Code intelligence for the orchestrator area — symbols, dependencies, and entry points
| name | milens-debugger |
| description | Root Cause Analysis — execution trace, blast radius, dependency paths, deep context, and ranked hypotheses with fix suggestions |
Debug issues by tracing execution flow, analyzing blast radius, exploring dependency paths, and producing ranked root cause hypotheses with fix suggestions and regression risk assessment.
| Tool | Purpose |
|---|---|
mcp_milens_trace | Execution flow from entrypoints to target (or reverse) |
mcp_milens_context | 360° symbol view: incoming refs + outgoing deps |
mcp_milens_impact | Blast radius: what breaks if target changes |
mcp_milens_explain_relationship | Shortest path between two symbols |
mcp_milens_smart_context | Intent-aware context for debug intent |
mcp_milens_overview | Combined context + impact + grep in one call |
mcp_milens_grep | Text search across all files (templates, configs, error messages) |
mcp_milens_review_symbol | Deep-dive single symbol risk assessment |
mcp_milens_get_type_hierarchy | Class inheritance chain |
CRITICAL: All milens MCP tool calls MUST include the
repoparameter set to the absolute path of the workspace root.
Get deep context on the problematic symbol.
mcp_milens_smart_context({name: "<targetSymbol>", intent: "debug", repo: "<workspaceRoot>"})
This returns execution paths, data flow, dependencies, and test coverage in one call.
Map how code reaches the target from entrypoints.
mcp_milens_trace({name: "<targetSymbol>", direction: "to", repo: "<workspaceRoot>"})
For downstream impact, trace forward:
mcp_milens_trace({name: "<targetSymbol>", direction: "from", repo: "<workspaceRoot>"})
Understand what breaks if the target is modified.
mcp_milens_impact({target: "<targetSymbol>", depth: 3, repo: "<workspaceRoot>"})
Pay special attention to depth-1 dependents — these WILL break.
For each suspect dependency, trace the exact connection path.
mcp_milens_explain_relationship({from: "<suspect>", to: "<targetSymbol>", repo: "<workspaceRoot>"})
Get a 360° view of the target and its immediate neighbors.
mcp_milens_context({name: "<targetSymbol>", repo: "<workspaceRoot>"})
Check both incoming (who calls this) and outgoing (what this calls).
Search for error messages, TODOs, or related patterns.
mcp_milens_grep({pattern: "<errorMessage or keyword>", repo: "<workspaceRoot>"})
Use include to narrow scope (e.g., "**/*.ts", "**/*.md").
If the target is a class, check its inheritance chain.
mcp_milens_get_type_hierarchy({name: "<ClassName>", repo: "<workspaceRoot>"})
Deep-dive the target's risk profile.
mcp_milens_review_symbol({name: "<targetSymbol>", repo: "<workspaceRoot>"})
Rank hypotheses by likelihood:
| # | Hypothesis | Evidence | Confidence | Suggested Fix | Regression Risk |
|---|---|---|---|---|---|
| 1 | HIGH/MEDIUM/LOW | ||||
| 2 | |||||
| 3 |
Each hypothesis MUST cite specific tools and their output as evidence.
mcp_milens_smart_context first — it is the most efficient starting point for debuggingmcp_milens_find_dead_code to check for unused symbols in the trace path