一键导入
chinese-code-review
中文 review 沟通参考——话术模板、分级标注(必须修复/建议修改/仅供参考)、国内团队常见反模式应对。仅在用户显式 /chinese-code-review 时调用,不要根据上下文自动触发。
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
中文 review 沟通参考——话术模板、分级标注(必须修复/建议修改/仅供参考)、国内团队常见反模式应对。仅在用户显式 /chinese-code-review 时调用,不要根据上下文自动触发。
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use this skill when the Agent needs to decide where a capability, rule, workflow, runtime anchor, script, job, document, persona change, plugin asset, or repository maintenance item should live. It provides a layered map of the Agent's durable assets so requests to “落实到 all”, “整理自身框架”, or “细化自身” do not bloat memory or scatter files.
Use this skill when the user asks to 自检自身、重新蒸馏、进化版 Agent、增强回去、避免死循环处理、能力增益评估,或在瘦身与增强之间取舍。它先盘点已处理对象、能力风险和真正增益点,再决定增强、修复、拆分、瘦身或停止,不把行数减少当成默认目标。
Use this skill when the Agent needs an executive-control layer before acting: classify user intent, decide direct execution vs read-only inspection vs button confirmation vs clarification, avoid over-asking, and keep work moving to the smallest safe completed state. Trigger especially when the user says 继续、落地、放开手脚、接管、自己判断、按方案推进,or complains about typing confirmations that should be buttons.
Use this skill when the Agent needs to read feedback signals before deciding whether to act, correct itself, distill a lesson, or ask for clarification. It treats user wording, repeated failures, tool errors, missing evidence, and activity context as sensory inputs, then routes to the right organ without overreacting.
Use this skill when the Agent needs to turn experience into a repeatable growth loop: observe signals, decide whether learning is needed, distill reusable lessons, place them into the right asset layer, verify the change, and keep future behavior lighter rather than heavier. Trigger when the user asks to 主动成长、持续进化、经验闭环、复盘后改进, or when repeated failures show a missing habit rather than a one-off bug.
Use this skill when the Agent needs to distinguish safe self-improvement from high-risk mutation. It guards credentials, destructive actions, MoviePilot core files, downloads, restarts, external service changes, and over-broad memory edits while still allowing authorized low-risk /config/agent and /config local plugin work to proceed.
| version | 2 |
| name | chinese-code-review |
| description | 中文 review 沟通参考——话术模板、分级标注(必须修复/建议修改/仅供参考)、国内团队常见反模式应对。仅在用户显式 /chinese-code-review 时调用,不要根据上下文自动触发。 |
这是显式触发型参考技能。仅当用户明确点名 /chinese-code-review,或明确要求中文代码审查沟通、Review 话术、分级标注、国内团队评审反模式时使用。
不要让本技能抢占 MoviePilot 媒体、站点、下载、订阅、转移、Agent Git 或系统排障路线。
中文 Code Review 要做到:问题说清楚,语气不过度冒犯;关键风险不软化,建议性问题不过度命令化。
审查重点优先级:正确性、安全、数据一致性、兼容性、性能、可维护性,最后才是风格。
统一使用分级标注,避免所有意见看起来一样重要。
推荐结构:
[级别] 问题标题
现象:指出具体代码位置和问题。
原因:说明为什么有风险。
建议:给出可执行修复方向。
验证:说明如何证明修复有效。
示例:
[必须修复] SQL 注入风险
这里把用户输入直接拼接进 SQL。攻击者可以构造特殊 name 参数改变查询语义。
建议改为参数化查询,并补一个包含特殊字符的测试用例。
这里使用同步 IO 是为了保证顺序吗?如果并发上来,可能会阻塞事件循环。[必须修复] 这里会在空数组时抛错。审查顺序:
问题:关键风险被委婉语稀释。
修正:语气可以温和,但级别必须明确。
[必须修复] 并发安全问题
这个 map 会被多个 goroutine 同时读写,race 测试可以复现。
建议加锁或改用 sync.Map。
问题:审查不可追溯。
修正:简短说明看过哪些关键点。
LGTM。重点看了幂等处理、错误返回和旧字段兼容,没有发现阻塞问题。
问题:大量评论浪费在自动化工具能处理的细节上。
修正:先补 formatter/linter;Review 聚焦逻辑、安全、性能和可维护性。
问题:因为身份、关系或气氛跳过真实 bug。
修正:对事不对人,引用代码事实和验证方式。
Redis 缓存、3 个请求。chinese-commit-conventions,不要在本技能重复展开。总结:整体方案清楚,核心路径实现完整。
主要问题:
1. [必须修复] xxx
2. [建议修改] xxx
3. [仅供参考] xxx
建议先处理阻塞问题,再补测试验证。
回答时只给与用户请求相关的中文 Review 建议或模板,不要展开整套手册。若修改了 Agent 能力资产,完成后执行结构验证,并提醒是否需要同步仓库。