pr-creator

HotariTobu 的头像作者 HotariTobu

开发完成后使用gh命令创建拉取请求。在准备打开PR时使用。

📖 中文导读:开发完成后使用gh命令创建拉取请求。在准备打开PR时使用。 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。

name: pr-creator description: Create pull requests with gh command after development is complete. Use when ready to open a PR.

PR Creator Skill

Create a pull request after development on a branch is complete.

Development Types

Type Branch Pattern Title Prefix Template
Feature feature/* feat: feature.md
Bug fix fix/* fix: fix.md
Documentation docs/* docs: docs.md
Refactoring refactor/* refactor: refactor.md

Guidelines

  1. Link the specification - Every PR must reference its specification
  2. One feature per PR - Keep PRs focused and small
  3. Request a review - Wait for approval before merging

Workflow

  1. Analyze: Get branch name, commits (main..HEAD), and diff to understand changes
  2. Find spec: Look for related spec in docs/specs/
  3. Preflight: Run make preflight to verify CI checks pass
  4. Draft: Generate title and body using the appropriate template
  5. Create: Push if needed, run gh pr create --draft
  6. Report: Show PR URL