plugins/astro-expert/skills/solid-astro/SKILL.md
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.
npx skillsauth add fusengine/agents solid-astroInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
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 typedevelopment
Use when optimizing entity-based / semantic SEO 2026. Covers entity maps, Google Knowledge Graph resolution, salience scoring, passage-level ranking, about/sameAs/knowsAbout schema, Cloud Natural Language API validation.
development
Use when running SEO, GEO, schema, Core Web Vitals, sitemap, hreflang, E-E-A-T, AI Overviews, technical SEO, or structured data tasks. Covers full-site audits, single-page analysis, schema markup, content quality, AI search optimization, local SEO, sitemap/robots, internal linking, semantic clustering, and search experience.
development
Use when optimizing search experience (SXO). Covers intent matching, user personas, user stories, page-type analysis, dwell time, scroll depth, pogo-sticking prevention.
development
Use when optimizing local SEO. Covers Google Business Profile, NAP consistency, citations, reviews acquisition, Local Pack ranking, location pages, LocalBusiness schema.