api-router-integration

Community

Standardize API routers with safe patterns

Authordrhayf
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Standardize the process of creating and registering API routers in GUTTERS to reduce boilerplate and prevent misconfigurations.

Core Features & Use Cases

  • Router Creation: Provide a consistent file template at src/app/api/v1/{feature}.py.
  • Router Registration: Centralized inclusion in api/v1/init.py to wire routes.
  • Authentication Patterns: Common dependency pattern to enforce authentication for endpoints.
  • Response Models: Standardized Pydantic models for endpoint responses.
  • Background Tasks: Support scheduling long-running tasks via FastAPI BackgroundTasks.
  • Error Handling: Consistent HTTP exception handling and validation.

Quick Start

Create a new feature router file at src/app/api/v1/{feature}.py and register the router in api/v1/init.py to enable endpoints.

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: api-router-integration
Download link: https://github.com/drhayf/GUTTERS/archive/main.zip#api-router-integration

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 223,000+ vetted skills library on demand.