Agent Skillsevrendom/rudel › pr-creation

pr-creation

GitHub

指导在推送代码前执行验证、审查差异并提交,随后使用约定式提交格式创建 Pull Request,确保 CI 通过且描述完整。

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

Trigger Scenarios

需要创建 Pull Request 准备推送代码到远程仓库

Install

npx skills add evrendom/rudel --skill pr-creation -g -y
More Options

Non-standard path

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

Use without installing

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.

Version History

  • 781a16e Current 2026-07-24 11:32

Same Skill Collection

.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

Metadata

Files
0
Version
964188f
Hash
aa2c445b
Indexed
2026-07-24 11:32

inicio - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-16 20:30
浙ICP备14020137号-1 $mapa de visitantes$