backend-api-dev

Develop FastAPI REST API routes with CRUD, RBAC, pagination, and time-travel support.

Updated Dec 27, 2025
One-click install
npx skills add https://github.com/ogghst/backcast --skill backend-api-dev
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: backend-api-dev
Source: https://github.com/ogghst/backcast/tree/main/.claude/skills/backend-api-dev
Command: npx skills add https://github.com/ogghst/backcast --skill backend-api-dev

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps engineering teams quickly implement consistent FastAPI REST API routes following project conventions, reducing boilerplate and ensuring RBAC, pagination, and time-travel support.

Core Features & Use Cases

  • CRUD Endpoint Scaffolding: Generate standard create, read, update, delete routes with consistent structure and validation.
  • RBAC & Security: Integrates RoleChecker for permission checks and secure access patterns across endpoints.
  • Time Travel & Pagination: Supports branch/context parameters and as_of queries for historical data views with pagination.
  • Use Case: When adding a new resource like Task or Project, generate the full route set with minimal effort and consistent semantics.

Quick Start

Use the Route File Template to generate CRUD endpoints for a new entity (e.g., User or Project) following the project's conventions.

Frequently Asked Questions about backend-api-dev

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate FastAPI CRUD routes with RBAC and pagination?

To generate FastAPI CRUD routes with RBAC and pagination, use the Route File Template to scaffold standard endpoints. The skill automatically integrates RoleChecker for permission checks and builds consistent pagination semantics across new resources.

What is time-travel support in FastAPI REST APIs?

Time-travel support in FastAPI REST APIs allows querying historical data views using branch and context parameters. The skill implements as_of queries across multiple entities, letting clients retrieve past states of resources alongside standard CRUD operations.

Do I need a standard FastAPI SQLAlchemy project setup to scaffold routes?

Yes, you need a standard FastAPI SQLAlchemy project setup to scaffold routes. The skill requires an existing environment with the provided Route File Template and example entity patterns to generate consistent code matching your project conventions.

Can I add RoleChecker permission checks to existing FastAPI endpoints?

Yes, you can add RoleChecker permission checks to FastAPI endpoints. The skill integrates RoleChecker for secure access patterns across generated routes, ensuring consistent role-based access control validation on create, read, update, and delete operations.

What's the best way to reduce FastAPI boilerplate for new resources?

The best way to reduce FastAPI boilerplate for new resources is generating the full route set from a standard template. The skill scaffolds complete CRUD endpoints with validation, RBAC, and pagination semantics with minimal effort for entities like User or Project.

Why use branch and context parameters in FastAPI route generation?

Branch and context parameters in FastAPI route generation enable time-travel queries for historical data views. The skill supports these parameters alongside as_of queries to maintain consistent semantics when retrieving historical states across multiple entities.