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.
Use when receiving code review feedback, before implementing suggestions, especially if feedback seems unclear or technically questionable - requires technical rigor and verification, not performative agreement or blind implementation
Use when completing tasks, implementing major features, or before merging to verify work meets requirements
Execute git commit with conventional commit message analysis, intelligent staging, and message generation. Use when user asks to commit changes, create a git commit, or mentions "/commit". Supports: (1) Auto-detecting type and scope from changes, (2) Generating conventional commit messages from diff, (3) Interactive commit with optional type/scope/description overrides, (4) Intelligent file staging for logical grouping
Comprehensive GitHub code review with AI-powered swarm coordination
Behavioral guidelines to reduce common LLM coding mistakes. Use when writing, reviewing, or refactoring code to avoid overcomplication, make surgical changes, surface assumptions, and define verifiable success criteria.
Use this skill to review code. It supports both local changes (staged or working tree) and remote Pull Requests (by ID or URL). It focuses on correctness, maintainability, and adherence to project standards.
Refactor bloated AGENTS.md, CLAUDE.md, or similar agent instruction files to follow progressive disclosure principles. Splits monolithic files into organized, linked documentation.
Create high-quality git commits: review/stage intended changes, split into logical commits, and write clear commit messages (including Conventional Commits). Use when the user asks to commit, craft a commit message, stage changes, or split work into multiple commits.
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.