feat(marketplace): command consolidation + 8 new plugins (v8.1.0 → v9.0.0) [BREAKING]
Phase 1b: Rename all ~94 commands across 12 plugins to /<noun> <action> sub-command pattern. Git-flow consolidated from 8→5 commands (commit variants absorbed into --push/--merge/--sync flags). Dispatch files, name: frontmatter, and cross-reference updates for all plugins. Phase 2: Design documents for 8 new plugins in docs/designs/. Phase 3: Scaffold 8 new plugins — saas-api-platform, saas-db-migrate, saas-react-platform, saas-test-pilot, data-seed, ops-release-manager, ops-deploy-pipeline, debug-mcp. Each with plugin.json, commands, agents, skills, README, and claude-md-integration. Marketplace grows from 12→20. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
43
plugins/saas-api-platform/README.md
Normal file
43
plugins/saas-api-platform/README.md
Normal file
@@ -0,0 +1,43 @@
|
||||
# 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.
|
||||
Reference in New Issue
Block a user