🛠️ Python Fastapi Development
PythonのWebフレームワーク「FastAPI」を使い、
📺 まず動画で見る(YouTube)
▶ 【衝撃】最強のAIエージェント「Claude Code」の最新機能・使い方・プログラミングをAIで効率化する超実践術を解説! ↗
※ jpskill.com 編集部が参考用に選んだ動画です。動画の内容と Skill の挙動は厳密には一致しないことがあります。
📜 元の英語説明(参考)
Python FastAPI backend development with async patterns, SQLAlchemy, Pydantic, authentication, and production API patterns.
🇯🇵 日本人クリエイター向け解説
PythonのWebフレームワーク「FastAPI」を使い、
※ jpskill.com 編集部が日本のビジネス現場向けに補足した解説です。Skill本体の挙動とは独立した参考情報です。
⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。
🎯 このSkillでできること
下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。
📦 インストール方法 (3ステップ)
- 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
- 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
- 3. 展開してできたフォルダを、ホームフォルダの
.claude/skills/に置く- · macOS / Linux:
~/.claude/skills/ - · Windows:
%USERPROFILE%\.claude\skills\
- · macOS / Linux:
Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。
詳しい使い方ガイドを見る →- 最終更新
- 2026-05-17
- 取得日時
- 2026-05-17
- 同梱ファイル
- 1
💬 こう話しかけるだけ — サンプルプロンプト
- › Python Fastapi Development を使って、最小構成のサンプルコードを示して
- › Python Fastapi Development の主な使い方と注意点を教えて
- › Python Fastapi Development を既存プロジェクトに組み込む方法を教えて
これをClaude Code に貼るだけで、このSkillが自動発動します。
📖 Claude が読む原文 SKILL.md(中身を展開)
この本文は AI(Claude)が読むための原文(英語または中国語)です。日本語訳は順次追加中。
Python/FastAPI Development Workflow
Overview
Specialized workflow for building production-ready Python backends with FastAPI, featuring async patterns, SQLAlchemy ORM, Pydantic validation, and comprehensive API patterns.
When to Use This Workflow
Use this workflow when:
- Building new REST APIs with FastAPI
- Creating async Python backends
- Implementing database integration with SQLAlchemy
- Setting up API authentication
- Developing microservices
Workflow Phases
Phase 1: Project Setup
Skills to Invoke
app-builder- Application scaffoldingpython-development-python-scaffold- Python scaffoldingfastapi-templates- FastAPI templatesuv-package-manager- Package management
Actions
- Set up Python environment (uv/poetry)
- Create project structure
- Configure FastAPI app
- Set up logging
- Configure environment variables
Copy-Paste Prompts
Use @fastapi-templates to scaffold a new FastAPI project
Use @python-development-python-scaffold to set up Python project structure
Phase 2: Database Setup
Skills to Invoke
prisma-expert- Prisma ORM (alternative)database-design- Schema designpostgresql- PostgreSQL setuppydantic-models-py- Pydantic models
Actions
- Design database schema
- Set up SQLAlchemy models
- Create database connection
- Configure migrations (Alembic)
- Set up session management
Copy-Paste Prompts
Use @database-design to design PostgreSQL schema
Use @pydantic-models-py to create Pydantic models for API
Phase 3: API Routes
Skills to Invoke
fastapi-router-py- FastAPI routersapi-design-principles- API designapi-patterns- API patterns
Actions
- Design API endpoints
- Create API routers
- Implement CRUD operations
- Add request validation
- Configure response models
Copy-Paste Prompts
Use @fastapi-router-py to create API endpoints with CRUD operations
Use @api-design-principles to design RESTful API
Phase 4: Authentication
Skills to Invoke
auth-implementation-patterns- Authenticationapi-security-best-practices- API security
Actions
- Choose auth strategy (JWT, OAuth2)
- Implement user registration
- Set up login endpoints
- Create auth middleware
- Add password hashing
Copy-Paste Prompts
Use @auth-implementation-patterns to implement JWT authentication
Phase 5: Error Handling
Skills to Invoke
fastapi-pro- FastAPI patternserror-handling-patterns- Error handling
Actions
- Create custom exceptions
- Set up exception handlers
- Implement error responses
- Add request logging
- Configure error tracking
Copy-Paste Prompts
Use @fastapi-pro to implement comprehensive error handling
Phase 6: Testing
Skills to Invoke
python-testing-patterns- pytest testingapi-testing-observability-api-mock- API testing
Actions
- Set up pytest
- Create test fixtures
- Write unit tests
- Implement integration tests
- Configure test database
Copy-Paste Prompts
Use @python-testing-patterns to write pytest tests for FastAPI
Phase 7: Documentation
Skills to Invoke
api-documenter- API documentationopenapi-spec-generation- OpenAPI specs
Actions
- Configure OpenAPI schema
- Add endpoint documentation
- Create usage examples
- Set up API versioning
- Generate API docs
Copy-Paste Prompts
Use @api-documenter to generate comprehensive API documentation
Phase 8: Deployment
Skills to Invoke
deployment-engineer- Deploymentdocker-expert- Containerization
Actions
- Create Dockerfile
- Set up docker-compose
- Configure production settings
- Set up reverse proxy
- Deploy to cloud
Copy-Paste Prompts
Use @docker-expert to containerize FastAPI application
Technology Stack
| Category | Technology |
|---|---|
| Framework | FastAPI |
| Language | Python 3.11+ |
| ORM | SQLAlchemy 2.0 |
| Validation | Pydantic v2 |
| Database | PostgreSQL |
| Migrations | Alembic |
| Auth | JWT, OAuth2 |
| Testing | pytest |
Quality Gates
- [ ] All tests passing (>80% coverage)
- [ ] Type checking passes (mypy)
- [ ] Linting clean (ruff, black)
- [ ] API documentation complete
- [ ] Security scan passed
- [ ] Performance benchmarks met
Related Workflow Bundles
development- General developmentdatabase- Database operationssecurity-audit- Security testingapi-development- API patterns
Limitations
- Use this skill only when the task clearly matches the scope described above.
- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.