Token导航 LogoToken导航

Agent Skill · 运维和基础设施

python-fastapi-development(Python FastAPI 开发)

用于辅助 Python 项目开发、测试、依赖管理和常见框架工作流。它适合让 Agent 阅读 Python 代码、定位测试问题、整理运行命令、生成脚本或分析数据处理逻辑。使用时需要确认项目虚拟环境、依赖版本和测试入口;涉及执行脚本、读写文件、访问数据库或调用外部 API 时,应先明确运行目录和输入输出范围,避免误改生产数据。

python-fastapi-development 是运维和基础设施类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为接触敏感数据;许可证信息还不明确,第三方扫描已通过,按安装量在运维和基础设施类的 2,449 个 Skill 里排第 274。

总安装 7,103周安装 302GitHub Stars 35,663下载 2,488核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:python-fastapi-development(Python FastAPI 开发)
来源仓库:https://github.com/sickn33/antigravity-awesome-skills
仓库路径:skills/python-fastapi-development
安装命令:
npx skills add https://github.com/sickn33/antigravity-awesome-skills --skill python-fastapi-development
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/sickn33/antigravity-awesome-skills --skill python-fastapi-development

这个 Skill 是做什么的

运维和基础设施类 Skill 处理部署、监控、日志和云资源,多数需要较高的执行权限。

提供 FastAPI 全生命周期开发运维支持。涵盖容器化部署、监控告警与日志收集。python-fastapi-development 属于运维和基础设施类 Skill,可作为该场景下的辅助能力补充。支持 Prometheus/Grafana 指标暴露配置。生产环境建议使用 Gunicorn + Uvicorn 组合。

数据库连接池大小应根据负载压测结果调整。

来源仓库内路径:skills/python-fastapi-development

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/sickn33/antigravity-awesome-skills --skill pyt…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

python-fastapi-development 怎么安装?

在终端执行 npx skills add https://github.com/sickn33/antigravity-awesome-skills --skill python-fastap…。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

python-fastapi-development 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

python-fastapi-development 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

python-fastapi-development 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

python-fastapi-development 用的人多吗?

公开数据是累计安装 7,103 次,近一周安装 302 次,下载 2,488 次,GitHub 35,663 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

python-fastapi-development 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。
  • 来源仓库有 35,663 星,维护活跃度相对可查。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理运维和基础设施类任务、又不想每次都手写提示词的人。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

运维和基础设施类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
brainstorming

头脑风暴 · Codex、Claude

3,148,776173,131操作浏览器MIT通过
copywriting

文案写作 · Codex、Claude

1,996,72425,583需要联网MIT通过
openclaw-secure-linux-cloud

OpenClaw secure linux cloud 命令行 · Codex、Claude

1,853,08840接触敏感数据未明确未通过
xget

xget 命令行 · Codex、Claude

1,799,28040执行命令未明确未通过
requesting-code-review

代码审查请求 · Codex、Claude

1,590,144173,103权限未标注MIT通过
python-fastapi-development

Python FastAPI 开发 · 本页

7,10335,663接触敏感数据未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

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

CategoryTechnology
FrameworkFastAPI
LanguagePython 3.11+
ORMSQLAlchemy 2.0
ValidationPydantic v2
DatabasePostgreSQL
MigrationsAlembic
AuthJWT, OAuth2
Testingpytest

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.

平台分布

Codex

36.03%
按下载量换算896

Claude

30.4%
按下载量换算756

Cursor

18.7%
按下载量换算465

Gemini CLI

8.16%
按下载量换算203

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills