rule-api-routes

Community

Enforce API route best practices.

Authorbtabaska
Version1.0.0
Installs0

System Documentation

What problem does it solve?

API route governance ensures consistent, safe, and scalable endpoint implementations across the codebase by codifying routing patterns and security practices.

Core Features & Use Cases

  • Enforces a standardized file structure for API domains under api/src/api/ with domain_blueprint.py, domain_routes.py, and domain_schema.py.
  • Enforces decorator stack order, thin route handlers, and explicit doc and auth patterns to minimize business logic in routes.
  • Promotes consistent error handling, logging, and schema validation across endpoints.

Quick Start

Edit or add new API route handlers under api/src/api following the domain convention and the decorator order described above to ensure compliance.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: rule-api-routes
Download link: https://github.com/btabaska/simpler-grants-documentation-automation/archive/main.zip#rule-api-routes

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.