Files
leo-claude-mktplace/plugins/saas-api-platform
lmiranda 5bbcee06ac fix(commands): wire dispatch files to real sub-command names via Skill tool
All dispatch files referenced display names (e.g., `/doc audit`) that don't
correspond to real slash commands. Claude Code resolves commands by filename,
so `/doc audit` loads `doc.md` with $ARGUMENTS but never routes to `doc-audit.md`.

Changes:
- Updated 24 dispatch files with explicit Skill tool routing
- Added "Command to Invoke" column with plugin-prefixed names
- Added $ARGUMENTS matching for automatic routing
- RFC dispatch file uses inline handling (no separate command files)
- Updated COMMANDS-CHEATSHEET.md with invocation methods
- Updated MIGRATION-v9.md with command name mapping explanation

Affects: 25 dispatch files across 12 plugins (core, data, saas, ops, debug)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-08 21:04:24 -05:00
..

saas-api-platform

REST and GraphQL API scaffolding, validation, and documentation for FastAPI and Express.

Overview

The saas-api-platform plugin provides a complete API development toolkit. It detects your framework, generates routes and models following RESTful conventions, validates implemented endpoints against OpenAPI specifications, and manages middleware configuration.

Supported Frameworks

  • FastAPI (Python) - Pydantic models, dependency injection, async endpoints
  • Express (Node.js/TypeScript) - Router patterns, Zod/Joi validation, middleware chains

Commands

Command Description
/api setup Setup wizard - detect framework, map project structure
/api scaffold <resource> Generate CRUD routes, models, and schemas
/api validate Validate routes against OpenAPI specification
/api docs Generate or update OpenAPI 3.x specification from code
/api test-routes Generate test cases for API endpoints
/api middleware <type> Add and configure middleware (auth, CORS, rate-limit, etc.)

Agents

Agent Model Mode Purpose
api-architect sonnet default Route design, schema generation, middleware planning
api-validator haiku plan (read-only) OpenAPI compliance validation

Installation

This plugin is part of the Leo Claude Marketplace. It is installed automatically when the marketplace is configured.

Prerequisites

  • A FastAPI or Express project to work with
  • Run /api setup before using other commands

Configuration

The /api setup command creates .api-platform.json in your project root with detected settings. All subsequent commands read this file for framework and convention configuration.