agent-creator
Use when creating expert agents. Generates agent.md with frontmatter, hooks, required sections, and skill references.
Use when building CLI tools, libraries, scripts, hooks, or non-framework TypeScript code (Bun/Node.js -- SOLID, files within FUSE_SOLID_MAX_LINES, JSDoc mandatory).
Claude Code
$ npx -y skills add fusengine/claude-plugins --skill solid-generic --agent claude-code
Codex
$ npx skills add fusengine/claude-plugins --skill solid-generic -a codex -y
Cursor
$ npx skills add fusengine/claude-plugins --skill solid-generic -a cursor -y
Gemini CLI
$ npx skills add fusengine/claude-plugins --skill solid-generic -a gemini-cli -y
GitHub Copilot
$ npx skills add fusengine/claude-plugins --skill solid-generic -a github-copilot -y
OpenCode
$ npx skills add fusengine/claude-plugins --skill solid-generic -a opencode -y
Windsurf
$ npx skills add fusengine/claude-plugins --skill solid-generic -a windsurf -y
name: solid-generic description: "Use when building CLI tools, libraries, scripts, hooks, or non-framework TypeScript code (Bun/Node.js -- SOLID, files within FUSE_SOLID_MAX_LINES, JSDoc mandatory)." version: 1.0.0 user-invocable: true references: references/solid-principles.md, references/single-responsibility.md, references/open-closed.md, references/liskov-substitution.md, references/interface-segregation.md, references/dependency-inversion.md, references/architecture-patterns.md, references/templates/module.md, references/templates/service.md, references/templates/interface.md, references/templates/validator.md, references/templates/factory.md, references/templates/error.md, references/templates/test.md related-skills: solid-react, solid-nextjs, solid-php, solid-swift
<objective> SOLID Generic enforces a modular architecture for plain TypeScript/Bun/Node.js code with no framework (CLI tools, libraries, scripts, hooks): interfaces live in `modules/[feature]/src/interfaces/` or `modules/cores/interfaces/` for shared types, never in implementation files; files stay within `FUSE_SOLID_MAX_LINES`, one responsibility each; every export carries JSDoc.
Before writing any new code it requires a DRY check across `modules/cores/lib`, `modules/cores/interfaces`, and `modules/cores/errors`, extracting anything repeated 3+ times into a shared helper. Each of the 5 SOLID principles has its own detailed reference (`single-responsibility.md` through `dependency-inversion.md`), plus copy-paste-ready templates for modules, services, interfaces, validators, factories, errors, and tests. </objective>
Before ANY implementation, spawn 3 agents in parallel, one `Agent` call each with a `name`:
1. **fuse-ai-pilot:explore-codebase** - Analyze project structure and existing patterns 2. **fuse-ai-pilot:research-expert** - Verify latest TypeScript/Bun docs via Context7 3. **mcp__context7__query-docs** - Check integration compatibility
After implementation, run **fuse-ai-pilot:sniper** for validation.
---
**Before writing ANY new code:** 1. **Grep the codebase** for similar function names, patterns, or logic 2. Check shared locations: `modules/cores/lib/`, `modules/cores/interfaces/`, `modules/cores/errors/` 3. If similar code exists -> extend/reuse instead of duplicate 4. If code will be used by 2+ modules -> create in `modules/cores/` 5. Extract repeated logic (3+ occurrences) into shared helpers
---
modules/[feature]/src/interfaces/ # Feature types |- user.interface.ts \- service.interface.ts modules/cores/interfaces/ # Shared types \- shared.interface.ts
**NEVER put interfaces in implementation files.** **NEVER use flat `src/` structure - always `modules/`.**
/** * Parse configuration from file path. * * @param filePath - Absolute path to config file * @returns Parsed configuration object * @throws ConfigError if file is invalid */ export function parseConfig(filePath: string): Config
---
| # | Principle | Reference | Key Rule | |---|-----------|-----------|----------| | S | Single Responsibility | [single-responsibility.md](references/single-responsibility.md) | One file = one reason to change | | O | Open/Closed | [open-closed.md](references/open-closed.md) | Extend via composition, not modification | | L | Liskov Substitution | [liskov-substitution.md](references/liskov-substitution.md) | Implementations honor interface contracts | | I | Interface Segregation | [interface-segregation.md](references/interface-segregation.md) | Many focused interfaces > one fat interface | | D | Dependency Inversion | [dependency-inversion.md](references/dependency-inversion.md) | Depend on abstractions, inject dependencies |
See [solid-principles.md](references/solid-principles.md) for overview and [architecture-patterns.md](references/architecture-patterns.md) for project structure.
---
| Template | Usage | |----------|-------| | [module.md](references/templates/module.md) | TypeScript/Bun module | | [service.md](references/templates/service.md) | Service with DI | | [interface.md](references/templates/interface.md) | TypeScript interfaces | | [validator.md](references/templates/validator.md) | Zod validation schemas | | [factory.md](references/templates/factory.md) | Factory pattern | | [error.md](references/templates/error.md) | Custom error classes | | [test.md](references/templates/test.md) | Bun test / Vitest |
---
A plugin ecosystem that turns Claude Code into a supervised, multi-agent development environment.
Use when creating expert agents. Generates agent.md with frontmatter, hooks, required sections, and skill references.
Use when starting ANY development task -- feature, bug fix, refactor, hotfix (triggers: implement, create, build, fix, add…
Use when creating a feature/component or adding functionality. Fires BEFORE APEX Analyze to refine requirements via structured…
Use before a root-cause, done/verified claim, irreversible action, or 2nd-time fix reaches the owner (APEX or plain…
Use when validating code quality after modifications -- SOLID compliance, DRY duplication, linter errors, architecture…
Use when an expert agent self-reviews and self-corrects code after the Execute phase, before sniper validation (BMAD-METHOD…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.