]> git.ipfire.org Git - thirdparty/fastapi/fastapi.git/commitdiff
📝 Add Library Skills documentation (#16041)
authorSebastián Ramírez <tiangolo@gmail.com>
Thu, 23 Jul 2026 18:52:31 +0000 (20:52 +0200)
committerGitHub <noreply@github.com>
Thu, 23 Jul 2026 18:52:31 +0000 (20:52 +0200)
docs/en/docs/tutorial/index.md

index c7f3c899f6094785f1e985ffb70a0c4120494b3e..6a9f44b4a6ddbf199b427d2ccc4adab847be897c 100644 (file)
@@ -112,6 +112,24 @@ Read the [Virtual Environments guide](https://tiangolo.com/guides/virtual-enviro
 
 ///
 
+## AI Agent Skills { #ai-agent-skills }
+
+FastAPI includes an official skill for AI coding agents. It is bundled with the package, so its guidance stays aligned with the version of FastAPI installed in your project and updates when you update FastAPI.
+
+After installing FastAPI in your project, you can install the skill with <a href="https://library-skills.io">Library Skills</a>:
+
+```bash
+uvx library-skills
+```
+
+/// note
+
+`uvx` is an alias for `uv tool run`. It runs Library Skills in a temporary, isolated environment while Library Skills scans the packages installed in your project.
+
+///
+
+The skill is compatible with Codex, Claude Code, Cursor, GitHub Copilot, Gemini CLI, Pi, OpenCode, and most other coding agents. For Claude Code, select `.claude/skills` when asked where to install the skill.
+
 ## Advanced User Guide { #advanced-user-guide }
 
 There is also an **Advanced User Guide** that you can read later after this **Tutorial - User Guide**.