邮件与消息8.2k · #12550
comment-writer
它能做什么
这项技能帮助你的 AI 撰写别人会阅读的消息,例如评审反馈或问题回复。适合希望评论清晰、友好且简短的人。
适用场景
- ✓当你需要对别人的拉取请求或代码评审留下反馈的时候。
- ✓当你要回复一个问题或 GitHub 评论的时候。
- ✓当你要在 Slack 或其他聊天工具中发送团队更新的时候。
技能链接
https://github.com/Gentleman-Programming/gentle-ai/blob/main/internal/assets/skills/comment-writer/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
请用这个技能帮我:https://github.com/Gentleman-Programming/gentle-ai/blob/main/internal/assets/skills/comment-writer/SKILL.md
阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
npx skills add Gentleman-Programming/gentle-ai --skill comment-writer
下载 SKILL.md,放进智能体的技能文件夹。
curl -L https://raw.githubusercontent.com/Gentleman-Programming/gentle-ai/main/internal/assets/skills/comment-writer/SKILL.md -o SKILL.md
可以这样问 AI
“请写一条友好的评审评论,建议把这个函数拆成两个更小的部分。”
每周 5 个新技能,1 分钟读完。
工作原理
技能建议先说可执行的要点,必要时解释它为何重要,最后给出具体的下一步。它会与讨论串的语言保持一致。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
When to Use
Load this skill whenever you write a comment that another human will read.
Use it for:
- GitHub PR or issue comments.
- Review feedback and requested changes.
- Maintainer replies.
- Slack, Discord, or async project updates.
Voice Rules
| Rule | Requirement |
|---|---|
| Be useful fast | Start with the actionable point. Do not recap the whole PR before feedback. |
| Be warm and direct | Sound like a thoughtful teammate, not a corporate bot. |
| Keep it short | Prefer 1 to 3 short paragraphs or a tight bullet list. |
| Explain why | Give the technical reason when asking for a change. |
| Avoid pile-ons | Comment on the highest-value issue, not every tiny preference. |
| Match target context language | Write in the target context language by default: Spanish issue/thread -> Spanish comment, English issue/thread -> English comment, mixed context -> target message language. If the user explicitly requests a language or tone, follow that request. For Spanish comments, use neutral/professional Spanish by default unless the user or target context clearly calls for regional tone. |
| No em dashes | Use commas, periods, or parentheses instead. |
Comment Formula
<Direct observation or request>
<Why it matters, only if needed>
<Concrete next action>
Examples
Request change
Good approach overall. I'd split this into a separate commit because it mixes validation logic with UI wiring.
That keeps the reviewer's focus narrower and makes rollback cleaner if the integration fails.
Approve with a note
Approved. The scope is clear and the change is well-contained.
For the next PR, add links to the previous and following PRs so the chain stays navigable.
Ask for split
This PR exceeds the 400-line budget, so we need to split it or justify `size:exception`.
Suggested order: foundation + tests first, then integration, then docs. That gives each review a clear start and end.
Commands
# Inspect a PR before writing review feedback
gh pr view <PR_NUMBER> --json title,body,additions,deletions,changedFiles
常见问题
它建议的反馈格式是什么?
先直接指出观察或请求,必要时说明原因,然后给出具体的下一步行动。
它用哪种语言撰写?
默认与讨论串的语言一致,除非你要求其他语言或语气。
评论应该很长吗?
不应该。技能倾向于一到三段短文字,或一个紧凑的列表。
详情
作者的原始描述
Write warm, direct collaboration comments. Trigger: PR feedback, issue replies, reviews, Slack messages, or GitHub comments.
热度
- GitHub 星标
- 8.2k
- 排名
- #12550
- 许可证
- MIT
- 更新时间
- 2026/11/1
评论
- …