aimasteracc/mycelium/inheritance
Claude Code and agent skill by aimasteracc/mycelium
- community
Checking that the SKILL.md file is still in the repository.
Navigate type relationships — extends/implements, subclass/implementor trees, and concrete-to-abstract paths.
Install
npx vskill@latest install aimasteracc/mycelium/inheritanceSKILL.md
inheritance — class/trait/interface relationships
This Skill bundles the 8 Extends and Implements edge tools. Reach for it when the question involves type hierarchies — class extension chains, interface implementations, trait dispatch resolution.
Language note: Rust has no class inheritance, but trait impl X for Y produces Implements edges. C++/C#/Java/Python/TypeScript projects exercise both edge kinds heavily.
When to invoke this Skill
Use when:
- The user asks "who extends/implements X", "what does X extend", "what's the parent class of X".
- Tracking down where polymorphism resolves at runtime — "which concrete
Repositoryimpls exist". - Refactoring an abstract base — need the full set of subclasses or implementors.
Do NOT use when:
- The relationship is
Calls(usecall-graph) orImports(useimport-graph). - The user wants multi-edge-kind reachability (use
reachability).
Quick examples
| Developer question | Tool | |
|---|---|---|
| "What classes extend BaseRepository?" | mcp__mycelium__get_subclasses_tree | |
| "What are all subclasses of AbstractPaymentProcessor?" | mcp__mycelium__get_subclasses_tree | |
| "Show me the full inheritance hierarchy of AuthService" | mcp__mycelium__get_extends_tree | |
| "Find the path from OAuth2Session to BaseSession in the class tree" | mcp__mycelium__find_extends_path | |
| "What interfaces does PostgresUserRepo implement?" | mcp__mycelium__get_implements |
Capabilities under this umbrella
get_extends — direct parent class(es)
extends_tree — recursive extends chain
Walks up: this class → its parent → grandparent → ... up to max_depth.
subclasses_tree — recursive subclass tree
Walks down: this class → its subclasses → their subclasses. The "who extends this" tree.
find_extends_path — concrete-to-abstract chain
"Show me the inheritance chain from OAuth2Session to BaseSession":
Returns { "path": null } if the symbols are not in the same chain.
get_implements — what interfaces/traits does X implement
implements_tree — recursive implements chain
For interfaces/traits that extend other interfaces/traits — Rust's "supertrait" pattern, Java's interface A extends B.
implementors_tree — recursive "who implements this"
The trait/interface analog of subclasses_tree. Returns every concrete type that implements the given trait/interface, walking down through trait inheritance.
find_implements_path — concrete-to-interface chain
Counterpart of find_extends_path for the Implements edge.
Common chains
- "Where does this trait/interface get dispatched?" →
implementors_tree. - "Which subclasses inherit X?" →
subclasses_tree. - "What does X bring along when extended?" →
extends_tree(parents' contracts). - "Is X a subclass / implementor of Y?" →
find_extends_path/find_implements_path.
Equivalent CLI
Parity contract
Per RFC-0090. tests/parity.test.json uses a small Python fixture with a 3-class extends chain plus a trait/interface scenario.
Cross-references
- Related Skill:
call-graph— for method-level dispatch (whichimplactually runs). - Related Skill:
reachability— for cross-edge-kind navigation. - Related Skill:
basic-queries— to find the class/trait symbol first.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/inheritance/SKILL.md
Popularity
- Repository stars
- 1
- Repository forks
- 1
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/aimasteracc/mycelium/inheritance)