franchiseai/claude-code-plugins
franchiseai/claude-code-plugins · 1 stars · 15 plugins
Marketplace Claude Code plugins for code quality and development workflows.
Install
/plugin marketplace add franchiseai/claude-code-pluginsRun inside Claude Code, then install plugins from it. Check the repo's README before you run it.
Plugins 15
After adding the marketplace, install one with /plugin install <name>@fsai.
- 1code-cleanupRemove AI-generated code patterns (slop) from branches
/plugin install code-cleanup@fsai - 2dead-codeFind and remove unused code added in the current branch
/plugin install dead-code@fsai - 3worktreeManage git worktrees for parallel development
/plugin install worktree@fsai - 4pr-to-ticketFile Linear tickets from PR review feedback
/plugin install pr-to-ticket@fsai - 5backend-architectureAnalyze and refactor backend code to entity/service separation pattern
/plugin install backend-architecture@fsai - 6entity-graphDesign data models as Mermaid ER diagrams with Drizzle schema code
/plugin install entity-graph@fsai - 7ux-flowsTurn meeting notes into clean UX flow docs for design teams
/plugin install ux-flows@fsai - 8domain-refactorRefactor backend domains to follow the 3-layer architecture pattern
/plugin install domain-refactor@fsai - 9pr-descriptionWrite standardized PR descriptions and create GitHub PRs
/plugin install pr-description@fsai - 10security-sweepRun a security audit of the codebase and produce a prioritised findings report
/plugin install security-sweep@fsai - 11skill-evolutionSelf-improving skill system — observe, inspect, and amend skills based on usage evidence
/plugin install skill-evolution@fsai - 12ai-feature-loopHuman-and-AI-in-the-loop quality improvement for AI Engine features — trigger runs, judge Langfuse traces against a rubric, iterate on prompts
/plugin install ai-feature-loop@fsai - 13engine-retroPost-feature friction retro for the AI Engine — mine the diff for workarounds, interview the dev, and turn engine pain into Linear tickets with proposed fixes
/plugin install engine-retro@fsai - 14fsai-bulk-dataImport and export FSAI brand data over the superadmin bulk API with a validate, review, approve, commit loop
/plugin install fsai-bulk-data@fsai - 15fsai-workflow-actionsFSAI workflow actions and content generation tools
/plugin install fsai-workflow-actions@fsai
Files
FSAI - Claude Code Plugins
Claude Code plugins for code quality and development workflows.
Installation
# Add the marketplace /plugin marketplace add franchiseai/claude-code-plugins # Install plugins /plugin install code-cleanup@fsai /plugin install dead-code@fsai /plugin install worktree@fsai /plugin install architecture-refactor@fsai /plugin install entity-graph@fsai /plugin install ux-flows@fsai /plugin install fsai-workflow-actions@fsai
Plugins
code-cleanup
Remove AI-generated code patterns ("slop") from a branch.
Usage: Just ask Claude Code:
- "Remove the slop from this branch"
- "Clean up AI code"
- "Make this code look human-written"
Claude will diff against master, identify AI patterns, and fix them.
dead-code
Remove dead code from a branch.
Usage: Just ask Claude Code:
- "Remove the dead code from this branch"
Claude will diff against master, identify dead code, and remove it.
worktree
Manage git worktrees for parallel development.
Usage: Just ask Claude Code:
- "Create a worktree for feature-xyz"
- "List my worktrees"
- "Remove the fsai2 worktree"
Claude will manage worktrees and remind you to install dependencies.
architecture-refactor
Analyze and refactor backend code to follow the entity/service separation pattern.
The Pattern:
Controller (HTTP only)
↓
Service (orchestration, enforcement, side effects)
↓
Entity (business rules as predicates, data access)
↓
Database
Usage: Just ask Claude Code:
- "Refactor deals to entity pattern"
- "Analyze architecture for leads"
- "Extract business rules from application service"
- "Where are the rules for deals?"
- "Create entity for franchisee"
- "Separate concerns for locations"
What it does:
- Analyzes the current service/controller for a domain concept
- Identifies scattered business rules, data access, and side effects
- Proposes an entity interface with predicates and data methods
- Refactors the service to be an orchestrator that:
- Calls entity predicates (
canConvert(),isEntityDeal()) - Enforces rules (throws if predicate returns false)
- Coordinates multiple entities in transactions
- Triggers side effects after success
- Calls entity predicates (
Key Principles:
| Layer | Does | Does Not |
|---|---|---|
| Entity | Define rules as predicates (canX() → boolean), CRUD, queries |
Throw errors, call other entities |
| Service | Orchestrate, enforce rules (throw), business logic, transactions | Define rules, write SQL |
| Controller | Parse request, auth, call service, format response | Business logic, call entities |
Example Transformation:
Before (rules scattered in service):
async convertDeal(dealId) {
const deal = await this.getDealOverview(dealId);
if (deal.convertedAt) throw new ValidationError('Already converted');
if (!deal.applicationId) throw new ValidationError('No application');
// ... 200 lines of mixed logic
}
After (rules in entity, service orchestrates):
async convertDeal(dealId) {
const deal = await dealEntity.getOverview(dealId);
const { allowed, reason } = dealEntity.canConvert(deal);
if (!allowed) throw new ValidationError(reason);
// Orchestrate...
await dealNotifications.onConverted(deal);
}
entity-graph
Design data models as Mermaid ER diagrams with implementation-ready Drizzle schema code.
Usage: Just ask Claude Code:
- "Design the data model for campaigns"
- "I need new tables for user notifications"
- "Schema design for the scheduling feature"
Claude will read your existing schema conventions, ask clarifying questions, present a Mermaid ER diagram, and write an implementation plan with exact Drizzle code.
ux-flows
Turn meeting notes and technical specs into clean UX flow docs for design teams.
Usage: Just ask Claude Code:
- "Clean up these flows for the design team"
- "Write UX flows from these meeting notes"
- "Design handoff doc for the onboarding feature"
Claude will strip implementation details and layout prescriptions, keep edge cases and states, and output a ~1 page doc in user-facing language.
ai-feature-loop
Human-and-AI-in-the-loop quality improvement for AI Engine features. Runs trigger → observe → judge → improve batches: triggers real engine runs, judges the outputs against a rubric agreed up front, pushes verdicts as Langfuse scores, and iterates on prompt/recipe text one change at a time. Human reviews at batch boundaries; non-prompt changes (context assembly, model/params, feature code) queue for approval.
Usage: Invoke deliberately with:
/ai-feature-loop <feature>
It never auto-triggers during normal feature development.
Prerequisites: The local rig must be up: backend (:4000), inngest dev server (:8288), Langfuse (:3005), and the AI_ENGINE_DEV_MODEL override set in apps/backend/.env. Loops run on the dev model — spot-check on the prod model before shipping.
engine-retro
Post-feature friction retro for AI Engine features. When a feature wraps, it mines the branch diff for workaround signatures (hacks, bypassed abstractions, copy-pasted boilerplate, special-casing in shared engine code), interviews the dev to catch uncommitted dead ends, and presents findings as "what the engine should offer" with proposed fixes drafted inline. Findings you approve become Linear tickets (Engine DX: ...). No ranking — you triage.
Usage: Invoke deliberately when a feature wraps:
/engine-retro <feature or branch>
Pairs with ai-feature-loop: loop the prompts during the build, retro the engine friction after.
fsai-bulk-data
Import and export FSAI brand data over the superadmin bulk API (/fsai-admin/bulk). Finds the brand id, fetches the agent doc for the entity, exports current records, authors an import envelope, posts it as a validation job, shows the plan, and commits only after you approve. Nothing is written until the commit step, and commit is blocked while any record is in error.
Usage: Just ask Claude Code:
- "Import these helpdesk articles into FSAI"
- "Export brand data for Sunny Scoops"
- "Bulk import lead statuses"
- "Sync helpdesk articles"
Prerequisites:
- A personal API key from the dashboard under Account > API key, on a superadmin account, exported as
FSAI_API_KEY. One key per user; regenerating revokes the old one. - API access unlocked by a superadmin in Admin > API Access, for the brand or the specific entity, at Read (doc and export) or Read + write (import). Windows relock automatically after 1, 4, 8, or 24 hours.
- Optionally
FSAI_API_URL, which defaults tohttps://api.franchisesystems.ai.
A 403 saying access is locked means the brand or that entity is not currently unlocked. The skill will name what it needs and stop rather than retry.
fsai-workflow-actions
FSAI workflow actions and content generation tools. Includes a content generator skill that helps produce valid JSON import files for the FSAI applicant portal and email sequences.
Usage: Just ask Claude Code:
- "Generate portal JSON for this brand"
- "Create email sequences"
- "FSAI content generator"
Or invoke directly with /content-generator.
Prerequisites: Export a brand metadata JSON from the FSAI admin panel and place it in metadata/ in your workspace. The skill reads asset IDs, form names, and brand context from this file.
What it does:
- Reads brand metadata (assets, forms, brand info)
- Guides content generation following the portal and sequence JSON schemas
- Validates output with a bundled
validate.tsscript - Catches broken asset references, invalid form names, and schema errors before import
Contributing
To add a new plugin:
- Create a folder in
plugins/with your plugin name - Add
plugin.jsonwith metadata - Add
skill.mdwith the instruction set - Update
marketplace.jsonto include your plugin
{
"name": "fsai",
"owner": {
"name": "Bill Smith",
"email": "bill@franchisesystems.ai"
},
"plugins": [
{
"name": "code-cleanup",
"source": "./plugins/code-cleanup",
"description": "Remove AI-generated code patterns (slop) from branches",
"version": "1.0.0"
},
{
"name": "dead-code",
"source": "./plugins/dead-code",
"description": "Find and remove unused code added in the current branch",
"version": "1.0.0"
},
{
"name": "worktree",
"source": "./plugins/worktree",
"description": "Manage git worktrees for parallel development",
"version": "1.0.0"
},
{
"name": "pr-to-ticket",
"source": "./plugins/pr-to-ticket",
"description": "File Linear tickets from PR review feedback",
"version": "1.0.0"
},
{
"name": "backend-architecture",
"source": "./plugins/backend-architecture",
"description": "Analyze and refactor backend code to entity/service separation pattern",
"version": "1.0.0"
},
{
"name": "entity-graph",
"source": "./plugins/entity-graph",
"description": "Design data models as Mermaid ER diagrams with Drizzle schema code",
"version": "1.0.0"
},
{
"name": "ux-flows",
"source": "./plugins/ux-flows",
"description": "Turn meeting notes into clean UX flow docs for design teams",
"version": "1.0.0"
},
{
"name": "domain-refactor",
"source": "./plugins/domain-refactor",
"description": "Refactor backend domains to follow the 3-layer architecture pattern",
"version": "1.0.0"
},
{
"name": "pr-description",
"source": "./plugins/pr-description",
"description": "Write standardized PR descriptions and create GitHub PRs",
"version": "1.0.0"
},
{
"name": "security-sweep",
"source": "./plugins/security-sweep",
"description": "Run a security audit of the codebase and produce a prioritised findings report",
"version": "1.0.0"
},
{
"name": "skill-evolution",
"source": "./plugins/skill-evolution",
"description": "Self-improving skill system — observe, inspect, and amend skills based on usage evidence",
"version": "1.0.0"
},
{
"name": "ai-feature-loop",
"source": "./plugins/ai-feature-loop",
"description": "Human-and-AI-in-the-loop quality improvement for AI Engine features — trigger runs, judge Langfuse traces against a rubric, iterate on prompts",
"version": "1.0.0"
},
{
"name": "engine-retro",
"source": "./plugins/engine-retro",
"description": "Post-feature friction retro for the AI Engine — mine the diff for workarounds, interview the dev, and turn engine pain into Linear tickets with proposed fixes",
"version": "1.0.0"
},
{
"name": "fsai-bulk-data",
"source": "./plugins/fsai-bulk-data",
"description": "Import and export FSAI brand data over the superadmin bulk API with a validate, review, approve, commit loop",
"version": "1.0.0"
},
{
"name": "fsai-workflow-actions",
"source": "./fsai-workflow-actions",
"description": "FSAI workflow actions and content generation tools",
"version": "0.2.0"
}
]
}Facts
- Kind
- Marketplace
- Repo
- franchiseai/claude-code-plugins
- Group
- Uncategorized
- Stars
- 1
- Marketplace name
- fsai
- Owner
- Bill Smith
- Language
- TypeScript
- Created
- 2025-12-04
- Last push
- 2026-11-06
- Plugins
- 15
Next on this shelf
- 1942fussy113/claude-code-marketplacefussy113/fussy113-agent-plugins1
- 1943galligan/claude-plugingalligan/claude-plugin1
- 1944gchiam/claude-code-pluginsgchiam/claude-code-plugins1
- 1945gonzaloetjo/solidity-audit-skillsgonzaloetjo/solidity-audit-skills1
- 1946HaibaraAiAPTX/frontend-openapi-skillsHaibaraAiAPTX/frontend-openapi-skills1
- 1947hekmon8/mybacklinks-toolshekmon8/mybacklinks-tools1