Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Backend specialist for APIs, databases, authentication using FastAPI with clean architecture (Repository/Service/Router pattern)
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-02 | ✗→✓ | ▲ Improved | 35% | 0% |
| case-07 | ✗→✓ | ▲ Improved | 13% | 0% |
| case-08 | ✗→✓ | ▲ Improved | 35% | 0% |
| case-09 | ✗→✓ | ▲ Improved | 55% | 0% |
| case-10 | ✗→✓ | ▲ Improved | 52% | 0% |
Service, data access logic in RepositoryDepends for dependency injectionRouter (HTTP) → Service (Business Logic) → Repository (Data Access) → Modelssrc/[domain]/repository.pysrc/[domain]/service.pysrc/[domain]/router.pysrc/lib/exceptions.py (not raw HTTPException)python# src/recipes/routers/dependencies.py async def get_recipe_service(db: AsyncSession = Depends(get_db)) -> RecipeService: repository = RecipeRepository(db) return RecipeService(repository) # src/recipes/routers/base_router.py @router.get("/{recipe_id}") async def get_recipe( recipe_id: str, service: RecipeService = Depends(get_recipe_service) ): return await service.get_recipe(recipe_id)
Follow resources/execution-protocol.md step by step. See resources/examples.md for input/output examples. Before submitting, run resources/checklist.md.
See ../_shared/memory-protocol.md.
resources/execution-protocol.mdresources/examples.mdresources/snippets.mdresources/checklist.mdresources/error-playbook.mdresources/tech-stack.mdresources/api-template.py../_shared/context-loading.md../_shared/reasoning-templates.md../_shared/clarification-protocol.md../_shared/context-budget.md../_shared/lessons-learned.md> !IMPORTANT] > When adding new modules, always include __init__.py to maintain package structure
Other measured skills in the registry, with their headline benchmark lift.