/fuse-solid:solid-pythonfrom fuse-solid
Enforces SOLID modular architecture for Python 3.15+ projects: feature-based modules under `modules/[feature]/` with layers (routes, services, repositories, interfaces, models), Protocol-based interfaces in dedicated `interfaces/` directories, mandatory type hints and docstrings, and DRY checks against shared `core/` code.
Ships in fuse-solid. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Before writing any new code it requires a DRY check against core/services and core/interfaces. See principles.md for the 5 SOLID principles and patterns.md for directory layout, testing, and typing conventions.
Before ANY implementation, spawn 3 agents in parallel, one Agent call each with a name:
Before writing ANY new code:
core/services/, core/interfaces/core/| Layer | Location |
|---|---|
| Routes | modules/[feature]/routes/ |
| Services | modules/[feature]/services/ |
| Repositories | modules/[feature]/repositories/ |
| Interfaces | modules/[feature]/interfaces/ |
| Models | modules/[feature]/models/ |
| Shared | core/{services,interfaces,models}/ |
NEVER use flat src/ structure - always modules/[feature]/
| Rule | Value |
|---|---|
| File limit | FUSE_SOLID_MAX_LINES |
| Routes | Thin, delegate to services |
| Interfaces | interfaces/ directory ONLY |
| Docstrings | Every public function documented |
| Type hints | MANDATORY on all signatures |
| Protocols | Use typing.Protocol for interfaces |
| Small interfaces | 1-3 methods max |
| Topic | Reference | When to consult |
|---|---|---|
| SOLID Principles | principles.md | Quick reference for all 5 principles |
| Patterns & Structure | patterns.md | Directory layout, testing, typing |
| Anti-Pattern | Fix |
|---|---|
Files over FUSE_SOLID_MAX_LINES | Split by responsibility |
| Interfaces in impl files | Move to interfaces/ directory |
| Fat interfaces (4+ methods) | Split into small Protocols |
Flat src/ structure | Use modules/[feature]/ |
| Concrete dependencies | Use Protocol + dependency injection |
| Missing type hints | Add type annotations to all signatures |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
8 skills in this plugin
/solid-csharpUse when writing or refactoring C#/.NET code, structuring Modules/[Feature]/ layers, or defining Contracts/ interfaces (SOLID, files within FUSE_SOLID_MAX_LINES)./solid-detectionUse when determining which language-specific SOLID skill to load, detecting project type from config files, or resolving interface directory conventions./solid-genericUse when building CLI tools, libraries, scripts, hooks, or non-framework TypeScript code (Bun/Node.js -- SOLID, files within FUSE_SOLID_MAX_LINES, JSDoc mandatory).npx claudepluginhub fusengine/claude-plugins --plugin fuse-solidOther plugins' skills for the same job