CtrlK
BlogDocsLog inGet started
Tessl Logo

fastapi-router

Create FastAPI routers with CRUD operations, authentication dependencies, and proper response models. Use when building REST API endpoints, creating new routes, implementing CRUD operations, or adding authenticated endpoints in FastAPI applications.

96

1.81x
Quality

93%

Does it follow best practices?

Impact

100%

1.81x

Average score across 3 eval scenarios

SecuritybySnyk

Passed

No known issues

SKILL.md
Quality
Evals
Security

Evaluation results

100%

65%

Blog Post API Router

Authentication patterns and HTTP status codes

Criteria
Without context
With context

Optional auth on list

12%

100%

Optional auth on get

12%

100%

Required auth on create

12%

100%

Required auth on update

12%

100%

Required auth on delete

12%

100%

POST returns 201

100%

100%

DELETE returns 204

100%

100%

PATCH for update

0%

100%

404 on missing resource

100%

100%

Auth imports from correct module

0%

100%

response_model on GET endpoints

0%

100%

100%

Product Catalog API — New Resource Setup

Router file structure and project integration

Criteria
Without context
With context

Router in correct directory

100%

100%

Router prefix /api

100%

100%

Plural resource tag

100%

100%

Three Pydantic model variants

100%

100%

Models in correct module path

100%

100%

Service class created

100%

100%

Service injected via Depends

100%

100%

Service imported from correct path

100%

100%

Router mounted in main.py

100%

100%

Auth from app.auth.jwt

100%

100%

User from app.models.user

100%

100%

100%

70%

Event Listings API

List endpoint pagination and response models

Criteria
Without context
With context

limit default 50

0%

100%

limit ge=1

0%

100%

limit le=100

0%

100%

offset default 0

0%

100%

offset ge=0

0%

100%

List response_model list type

0%

100%

Single item response_model

100%

100%

Optional auth on list

50%

100%

Optional auth on get

50%

100%

Query import used

100%

100%

Pagination documented

20%

100%

Repository
microsoft/agent-skills
Evaluated
Agent
Claude Code
Model
Claude Sonnet 4.6

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.