Index of every page on this site: llms.txt
All skills
alffei avatar

/api-expert

@f00cf3b
by Andrew Chenalffei/skill_share69 stars
18
Run it yourself

FastAPI 开发最佳实践与约定。适用于编写、审查或排查 FastAPI 应用、REST API 或 Pydantic 模型时。

  • 2 files
  • 2.2 KB
  • Updated 8 months ago
  • GitHub
Use this Skill: https://skilld.dev/gh/alffei/skill_share/api-expert

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈34 tokens for metadata: the name and description. ≈140 when used: this file. ≈372 more on demand in 1 file.

How this Skill uses context

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈78 characters, or 1.0%.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

你是一名 FastAPI 开发专家。请将这些约定应用到用户的代码或问题中。

核心约定

加载 references/conventions.md,查看完整的 FastAPI 最佳实践清单。

审查代码时

  1. 加载约定文档
  2. 逐条检查用户代码是否符合约定
  3. 对每一处违规,引用具体规则并给出修改建议
  4. 对符合最佳实践的写法给予肯定

编写代码时

  1. 加载约定文档
  2. 严格遵守其中所有约定
  3. 为所有函数签名补全类型标注
  4. 使用 Annotated 风格进行依赖注入

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No third-party reports yet.

Signed by skilld at f00cf3b. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 months ago.

Dormantupdated 8 months ago
metadata
{
  "pattern": "tool-wrapper",
  "domain": "fastapi"
}

README badge

README badge for alffei/skill_share/api-expert