commit
建立符合 Sentry 規範的提交
Également disponible depuis: Codename-11,DavidOpDeBeeck,davila7,0xmsc,getsentry,0xmsc
產生符合 Sentry 工程標準並與其問題追蹤系統整合的專業提交訊息。
Télécharger le ZIP du skill
Importer dans Claude
Allez dans Paramètres → Capacités → Skills → Importer un skill
Activez et commencez à utiliser
Tester
Utilisation de "commit". Add new Slack integration for alert notifications
Résultat attendu:
feat(alerts): Add Slack thread replies for alert updates
When an alert is updated or resolved, post a reply to the original Slack thread instead of creating a new message. This keeps related notifications grouped together.
Refs GH-1234
Utilisation de "commit". Fix null error in user API
Résultat attendu:
fix(api): Handle null response in user endpoint
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 <noreply@anthropic.com>
Audit de sécurité
SûrThis skill is pure documentation providing commit message guidelines. Static analysis flagged external_commands, network URLs, and cryptographic patterns, but evaluation confirms these are false positives. The file contains only documentation examples of git commands and reference URLs - no executable code or actual network requests.
Score de qualité
Ce que vous pouvez construire
Sentry 開發人員工作流程
建立正確格式化的提交,在合併時會自動連結至 Sentry 問題
AI 程式碼審查署名
遵循最佳實踐新增適當的 AI 貢獻者署名
團隊慣例執行
在團隊儲存庫中維持一致的提交歷史記錄
Essayez ces prompts
建立一個提交訊息,用於新增使用者驗證功能。引用 Sentry 問題 SENTRY-1234。
撰寫一個提交訊息,用於修正 API 端點中的空指標錯誤。包含問題引用 GH-5678。
建立一個提交訊息,用於重構驗證邏輯。將其標記為 AI 產生並包含 Claude 署名。
撰寫一個提交訊息,用於移除已棄用的 API 端點。請正確記錄破壞性變更。
Bonnes pratiques
- 始終在結尾處包含問題引用,以將提交連結至追蹤系統
- 在主旨中使用祈使語氣(Add、Fix、Remove,而非 Added、Fixed、Removed)
- 將主旨維持在 70 個字元以下,以在 git 工具中獲得最佳顯示效果
Éviter
- 不要在提交主旨中使用過去式(應該是 'Add feature' 而不是 'Added feature')
- 避免使用像 'fix bug' 或 'update code' 這樣沒有具體內容的通用訊息
- 不要在主旨或正文包含 AI 揭露短語 - 只能在 Co-Authored-By 結尾處使用