fastapi-microservices-development — Claude Code skill
Guide for structuring Python microservices using FastAPI, covering dependency injection, asynchronous routes, and service-to-service communication.
npx skills add manutej/luxor-claude-marketplace --skill fastapi-microservices-development -a claude-codeWhat fastapi-microservices-development does
This skill guides service design in Python. It outlines core boundaries, such as one database per service and stateless endpoint design. It provides practical patterns for resource modeling with Pydantic and CRUD operations with standard status codes.
The reference details when to choose async def over standard def routines. It shows how to share authentication logic and parameters using FastAPI's Depends system. For service communication, the skill implements external HTTP calls through httpx with fallback error handling.
The guide requires Python 3.7 or newer. When using synchronous database drivers, standard functions are preferred to keep event loops unblocked.
What it helps with
- structure isolated microservices following the single responsibility principle
- configure dependency injection with
Dependsto share request logic - handle network communication between services using
httpx - write REST CRUD routes paired with Pydantic models
Example prompts for the agent
- Build a set of FastAPI CRUD endpoints for an inventory service using Pydantic schemas.
- Write an async client call using httpx to query an external service with error handling.
- Create a shared dependency with Depends to validate query parameters across multiple endpoints.
How to install fastapi-microservices-development
1Skills CLI (Vercel)
npx skills add manutej/luxor-claude-marketplace --skill fastapi-microservices-development -a claude-code2Manually: put the files in place
~/.claude/skills/fastapi-microservices-development/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/fastapi-microservices-development/
1Skills CLI (Vercel)
npx skills add manutej/luxor-claude-marketplace --skill fastapi-microservices-development -a codex2Manually: put the files in place
.agents/skills/fastapi-microservices-development/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add manutej/luxor-claude-marketplace --skill fastapi-microservices-development -a cursor2Manually: put the files in place
.cursor/skills/fastapi-microservices-development/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install manutej/luxor-claude-marketplace fastapi-microservices-development2Manually: put the files in place
.github/skills/fastapi-microservices-development/SKILL.md1Skills CLI (Vercel)
npx skills add manutej/luxor-claude-marketplace --skill fastapi-microservices-development -a gemini-cli2Platform CLI
gemini skills install https://github.com/manutej/luxor-claude-marketplace --path plugins/luxor-backend-toolkit/skills/fastapi-microservices-developmentManually: put the files in place
.devin/skills/fastapi-microservices-development/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add manutej/luxor-claude-marketplace --skill fastapi-microservices-development -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about fastapi-microservices-development
How to install fastapi-microservices-development in Claude Code?
Run npx skills add manutej/luxor-claude-marketplace --skill fastapi-microservices-development -a claude-code in your terminal. It sets up the skill under ~/.claude/skills/fastapi-microservices-development/SKILL.md.
What does fastapi-microservices-development do?
It provides guidelines and patterns for building scalable FastAPI backends. The instructions focus on async handling, dependency injection, and REST resource design.
When does the guide suggest using regular def instead of async def?
Regular def handlers should be used with blocking database drivers or CPU-heavy tasks that do not await non-blocking I/O operations.