📦

commit

Sûr

建立符合 Sentry 規範的提交

Également disponible depuis: Codename-11,DavidOpDeBeeck,davila7,0xmsc,getsentry,0xmsc

產生符合 Sentry 工程標準並與其問題追蹤系統整合的專業提交訊息。

Prend en charge: Claude Codex Code(CC)
🥉 75 Bronze
1

Télécharger le ZIP du skill

2

Importer dans Claude

Allez dans Paramètres → Capacités → Skills → Importer un skill

3

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ûr
v1 • 2/25/2026

This 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.

1
Fichiers analysés
172
Lignes analysées
0
résultats
1
Total des audits
Aucun problème de sécurité trouvé
Audité par: claude

Score de qualité

38
Architecture
100
Maintenabilité
85
Contenu
50
Communauté
100
Sécurité
100
Conformité aux spécifications

Ce que vous pouvez construire

Sentry 開發人員工作流程

建立正確格式化的提交,在合併時會自動連結至 Sentry 問題

AI 程式碼審查署名

遵循最佳實踐新增適當的 AI 貢獻者署名

團隊慣例執行

在團隊儲存庫中維持一致的提交歷史記錄

Essayez ces prompts

簡單功能提交
建立一個提交訊息,用於新增使用者驗證功能。引用 Sentry 問題 SENTRY-1234。
錯誤修正提交
撰寫一個提交訊息,用於修正 API 端點中的空指標錯誤。包含問題引用 GH-5678。
AI 產生程式碼提交
建立一個提交訊息,用於重構驗證邏輯。將其標記為 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 結尾處使用

Foire aux questions

支援哪些提交類型?
支援的類型包括 feat、fix、ref、perf、docs、test、build、ci、chore、style、meta 和 license。
如何引用不同的問題追蹤器?
在問題 ID 前使用 Fixes 或 Refs:Fixes SENTRY-1234、Fixes GH-1234 或 Refs LINEAR-ABC-123。
我應該在每個提交中新增 AI 署名嗎?
只在 AI 工具做出重大貢獻時才新增 Co-Authored-By。不要針對小幅度的 AI 輔助編輯新增。
提交訊息的字元限制是多少?
主旨行:最多 70 個字元。正文行:最多 100 個字元。
我可以不使用 Sentry 帳戶來使用此技能嗎?
是的,提交格式適用於任何專案。Sentry 問題引用是可選的。
此技能會執行 git 指令嗎?
不,此技能只會產生提交訊息文字。您必須手動執行 git commit。

Détails du développeur

Structure de fichiers

📄 SKILL.md