Agent SkillsAFK-surf/OpenBridge › gh-issue-fix-flow

gh-issue-fix-flow

GitHub

端到端GitHub Issue修复工作流,通过gh获取上下文,定位代码,实施修复并使用XcodeBuildMCP构建测试,最后提交并推送。

.agents/skills/gh-issue-fix-flow/SKILL.md AFK-surf/OpenBridge

触发场景

需要修复指定的GitHub Issue 执行完整的Issue解决流程

安装

npx skills add AFK-surf/OpenBridge --skill gh-issue-fix-flow -g -y
更多选项

非标准路径

npx skills add https://github.com/AFK-surf/OpenBridge/tree/main/.agents/skills/gh-issue-fix-flow -g -y

不安装直接使用

npx skills use AFK-surf/OpenBridge@gh-issue-fix-flow

指定 Agent (Claude Code)

npx skills add AFK-surf/OpenBridge --skill gh-issue-fix-flow -a claude-code -g -y

安装 repo 全部 skill

npx skills add AFK-surf/OpenBridge --all -g -y

预览 repo 内 skill

npx skills add AFK-surf/OpenBridge --list

SKILL.md

Frontmatter
{
    "name": "gh-issue-fix-flow",
    "description": "End-to-end GitHub issue fix workflow using gh, local code changes, builds\/tests, and git push. Use when asked to take an issue number, inspect the issue via gh, implement a fix, run XcodeBuildMCP builds\/tests, commit with a closing message, and push."
}

Gh Issue Fix Flow

Overview

Resolve a GitHub issue from intake through fix, validation, and push using gh, local edits, XcodeBuildMCP, and git.

Workflow

1) Intake and issue context

  1. Use gh issue view <id> --repo <owner/repo> --comments to get the full issue context.
  2. If the repo is unclear, run gh repo view --json nameWithOwner to confirm.
  3. Capture reproduction steps, expected behavior, and any maintainer notes.

2) Locate the code path

  1. Use rg -n to locate likely files and entry points.
  2. Read the relevant code paths with sed -n or rg -n context.
  3. Follow repo-specific conventions (AGENTS/CLAUDE instructions).

3) Implement the fix

  1. Edit the minimal set of files.
  2. Keep changes aligned with existing architecture and style.
  3. Add tests when behavior changes and test coverage is practical.

4) Build and test

  1. Use XcodeBuildMCP for required builds/tests:
    • Set defaults once: mcp__XcodeBuildMCP__session-set-defaults.
    • Build: mcp__XcodeBuildMCP__build_macos or mcp__XcodeBuildMCP__build_sim.
    • Tests: prefer targeted schemes (e.g., mcp__XcodeBuildMCP__test_sim).
  2. If macOS tests fail due to deployment target mismatches, run the equivalent iOS simulator tests.
  3. Report warnings or failures; do not hide them.

5) Commit and push

  1. Check for unrelated changes with git status --short.
  2. Stage only the fix (exclude unrelated files).
  3. Commit with a closing message: Fix … (closes #<issue>).
  4. Push with git push.

6) Report back

  1. Summarize what changed and where.
  2. Provide test results (including failures).
  3. Note any follow-ups or blocked items.

版本历史

  • a9ca905 当前 2026-07-24 11:34

同 Skill 集合

.agents/skills/app-store-changelog/SKILL.md
.agents/skills/bridge-agent-log-analyzer/SKILL.md
.agents/skills/github/SKILL.md
.agents/skills/react-component-performance/SKILL.md
.agents/skills/swift-concurrency-expert/SKILL.md
.agents/skills/swift-testing-expert/SKILL.md
.agents/skills/swiftui-expert-skill/SKILL.md
.agents/skills/swiftui-performance-audit/SKILL.md
.agents/skills/swiftui-ui-patterns/SKILL.md
.agents/skills/swiftui-view-refactor/SKILL.md
macos/OpenBridge/Resources/SystemSkills.bundle/format-converter/SKILL.md
macos/OpenBridge/Resources/SystemSkills.bundle/github/SKILL.md
macos/OpenBridge/Resources/SystemSkills.bundle/linear/SKILL.md
macos/OpenBridge/Resources/SystemSkills.bundle/skill-manager/SKILL.md
macos/OpenBridge/Resources/SystemSkills.bundle/ui-designer/SKILL.md
.agents/skills/swift-concurrency/SKILL.md
macos/OpenBridge/Resources/SystemSkills.bundle/docs/SKILL.md
macos/OpenBridge/Resources/SystemSkills.bundle/pdfs/SKILL.md
macos/OpenBridge/Resources/SystemSkills.bundle/spreadsheets/SKILL.md

元信息

文件数
0
版本
a9ca905
Hash
69c36d7c
收录时间
2026-07-24 11:34

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-07 18:32
浙ICP备14020137号-1 $访客地图$