TraeSkill: Skill for Claude Code

.trae/Skills/05_Backend_Python/SKILL.md

Backend Python Expert is a skill for Claude Code, Codex from boshi-xixixi/TraeSkill. It costs 65 tokens per session (778 once invoked), scanned A, original, MIT.

A guide for building Python back-end services, especially with FastAPI. A back end is the server-side part of an application that provides APIs, processes requests, and works with data.

In plain words
What is it for?
Use it to create FastAPI services, define validated API inputs, organize dependencies, write asynchronous code, improve slow Python work, and add tests with pytest.
Why use it?
It helps avoid common problems in API structure, input validation, asynchronous code, error handling, and performance.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions AGENTS.md.

This is boshi-xixixi/TraeSkill's own configuration. It tells Claude Code and Codex how to work on TraeSkill itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything TraeSkill configures →

Reuse

Borrowing it

Nothing to install: this file belongs to boshi-xixixi/TraeSkill. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/boshi-xixixi/TraeSkill/main/.trae/Skills/05_Backend_Python/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/boshi-xixixi/TraeSkill

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for Backend Python Expert

README.md
[![agentmods](https://agentmods.dev/badge/skills/boshi-xixixi/traeskill/05_backend_python/github.svg)](https://agentmods.dev/skills/boshi-xixixi/traeskill/05_backend_python)
Your own site
<a href="https://agentmods.dev/skills/boshi-xixixi/traeskill/05_backend_python"><img src="https://agentmods.dev/badge/skills/boshi-xixixi/traeskill/05_backend_python/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for Backend Python Expert

Your own site · 80×15
<a href="https://agentmods.dev/skills/boshi-xixixi/traeskill/05_backend_python"><img src="https://agentmods.dev/badge/skills/boshi-xixixi/traeskill/05_backend_python.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 65 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 778 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00065 $0.00778
Opus 5.5 $0.00026 $0.00311
Sonnet 5.5 $0.00013 $0.00156
Haiku 4.5 $0.00006 $0.00078

Measured 8d ago against content hash aabf3377de58, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

Backend Python Expert scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/init_fastapi_project.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.trae/Skills/05_Backend_Python/SKILL.md · 75 lines

What it actually says

Backend Python Skills

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

🤖 智能体与 MCP 增强 (Agent & MCP Enhancements)

本 Skill 支持并推荐配合特定的智能体角色和 MCP 工具使用,以获得最佳效果。

推荐智能体角色

  • Python Backend Expert: 详见 AGENTS.md。
    • 该角色专注于 FastAPI、异步编程和性能优化。
    • 启用后,AI 将优先使用 Pydantic 进行类型验证,关注异步性能。

推荐 MCP 工具

  • PostgreSQL/MySQL MCP: 直接执行 SQL 查询验证,获取实时 Schema 信息。
  • mcp-feedback-enhanced: 在设计 API 或数据库结构时,主动向用户确认业务需求。

包含的技能模块

1. FastAPI 模板

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

2. Python 性能优化

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

3. 异步 Python 模式

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

4. Python 测试模式

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

实用脚本

初始化 FastAPI 项目

# 创建新项目
python scripts/init_fastapi_project.py my_project --path ./projects

# 生成的目录结构:
# my_project/
# ├── app/
# │   ├── api/v1/endpoints/
# │   ├── core/config.py
# │   ├── models/
# │   ├── schemas/
# │   ├── services/
# │   └── main.py
# ├── tests/
# ├── requirements.txt
# └── pyproject.toml

如何使用

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

What ships with it

7 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 75 lines · 65 tokens per session scan A aabf3377de58

Subscribe to this mod's changes

Backend Python Expert is a skill published in the GitHub repository boshi-xixixi/TraeSkill (288 stars, last pushed 9d ago), licensed MIT. It adds 65 tokens to every session and 778 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-22.

Related

Backend Python Expert compared with skills from other repositories

Backend Python Expert next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
Backend Python Expertboshi-xixixi/TraeSkillSkill2889d agoMITA65Claude Code, Codex
create-pubsub-pythondiagrid-labs/dapr-skillsSkill135d agoMITA70Claude Code
create-workflow-pythondiagrid-labs/dapr-skillsSkill135d agoMITA42Claude Code
add-pubsub-pythondiagrid-labs/dapr-skillsSkill135d agoMITA64Claude Code
supabase-pythonalinaqi/maggySkill7123d agoMITA15Claude Code
reddit-apialinaqi/maggySkill7123d agoMITB20Claude Code
python-programming-expertroedyrustam/vibes-plugSkill1293d agoMITA53Cursor