fastapi-expert
Skill12k starsChanged 11 months agoMITView on GitHub
Use when building high-performance async Python APIs with FastAPI and Pydantic V2. Invoke to create REST endpoints, define Pydantic models, implement authentication flows, set up async SQLAlchemy database operations, add JWT authentication, build WebSocket endpoints, or generate OpenAPI documentation. Trigger terms: FastAPI, Pydantic, async Python, Python API, REST API Python, SQLAlchemy async, JWT authentication, OpenAPI, Swagger Python.
- Reads credentials
9 other projects use a version of this, 6 of them edited.
Trending
More talk lately.about the whole repository
Most recently taken up by
- IAbuElRuzz/AgentSkillsedited, first seen Sep 16, 2026
- peakdong68/my-skillsedited, first seen Aug 29, 2026
- Aarvion-AI/stackwise-skillstheir own version, first seen Aug 25, 2026
- Leo-Atienza/atlas-claudeedited, first seen Jul 24, 2026
- james-paul25/claude-skilledited, first seen Jul 11, 2026
- codeApe-7/ai-agent-workflowGroupedited, first seen Jun 6, 2026
Who's talking about Jeffallan/claude-skills
- @ponceto91.bsky.social“Si vous cherchez des skills pour Claude Code, voici un dépôt qui vous sera certainement très utile ⬇️ …”Bluesky · Mar 7, 2026 · 56 likes
- @camilleroux.com“Transformez Claude Code en pair programmer expert avec ces 66 skills spécialisées : backend, frontend, …”Bluesky · Mar 17, 2026 · 9 likes
- @jeffallan.bsky.social“My claude-skills repo reached 110 ⭐ today 65 skills and 9 workflows I use for work every day. Deeply …”Bluesky · Jan 26, 2026 · 5 likes
- @jeffallan.bsky.social“github.com/Jeffallan/claude-skills v0.4.2 is out! This release wouldn't have happened without our …”Bluesky · Jan 29, 2026 · 3 likes
- @pythonhub.dev“Jeffallan / claude-skills 66 Specialized Skills for Full-Stack Developers. Transform Claude Code into your …”Bluesky · Mar 5, 2026 · 2 likes
The biggest 5 of 42 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 42
Talked about on GitHub, Bluesky and Hacker News (42 times).
On GitHub · 35
- Oct 4, 2026claude-code-plugins.github.jeffallan.claude-skills: init at 0.4.18 — sudosubin/agents.nix0 reactions
- Oct 4, 2026chore: sync upstream skills (auto) — marcioaltoe/skills0 reactions
- Oct 3, 2026agent-skills.github.jeffallan.claude-skills: 0.4.16 → 0.4.18 — sudosubin/agents.nix0 reactions
- Sep 29, 2026Add The Fool and The Jury as optional discovery skills — WolvenTech/wolven-harness0 reactions
- Sep 28, 2026agent-skills.github.jeffallan.claude-skills: init at 0.4.16 — sudosubin/agents.nix0 reactions
30 more on GitHub
- Sep 21, 2026feat(skills): ship golang-pro from thismoon — mad01/thismoon0 reactions
- Sep 17, 2026feat(pkgs): add jeffallan/claude-skills plugin — agent-stacks/agent-pkgs0 reactions
- Sep 17, 2026Update skill: /jeffallan-typescript-pro (safe risk) — aiskillstore/marketplace0 reactions
- Sep 7, 2026Safeword's own skill installer doesn't meet the dependency-vetting standard it just added for customers — ArcadeAI/safeword0 reactions
- Jul 18, 2026Solve problem 4 — gaarutyunov/skill-test0 reactions
- Jul 17, 2026Jamison's Recommendations — jpziller/DataMigration0 reactions
- Jul 13, 2026Fix 19 skills misplaced in personal/ despite external origin (bucket-placement drift) — Tyler-Reagan/skills-bank0 reactions
- Jul 9, 2026Register the-fool critical-reasoning managed skill — dennisofficial/atlas0 reactions
- Apr 6, 2026Audit candidate: Jeffallan/claude-skills — xiaolai/nlpm0 reactions · 3 comments
- Mar 22, 2026[BUG] Many skills missing nested files — sickn33/agentic-awesome-skills0 reactions · 1 comment
- Mar 19, 2026feat: prompt manager — gohypergiant/agent-skills0 reactions · 3 comments
- Mar 12, 2026Pixel Agents: pixel-style marketplace, live dashboard, auto-hire, and Next.js CVE fixes — ajay-sai/Pixel-agents0 reactions · 1 comment
- Mar 12, 2026Pixel Market: AI agent marketplace with animated pixel-art characters, AGOR canvas, skills library, and Claude Code plugin — ajay-sai/Pixel-agents0 reactions · 4 comments
- Mar 12, 2026Update ReadMe And SKILL.md — tkestack/tke-skill0 reactions
- Mar 11, 2026Claude skills — nova-firefly/nova-config0 reactions
- Mar 10, 2026[SUBMISSION] Jeffallan/claude-skills — ProSkillsMD/proskills0 reactions
- Mar 9, 2026[SUBMISSION] claude-skills — ProSkillsMD/proskills0 reactions · 2 comments
- Mar 9, 2026[SUBMISSION] Jeffallan/claude-skills — ProSkillsMD/proskills0 reactions · 4 comments
- Feb 14, 2026New skill: /jeffallan-laravel-specialist (safe risk) — aiskillstore/marketplace0 reactions
- Feb 13, 2026New skill: /jeffallan-laravel-specialist (safe risk) — aiskillstore/marketplace0 reactions
- Feb 7, 2026New skill: /jeffallan-golang-pro (low risk) — aiskillstore/marketplace0 reactions
- Feb 7, 2026New skill: /jeffallan-flutter-expert (safe risk) — aiskillstore/marketplace0 reactions
- Feb 5, 2026Add resource: Fullstack Dev Skills — hesreallyhim/awesome-claude-code0 reactions
- Jan 25, 2026feat: add 65 specialized skills to enhance Claude capabilities — stevengaltau-cpu/claude-code-action0 reactions
- Jan 19, 2026Add skill: jeffallan/claude-skills — jqueryscript/awesome-claude-code0 reactions
- Jan 19, 2026Add claude-skills collection and workflow commands — ComposioHQ/awesome-claude-skills0 reactions
- Jan 19, 2026Add skill: jeffallan/claude-skills — VoltAgent/awesome-agent-skills0 reactions
- Jan 19, 2026Adds jeffallan/claude-skills collection and workflow commands — BehiSecc/awesome-claude-skills0 reactions
- Jan 19, 2026[Resource]: jeffallan/claude-skills — hesreallyhim/awesome-claude-code0 reactions · 5 comments
- Jan 19, 2026Recommend: Claude Skills (Fullstack Dev Skills) — hesreallyhim/awesome-claude-code0 reactions · 1 comment
On Bluesky · 6
- Mar 7, 2026Si vous cherchez des skills pour Claude Code, voici un dépôt qui vous sera certainement très utile ⬇️ github.com/Jeffallan/cl... — @ponceto91.bsky.social56 likes and reposts · 5 replies
- Mar 17, 2026Transformez Claude Code en pair programmer expert avec ces 66 skills spécialisées : backend, frontend, infra, sécu, testing...… — @camilleroux.comsays it tested it9 likes and reposts · 1 reply
- Jan 26, 2026My claude-skills repo reached 110 ⭐ today 65 skills and 9 workflows I use for work every day. Deeply honored to have built something others… — @jeffallan.bsky.social5 likes and reposts
- Jan 29, 2026github.com/Jeffallan/claude-skills v0.4.2 is out! This release wouldn't have happened without our contributors: github.com/thomassamoul… — @jeffallan.bsky.social3 likes and reposts
- Mar 5, 2026Jeffallan / claude-skills 66 Specialized Skills for Full-Stack Developers. Transform Claude Code into your expert pair programmer.… — @pythonhub.dev2 likes and reposts
1 more on Bluesky
- Feb 10, 2026📦 Jeffallan / claude-skills ⭐ 532 (+33) 🗒 Python 65 Specialized Skills for Full-Stack Developers. Transform Claude Code into your expert… — @github-trending.bsky.social1 likes and repost
On Hacker News · 1
- Feb 5, 2026Show HN: Claude Skills. Try vibe engineering instead of vibe coding1 point · 1 comment
Other versions9 projects use a version of this.
Word for word · 0
None found.
Edited · 6
- codeApe-7/ai-agent-workflowGroup★ 17100% same
- Leo-Atienza/atlas-claude★ 4100% same
- IAbuElRuzz/AgentSkills★ 1100% same
- james-paul25/claude-skill★ 099% same
- peakdong68/my-skills★ 099% same
- usmanmubarak1/ClaudeSkilledAgents★ 079% same
Wrote their own version · 3
- martinholovsky/claude-skills-generator★ 47same name
- Aarvion-AI/stackwise-skills★ 5same name
- SKB3002/agenthub★ 4same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository67 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- angular-architectSkill
- api-designerSkill
- architecture-designerSkill
- atlassian-mcpSkill
- chaos-engineerSkill
- cli-developerSkill
- cloud-architectSkill
- code-documenterSkill
- code-reviewerSkill
- cpp-proSkill
- csharp-developerSkill
- database-optimizerSkill
- debugging-wizardSkill
- devops-engineerSkill
- django-expertSkill
- django-storages-s3Skill
- dotnet-core-expertSkill
- embedded-systemsSkill
- feature-forgeSkill
- fine-tuning-expertSkill
- flutter-expertSkill
- fullstack-guardianSkill
- game-developerSkill
- golang-proSkill
- graphql-architectSkill
- java-architectSkill
- javascript-proSkill
- kotlin-specialistSkill
- kubernetes-specialistSkill
- laravel-specialistSkill
- legacy-modernizerSkill
- mcp-developerSkill
- microservices-architectSkill
- ml-pipelineSkill
- monitoring-expertSkill
- nestjs-expertSkill
- nextjs-developerSkill
- pandas-proSkill
- php-proSkill
- playwright-expertSkill
- postgres-proSkill
- prompt-engineerSkill
- python-proSkill
- rag-architectSkill
- rails-expertSkill
- react-expertSkill
- react-native-expertSkill
- rust-engineerSkill
- salesforce-developerSkill
- secure-code-guardianSkill
- security-reviewerSkill
- shopify-expertSkill
- spark-engineerSkill
- spec-minerSkill
- spring-boot-engineerSkill
- sql-proSkill
- sre-engineerSkill
- swift-expertSkill
- terraform-engineerSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
9 rules. 5 are common, 0 are distinctive, and 4 are very specific to this project.
5
Common
Most of the 9 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Common: line 159
Use type hints everywhere (FastAPI requires them)
- Very specific: line 160
Use Pydantic V2 syntax (field_validator, model_validator, model_config)
- Very specific: line 161
Use Annotated pattern for dependency injection
- Common: line 162
Use async/await for all I/O operations
- Very specific: line 163
Use X | None instead of Optional[X]
- Common: line 165
Document endpoints (auto-generated OpenAPI)
- Common: line 168
Use synchronous database operations
- Very specific: line 172
Use Pydantic V1 syntax (@validator, class Config)
- Common: line 178
When implementing FastAPI features, provide:
“Common” is measured: kept by at least 6 in 10 of the 9 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
FastAPI Expert
Deep expertise in async Python, Pydantic V2, and production-grade API development with FastAPI.
When to Use This Skill
- Building REST APIs with FastAPI
- Implementing Pydantic V2 validation schemas
- Setting up async database operations
- Implementing JWT authentication/authorization
- Creating WebSocket endpoints
- Optimizing API performance
Core Workflow
- Analyze requirements — Identify endpoints, data models, auth needs
- Design schemas — Create Pydantic V2 models for validation
- Implement — Write async endpoints with proper dependency injection
- Secure — Add authentication, authorization, rate limiting
- Test — Write async tests with pytest and httpx; run
pytestafter each endpoint group and verify OpenAPI docs at/docs
Checkpoint after each step: confirm schemas validate correctly, endpoints return expected HTTP status codes, and
/docsreflects the intended API surface before proceeding.
Minimal Complete Example
Schema + endpoint + dependency injection in one cohesive unit:
# schemas.py
from pydantic import BaseModel, EmailStr, field_validator, model_config
class UserCreate(BaseModel):
model_config = model_config(str_strip_whitespace=True)
email: EmailStr
password: str
name: str | None = None
@field_validator("password")
@classmethod
def password_strength(cls, v: str) -> str:
if len(v) < 8:
raise ValueError("Password must be at least 8 characters")
return v
class UserResponse(BaseModel):
model_config = model_config(from_attributes=True)
id: int
email: EmailStr
name: str | None = None# routers/users.py
from fastapi import APIRouter, Depends, HTTPException, status
from sqlalchemy.ext.asyncio import AsyncSession
from typing import Annotated
from app.database import get_db
from app.schemas import UserCreate, UserResponse
from app import crud
router = APIRouter(prefix="/users", tags=["users"])
DbDep = Annotated[AsyncSession, Depends(get_db)]
@router.post("/", response_model=UserResponse, status_code=status.HTTP_201_CREATED)
async def create_user(payload: UserCreate, db: DbDep) -> UserResponse:
existing = await crud.get_user_by_email(db, payload.email)
if existing:
raise HTTPException(status_code=status.HTTP_409_CONFLICT, detail="Email already registered")
return await crud.create_user(db, payload)# crud.py
from sqlalchemy import select
from sqlalchemy.ext.asyncio import AsyncSession
from app.models import User
from app.schemas import UserCreate
from app.security import hash_password
async def get_user_by_email(db: AsyncSession, email: str) -> User | None:
result = await db.execute(select(User).where(User.email == email))
return result.scalar_one_or_none()
async def create_user(db: AsyncSession, payload: UserCreate) -> User:
user = User(email=payload.email, hashed_password=hash_password(payload.password), name=payload.name)
db.add(user)
await db.commit()
await db.refresh(user)
return userJWT Authentication Snippet
# security.py
from datetime import datetime, timedelta, timezone
from jose import JWTError, jwt
from fastapi import Depends, HTTPException, status
from fastapi.security import OAuth2PasswordBearer
from typing import Annotated
SECRET_KEY = "read-from-env" # use os.environ / settings
ALGORITHM = "HS256"
oauth2_scheme = OAuth2PasswordBearer(tokenUrl="/auth/token")
def create_access_token(subject: str, expires_delta: timedelta = timedelta(minutes=30)) -> str:
payload = {"sub": subject, "exp": datetime.now(timezone.utc) + expires_delta}
return jwt.encode(payload, SECRET_KEY, algorithm=ALGORITHM)
async def get_current_user(token: Annotated[str, Depends(oauth2_scheme)]) -> str:
try:
data = jwt.decode(token, SECRET_KEY, algorithms=[ALGORITHM])
subject: str | None = data.get("sub")
if subject is None:
raise ValueError
return subject
except (JWTError, ValueError):
raise HTTPException(status_code=status.HTTP_401_UNAUTHORIZED, detail="Invalid credentials")
CurrentUser = Annotated[str, Depends(get_current_user)]Reference Guide
Load detailed guidance based on context:
| Topic | Reference | Load When |
| Pydantic V2 | references/pydantic-v2.md | Creating schemas, validation, model_config |
| SQLAlchemy | references/async-sqlalchemy.md | Async database, models, CRUD operations |
| Endpoints | references/endpoints-routing.md | APIRouter, dependencies, routing |
| Authentication | references/authentication.md | JWT, OAuth2, get_current_user |
| Testing | references/testing-async.md | pytest-asyncio, httpx, fixtures |
| Django Migration | references/migration-from-django.md | Migrating from Django/DRF to FastAPI |
Constraints
MUST DO
- Use type hints everywhere (FastAPI requires them)
- Use Pydantic V2 syntax (
field_validator,model_validator,model_config) - Use
Annotatedpattern for dependency injection - Use async/await for all I/O operations
- Use
X | Noneinstead ofOptional[X] - Return proper HTTP status codes
- Document endpoints (auto-generated OpenAPI)
MUST NOT DO
- Use synchronous database operations
- Skip Pydantic validation
- Store passwords in plain text
- Expose sensitive data in responses
- Use Pydantic V1 syntax (
@validator,class Config) - Mix sync and async code improperly
- Hardcode configuration values
Output Templates
When implementing FastAPI features, provide:
- Schema file (Pydantic models)
- Endpoint file (router with endpoints)
- CRUD operations if database involved
- Brief explanation of key decisions
Knowledge Reference
FastAPI, Pydantic V2, async SQLAlchemy, Alembic migrations, JWT/OAuth2, pytest-asyncio, httpx, BackgroundTasks, WebSockets, dependency injection, OpenAPI/Swagger
Maintained by @jeffallan, Principal Consultant at Synergetic Solutions
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

