pr-creation

This skill should be used when the user asks to "create a pull request", "create a PR", "submit changes for review", "use gh pr create", "write PR description", or needs guidance on creating well-structured GitHub pull requests in k2-dev workflows.

📖 中文导读:This skill should be used when the user asks to "create a pull request", "create a PR", "submit changes for review", "use gh pr create", "write PR description", or needs guidance on creating well-structured GitHub pull requests in k2-dev workflows. 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。

name: PR Creation description: Quick PR creation reference version: 0.1.0

PR Creation

Title Format

<type>: <summary> (<ticket-id>)

Types: feat, fix, refactor, docs, test, chore, perf, security

Description Template

IMPORTANT: Always follow the Pull Request template in .github/pull_request_template.md if it exists.

If no template exists, use:

## Summary

Brief description of changes

## Changes

- List of changes

## Testing

- How validated

## References

- Implements: <ticket>

Create PR

gh pr create --title "feat: Add feature (beads-123)" \
             --body "$(cat <<'EOF'
## Summary
...

## Changes
- ...

## Testing
- ...

## References
- Implements: beads-123
EOF
)"

Get PR URL

gh pr view --json url -q .url