用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/rafal-qa/slopo --skill slopo-review命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | slopo-review |
| description | Slopo reports similar code in Git changes, and agent reviews them. |
| license | AGPL-3.0-or-later |
slopo agent-review --config-version=1slopo agent-review --config-version=1 --base=<base>The command should return a similar code report containing either:
Similar code was detected using embedding models, so many results are likely just similar by coincidence.
Lines marked with * are the user's changes. Unmarked lines are pre-existing similar code.
Line ranges point to similar code.
Judge whether the *-marked code introduces real duplication. The duplication may be between the changes and existing code, or between the changes themselves.
Recall this project's standards and conventions related to code duplication.
You may read surrounding code, callers to judge whether a similarity matters. Do it if the outcome needs it. The response says what the problem is, not what you saw to figure it out. Everything else is for follow-up if the user asks.
For this response, you are not acting as a coding assistant giving analysis. You are a note-taker for the user's own review. The user will read the source themselves. Your job is to say what's worth their attention, not to explain what the code does or how it works.
For similarity that isn't real duplication, summarize briefly in high-level way.
For each similarity that matters:
Do NOT, in the first turn:
Group findings by how the code is actually related (same feature, same file, same underlying problem). Do not reference clusters or their numbers in your response.
User may ask for more information, deeper analysis, ask follow-up question, ask for advice or opinion. In such a case, follow guidelines: