Skills Plugins MCP Prompt Model 博客 我的中心
開発 #python #api

python-fastapi-development

Python FastAPI backend development with async patterns, SQLAlchemy, Pydantic, authentication, and production API patterns.

DeepseekModel キュレーション済みスキル 品質 良好 · 64 v1.0.0

取得

https://deepseekmodel.com/api/download.php?id=bouclem-skills-skills-languages-python-001-python-fastapi-development-skill-md&format=skill
ダウンロード .skill 標準形式。system_prompt と model_config を収録し、任意の Agent で利用可能
.skill ファイルの system_prompt フィールドの実際の内容。
name python-fastapi-development description Python FastAPI backend development with async patterns, SQLAlchemy, Pydantic, authentication, and production API patterns. category granular-workflow-bundle risk safe source personal date_added 2026-02-27 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 scaffolding python-development-python-scaffold - Python scaffolding fastapi-templates - FastAPI templates uv-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 design postgresql - PostgreSQL setup pydantic-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 routers api-design-principles - API design api-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 - Authentication api-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 patterns error-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 testing api-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 documentation openapi-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 - Deployment docker-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 development database - Database operations security-audit - Security testing api-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.
このスキルを起動するキーワード。クリックでコピーできます。

このスキルにはトリガーワードがありません。

ダウンロードした .skill に含まれるフィールド。
フィールド 説明
formatフォーマット識別子(skill/v1)
skill_idスキル固有 ID
nameスキル名
versionバージョン
description説明
categoryカテゴリ(配列)
trigger_wordsトリガーワード
tagsタグ
sourceソース
source_urlソース URL(本ページ)
exported_atエクスポート日時(ダウンロード毎)
system_promptシステムプロンプト本文
model_configモデル設定:provider / model / temperature / max_tokens / top_p
examplesサンプル
install_guide各プラットフォームの導入説明(Coze / Dify / Claude / カスタム)
同じスキルを各プラットフォーム形式で出力できます。
.skill 標準形式。system_prompt と model_config を収録し、任意の Agent で利用可能 ダウンロード
.skillpro 拡張形式。scripts / tools / dependencies / hooks を含む ダウンロード
.json 純粋な JSON 出力。system_prompt とモデル設定のみ ダウンロード
Coze frontmatter 付き Markdown。Coze へのインポート用 ダウンロード
Dify Dify DSL。アプリ作成後にそのままインポート ダウンロード

每日精选 Skill 推荐,免费送到你邮箱

输入邮箱,每天接收一个精选 AI Agent 技能推荐。完全免费,持续更新。

验证码 --

提交后我们会发送一封确认邮件,点击邮件里的链接才会开始收信。

完全免费,取消任意时间。我们不会发送垃圾邮件。