From fuse-astro
Use when applying SOLID principles and clean architecture to Astro projects. Enforces files < 100 lines, src/interfaces/ for types, JSDoc on all exports, modular directory structure, and DRY enforcement.
How this skill is triggered — by the user, by Claude, or both
Slash command
/fuse-astro:solid-astroThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Before ANY implementation, use `TeamCreate` to spawn 3 agents:
Before ANY implementation, use TeamCreate to spawn 3 agents:
After implementation, run fuse-ai-pilot:sniper for validation.
Before ANY implementation:
src/ directory to understand existing architectureBefore writing ANY new code:
src/lib/ for existing utilitiessrc/components/ for existing UI componentssrc/lib/src/interfaces/src/interfaces/ — never in component filessrc/pages/See references/architecture.md, references/file-limits.md, references/solid-principles.md.
| Topic | Reference | When to Consult |
|---|---|---|
| SOLID principles | solid-principles.md | Architecture decisions |
| File limits | file-limits.md | When and how to split files |
| Interfaces | interfaces.md | TypeScript type organization |
| Architecture | architecture.md | Directory structure |
| DRY enforcement | dry-enforcement.md | Avoiding duplication |
| JSDoc | jsdoc.md | Documentation standards |
| Template | When to Use |
|---|---|
| component.md | Astro component with props + JSDoc |
| layout.md | Layout component with slots |
| service.md | Data fetching service function |
| interface.md | TypeScript interface file |
.astro filessrc/pages/ filessrc/lib/ services)any TypeScript typenpx claudepluginhub fusengine/agents --plugin fuse-astroThis skill should be used when the user asks about "SOLID principles", "Next.js architecture", "modular structure", "code organization", "file size limits", "interface separation", or "JSDoc documentation". Enforces files < 100 lines with mandatory JSDoc and separated interfaces.
Comprehensive best practices, routing patterns, component architecture, and static site generation techniques for building high-performance Astro websites.
Guides creation of .astro components with server-only frontmatter, HTML templates, scoped CSS, slots, and type-safe props.