Skip to main content

dd-sdk-ios-git-commit

Use when committing changes in dd-sdk-ios. Use when writing commit messages, signing commits, or staging files before a commit.

Informações da origem

Repositório
DataDog/dd-sdk-ios
Última atividade na origem
27 de outubro de 2026 às 21:29
Idioma detectado do SKILL.md
inglês
Estrelas
289
Forks
176

Opções de instalação

Por padrão, está selecionado o prompt que primeiro revisa a origem. Você pode mudar para um comando direto ou baixar uma cópia local.

Revise os arquivos de origem

Leia o SKILL.md e os arquivos complementares exibidos pelo SkillsMP antes de decidir se vai instalar.

Exibindo SKILL.md

SKILL.md
Instruções da origem · Visualização somente leitura
name
dd-sdk-ios:git-commit
description
Use when committing changes in dd-sdk-ios. Use when writing commit messages, signing commits, or staging files before a commit.
# Committing in dd-sdk-ios ## Requirements - **All commits MUST be signed** (GPG or SSH) - **Message prefix**: `[PROJECT-XXXX]` matching the JIRA ticket for ordinary internal development ## Message Format ``` [RUM-9999] Short imperative description ``` **Examples:** - `[RUM-1234] Add baggage header merging support` - `[FFL-213] Add Feature Flags support` - `[RUM-14655] Fix WebView log events attaching incomplete ddTags` Third-party contributions skip the prefix. For regular releases, use the unprefixed messages in `dd-sdk-ios:prepare-release`. ## Before Committing Always show the user what will be committed and get explicit approval before running `git commit`. When invoked from `dd-sdk-ios:prepare-release`, approval already given there for the same changes and message satisfies this requirement. 1. Run `git diff --staged` and show the output 2. Propose the commit message following the format below 3. Ask: "Shall I commit with this message?" 4. Only run `git commit -S -m "..."` after the user confirms ## Development Commit Command ```bash git commit -S -m "[RUM-9999] Your message here" ``` The `-S` flag applies your configured GPG/SSH signature. **Never add `Co-Authored-By: Claude` or any AI co-author trailer to commits in this repo.** ## Common Mistakes | Mistake | Fix | |---------|-----| | Missing signature | Always use `-S`; check `git log --show-signature -1` | | Missing `[PROJECT-XXXX]` prefix | Required for ordinary internal development | | New files missing from pbxproj | Use Xcode MCP tools — see `xcode-file-management` skill | | Adding `Co-Authored-By: Claude` trailer | Never add AI co-author trailers in this repo |
Ver no GitHub