Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/richin13-fastapi-dev
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: backend
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/fastapi-dev
What's inside
- Skill name
fastapi-dev- Description
- FastAPI engineering choices. To be used when asked to "create router", "create crud router", "add new endpoint" or similar in a fastapi codebase.
- License
- MIT
- Instructions
- 33 lines in SKILL.md · view on GitHub
Files (2)
- SKILL.md
- response-schemas.md · references/
SKILL.md (first lines)
# FastAPI development - Always define an application factory (`create_app`) in `<module>/__init__.py` or `<module>/main.py` (prefer the former). - Import routers in app factory and register them via `app.include_router`. Define a helper `_register_routers` function colocated with `create_app`. - Define a custom exceptions module at `<module>/exceptions.py` with a base application error. Then register an exception handler via `@app.exception_handler(BaseAppError)` to return proper JSON responses. - Ensure pydantic's `RequestValidationError` and `ValidationError` are handled too and transformed to a consistent error response format. - All responses use generic envelope schemas (`APIResponse[T]`, `APIListResponse[T]`, `APIErrorResponse`) so the OpenAPI spec surfaces the wrapping. See `references/response-schemas.md`. ## Routers Routers are thin HTTP boundaries. They handle authentication, authorization, query parameter parsing, and response shaping, nothing else. Business logic lives in plain functions called "operations". - Common dependencies are declared as annotated aliases, e.g: - `UseDBSession = t.Annotated[Session, Depends(get_db_session)]` — SQLAlchemy session - `UseSettings = t.Annotated[Settings, Depends(get_settings)]` — Pydantic settings object - Cross-cutting request context is bundled into a single `AppContext` dataclass injected via `Depends`. Adding new cross-cutting concerns (e.g. request ID) means updating the dataclass and its factory, not every operation signature. - Follow the naming pattern `UseX`. If routers start to have many different dependencies, refactor the most common ones to a `UseAppContext`. ## Operations Operations are plain functions (or coroutines) that receive: 1. `ctx: AppContext` as the first argument (or `session` and `settings`) 2. Input data (validated Pydantic schemas) as keyword arguments They handle business logic and external service calls. ### Testing - Override individual dependencies via `app.dependency_overrides` - Operations are tested by calling them directly with a constructed `AppContext`
From richin13/dotfiles, MIT.
More from richin13/dotfiles
- 0.643score
generate-img
richin13
Generate or edit images with OpenAI GPT Image 2.5 (Sunburst/Flare) through a bundled bash script.
SkillAFreshness: A★ 15Claude Code +9 - 0.598score
ste-writing
richin13
Rewrite prose (docs, READMEs, PR descriptions, error messages, release notes, comments — never code) into ASD-STE100 Simplified Technical English to remove…
SkillBFreshness: B★ 15Claude Code +9 - 0.597score
new-feature
richin13
Explicit-only workflow for deep feature exploration.
SkillBFreshness: B★ 15Claude Code +9 - 0.528score
agent-browser
richin13
This skill should be used when the user asks to "open a browser", "navigate to a URL", "test the UI", "check a page", "browse a website", "take a screenshot"…
SkillCFreshness: C★ 15Claude Code +9 - 0.523score
update-pr
richin13
This skill should be used when the user asks to "update the PR", "update PR body", "update PR title", "sync PR description", "update pull request", or wants…
SkillCFreshness: C★ 15Claude Code +9 - 0.518score
grill-me
github.com/mattpocock
Interview the user relentlessly about a plan or design until reaching shared understanding, resolving each branch of the decision tree.
SkillCFreshness: C★ 15Claude Code +9 - 0.485score
github-projects
richin13
Knowledge on how to work with Github projects.
SkillDFreshness: D★ 15Claude Code +9 - 0.463score
incremental-discovery
richin13
This skill should be used when the user asks to "investigate something incrementally", "start a discovery journal", "journal my findings", "explore this step…
SkillDFreshness: D★ 15Claude Code +9
Signals
- Stars
- 15
- Forks
- 5
- Open issues
- 0
- Last commit (this folder)
- May 18, 2026 (5 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/richin13/dotfiles
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from richin13
- 0.643score
generate-img
richin13
Generate or edit images with OpenAI GPT Image 2.5 (Sunburst/Flare) through a bundled bash script.
SkillAFreshness: A★ 15Claude Code +9 - 0.598score
ste-writing
richin13
Rewrite prose (docs, READMEs, PR descriptions, error messages, release notes, comments — never code) into ASD-STE100 Simplified Technical English to remove…
SkillBFreshness: B★ 15Claude Code +9 - 0.597score
new-feature
richin13
Explicit-only workflow for deep feature exploration.
SkillBFreshness: B★ 15Claude Code +9 - 0.528score
agent-browser
richin13
This skill should be used when the user asks to "open a browser", "navigate to a URL", "test the UI", "check a page", "browse a website", "take a screenshot"…
SkillCFreshness: C★ 15Claude Code +9 - 0.523score
update-pr
richin13
This skill should be used when the user asks to "update the PR", "update PR body", "update PR title", "sync PR description", "update pull request", or wants…
SkillCFreshness: C★ 15Claude Code +9 - 0.485score
github-projects
richin13
Knowledge on how to work with Github projects.
SkillDFreshness: D★ 15Claude Code +9
Cite this page
fastapi-dev skill. Agent Mart. https://agentmart.dev/skills/richin13-fastapi-dev (last updated 2026-10-24)