commit
编写 Sentry 提交消息
团队会因模糊或不一致的提交历史而浪费修复时间。此技能可帮助 Claude、Codex 和 Claude Code 起草 Sentry 风格的约定式提交,并提供清晰的问题引用。
使用我的智能体安装
将此请求复制给你的智能体,其中包含权威 Skill 页面和清单。
Review the Skillstore skill "commit" from https://skillstore.io/skills/getsentry-commit.md and its manifest at https://skillstore.io/api/skills/getsentry-commit/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.你的智能体仍应展示其计划,并按安全策略请求必要确认。
Agent 可读资源
当 AI Agent、爬虫或脚本需要干净上下文,而不是读取完整页面时,请使用这些链接。
测试它
正在使用“commit”。 已删除的用户可能返回 null 并导致仪表板崩溃。问题 SENTRY-5678 应在合并时关闭。
预期结果:
fix(api): Handle null response in user endpoint
在读取已删除账户属性前添加 null 检查。这可防止已移除用户导致仪表板崩溃。
Fixes SENTRY-5678
正在使用“commit”。 提醒更新应在原始 Slack 线程中回复。链接 GH-1234,但不要关闭它。
预期结果:
feat(alerts): Add Slack thread replies for alert updates
将更新和解决结果发布到原始 Slack 线程,使相关通知保持分组。
Refs GH-1234
正在使用“commit”。 必须回滚之前的功能提交,因为它导致了生产环境性能问题。
预期结果:
revert: feat(api): Add new endpoint
这会回滚之前的端点变更。
Reason: 导致生产环境性能回退。
安全审计
安全All static findings appear to be false positives from Markdown backticks, commit message examples, and one documentation link. No prompt injection, malicious intent, secret handling, or executable skill code was found in SKILL.md.
风险因素
⚙️ 外部命令 (33)
🌐 网络访问 (1)
分享与引用此报告
分享版本化评估报告、中性徽章、嵌入卡片和引用。Skillstore 只报告证据,不判断该 Skill 是否安全。
复制报告链接
https://skillstore.io/skills/getsentry-commit/audits/7?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdown 徽章
[](https://skillstore.io/skills/getsentry-commit?utm_source=security_passport_badge)HTML 徽章
<a href="https://skillstore.io/skills/getsentry-commit?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/getsentry-commit/security.svg" alt="Skillstore security assessment" loading="lazy"></a>嵌入卡片
<iframe src="https://skillstore.io/embed/skills/getsentry-commit.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>学术引用 (APA · BibTeX · CFF)
APA 引用
getsentry. (2026). commit security audit report (audit version 7) [Author version unspecified]. Skillstore. https://skillstore.io/skills/getsentry-commit/audits/7BibTeX 引用
@techreport{getsentry-getsentry-commit-2026,
author = {getsentry},
title = {commit security audit report (audit version 7)},
institution = {Skillstore},
year = {2026},
number = {7},
url = {https://skillstore.io/skills/getsentry-commit/audits/7},
note = {Author version unspecified}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "commit security audit report (audit version 7)"
version: "unspecified"
type: report
authors:
- name: "getsentry"
date-released: "2026-07-06"
url: "https://skillstore.io/skills/getsentry-commit/audits/7"
identifiers:
- type: other
value: "skillstore:getsentry-commit:audit:7"
description: "Skillstore immutable audit report identifier"
比较变体
6 个可安装变体每位作者的技能都保持为独立的可安装项。推荐变体按 Skillstore 证据排序。
为什么此变体排名第一
Skillstore 评分
评分依据 证据置信度: 高你能构建什么
准备清晰的提交
起草一条约定式提交消息,说明一项小型代码变更并链接正确的问题。
规范化拉取请求历史
重写本地提交消息,让评审者看到一致的类型、范围和主题。
记录影响发布的工作
为破坏性变更、修复或重构创建提交文本,使其之后易于审计。
试试这些提示
为此变更编写一条 Sentry 风格的提交消息:[describe the change]。包含合适的类型和简洁的主题。
为 [change] 创建一条 Sentry 提交消息。使用范围 [scope] 并引用问题 [issue ID],但不要关闭它。
改进此提交消息,使其遵循 Sentry 约定:[paste message]。保持含义不变,并确保每行少于 100 个字符。
为 [change] 编写一条 Sentry 风格的破坏性变更提交。包含动机、迁移影响和正确的页脚格式。
最佳实践
- 在请求提交消息前,先描述实际的代码变更。
- 提供问题 ID,并说明该提交应关闭问题还是仅引用问题。
- 检查最终消息是否符合仓库特定的范围和发布影响。
避免
- 不要在未说明变更内容和原因的情况下请求提交消息。
- 当提交不应关闭问题时,不要使用 Fixes。
- 不要将无关变更合并到一条提交消息中。