/fuse-astro:solid-astrofrom fuse-astro
Enforces SOLID and DRY architecture on Astro projects: file-size limits, types in src/interfaces/, mandatory JSDoc, no business logic in pages, and grepping for existing code before writing new logic.
Ships in fuse-astro. 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.
Provides ready-to-copy templates for components, layouts, services, and interfaces that already follow these rules. This is a cross-cutting code-quality skill, not a feature skill — it doesn't teach Astro APIs themselves (see astro-7, astro-content, astro-i18n, astro-styling for that), only how to structure the code that uses them.
Before ANY implementation, spawn 3 agents in parallel, one Agent call each with a name:
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/FUSE_SOLID_MAX_LINES — split by responsibilitysrc/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 |
FUSE_SOLID_MAX_LINES.astro filessrc/pages/ filessrc/lib/ services)any TypeScript typereferences/architecture.md (opens in a new tab)references/dry-enforcement.md (opens in a new tab)references/file-limits.md (opens in a new tab)references/interfaces.md (opens in a new tab)references/jsdoc.md (opens in a new tab)references/solid-principles.md (opens in a new tab)references/templates/component.md (opens in a new tab)references/templates/interface.md (opens in a new tab)references/templates/layout.md (opens in a new tab)references/templates/service.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub fusengine/claude-plugins --plugin fuse-astro14 skills in this plugin
/astro-7Use when building Astro 7 sites, choosing an output mode (static/server, hybrid via per-route prerender), configuring middleware, or upgrading from Astro 5/6./astro-actionsUse when handling form submissions, mutations, or server-side logic with type safety in Astro via defineAction / astro:actions./astro-assetsUse when optimizing images or other assets in Astro — <Image />, <Picture />, getImage(), Fonts API, or OG image generation./astro-contentUse when managing structured content, blog posts, or typed data collections in Astro via the Content Layer API (content.config.ts)./astro-dbUse when doing database operations in an Astro project via Astro DB (defineDb, defineTable, db/config.ts, Turso)./astro-deploymentUse when deploying an Astro 7 app to Cloudflare, Vercel, Netlify, or Node.js — adapter setup, ISR patterns, edge middleware.Other plugins' skills for the same job