Git branch

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

Git branch is an AI agent skill from the GitHub repository DataDog/dd-sdk-ios. Use when creating a new branch in dd-sdk-ios for a JIRA ticket, feature, or regular release. Use when choosing a branch name or base branch.

How to use this skill

Skill file

Branching in dd-sdk-ios

Convention

Branch names follow: <author>/<JIRA-TICKET>/<descriptive-slug>

Examples from the repo:

Branch Model

The repo follows git-flow: master is production, develop is the integration branch.

For a single PR, branch from develop:

git checkout -b <author>/<JIRA-TICKET>/<slug> develop

For larger changes split across multiple PRs, create a shared feature branch first, then branch each PR from it:

git checkout -b feature/<feature-slug> develop          # shared target branch
git checkout -b <author>/<JIRA-TICKET>/<slug> feature/<feature-slug>  # per-PR branch

Each per-PR branch targets feature/<feature-slug>. Only the final feature branch is merged into develop.

Release Branches

Regular releases use release/<version>; follow dd-sdk-ios:prepare-release.

No JIRA Ticket?

For chores or external contributions without a ticket, use a descriptive slug only:

git checkout -b <author>/<slug> develop
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.