inheritance

Identify extends and implements relationships between classes, traits, and interfaces.

1|Updated May 29, 2026
One-click install
npx skills add https://github.com/aimasteracc/mycelium --skill inheritance
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: inheritance
Source: https://github.com/aimasteracc/mycelium/tree/main/skills/inheritance
Command: npx skills add https://github.com/aimasteracc/mycelium --skill inheritance

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Clarifies how code entities relate through inheritance and interface implementation, enabling quick reasoning about type hierarchies across a codebase.

Core Features & Use Cases

  • DirectExtends and Implementors: discover direct parent types and concrete implementors for a given symbol.
  • Recursive trees: build full extends/subclasses and implementors trees to understand the complete hierarchy.
  • Path discovery: derive concrete-to-abstract chains to trace how a symbol is resolved in practice.
  • Refactoring support: identify all affected types when a base interface or abstract class changes.

Quick Start

Invoke the inheritance tools to discover parent types, implementors, and inheritance paths for a symbol.

Frequently Asked Questions about inheritance

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

FAQPage Schema
How do I find all subclasses and implementors of a specific interface in a codebase?

To find all subclasses and implementors, you can map type hierarchies by discovering direct parent types and concrete implementors for a given symbol. This enables quick reasoning about how code entities relate through inheritance and implementation across the codebase.

What is the best way to trace an inheritance path from a concrete class to an abstract type?

Tracing an inheritance path from concrete to abstract types involves deriving concrete-to-abstract chains. This path discovery mechanism clarifies how a symbol is resolved in practice by navigating through extends and implements relationships within the codebase.

Can I identify all affected types when changing a base interface or abstract class for refactoring?

Yes, you can identify all affected types when a base interface or abstract class changes by building full extends and implementors trees. This recursive tree mapping reveals the complete type hierarchy, enabling accurate impact analysis and safe refactoring.

Does this type hierarchy navigation work across different programming languages?

Type hierarchy navigation applies to codebases across languages to map and navigate inheritance and implementation hierarchies. It identifies type relationships between classes, traits, and interfaces universally, supporting debugging and impact analysis regardless of language.

When do I need to map recursive type hierarchies instead of just direct relationships?

You need to map recursive type hierarchies when understanding the complete hierarchy rather than just direct parent types. Building full extends and subclasses trees reveals the entire dependency chain, which is essential for comprehensive impact analysis and deep debugging.