diff --git a/plugins/sentry-skills/skills/commit/SKILL.md b/plugins/sentry-skills/skills/commit/SKILL.md index 2eaad2d..144f9e8 100644 --- a/plugins/sentry-skills/skills/commit/SKILL.md +++ b/plugins/sentry-skills/skills/commit/SKILL.md @@ -82,6 +82,16 @@ Refs LINEAR-ABC-123 - `Fixes` closes the issue when merged - `Refs` links without closing +## AI-Generated Changes + +When changes were primarily generated by a coding agent (like Claude Code), include the Co-Authored-By attribution in the commit footer: + +``` +Co-Authored-By: Claude +``` + +This is the only indicator of AI involvement that should appear in commits. Do not add phrases like "Generated by AI", "Written with Claude", or similar markers in the subject, body, or anywhere else in the commit message. + ## Examples ### Simple fix @@ -93,6 +103,7 @@ The user API could return null for deleted accounts, causing a crash in the dashboard. Add null check before accessing user properties. Fixes SENTRY-5678 +Co-Authored-By: Claude ``` ### Feature with scope