下载技能 ZIP
在 Claude 中上传
前往 设置 → 功能 → 技能 → 上传技能
开启并开始使用
测试它
正在使用“commit”。 Add new Slack integration for alert notifications
预期结果:
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
正在使用“commit”。 Fix null error in user API
预期结果:
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>
安全审计
安全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.
质量评分
你能构建什么
Sentry开发者工作流
创建格式正确的提交,在合并时自动关联到Sentry问题
AI代码审查署名
按照最佳实践添加正确的AI贡献者署名
团队约定执行
在团队仓库中保持一致的提交历史
试试这些提示
Create a commit message for adding a new user authentication feature. Reference the Sentry issue SENTRY-1234.
Write a commit message for fixing a null pointer error in the API endpoint. Include issue reference GH-5678.
Create a commit message for refactoring validation logic. Mark it as AI-generated with Claude attribution.
Write a commit message for removing deprecated API endpoints. Document the breaking change properly.
最佳实践
- 始终在页脚中包含问题引用以将提交关联到跟踪系统
- 使用祈使语气编写主题行(使用Add、Fix、Remove而非Added、Fixed、Removed)
- 将主题行保持在70个字符以内,以便在git工具中最佳显示
避免
- 不要在提交主题中使用过去时态(应该是'Add feature'而非'Added feature')
- 避免使用泛泛的信息如'fix bug'或'update code'而没有具体内容
- 不要在主题或正文中包含AI披露短语 - 仅在Co-Authored-By页脚中使用