重要前提
安装AI Skills的关键前提是:必须科学上网,且开启TUN模式,这一点至关重要,直接决定安装能否顺利完成,在此郑重提醒三遍:科学上网,科学上网,科学上网。查看完整安装教程 →
github-pr by gentleman-programming/gentleman-skills
npx skills add https://github.com/gentleman-programming/gentleman-skills --skill github-prgh pr create 命令<type>(<scope>): <short description>
feat 新功能
fix 错误修复
docs 文档
refactor 代码重构
test 添加测试
chore 维护任务
## 摘要
- 用 1-3 个要点解释 WHAT(做了什么)和 WHY(为什么做)
## 变更内容
- 列出主要变更
## 测试
- [ ] 已添加/更新测试
- [ ] 已完成手动测试
Closes #123
# 良好:每个提交只做一件事
git commit -m "feat(user): add User model"
git commit -m "feat(user): add UserService"
git commit -m "test(user): add UserService tests"
# 不佳:所有内容放在一个提交中
git commit -m "add user feature"
gh pr create \
--title "feat(auth): add OAuth2 login" \
--body "## 摘要
- 添加 Google OAuth2 身份验证
## 变更内容
- 添加了 AuthProvider 组件
- 创建了 useAuth 钩子
Closes #42"
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
gh pr create --title "feat(dashboard): add analytics" --body "$(cat <<'EOF'
## 摘要
- 添加实时分析仪表板
## 变更内容
- 创建了 AnalyticsProvider
- 添加了 LineChart, BarChart 组件
## 测试
- [x] 组件的单元测试
- [x] 手动测试完成
## 截图

Closes #123
EOF
)"
gh pr create --draft \
--title "wip: refactor auth" \
--body "进行中"
gh pr create \
--title "feat(api): add rate limiting" \
--body "为 API 添加速率限制" \
--reviewer "user1,user2" \
--label "enhancement,api"
# 创建 PR
gh pr create --title "type(scope): desc" --body "..."
# 使用网页编辑器创建
gh pr create --web
# 查看 PR 状态
gh pr status
# 查看差异
gh pr diff
# 检查 CI 状态
gh pr checks
# 使用 squash 合并
gh pr merge --squash
# 添加审查者
gh pr edit --add-reviewer username
# 不佳
gh pr create --title "fix bug"
gh pr create --title "update"
# 良好
gh pr create --title "fix(auth): prevent session timeout"
# 不佳:一个 PR 包含 50 个文件,2000+ 行代码
# 良好:拆分为逻辑清晰的多个 PR
# PR 1: feat(models): add User model
# PR 2: feat(api): add user endpoints
# PR 3: feat(ui): add user pages
# 不佳
--body "Added feature"
# 良好
--body "## 摘要
- 你做了什么以及为什么这么做
## 变更内容
- 具体变更
Closes #123"
| 任务 | 命令 |
|---|---|
| 创建 PR | gh pr create -t "type: desc" -b "body" |
| 草稿 PR | gh pr create --draft |
| 网页编辑器 | gh pr create --web |
| 添加审查者 | --reviewer user1,user2 |
| 添加标签 | --label bug,high-priority |
| 关联议题 | 在描述体中添加 Closes #123 |
| 查看状态 | gh pr status |
| Squash 合并 | gh pr merge --squash |
每周安装量
62
仓库
GitHub 星标数
354
首次出现
2026年1月20日
安全审计
安装于
opencode51
codex41
cursor41
gemini-cli39
github-copilot38
claude-code38
gh pr create command<type>(<scope>): <short description>
feat New feature
fix Bug fix
docs Documentation
refactor Code refactoring
test Adding tests
chore Maintenance
## Summary
- 1-3 bullet points explaining WHAT and WHY
## Changes
- List main changes
## Testing
- [ ] Tests added/updated
- [ ] Manual testing done
Closes #123
# Good: One thing per commit
git commit -m "feat(user): add User model"
git commit -m "feat(user): add UserService"
git commit -m "test(user): add UserService tests"
# Bad: Everything in one commit
git commit -m "add user feature"
gh pr create \
--title "feat(auth): add OAuth2 login" \
--body "## Summary
- Add Google OAuth2 authentication
## Changes
- Added AuthProvider component
- Created useAuth hook
Closes #42"
gh pr create --title "feat(dashboard): add analytics" --body "$(cat <<'EOF'
## Summary
- Add real-time analytics dashboard
## Changes
- Created AnalyticsProvider
- Added LineChart, BarChart components
## Testing
- [x] Unit tests for components
- [x] Manual testing complete
## Screenshots

Closes #123
EOF
)"
gh pr create --draft \
--title "wip: refactor auth" \
--body "Work in progress"
gh pr create \
--title "feat(api): add rate limiting" \
--body "Adds rate limiting to API" \
--reviewer "user1,user2" \
--label "enhancement,api"
# Create PR
gh pr create --title "type(scope): desc" --body "..."
# Create with web editor
gh pr create --web
# View PR status
gh pr status
# View diff
gh pr diff
# Check CI status
gh pr checks
# Merge with squash
gh pr merge --squash
# Add reviewer
gh pr edit --add-reviewer username
# Bad
gh pr create --title "fix bug"
gh pr create --title "update"
# Good
gh pr create --title "fix(auth): prevent session timeout"
# Bad: 50 files, 2000+ lines in one PR
# Good: Split into logical PRs
# PR 1: feat(models): add User model
# PR 2: feat(api): add user endpoints
# PR 3: feat(ui): add user pages
# Bad
--body "Added feature"
# Good
--body "## Summary
- What you did and why
## Changes
- Specific changes
Closes #123"
| Task | Command |
|---|---|
| Create PR | gh pr create -t "type: desc" -b "body" |
| Draft PR | gh pr create --draft |
| Web editor | gh pr create --web |
| Add reviewer | --reviewer user1,user2 |
| Add label | --label bug,high-priority |
| Link issue | Closes #123 in body |
Weekly Installs
62
Repository
GitHub Stars
354
First Seen
Jan 20, 2026
Security Audits
Gen Agent Trust HubFailSocketPassSnykPass
Installed on
opencode51
codex41
cursor41
gemini-cli39
github-copilot38
claude-code38
Lark Skill Maker 教程:基于飞书CLI创建AI技能,自动化工作流与API调用指南
41,900 周安装
| View status | gh pr status |
| Merge squash | gh pr merge --squash |