backend-development
Backend Development Skill
This skill provides comprehensive guidance for backend development in the Polar codebase, covering REST API design, FastAPI implementation, SQLAlchemy patterns, and backend conventions.
Scope
This skill assists with:
- REST API Design: Endpoint structure, naming conventions, HTTP methods
- Schema Development: Pydantic model creation following Polar conventions
- Service Layer: Business logic implementation and exception handling
- Repository Layer: Database access patterns and SQLAlchemy usage
- Authentication: AuthSubject system and scope-based access control
- Testing: Test structure, fixtures, and mocking patterns
Key Principles
- REST API Consistency: Follow Polar's REST API guidelines for endpoint design, schema structure, and response formats
- Modular Architecture: Maintain the established modular structure with endpoints, services, repositories, and schemas
More from polarsource/polar
local-environment
Local development environment management for Polar using Docker
76vercel-react-best-practices
React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.
62handbook-backend-development
A skill to add a new entry in the section "Backend Development" of the Polar Handbook. Those entries are there to explain concepts, tooling and best practices related to backend development, and are meant to be read by Polar developers.
34interview-task
Prepare an interview task for a candidate, as part of our hiring process.
4add-locale
Add a new translation locale to the Polar frontend. Walks through registering the locale, generating translations, wiring the generated file into the i18n package, and updating the public-facing docs. Expects the target locale's ISO 639-1 alpha-2 code (optionally with a BCP-47 region suffix, e.g. `pt-PT`).
1