Agent Skills › PrefectHQ/fastmcp › code-review

code-review

GitHub

用于审查 FastMCP 代码变更,涵盖正确性、兼容性、行为一致性及可维护性。通过阅读文档、差异及上下文,评估影响范围与依赖版本,识别缺陷并验证回归测试,确保变更符合预期契约且无意外回归。

.agents/skills/code-review/SKILL.md PrefectHQ/fastmcp

Trigger Scenarios

审查 Pull Request 代码自我审查

Install

npx skills add PrefectHQ/fastmcp --skill code-review -g -y
More Options

Non-standard path

npx skills add https://github.com/PrefectHQ/fastmcp/tree/main/.agents/skills/code-review -g -y

Use without installing

npx skills use PrefectHQ/fastmcp@code-review

指定 Agent (Claude Code)

npx skills add PrefectHQ/fastmcp --skill code-review -a claude-code -g -y

安装 repo 全部 skill

npx skills add PrefectHQ/fastmcp --all -g -y

预览 repo 内 skill

npx skills add PrefectHQ/fastmcp --list

SKILL.md

Frontmatter
{
    "name": "code-review",
    "description": "Review a complete FastMCP change for correctness, supported behavior, compatibility, and maintainability. Use for self-review or reviewing a pull request."
}

Review FastMCP code

Read AGENTS.md, CONTRIBUTING.md, the entire diff against the merge base, and prior review threads and replies. Trace the changed code in context, including callers and shared abstractions. Collect independent consequential findings in one pass.

Establish the intended contract from released docs, tests, history, and maintainer decisions. A reproducible behavior is not automatically a bug. Check whether the change fixes the cause where it occurs or adds compensation elsewhere.

Compatibility

Assess behavior changes even for bug fixes. Compare omitted defaults, explicit overrides, errors, serialization, and supported configurations. Trace shared branches into adjacent behavior and all affected MCP component types; use the base component's canonical identity rather than inventing one.

State the compatibility conclusion plainly: what existing input changes behavior, whether that is necessary to fix the issue, and what migration preserves the old behavior. Separate intended corrections from accidental regressions. Passing tests or a clean bot review does not make that product decision.

For dependency changes, verify the declared minimum version supports every API now used. Test the old minimum when compatibility is claimed. Keep lockfile changes scoped to the dependency change.

Findings

Report reachable defects with concrete triggers and consequences. Evaluate bot comments on their merits; do not repeat resolved or convincingly rebutted findings without new evidence. Avoid speculative cases, cosmetic blockers, and generic requests for more tests.

Review regression tests for the actual failure and affected neighboring contracts. Record which checks were run and at what revision. Keep uncertainty explicit: an inspected diff, a passing focused test, and a complete validated review are different evidence.

Use review-pr to follow CI and automated feedback after publication. A merge still needs the user's authorization and the repository's current merge gates.

Version History

  • c6165d9 Current 2026-09-23 08:37

Same Skill Collection

.agents/skills/docs/SKILL.md
.agents/skills/fix-issue/SKILL.md
.agents/skills/python-tests/SKILL.md
.agents/skills/release/SKILL.md
.agents/skills/review-issue/SKILL.md
.agents/skills/review-pr/SKILL.md
.agents/skills/review-security-report/SKILL.md
.agents/skills/triage/SKILL.md
.claude/skills/code-review/SKILL.md
.claude/skills/python-tests/SKILL.md
.claude/skills/review-issue/SKILL.md
.claude/skills/review-pr/SKILL.md
.claude/skills/review-security-report/SKILL.md
examples/skills/sample_skills/code-review/SKILL.md
examples/skills/sample_skills/pdf-processing/SKILL.md
skills/fastmcp-client-cli/SKILL.md

Metadata

Files
0
Version
c6165d9
Hash
c996217f
Indexed
2026-09-23 08:37

trang chủ - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-27 23:10
浙ICP备14020137号-1