datadog/create-pr
Create a pull request for the current branch with proper labels and description
npx skills add https://github.com/DataDog/datadog-agent --skill create-pr
Create a pull request for the current branch following the Datadog Agent contributing guidelines.
main (or the default branch):git status). If there are changes, create a new feature branch from the default branch (git checkout -b <branch-name>), stage the changes, commit, and push.main using git log main..HEADgit diff main..HEAD to understand all changes.github/PULL_REQUEST_TEMPLATE.mdcodex is installed (command -v codex). If it is, run a review against the default branch: DEFAULT_BRANCH=$(git rev-parse --abbrev-ref origin/HEAD | sed 's|^origin/||')
codex review --base "$DEFAULT_BRANCH"
Show the review output to the user. If codex is not installed, skip this step silently.
gh pr create --draft. If $ARGUMENTS contains --real, open as a regular (non-draft) PR instead (omit the --draft flag). Remove --real from $ARGUMENTS before processing remaining arguments as labels.fix(e2e): Fix flaky diagnose testfeat(logs): Add new log pipelinerefactor(config): Simplify endpoint resolutionchangelog/no-changelog and qa/no-code-changeqa/donebackport/<branch-name> if the user asks for a backport10. PR body: Fill in the PR template sections:
The PR description should incorporate everything reviewers and future maintainers need:
gh pr create --draft \
--title "fix(e2e): Fix flaky diagnose test by adding missing fakeintake redirect" \
--label "changelog/no-changelog" \
--label "qa/no-code-change" \
--body "$(cat <<'EOF'
### What does this PR do?
<description of changes>
### Motivation
<why this change is needed>
### Describe how you validated your changes
<testing done>
### Additional Notes
<any extra context>
EOF
)"
/create-pr — creates a draft PR (default)/create-pr --real — creates a non-draft PR/create-pr --real team/my-team — non-draft PR with an extra labelReturn the PR URL when done.
Take datadog/create-pr from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.