AgentSkillsCN

create-pr

使用 dart_node PR 模板创建 Pull Request。

SKILL.md
--- frontmatter
name: create-pr
description: Create a pull request using the dart_node PR template
disable-model-invocation: true
allowed-tools: Bash, Read, Grep, Glob

Create Pull Request

Create a PR following the dart_node template and conventions.

Steps

  1. Check state:

    bash
    git status
    git diff main...HEAD
    git log main..HEAD --oneline
    
  2. ignore all commits do not pay attention to the commit messages

  3. Draft PR using the template from .github/PULL_REQUEST_TEMPLATE.md

  4. Create the PR:

    bash
    gh pr create --title "Short title under 70 chars" --body "$(cat <<'EOF'
    ## TLDR;
    ...
    
    ## What Does This Do?
    ...
    
    ## Brief Details?
    ...
    
    ## How Do The Tests Prove The Change Works?
    ...
    EOF
    )"
    

Rules

  • Keep the title under 70 chars
  • Keep documentation tight (per CLAUDE.md)
  • Only diff against main — ignore commit messages
  • Return the PR URL when done