Agent Skillsevrendom/rudel › pr-creation

pr-creation

GitHub

指导在推送代码前创建 Pull Request 的标准流程,包括运行验证、审查差异、提交代码及使用约定式提交格式生成 PR。

.claude/skills/pr-creation/SKILL.md evrendom/rudel

触发场景

用户要求创建 Pull Request 准备将本地更改推送到远程仓库

安装

npx skills add evrendom/rudel --skill pr-creation -g -y
更多选项

非标准路径

npx skills add https://github.com/evrendom/rudel/tree/main/.claude/skills/pr-creation -g -y

不安装直接使用

npx skills use evrendom/rudel@pr-creation

指定 Agent (Claude Code)

npx skills add evrendom/rudel --skill pr-creation -a claude-code -g -y

安装 repo 全部 skill

npx skills add evrendom/rudel --all -g -y

预览 repo 内 skill

npx skills add evrendom/rudel --list

SKILL.md

Frontmatter
{
    "name": "pr-creation",
    "metadata": {
        "internal": true
    },
    "description": "Use when creating a pull request. Runs verification, reviews changes, and creates the PR with correct metadata. Invoke BEFORE pushing code.",
    "allowed-tools": [
        "Read",
        "Edit",
        "Write",
        "Bash",
        "Glob",
        "Grep",
        "mcp__conductor__GetWorkspaceDiff"
    ]
}

PR Creation Checklist

Follow these steps in order when creating a pull request. Do not skip any step.

1. Run Verification

bun run verify

This runs type checking, linting, and tests across the monorepo.

Do NOT proceed if verification fails. Fix issues first, then re-run.

2. Review the Workspace Diff

Use mcp__conductor__GetWorkspaceDiff with stat: true to see all changed files, then review the full diff to understand the scope of changes.

3. Commit All Changes

Stage and commit all changes. Follow any user instructions about commit message style.

4. Push and Create PR

  1. Push to origin with -u flag if the branch has no upstream
  2. PR title must use conventional commit format (enforced by CI): feat: | fix: | docs: | style: | refactor: | perf: | test: | build: | ci: | chore: | revert:
  3. Use gh pr create --base main with:
    • Title under 80 characters
    • Description covering ALL changes in the workspace diff (not just the latest commit)
    • Keep description concise
gh pr create --base main --title "title here" --body "$(cat <<'EOF'
## Summary
- bullet points describing changes

## Test plan
- [ ] testing steps

🤖 Generated with [Claude Code](https://claude.com/claude-code)
EOF
)"

Common Mistakes to Avoid

  • Skipping verification: Step 1 is non-negotiable. CI will catch the same failures but slower.
  • Wrong PR title format: Must be conventional commit format or CI will reject it.
  • Describing only the latest commit: The PR description should cover the entire branch diff.

版本历史

  • 781a16e 当前 2026-07-24 11:32

同 Skill 集合

.claude/skills/api-testing/SKILL.md
.claude/skills/clickhouse-architecture-advisor/SKILL.md
.claude/skills/clickhouse-best-practices/SKILL.md
.claude/skills/clickhouse-js-node-coding/SKILL.md
.claude/skills/clickhouse-query/SKILL.md
.claude/skills/code-architecture/SKILL.md
.claude/skills/environment-variables/SKILL.md
.claude/skills/library-docs/SKILL.md
.claude/skills/testing-bun/SKILL.md
.claude/skills/typescript-standards/SKILL.md
.claude/skills/clickhouse-js-node-troubleshooting/SKILL.md

元信息

文件数
0
版本
59fc2ed
Hash
aa2c445b
收录时间
2026-07-24 11:32

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