1---2name: tryboy869-dojutsu-for-ai-py-fast-api-cursorrules3description: py-fast-api4---56# py-fast-api78---9description: Specific guidelines for FastAPI application structure and setup in the main application file.10globs: **/main.py11---12- Use functional components (plain functions) and Pydantic models for input validation and response schemas.13- Use declarative route definitions with clear return type annotations.14- Use def for synchronous operations and async def for asynchronous ones.15- Minimize @app.on_event("startup") and @app.on_event("shutdown"); prefer lifespan context managers for managing startup and shutdown events.16- Use middleware for logging, error monitoring, and performance optimization.1718---19> Source: [Tryboy869/dojutsu-for-ai](https://github.com/Tryboy869/dojutsu-for-ai) — distributed by [TomeVault](https://tomevault.io).20<!-- tomevault:4.0:skill_md:2026-05-23 -->
Run npx skillmds@latest add tomevault-io/tryboy869-dojutsu-for-ai-py-fast-api-cursorrules in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
py-fast-api It is listed under Integrations & APIs on SkillMD.
This skill has not completed SkillMD's automated safety review yet. Independent scanners report: SkillSpector: PASS, Skill Scanner: PASS. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
tomevault-io (@tomevault-io) published this skill. Their other Agent Skills are listed on their SkillMD profile.