跳到正文
Skillpedia
通用编程48k · #6064

unslop-review

它能做什么

这个工具可以帮你改写代码评审意见,让它读起来更像同事之间的交流,而不是企业式的官腔。它会去掉多余的客套话,直奔主题:问题出在哪里、是什么问题、以及怎么修复。

适用场景

  • ✓当你希望代码评审意见读起来更自然时。
  • ✓当你想去掉反馈中的官话和过多客套时。
  • ✓当你希望评论直接点明位置、问题和解决方案时。

技能链接

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/unslop-review/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/unslop-review/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请把这条代码评审意见改得更像人写的:“I noticed that perhaps we could consider adding a null check here, as it could potentially lead to issues in some scenarios.””

每周 5 个新技能,1 分钟读完。

工作原理

工具会去掉开场白和过度礼貌的用语,准确定位代码位置,清楚描述问题,并给出具体的修复建议。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Unslop Review

When to Use

Use this skill when you need rewrites code review comments so they read like a human teammate wrote them. Cuts corporate-AI throat-clearing ("I noticed...", "I was wondering if perhaps...", "It might be worth considering..."). Each comment is direct: location, the issue, a concrete fix. Use when user says...

Purpose

Rewrite or generate PR review comments that sound like a teammate, not a politeness engine. Direct on the issue, concrete on the fix, kind on the human.

Trigger

/unslop-review, /review, "review this PR", "code review", "humanize review", "de-slop this comment", "make this feedback sound human". Auto-trigger when reviewing pull requests.

Format

Default shape: L<line>: <severity prefix> <observation>. <fix>.

Severity prefixes (optional but use them when severity matters):

  • bug: — code is broken or will break
  • risk: — works today, fragile tomorrow (perf, race, missing test)
  • nit: — style, naming, dead code, "while you're here"
  • q: — genuine question, not a hidden complaint

Multi-file: <file>:L<line>: <severity> <observation>. <fix>.

Range: L88-140: ... when the issue spans lines.

Rules

Drop

  • Throat-clearing: "I noticed that...", "It seems like...", "It looks like to me..."
  • Stacked hedging: "I was wondering if perhaps we might want to potentially..."
  • Polite-padding: "I would kindly suggest...", "just a small suggestion..."
  • Per-comment praise: "Nice work on this function but...", "Great pattern, however..."
  • Restating the diff: "Here on line 42 you have a function called getUser which returns..."
  • Bare opinion without a fix: "This is bad" with no suggestion

Keep

  • Exact line numbers and ranges
  • Identifiers in backticks: findUser, req.body.id
  • Concrete fix or concrete question
  • "Why" only when the fix isn't obvious

Tone

Human, not corporate. "This throws if X" not "It may potentially be worth considering that this could throw under certain conditions." Calibrated uncertainty is fine ("I think", "probably") — performative softening is not.

Auto-clarity (use full prose, not one-liners)

  • Security findings (CVE-class, auth, secrets)
  • Architecture disagreements that need a real discussion
  • Onboarding context for a new contributor
  • When the answer is genuinely "this is fine"

In those cases use a short paragraph, then resume terse for the rest.

Examples

Bad → good

  • Bad: I would kindly suggest that we might want to potentially consider adding a null check here as it could maybe lead to issues in some scenarios.

  • Good: L42: bug: \findUser` returns undefined when no match. Guard before `user.email` or early-return 404.`

  • Bad: Great work on this implementation! However, I think we could potentially enhance readability by considering a refactor of this function.

  • Good: L88-140: nit: this function does validation, I/O, and mapping. Splitting them would make the happy path easier to follow. Happy to pair on a cut if helpful.

  • Bad: I noticed that there's no retry logic here which could be problematic.

  • Good: L23: risk: no retry on 429. Wrap the call in \withBackoff(3)` so we don't drop legitimate requests.`

  • Bad: This implementation leverages a robust caching strategy.

  • Good: (delete — empty praise. If the caching is genuinely interesting, explain why specifically.)

Approval

If the change is solid and you have nothing concrete: LGTM on its own line. No boilerplate.

Boundaries

  • Comments only. No commits, no git push, no auto-approve, no linter runs.
  • Output is paste-ready: one comment per line, or a clearly separated list.
  • Severity must be honest. Don't downgrade a bug to a nit to soften the message.

Limitations

  • Use this skill only when the task clearly matches its upstream source and local project context.
  • Verify commands, generated code, dependencies, credentials, and external service behavior before applying changes.
  • Do not treat examples as a substitute for environment-specific tests, security review, or user approval for destructive or costly actions.
常见问题

什么是“severity prefixes”(严重程度前缀)?

这些是简短的标签,如 'bug:'、'risk:'、'nit:' 或 'q:',用来表示问题的严重程度,分别对应错误、风险、细节风格或疑问。

这个工具不做什么?

它不会提交代码、不会自动批准代码、不会运行代码检查工具(linter),也不能替代测试或安全评审。

工具如何处理表扬?

它会去掉笼统的表扬。如果表扬确实重要,就应该说明具体的理由。

详情

作者的原始描述

Rewrites code review comments so they read like a human teammate wrote them. Cuts corporate-AI throat-clearing (\"I noticed...\", \"I was wondering if perhaps...\", \"It might be worth considering...\"). Each comment is direct: location, the issue, a concrete fix.

repo: sickn33/agentic-awesome-skills

热度

GitHub 星标
48k
排名
#6064
许可证
MIT
更新时间
2026/10/15

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能