inheritance-explorer

Map inheritance and member-override relationships in Roslyn workspaces.

Updated Mar 13, 2026
One-click install
npx skills add https://github.com/darylmcd/Roslyn-Backed-MCP --skill inheritance-explorer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: inheritance-explorer
Source: https://github.com/darylmcd/Roslyn-Backed-MCP/tree/main/skills/inheritance-explorer
Command: npx skills add https://github.com/darylmcd/Roslyn-Backed-MCP --skill inheritance-explorer

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps developers understand complex inheritance structures by tracing base types, derived types, and member overrides, enabling insight into polymorphic behavior and interface implementations.

Core Features & Use Cases

  • Resolve a type or member and generate an ASCII inheritance/override graph plus an origin table to audit overrides and interface implementations.
  • Explore base chain, derived types, and per-member hierarchies to assess override coverage, interface slots, and potential refactoring opportunities.
  • Use cases include auditing type hierarchies in large C# solutions, validating override implementations, and identifying interface extraction opportunities.

Quick Start

Type or select a type or member name to begin exploring its inheritance graph.

Frequently Asked Questions about inheritance-explorer

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

FAQPage Schema
How do I map C# type inheritance hierarchies and member overrides in a loaded Roslyn workspace?

Resolve C# member overrides and interface implementations by traversing per-member hierarchies across loaded Roslyn workspaces to generate an origin table assessing override coverage and potential refactoring opportunities.

Can I audit polymorphic behavior and interface implementations across large C# solutions?

Validate override implementations and identify interface extraction opportunities by generating an origin table that traces per-member hierarchies and interface slots across your C# solutions.

Do I need a Roslyn MCP server to analyze type hierarchies and symbol resolution?

Yes, analyzing type hierarchies requires server connectivity to Roslyn MCP, workspace loading via workspace_load, and traversal calls like type_hierarchy and member_hierarchy for symbol resolution and output synthesis.

What is the best way to visualize base chain and derived type relationships for C# refactoring?

The best way to visualize base chain and derived type relationships is generating an ASCII inheritance graph and origin table, which traces symbol resolution to assess override coverage and plan refactoring across C# projects.

Why does symbol resolution fail when traversing type hierarchies in a C# workspace?

Symbol resolution fails when traversing type hierarchies if the Roslyn MCP server connectivity is missing, the workspace_load step is incomplete, or the target type or member name cannot be resolved within the loaded workspace.