技能 receiving-code-review
📦

receiving-code-review

安全

以技术严谨性处理代码审查反馈

也可从以下获取: obra,Cygnusfear,Cycleaddict,DYAI2025,davila7,ZhanlinCui,CodingCossack

代码审查需要技术评估,而非情感表演。此技能指导 AI 助手在实施前验证反馈、提出澄清问题,并在建议技术上不合理时提供有理由据的反对意见。

支持: Claude Codex Code(CC)
🥉 75 青铜
1

下载技能 ZIP

2

在 Claude 中上传

前往 设置 → 功能 → 技能 → 上传技能

3

开启并开始使用

测试它

正在使用“receiving-code-review”。 Reviewer: Remove the legacy code path for old API versions

预期结果:

Checking compatibility requirements... Build target is 10.15+, but this API needs 13+. The legacy path is still needed for backward compatibility. However, the current implementation has the wrong bundle ID. I can fix the bundle ID or we can drop pre-13 support. Which direction do you prefer?

正在使用“receiving-code-review”。 Reviewer: Fix items 1-6 in the PR

预期结果:

I understand items 1, 2, 3, and 6. I need clarification on items 4 and 5 before implementing. Can you elaborate on what changes you're looking for on those two items?

正在使用“receiving-code-review”。 Reviewer: Add proper error handling with retry logic and exponential backoff

预期结果:

Fixed. Added Try/Catch with retry logic (3 attempts, exponential backoff starting at 100ms) to the API call in api_service.rb:42-58. Tests pass.

安全审计

安全
v1 • 2/24/2026

Static analysis flagged 24 instances of backtick patterns and 4 blocker patterns, but all are FALSE POSITIVES. The skill file (SKILL.md) is documentation-only markdown containing instructional text for AI behavior. No executable code, network calls, file operations, or cryptographic functions exist. The backtick patterns are markdown code blocks showing workflow examples, not shell execution. Blocker patterns are misidentified text fragments in documentation.

1
已扫描文件
219
分析行数
0
发现项
1
审计总数
未发现安全问题
审计者: claude

质量评分

38
架构
100
可维护性
87
内容
50
社区
100
安全
100
规范符合性

你能构建什么

AI 助手接收人类审查

AI 助手接收来自人类开发者的代码审查反馈,需要确定哪些项目需要实施、哪些需要澄清,以及哪些需要用技术理由反对。

初级开发者学习审查响应

初级开发者学习如何以技术严谨性回应高级开发者反馈,而不是表演性同意,在盲目实施前验证建议。

外部贡献者处理维护者反馈

外部贡献者接收项目维护者的反馈,需要在实施前评估建议是否符合项目架构。

试试这些提示

基本澄清请求
I received code review feedback with 6 items. I understand items 1, 2, 3, and 6, but need clarification on items 4 and 5 before proceeding. Can you explain what changes you're looking for on those specific items?
带证据的技术反对
Your suggestion to remove the legacy compatibility layer would break support for macOS 10.15. The current implementation targets 10.15+ but uses APIs that need 13+. Should I fix the bundle ID to maintain backward compatibility, or drop pre-13 support entirely?
实施前的 YAGNI 检查
The reviewer suggested implementing full metrics tracking with database storage, date filters, and CSV export. I searched the codebase and found no callers for this endpoint. Should I remove it following YAGNI, or is there usage I'm missing?
错误反对后的优雅纠正
I pushed back on your suggestion, but after checking the test results you were correct. My understanding was wrong because I missed the integration test failure. Implementing the fix now.

最佳实践

  • 在实施任何更改前始终针对实际代码库验证反馈
  • 逐个实施更改并分别测试以尽早发现回归
  • 当建议会破坏现有功能时用技术推理反对

避免

  • 在验证反馈前说'你完全正确!'或'好观点!'
  • 盲目实施反馈而不检查是否会破坏现有功能
  • 实施项目 1-3 和 6 而跳过不明确的项目 4-5 而不先询问

常见问题

如果代码审查反馈不明确该怎么办?
在实施任何内容之前停下来请求澄清。项目可能相关,部分理解会导致错误实施。清楚说明你理解哪些项目以及哪些需要澄清。
何时适合对审查者反馈提出异议?
当建议破坏现有功能、审查者缺乏完整上下文、违反 YAGNI 原则用于未使用功能、技术上对你的技术栈不正确或与架构决策冲突时提出异议。
如何提出异议而不显得防御性?
使用技术推理,提出具体问题,引用有效的测试或现有代码,如果问题是架构层面的则涉及你的人类伙伴。陈述事实,而非情绪。
如果我提出异议后后来发现错了怎么办?
事实性地承认纠正:'你是对的——我检查了 X,它确实做 Y。现在正在实施修复。'避免长篇道歉或为最初为何提出异议辩护。
为什么我应该避免说谢谢或表现性?
行动胜于言语。只需修复问题并展示代码中的更改。表现性同意浪费时间,可能会掩盖实际需要解决的技术问题。
我如何处理外部审查者反馈与我的人类伙伴不同?
对外部审查者更加怀疑。检查建议对你的代码库是否在技术上正确、不会破坏现有功能,以及审查者是否理解完整上下文。必要时用推理提出异议。

开发者详情

文件结构

📄 SKILL.md