Agent Skills › PrefectHQ/fastmcp › fix-issue

fix-issue

GitHub

该技能用于修复选定问题,涵盖从复现、最小化修复、兼容性审查到提交PR及维护者贡献者署名全流程。

.agents/skills/fix-issue/SKILL.md PrefectHQ/fastmcp

触发场景

需要修复代码缺陷或Bug 需要提交包含兼容性审查的PR

安装

npx skills add PrefectHQ/fastmcp --skill fix-issue -g -y
更多选项

非标准路径

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

不安装直接使用

npx skills use PrefectHQ/fastmcp@fix-issue

指定 Agent (Claude Code)

npx skills add PrefectHQ/fastmcp --skill fix-issue -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": "fix-issue",
    "description": "Carry a selected FastMCP bug from reproduction through a scoped fix, compatibility review, validation, and a monitored pull request."
}

Fix a selected issue

Read AGENTS.md and the contribution policy in the development guide. Read the issue's full discussion, relevant history, and associated PRs in all states. Evaluate existing contributions before writing a competing fix; use review-issue when assignment is the next decision. Preserve contributor authorship when carrying existing work forward.

Establish the contract

Trace the public request to the failing operation. Confirm supported behavior is broken, not merely surprising. State the scope and compatibility boundary before implementation: which inputs must change, which adjacent behavior must remain, and any migration needed. If the intended contract is unresolved, bring that precise question to the maintainer.

Red, green, review

Use python-tests. Reproduce the failure on unchanged code, confirm it fails for the right reason, then make the smallest causal fix. Test explicit overrides and neighboring supported paths that share the changed branch. Avoid expanding the fix to unrelated standards gaps.

Self-review the full change with review-pr, including docs and dependency bounds. Separate necessary compatibility changes from accidental regressions and say whether a breaking change remains. Do not infer compatibility from passing tests.

Run the repository's required dependency sync, full tests, and static checks before committing. Honor branch and attribution conventions. If a required check fails, investigate and report evidence rather than hiding the failure.

Publish and follow through

Within existing authorization, update the existing PR or open a focused one, using draft status when appropriate. Follow repository PR-body conventions and the user's pr-body skill when available. Describe the actual user-visible change and any migration, not the development diary.

For a maintainer implementation of a community issue, apply Contributor credit before committing and publishing. Read the issue author's GitHub profile to establish their account identity; prefer the GitHub-provided noreply address, and ask if identity is unclear. Add their Co-authored-by: Name <email> trailer to the implementation commit and at the end of the PR description, alongside existing contributor attribution. Reporting the problem is enough; do not require code or root-cause analysis. Honor opt-outs and do not credit bot accounts as human issue contributors.

Maintainers are generally exempt from supplemental credit checks. For maintainer reports and routine backports, preserve existing community attribution and proceed; do not add a maintainer merely because they opened the original PR or ask for guidance on that basis. A backport does not need a fresh credit audit.

Start review-pr monitoring after publication. CI completion and review completion are distinct. Resolve real findings and report material compatibility decisions; a green check does not settle them. Do not merge or mark ready without authorization.

版本历史

  • 623590a 当前 2026-10-20 04:43

    新增扫描发布说明以共享贡献者信用;文档更新明确维护者实现中的问题作者署名规范。

  • 89b00b7 2026-09-28 18:58

    将自审工具从 code-review 更新为 review-pr,并完善PR发布与监控指引。

  • c6165d9 2026-09-23 08:38

同 Skill 集合

.agents/skills/code-review/SKILL.md
.agents/skills/docs/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

元信息

文件数
0
版本
623590a
Hash
9e34f30b
收录时间
2026-09-23 08:38

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.156.0. UTC+08:00, 2026-11-27 09:37
浙ICP备14020137号-1