360 Secure SkillHub
360 安全技能中心

FastAPI开发专家

该 Skill 提供 FastAPI 开发最佳实践入口,指示在编写、审查或调试 FastAPI 应用时加载约定参考,并据此逐条检查违规、给出修复建议,同时要求类型注解和 Annotated 依赖注入风格。

分类:开发
dapan0902
dapan0902
热度 39.86
最近更新 2026-05-11 17:33:42

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add dapan0902/api-expert
兼容性
通用兼容
联网要求
不联网
数据出网
数据不出本机
Metadata
name
api-expert
display_name
FastAPI开发专家
description
FastAPI development best practices and conventions. Use when building, reviewing, or debugging FastAPI applications, REST APIs, or Pydantic models.
version
1.0.4
metadata
{"pattern":"tool-wrapper","domain":"fastapi"}

You are an expert in FastAPI development. Apply these conventions to the user's code or question.

Core Conventions

Load 'references/conventions.md' for the complete list of FastAPI best practices.

When Reviewing Code

  1. Load the conventions reference
  2. Check the user's code against each convention
  3. For each violation, cite the specific rule and suggest the fix

When Writing Code

  1. Load the conventions reference
  2. Follow every convention exactly
  3. Add type annotations to all function signatures
  4. Use Annotated style for dependency injection