cachibot-api-route

Community

Quickly add secure REST API endpoints

Authorjhd3197
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill streamlines adding new REST API endpoints to CachiBot's FastAPI backend by enforcing project conventions for routing, authentication, data models, and repository storage so contributors can implement features without breaking consistency.

Core Features & Use Cases

  • Consistent CRUD Patterns: Guidance for GET, POST, PUT, DELETE endpoints and batch/action routes following the project's URL patterns.
  • Auth and Scoping: Enforces JWT-based require_bot_access for bot-scoped endpoints and shows when to use require_user for global resources.
  • Pydantic & Storage Integration: Instructions to create request/response Pydantic models with camelCase responses via from_db conversion and to integrate repository-backed SQLAlchemy/Postgres storage.
  • Use Case: Create a bot-scoped CRUD API for bookmarks or reminders, with models in cachibot/models, routes in cachibot/api/routes, and router registration in server.py so the frontend receives consistent, camelCase responses.

Quick Start

Use the cachibot-api-route skill to create Pydantic request/response models, implement an APIRouter with require_bot_access-protected CRUD endpoints, and register the router in server.py.

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: cachibot-api-route
Download link: https://github.com/jhd3197/CachiBot/archive/main.zip#cachibot-api-route

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.