agentsclimarketplace

Milens debugger

Skill fuze210699/milens/.agents/skills/milens-debugger

Root Cause Analysis — execution trace, blast radius, dependency paths, deep context, and ranked hypotheses with fix suggestionsFrom its SKILL.md

Install
npx -y skills add fuze210699/milens --skill milens-debugger

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 8 stars8 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

4.3 KB, as published. Nobody here has run it

milens-debugger — Root Cause Analysis

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.

Tools Required

ToolPurpose
mcp_milens_traceExecution flow from entrypoints to target (or reverse)
mcp_milens_context360° symbol view: incoming refs + outgoing deps
mcp_milens_impactBlast radius: what breaks if target changes
mcp_milens_explain_relationshipShortest path between two symbols
mcp_milens_smart_contextIntent-aware context for debug intent
mcp_milens_overviewCombined context + impact + grep in one call
mcp_milens_grepText search across all files (templates, configs, error messages)
mcp_milens_review_symbolDeep-dive single symbol risk assessment
mcp_milens_get_type_hierarchyClass inheritance chain

CRITICAL: All milens MCP tool calls MUST include the repo parameter set to the absolute path of the workspace root.

Workflow

Step 1: Understand the Target

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.

Step 2: Trace Execution

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>"})

Step 3: Blast Radius

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.

Step 4: Dependency Paths

For each suspect dependency, trace the exact connection path.

mcp_milens_explain_relationship({from: "<suspect>", to: "<targetSymbol>", repo: "<workspaceRoot>"})

Step 5: Full Context View

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).

Step 6: Text Search for Clues

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").

Step 7: Class Hierarchy

If the target is a class, check its inheritance chain.

mcp_milens_get_type_hierarchy({name: "<ClassName>", repo: "<workspaceRoot>"})

Step 8: Risk Assessment

Deep-dive the target's risk profile.

mcp_milens_review_symbol({name: "<targetSymbol>", repo: "<workspaceRoot>"})

Step 9: Root Cause Hypotheses

Rank hypotheses by likelihood:

#HypothesisEvidenceConfidenceSuggested FixRegression Risk
1HIGH/MEDIUM/LOW
2
3

Each hypothesis MUST cite specific tools and their output as evidence.

Quality Gate

PASS if:

  • Execution trace complete (both directions)
  • Blast radius analyzed to depth 3
  • At least 3 dependency paths traced
  • Full 360° context captured
  • Text search performed for error messages/keywords
  • At least 3 ranked hypotheses with evidence citations
  • Fix suggestions include regression risk assessment

FAIL if:

  • Any step skipped without documented reason
  • Hypotheses lack tool evidence citations
  • Fix suggestions have no regression risk assessment
  • Only one hypothesis considered (lack of thoroughness)

Never Skip

  1. Always run mcp_milens_smart_context first — it is the most efficient starting point for debugging
  2. Never skip blast radius analysis — a fix that introduces new breakage is not a fix
  3. Always cite specific tool outputs as evidence for each hypothesis
  4. Always include regression risk in fix suggestions
  5. If dead code is suspected, run mcp_milens_find_dead_code to check for unused symbols in the trace path

Keep looking

Skills are one crate of 627,801. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.