首页/ AI 技能 / @skilllib/skill-2014279375254925314
Skill站外收录 @skilllib/skill-2014279375254925314

github-assistant

自动化 GitHub 代码评审与议题管理流程,支持创建和合并 PR、评论与关闭议题、分配负责人及标签维护,可自动识别已修复的议题并发送多语言回复,适用于跨团队协作和持续集成场景。

0.0 (0) 218 次安装 原作者 编程导航
收录于 2026-01-22

Skills.MD

# GitHub Assistant Automate GitHub PR/Issue workflows using `gh` CLI + auto-reply + Vietnamese templates. ## Prerequisites Ensure `gh` CLI authenticated: `gh auth status` ## Auto-Reply Fixed Issues Automatically find and reply to issues fixed since last release: ```bash # Preview (dry-run) python scripts/auto-reply-fixed-issues.py --dry-run # Post comments python scripts/auto-reply-fixed-issues.py # Specific repo python scripts/auto-reply-fixed-issues.py --repo owner/repo ``` **How it works:** 1. Gets latest release tag 2. Finds commits since release referencing issues (#123, fixes #123) 3. Matches with open issues 4. Auto-generates reply with commit links + file changes 5. Posts comments ## Quick Reference ### PR Operations | Task | Command | |------|---------| | Create PR | `gh pr create --title "Title" --body "Desc" --base main` | | Review PR | `gh pr review 123 --approve --body "LGTM"` | | Merge PR | `gh pr merge 123 --squash --delete-branch` | | Check status | `gh pr checks 123 --watch` | ### Issue Operations | Task | Command | |------|---------| | List issues | `gh issue list` or `gh issue list --label "bug"` | | Add comment | `gh issue comment 123 --body "Comment"` | | Close issue | `gh issue close 123 --comment "Fixed in v1.0"` | | Edit labels | `gh issue edit 123 --add-label "bug"` | ## Reply Templates (Vietnamese) | Template | Use When | |----------|----------| | `templates/fix-confirmed.md` | Bug fixed and released | | `templates/need-info.md` | Need more info from reporter | | `templates/progress-update.md` | Status update | | `templates/known-limitation.md` | Known limitation | | `templates/multi-report.md` | Multiple reports | | `templates/feature-dev.md` | Feature in dev/beta | ## References - `references/pr-management.md` - PR workflows - `references/issue-management.md` - Issue workflows ## Special Values `@me` current user | `--state all|open|closed` filter | `--json fields` JSON output | `--web` browser

评论 0

还没有评论,来抢沙发。