boshi-xixixi

Backend Python Expert

1
0
# Install this skill:
npx skills add boshi-xixixi/agenticflow-skills --skill "Backend Python Expert"

Install specific skill from multi-skill repository

# Description

专注于 Python 后端开发,涵盖 FastAPI、异步编程和性能优化。

# SKILL.md


name: Backend Python Expert
description: 专注于 Python 后端开发,涵盖 FastAPI、异步编程和性能优化。


Backend Python Skills

提供 Python 后端开发的全栈能力支持。

包含的技能模块

1. FastAPI 模板 (FastAPI Templates)

  • 核心价值: 快速构建高性能的现代 Web API。
  • 关键技术: Pydantic 验证, 依赖注入, OpenAPI 文档.
  • 使用场景: 微服务开发、API 网关构建。

2. Python 性能优化 (Performance)

  • 核心价值: 提升 Python 代码的执行效率。
  • 关键技术: Profiling, 多进程/多线程, 算法优化.
  • 使用场景: 计算密集型任务、高并发服务。

3. 异步 Python 模式 (Async Patterns)

  • 核心价值: 掌握 asyncio,编写高效的非阻塞代码。
  • 关键技术: async/await, 协程管理, 异步 I/O.
  • 使用场景: I/O 密集型服务、实时通信。

4. Python 测试模式 (Testing)

  • 核心价值: 建立稳固的自动化测试体系。
  • 关键技术: Pytest, Mocking, Fixtures.
  • 使用场景: 单元测试、集成测试编写。

如何使用

  • API 开发: "请使用 FastAPI 模板帮我创建一个用户注册接口。"
  • 并发优化: "请参考异步 Python 模式,帮我优化这个爬虫脚本。"

交互式开发 (Interactive Development)

在设计架构或重构代码时,如果不确定用户的具体偏好(如框架选择、同步/异步决策),请使用 mcp-feedback-enhanced (e.g., ask_followup_question) 主动询问。如果该工具不可用,则通过对话直接询问。

# Supported AI Coding Agents

This skill is compatible with the SKILL.md standard and works with all major AI coding agents:

Learn more about the SKILL.md standard and how to use these skills with your preferred AI coding agent.