Open pr

From DataDog/dd-sdk-ios · View interactive version

Open pr is an AI agent skill from the GitHub repository DataDog/dd-sdk-ios. Use when creating a pull request in dd-sdk-ios. Use when writing PR titles, PR body, or choosing the target branch.

How to use this skill

Skill file

Pull Requests in dd-sdk-ios

Development PR Title Format

[PROJECT-XXXX] Short imperative description

Examples:

For regular release PRs, use dd-sdk-ios:prepare-release for titles, descriptions, and target branches.

Requirements

Creating via gh

For development PRs, read .github/PULL_REQUEST_TEMPLATE.md and complete its applicable sections. Changelog metadata applies to PRs targeting develop; a shared feature's integration PR must cover the whole feature.

Use gh for all GitHub operations.

When invoked from dd-sdk-ios:prepare-release, approval already given there for the same commits, push, title, and body satisfies the corresponding confirmations below.

Before pushing, show the user the commits that will be pushed and ask for confirmation:

git log origin/<target-branch>..HEAD --oneline

Ask: "Shall I push these commits and open the PR?" Only proceed after the user confirms.

Before running the command, show the user the proposed PR title and full body and ask for confirmation. Only run gh pr create after the user approves.

gh pr create \
  --title "[RUM-9999] Your title here" \
  --body-file "<PR body file>" \
  --base "<target-branch>" \
  --draft

Never add Co-Authored-By: Claude or any AI co-author trailer to the PR body or commits.

Before Opening

Common Mistakes

| Mistake | Fix |

|---------|-----|

| Wrong base branch | Use develop or the change's shared feature branch |

| Missing [PROJECT-XXXX] title prefix | Required for internal development PRs |

| Skipping review checklist items | Fill out checklist before marking PR ready |

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.