unslop-review – skill Lập trình cho agent AI
Viết lại các comment review code để nghe như do đồng nghiệp viết. Bỏ phần mở đầu rườm rà kiểu AI ("I noticed...", "I was wondering if perhaps...", "It might be worth considering..."). Mỗi comment đi thẳng vào vấn đề: vị trí, lỗi và cách sửa cụ thể.
Cài skill unslop-review bằng một lệnh
Chọn công cụ bạn đang dùng, copy lệnh và dán vào terminal. Skill sẽ nằm trong thư mục skills của công cụ đó và sẵn sàng dùng ở phiên làm việc tiếp theo.
Claude Code
mkdir -p ~/.claude/skills && curl -fsSL https://skill.dn1nguoi.com/z/unslop-review-31fed.tgz | tar xz -C ~/.claude/skills
Gọi trong Claude Code: /unslop-review – rồi mô tả công việc bạn muốn làm.
Codex
mkdir -p ~/.codex/skills && curl -fsSL https://skill.dn1nguoi.com/z/unslop-review-31fed.tgz | tar xz -C ~/.codex/skills
Gọi trong Codex: $unslop-review – rồi mô tả công việc bạn muốn làm.
Hermes Agent
mkdir -p ~/.hermes/skills && curl -fsSL https://skill.dn1nguoi.com/z/unslop-review-31fed.tgz | tar xz -C ~/.hermes/skills
Gọi trong Hermes Agent: /unslop-review – rồi mô tả công việc bạn muốn làm.
DeepSeek
mkdir -p ~/.deepcode/skills && curl -fsSL https://skill.dn1nguoi.com/z/unslop-review-31fed.tgz | tar xz -C ~/.deepcode/skills
Gọi trong DeepSeek: /unslop-review – rồi mô tả công việc bạn muốn làm.
Nội dung SKILL.md
Nội dung SKILL.md gốc bằng tiếng Anh.
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 breakrisk:— 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
getUserwhich 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
bugto anitto 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.
Skill liên quan
- upgrading-expo – Hướng dẫn nâng cấp phiên bản Expo SDK và sửa lỗi xung đột phụ thuộc.
- upstash-ratelimit – Thêm giới hạn tần suất (rate limiting) cho API route, middleware và edge function với…
- us-watchlist-alerts – Danh sách theo dõi cổ phiếu Mỹ miễn phí, cảnh báo giá và bản tin hằng ngày; không cần…
- use-dom – Dùng component DOM của Expo để chạy mã web trong webview trên native và chạy trực tiếp…
- using-git-worktrees – Git worktree tạo không gian làm việc độc lập dùng chung một repository, cho phép làm…
- uv-package-manager – Hướng dẫn toàn diện về uv, trình cài đặt và giải quyết phụ thuộc Python cực nhanh viết…
- varlock – Quản lý biến môi trường an toàn theo mặc định cho các phiên Claude Code.
- varlock-claude-skill – Quản lý biến môi trường an toàn với các kiểm tra rõ ràng nhằm giảm nguy cơ lộ bí mật…