New advertisers: 50% off your first month with code FIRSTMONTHSee slots
fusengine avatar

fuse-ai-pilot

Workflow plugin that runs APEX development phases and quality checks on Laravel, Next.js, React, and Swift projects.

version
1.2.56
GitHub stars
36

What it does

  • Adds the /apex, /apex-quick, and /epct commands plus sniper, research-expert, and explore-codebase agents
  • Auto-detects the framework from composer.json, next.config.*, package.json, or Package.swift and loads matching references
  • Enforces a mandatory sniper validation pass as the final examine step before a change is considered done
  • Designed for developers who want a structured analyze, plan, execute, and review loop on feature and bug-fix work

AI Pilot workflow: APEX methodology (auto-detects Laravel/Next.js/React/Swift), sniper (7-phase code quality + DRY detection), research-expert, explore-codebase

Add marketplace

/plugin marketplace add fusengine/agents

Run it inside Claude Code once, then install the plugin below.

Install

/plugin install fuse-ai-pilot@fusengine-plugins

Run it inside Claude Code after adding the marketplace.

Files

Discovered from source
Agent Creator scaffolds a complete Claude Code expert agent: frontmatter (name, description, model, tools, skills, hooks), the mandatory Agent Workflow section, hook scripts, and marketplace registration. It covers three flows -- creating a brand-new domain/framework expert, adapting an existing agent to a new stack, and updating an agent's skills or hooks -- each ending with a `fuse-ai-pilot:sniper` validation pass.

It does not create the skills an agent references -- for that, use skill-creator; agent-creator only wires the agent frontmatter and workflow around skills that already exist or are created alongside it.

Agent Creator

Agent Workflow (MANDATORY)

Before ANY agent creation, delegate via Agent — spawn 2 agents in parallel (single message, 2 Agent calls). Generated agents carry Agent and SendMessage in their tools, so this same pattern is what they must use internally too:

  1. fuse-ai-pilot:explore-codebase - Check existing agents, analyze patterns
  2. fuse-ai-pilot:research-expert - Fetch latest agent conventions

mcp__context7__query-docs is a direct MCP call, not a spawned agent — invoke it directly (alongside the 2 Task calls) to get examples from existing agents.

After creation, run fuse-ai-pilot:sniper for validation.


Overview

ActionWhen to Use
New AgentNew domain/framework expert needed
AdaptCopy from similar agent (Next.js → React)
UpdateAdd skills, modify hooks

Critical Rules

  1. ALL content in English - Never French or other languages
  2. Frontmatter complete - name, description, model, tools, skills, hooks
  3. Agent Workflow section - Always first content section
  4. SOLID rules reference - Link to solid-[stack] skill
  5. Register in marketplace.json - Or agent won't load
  6. Hook scripts executable - chmod +x
  7. Output Format section mandatory - Every generated agent must define a standard ## Output Format section (status, files_changed, errors, sources) — an agent invoked by a lead must return structured data, not prose

Architecture

plugins/<plugin-name>/
├── agents/
│   └── <agent-name>.md      # Agent definition
├── skills/
│   ├── skill-a/
│   └── solid-[stack]/
├── scripts/
│   └── validate-*.sh        # Hook scripts
└── .claude-plugin/
    └── plugin.json

→ See architecture.md for details


Reference Guide

Concepts

TopicReferenceWhen to Consult
Architecturearchitecture.mdUnderstanding agent structure
Frontmatterfrontmatter.mdYAML configuration
Required Sectionsrequired-sections.mdMandatory content
Hookshooks.mdPre/Post tool validation
Registrationregistration.mdmarketplace.json

Templates

TemplateWhen to Use
agent-template.mdCreating new agent
hook-scripts.mdValidation scripts

Quick Reference

Create New Agent

# 1. Research existing agents
→ explore-codebase + research-expert

# 2. Create files
touch plugins/<plugin>/agents/<agent-name>.md
touch plugins/<plugin>/scripts/validate-<stack>-solid.sh
chmod +x plugins/<plugin>/scripts/*.sh

# 3. Register in marketplace.json

# 4. Validate
→ sniper

Adapt Existing Agent

# 1. Copy similar agent
cp plugins/nextjs-expert/agents/nextjs-expert.md plugins/new-plugin/agents/new-expert.md

# 2. Adapt with sed
sed -i '' "s/nextjs/newstack/g; s/Next\.js/NewStack/g" agents/new-expert.md

# 3. Update skills, tools, register

Validation Checklist

  • ALL content in English
  • Frontmatter complete (name, description, model, tools, skills)
  • Agent Workflow section present
  • Mandatory Skills Usage table
  • SOLID Rules reference to solid-[stack]
  • Local Documentation paths valid
  • Output Format section present (status, files_changed, errors, sources)
  • Hook scripts executable
  • Registered in marketplace.json

Related: Skill Creator

When creating an agent, you often need to create skills too.

Use /fuse-ai-pilot:skill-creator to create skills for the agent:

ScenarioAction
New agent needs skillsCreate skills with skill-creator first
Agent references skillsEnsure skills exist in skills/
Adapting agentAdapt related skills too

Best Practices

DO

  • Use skill-creator for associated skills
  • Reference solid-[stack] skill for SOLID rules
  • Include Gemini Design section for UI agents
  • Make hook scripts executable

DON'T

  • Write in French (English only)
  • Skip Agent Workflow section
  • Forget marketplace registration
  • Create agent without its skills
  • Hard-code paths in hooks (use $CLAUDE_PLUGIN_ROOT)

Readme

APEX Agents Plugin

Collection of specialized agents for the APEX workflow (Analyze → Plan → Execute → eXamine).

APEX Skill (Auto-detection)

The /apex skill automatically detects the project type and loads framework-specific references:

Config DetectedFrameworkLoaded References
composer.json + artisanLaravelreferences/laravel/*.md
next.config.*Next.jsreferences/nextjs/*.md
package.json (react)Reactreferences/react/*.md
Package.swift, *.xcodeprojSwiftreferences/swift/*.md

APEX Phases (00-09)

  1. 00-init-branch - Create branch, verify git status
  2. 01-analyze - Explore codebase, existing patterns
  3. 02-features-plan - TaskCreate, estimate files within FUSE_SOLID_MAX_LINES
  4. 03-execution - SOLID implementation, separated interfaces
  5. 04-validation - Linters, type-check, build
  6. 05-review - Self-review, quality checklist
  7. 06-fix-issue - Fix issues found
  8. 07-add-test - Unit and integration tests
  9. 08-check-test - Test execution and coverage
  10. 09-create-pr - Pull request with description

Included Agents

Code Quality

  • sniper - Error detection and correction, SOLID validation, linters
  • sniper-faster - Fast and silent modifications
  • skill-creator - Scaffolds/restructures/repairs SKILL.md + references/ structure

Research

  • research-expert - Technical research (Context7, Exa, Sequential Thinking)
  • websearch - Fast web search with sources

SEO

  • seo-expert - SEO/SEA/GEO 2026, Local SEO, anti-cannibalization, AI optimization

Exploration

  • explore-codebase - Discovery and architecture analysis

Skills by Domain

  • apex/ - APEX methodology with framework-specific references
  • code-quality/ - Linting patterns, SOLID, architecture
  • research/ - Research methodologies
  • seo/ - SEO/SEA/GEO/Local SEO guidelines
  • exploration/ - Exploration techniques

Usage

# APEX Skill (recommended for any development task)
/apex

# Individual agents
> Use sniper to fix all TypeScript errors
> Use research-expert to find Next.js 16 documentation
> Use explore-codebase to understand the project structure

APEX Workflow

  1. Analyze - explore-codebase + research-expert in parallel
  2. Plan - TaskCreate for planning, files within FUSE_SOLID_MAX_LINES
  3. Execute - Specialized agents, SOLID, separated interfaces
  4. eXamine - sniper for final validation (MANDATORY)

Details

Marketplace
fusengine/agents
Source
plugins/ai-pilot
Author
Fusengine
Category
Development
License
MIT
Keywords
ai-pilot, workflow, apex, code-quality, dry-detection, jscpd, duplication, research, react-effects-audit, ref-routing
Listed since
Apr 7, 2026

More from fusengine/agents

All 26

Similar to fuse-ai-pilot

More Agent Workflow & Planning