plugins/ai-pilot/skills/modularize/SKILL.md
--- name: modularize description: Use when converting existing code to modular architecture. Detects Laravel (FuseCore or standard) / Next.js / React and applies correct modular patterns. Triggers: "modularize", "convert to modules", "migrate to modular", "restructure modules". user-invocable: true references: references/laravel-fusecore.md, references/nextjs-react-modules.md related-skills: apex, exploration --- ## Agent Workflow (MANDATORY) detect framework → explore structure → build migrat
npx skillsauth add fusengine/agents plugins/ai-pilot/skills/modularizeInstall 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.
detect framework → explore structure → build migration plan → confirm with user → execute → sniper
| Signal | Framework | Delegate To |
|---|---|---|
| FuseCore/ dir + artisan file | Laravel + FuseCore | fuse-laravel:laravel-expert |
| composer.json + artisan (no FuseCore/) | Laravel standard | fuse-laravel:laravel-expert |
| src/modules/ or app/ + next.config | Next.js + modules/ | fuse-nextjs:nextjs-expert |
| src/ + package.json (React, no Next) | React | fuse-react:react-expert |
fuse-ai-pilot:sniper after every file moved or created| Stack | Reference File |
|---|---|
| Laravel (FuseCore or standard) | references/laravel-fusecore.md |
| Next.js / React | references/nextjs-react-modules.md |
DO: explore before planning — plan before executing — confirm before touching files — sniper every step
DON'T: assume structure — skip confirmation — import between modules directly — batch changes without validation
development
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.