fusengine/agents/modularize

Claude Code and agent skill by fusengine/agents

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Use when converting existing code to modular architecture (Laravel, Next.js, React). Triggers: \"modularize\", \"convert to modules\", \"migrate to modular\", \"restructure modules\".

Install

npx vskill@latest install fusengine/agents/modularize

SKILL.md

<objective> Modularize converts an existing, non-modular codebase to a modular architecture. It detects the framework (Laravel + FuseCore, standard Laravel, Next.js with modules/, or plain React) and delegates to the matching framework expert, but owns the process itself: explore the full structure, build and present a file-by-file migration map, wait for explicit user confirmation, execute the move step by step, and run fuse-ai-pilot:sniper after every file change.

The core constraint it enforces is that shared logic always routes through a central core -- never module-to-module imports directly. </objective>

Agent Workflow (MANDATORY)

detect framework → explore structure → build migration plan → confirm with user → execute → sniper

Framework Detection

SignalFrameworkDelegate To
FuseCore/ dir + artisan fileLaravel + FuseCorefuse-laravel:laravel-expert
composer.json + artisan (no FuseCore/)Laravel standardfuse-laravel:laravel-expert
src/modules/ or app/ + next.configNext.js + modules/fuse-nextjs:nextjs-expert
src/ + package.json (React, no Next)Reactfuse-react:react-expert

Critical Rules

  1. Analyze first — always explore full structure before proposing anything
  2. Show migration map — present file-by-file plan before touching any code
  3. User confirms — never move or modify files without explicit approval
  4. Cores = central hub — no module-to-module imports; all shared logic goes through core
  5. Sniper after each file — run fuse-ai-pilot:sniper after every file moved or created

Workflow Steps

  1. Detect framework using signals from the table above
  2. Explore codebase: map all files, dependencies, imports, exports
  3. Build migration plan: list every file to create, move, or refactor
  4. Present plan to user — wait for explicit confirmation before proceeding
  5. Execute step by step; stop and report any conflict immediately
  6. Run sniper validation after each file change
  7. Final report: list all changes made and any remaining manual steps

Reference Guide

StackReference File
Laravel (FuseCore or standard)references/laravel-fusecore.md
Next.js / Reactreferences/nextjs-react-modules.md

DO / DON'T

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

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/fusengine/agents/modularize/badge)](https://verified-skill.com/skills/fusengine/agents/modularize)

Something wrong with this skill or its page? Tell us.