
Fastapi Router Py
This handles the boilerplate when you're adding new FastAPI routers to a project that already has conventions in place. It includes a template file with placeholders for resource names, and pushes you toward patterns like proper auth dependencies (optional vs required), explicit response models, and correct status codes for creates and deletes. The workflow assumes you're working in a specific project structure with a backend/app/routers directory and a separate frontend that needs API functions. It's narrow in scope but useful if you're on a team that wants consistency across endpoints without writing the same router setup from scratch every time.
- skills.sh installs
- 124
- GitHub stars
- 39.4K
- last updated
- Jun 3, 2026
Install
$ npx -y skills add sickn33/antigravity-awesome-skills --skill fastapi-router-py --agent claude-codeInstalls into .claude/skills of the current project.
Files
Bundled upstream support
Supporting files are included at skill-relative paths. See UPSTREAM-NOTICE.md for their pinned sources, licenses, hashes, and import changes.
FastAPI Router
Create FastAPI routers following established patterns with proper authentication, response models, and HTTP status codes.
Authorization requirements
The template assumes an author_id owner field; adapt it to the real model before use. Update/delete checks are required, not optional. For non-public resources require authentication and tenant/owner filtering on list/get too, preferably in atomic service queries; authentication alone is not authorization. Test anonymous access, another owner and another tenant against every CRUD route. The placeholder template is not executable Python until substituted and integrated.
Quick Start
Copy the template from assets/template.py and replace placeholders:
{{ResourceName}}→ PascalCase name (e.g.,Project){{resource_name}}→ snake_case name (e.g.,project){{resource_plural}}→ plural form (e.g.,projects)
Authentication Patterns
Sponsors
Details
- Repository
- github.com/sickn33/antigravity-awesome-skills
- Category
- Python
- First seen
- Jun 3, 2026
More from sickn33/antigravity-awesome-skills
All 708- Github Issue Creator124
- Performance Optimizer124
- Warren Buffett124
- Wordpress Woocommerce Development123
- Sqlmap Database Pentesting121
- Agentfolio120
- Appdeploy120
- Asana Automation120
- Fp Ts Pragmatic120
- Android Ui Verification119
- Cloud Devops117
- Notion Automation117
- Fal Upscale116
- Clickup Automation115
- Legacy Modernizer115
- Dx Optimizer113
- Hybrid Cloud Architect113
- Api Fuzzing Bug Bounty
- Broken Authentication
- Burp Suite Testing
- Cross Site Scripting And HTML Injection Testing
- File Path Traversal
- IDOR Vulnerability Testing
- Linux Production Shell Scripts