Fastapi
Enforces modern FastAPI/Pydantic conventions: Annotated params, response models, no Ellipsis
Test report
- Verdict
- Tested · Works
- Score
- Tested
- Jul 21, 2026
- Environment
- Claude Code 2.x (agent harness)
- Upstream re-checked
- Aug 10, 2026 · e5eef8a
Located SKILL.md at .claude/skills/fastapi/SKILL.md via GitHub tree; frontmatter has valid name+description. Spot-checked all 3 referenced files (references/dependencies.md, streaming.md, other-tools.md) — all HTTP 200. Wrote a baseline endpoint by default then a skill-following version; diff showed 4 concrete skill-driven changes: switched to Annotated[...] parameter style, dropped Ellipsis Path(...)/Query(None), added a `-> Item` return type, and returned a model instance instead of a bare dict. No security smells (no curl|sh, no secrets exfiltration).
Scored on four weighted criteria — install, triggering, output vs. baseline, docs. How scoring works
- Installs cleanly 5/5
- Triggers reliably 5/5
- Output vs. baseline 8/10
- Docs & honesty 5/5
What Fastapi does
A FastAPI and Pydantic conventions skill that enforces modern patterns: Annotated-style parameter and dependency declarations, response-model return types, no Ellipsis defaults, router-level prefixes/tags, and async-vs-sync guidance. Triggers when writing or refactoring FastAPI endpoints or Pydantic models for them.
How to install Fastapi
git clone --depth 1 https://github.com/ReflexioAI/claude-smart.git /tmp/fastapi-src
mkdir -p ~/.claude/skills
cp -R /tmp/fastapi-src/.claude/skills/fastapi ~/.claude/skills/fastapi
# SKILL.md lands at ~/.claude/skills/fastapi/SKILL.md with references/ (dependencies.md, streaming.md, other-tools.md)
# No external deps or API keys required — it is a prompt/convention skill.
# Note: SKILL.md contains a project-specific note about ./run_services.sh (uvicorn); harmless, patterns are generic.
Skills live in ~/.claude/skills/ (global) or .claude/skills/
(per-project). Restart Claude Code after installing.
Commands — how to trigger Fastapi
-
/fastapiEnforces modern FastAPI/Pydantic conventions: Annotated params, response models, no Ellipsis
It also activates on plain-language prompts like these:
-
Refactor this FastAPI endpoint to current best practices -
Write a new FastAPI route with Pydantic validation -
Update this old FastAPI code to the latest patterns
Frequently asked questions
- Is the Fastapi skill free?
- Yes. The skill itself is free from ReflexioAI/claude-smart. SkillProof publishes the install command and an independent test verdict at no cost.
- Does Fastapi work with Claude Code?
- We tested it with Claude Code 2.x (agent harness) on Jul 21, 2026. Verdict: Tested · Works. Located SKILL.md at .claude/skills/fastapi/SKILL.md via GitHub tree; frontmatter has valid name+description. Spot-checked all 3 referenced files (references/dependencies.md, streaming.md, other-tools.md) — all HTTP 200. Wrote a baseline endpoint by default then a skill-following version; diff showed 4 concrete skill-driven changes: switched to Annotated[...] parameter style, dropped Ellipsis Path(...)/Query(None), added a `-> Item` return type, and returned a model instance instead of a bare dict. No security smells (no curl|sh, no secrets exfiltration).
- What is the Fastapi SkillProof Score?
- 9.2/10 — installs cleanly 5/5, triggers reliably 5/5, output vs. baseline 8/10, docs & honesty 5/5.
- How do I install Fastapi?
- Copy the install command from this page, run it in your terminal, and restart Claude Code. Skills live in ~/.claude/skills/ (global) or .claude/skills/ inside a project.
- Can I use Fastapi with Cursor, Copilot, Gemini CLI, Codex or other AI tools?
- The SKILL.md format is native to Claude (Claude Code, Desktop, claude.ai). The instructions inside adapt to other assistants: Cursor rules, GitHub Copilot instructions, Windsurf rules, Custom GPTs, AGENTS.md for OpenAI Codex, and GEMINI.md for Google Gemini CLI — our conversion guides cover each, and the free converter on the tools page does the wrapping for you.