一键导入
gh-implement-issue
End-to-end implementation workflow for a GitHub issue from planning through PR creation. Use when starting work on an issue from scratch.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
End-to-end implementation workflow for a GitHub issue from planning through PR creation. Use when starting work on an issue from scratch.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Run section orchestrators to coordinate multi-component workflows. Use when starting work on a section.
Validate agent YAML frontmatter and configuration. Use before committing agent changes or in CI.
Reply to PR review comments using the correct GitHub API endpoint. Use when responding to inline code review feedback (not gh pr comment).
Run Mojo tests using mojo test command. Use when executing tests or verifying test coverage.
Track implementation progress against plan. Use to monitor component delivery and identify blockers.
Check agent configuration coverage across hierarchy levels and phases. Use to ensure complete agent system coverage.
| name | gh-implement-issue |
| description | End-to-end implementation workflow for a GitHub issue from planning through PR creation. Use when starting work on an issue from scratch. |
| category | github |
Complete workflow for implementing a GitHub issue from start to finish.
# 1. Fetch issue and create branch
gh issue view <issue>
git checkout -b <issue>-<description>
# 2. Implement with TDD
# - Write tests first
# - Implement code
# - Run tests: mojo test tests/
# 3. Quality checks
just pre-commit-all
# 4. Commit and PR
git add . && git commit -m "feat: description
Closes #<issue>"
git push -u origin <branch>
gh pr create --issue <issue>
gh issue view <issue> --comments - understand requirements, prior contextgit checkout -b <issue>-<description>Format: <issue-number>-<description>
Examples:
42-add-tensor-ops73-fix-memory-leak105-update-docsFollow conventional commits:
type(scope): Brief description
Detailed explanation of changes.
Closes #<issue-number>
Types: feat, fix, docs, refactor, test, chore
Before creating PR:
| Problem | Solution |
|---|---|
| Issue not found | Verify issue number |
| Branch exists | Use different name or delete old branch |
| Tests fail | Fix code before creating PR |
| CI fails | Address issues before merge |
Post documentation directly to the GitHub issue:
# Post implementation started
gh issue comment <issue> --body "$(cat <<'EOF'
## Implementation Started
**Branch**: `<branch-name>`
### Approach
[Brief description of implementation approach]
### Files to Modify
- `path/to/file1.mojo`
- `path/to/file2.mojo`
EOF
)"
# Post completion summary
gh issue comment <issue> --body "$(cat <<'EOF'
## Implementation Complete
**PR**: #<pr-number>
### Summary
[What was implemented]
### Verification
- [x] Tests pass
- [x] Pre-commit passes
EOF
)"