본문으로 건너뛰기
Skillpedia
API 및 서버 (백엔드)48k · #5547

python-fastapi-development

하는 일

이 가이드는 파이썬과 FastAPI 라이브러리로 빠르고 실서비스에 쓸 수 있는 웹 애플리케이션을 만드는 데 도움을 줍니다. 초기 설정부터 배포까지, 데이터베이스, 보안, 테스트를 포함해 전 과정을 다룹니다.

사용하는 경우

  • ✓FastAPI로 새 웹 API를 만들 때.
  • ✓빠른 속도가 필요한 파이썬 백엔드 시스템을 개발할 때.
  • ✓애플리케이션에 PostgreSQL 같은 데이터베이스를 연결할 때.

스킬 링크

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/python-fastapi-development/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/python-fastapi-development/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“FastAPI로 사용자를 관리하는 파이썬 웹 API를 만들고 싶습니다. 로그인과 회원가입 기능을 넣고, PostgreSQL 데이터베이스와 JWT 인증을 설정해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

단계별로 안내합니다. 먼저 프로젝트를 설정하고, 그다음 데이터베이스, API 경로, 보안을 차례로 만듭니다. 마지막으로 테스트와 배포 방법을 알려 줍니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

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

  1. Set up Python environment (uv/poetry)
  2. Create project structure
  3. Configure FastAPI app
  4. Set up logging
  5. 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

  1. Design database schema
  2. Set up SQLAlchemy models
  3. Create database connection
  4. Configure migrations (Alembic)
  5. 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

  1. Design API endpoints
  2. Create API routers
  3. Implement CRUD operations
  4. Add request validation
  5. 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

  1. Choose auth strategy (JWT, OAuth2)
  2. Implement user registration
  3. Set up login endpoints
  4. Create auth middleware
  5. 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

  1. Create custom exceptions
  2. Set up exception handlers
  3. Implement error responses
  4. Add request logging
  5. 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

  1. Set up pytest
  2. Create test fixtures
  3. Write unit tests
  4. Implement integration tests
  5. 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

  1. Configure OpenAPI schema
  2. Add endpoint documentation
  3. Create usage examples
  4. Set up API versioning
  5. 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

  1. Create Dockerfile
  2. Set up docker-compose
  3. Configure production settings
  4. Set up reverse proxy
  5. 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

…

자주 묻는 질문

FastAPI란 무엇인가요?

파이썬으로 웹 API를 쉽고 빠르게 만들 수 있게 해 주는 최신 도구입니다.

SQLAlchemy란 무엇인가요?

파이썬 코드가 PostgreSQL 같은 관계형 데이터베이스와 대화하도록 돕는 도구입니다.

Pydantic이란 무엇인가요?

API로 들어오고 나가는 데이터를 검증해 올바른 형식인지 확인하는 데 쓰입니다.

상세 정보

작성자의 원본 설명

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

repo: sickn33/agentic-awesome-skills

인기도

GitHub 스타
48k
순위
#5547
라이선스
MIT
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬