Create a pull request for the current branch with proper labels and description
62
55%
Does it follow best practices?
Impact
Pending
No eval scenarios have been run
Passed
No known issues
Optimize this skill with Tessl
npx tessl skill review --optimize ./.claude/skills/create-pr/SKILL.mdCreate 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"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 backportThe 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.
0f36ad4
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.