Use when writing, reviewing, or refactoring FastAPI/Python backend code. Triggers on FastAPI endpoints, Pydantic models, SQLAlchemy queries, async Python code, or Python API architecture. Contains 38 architectural rules across 8 categories.
Enforces FastAPI and Python backend best practices for async code, dependency injection, and database patterns.
/plugin marketplace add brite-nites/brite-claude-plugins/plugin install workflows@brite-claude-pluginsThis skill inherits all available tools. When active, it can use any tool Claude has access to.
AGENTS.mdArchitectural patterns and performance guide for FastAPI, Pydantic v2, and SQLAlchemy 2.0 applications. Contains 38 rules across 8 categories, prioritized by impact. Focuses on patterns that linters cannot catch — async correctness, dependency injection, session management, schema design.
Reference these guidelines when:
| Priority | Category | Impact | Prefix | Rules |
|---|---|---|---|---|
| 1 | Async Correctness | CRITICAL | async- | 5 |
| 2 | Dependency Injection | CRITICAL | di- | 5 |
| 3 | Database Patterns | HIGH | db- | 6 |
| 4 | Pydantic Models | HIGH | pydantic- | 5 |
| 5 | Error Handling | MEDIUM-HIGH | error- | 4 |
| 6 | API Design | MEDIUM | api- | 5 |
| 7 | Testing Patterns | MEDIUM | test- | 4 |
| 8 | Project Structure | LOW-MEDIUM | structure- | 4 |
async-no-blocking - Never call blocking I/O in async endpointsasync-gather-parallel - Use asyncio.gather for independent async callsasync-taskgroup - Use TaskGroup for structured concurrency with error handlingasync-connection-pool - Configure async connection pools, don't create per-requestasync-sync-in-threadpool - Run sync code in threadpool when unavoidabledi-yield-dependencies - Use yield for setup/teardown lifecycledi-annotated-depends - Use Annotated[T, Depends()] for reusable type aliasesdi-caching - Understand use_cache behavior for request-scoped singletonsdi-class-dependencies - Group related dependencies in injectable classesdi-no-global-state - Never use module-level mutable state, inject insteaddb-session-dependency - Provide sessions via DI with proper commit/rollbackdb-n-plus-one - Prevent N+1 with selectinload/joinedloaddb-async-session - Use AsyncSession with async enginedb-transaction-boundaries - Explicit transaction scoping per operationdb-reversible-migrations - Every Alembic migration must have a downgradedb-select-api - Use select() API, not legacy Querypydantic-separate-schemas - Separate Create/Read/Update schemas per resourcepydantic-field-validators - Use field_validator and model_validator correctlypydantic-base-settings - Use BaseSettings for environment configurationpydantic-model-config - Use model_config dict, not inner class Configpydantic-v2-serialization - Use model_dump/model_validate, not dict/parse_objerror-exception-handlers - Register app-wide exception handlerserror-structured-responses - Consistent error response schemaerror-http-exception - Use HTTPException with appropriate status codeserror-validation-errors - Customize Pydantic validation error formatapi-router-organization - One router per domain with tags and prefixesapi-response-model - Always declare response_model on endpointsapi-lifespan - Use lifespan context manager, not on_eventapi-middleware-order - Understand middleware execution order (LIFO)api-versioning - Version APIs via URL prefixtest-async-client - Use httpx.AsyncClient with ASGITransporttest-dependency-overrides - Override dependencies for isolated testingtest-factories - Use factory functions or factory_boy for test datatest-db-isolation - Transaction rollback between tests for isolationstructure-domain-packages - Organize by domain, not by layerstructure-config-module - Centralize configuration in a settings modulestructure-init-exports - Use init.py for clean public APIsstructure-alembic-setup - Configure Alembic with async support and naming conventionsFor Ruff, mypy, Black, and other tooling configuration, see the code-quality skill. This skill covers architectural patterns only.
For the complete guide with all rules expanded and code examples: AGENTS.md
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists' work to avoid copyright violations.
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.
Create beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations.