Install any skill in seconds. Free to start, no credit card required.
Get Started Free →microsoft/fastapi-router-py
Create FastAPI routers with CRUD operations, authentication dependencies, and proper response models.
Passed 22 of 22 test cases with the skill, and 15 of 22 without it.
and 7 more in the full report
7 fixed15 passed either way0 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 7 test cases the skill fixed. Same model, same prompt, with and without the skill.
When adding a new resource router to our FastAPI backend architecture, standard tutorials often suggest placing files directly under `app/api/v1/` and mounting in `app/api.py`. What are the exact relative file paths for router creation and mounting in this codebase?
| Checked | Without skill | With skill |
|---|---|---|
| Specifies src/backend/app/routers/ as the directory path for router files | Missed | Passed |
The instructions your model reads when the skill loads.
Create FastAPI routers following established patterns with proper authentication, response models, and HTTP status codes.
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)# Optional auth - returns None if not authenticated
current_user: Optional[User] = Depends(get_current_user)
# Required auth - raises 401 if not authenticated
current_user: User = Depends(get_current_user_required)
@router.get("/items/{item_id}", response_model=Item)
async def get_item(item_id: str) -> Item:
...
@router.get("/items", response_model=list[Item])
async def list_items() -> list[Item]:
...
@router.post("/items", status_code=status.HTTP_201_CREATED)
async def create_item(item: ItemCreate) -> Item:
...
test cases passed, vs 15 / 22 without
Published skills whose descriptions closely match this one, with their headline benchmark lift.
More skills from the same source and nearby in the registry, with their headline benchmark lift.