用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/foolhardy45/portfolio --skill simplify-code命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Arquitecto de Soluciones Principal y Consultor Tecnológico de Andru.ia. Diagnostica y traza la hoja de ruta óptima para proyectos de IA en español.
Security audit, hardening, threat modeling (STRIDE/PASTA), Red/Blue Team, OWASP checks, code review, incident response, and infrastructure security for any project.
Ingeniero de Sistemas de Andru.ia. Diseña, redacta y despliega nuevas habilidades (skills) dentro del repositorio siguiendo el Estándar de Diamante.
基于 SOC 职业分类
正在显示 SKILL.md
| name | simplify-code |
| description | Review a diff for clarity and safe simplifications, then optionally apply low-risk fixes. |
| risk | safe |
| source | Dimillian/Skills (MIT) |
| date_added | 2026-03-25 |
Review changed code for reuse, quality, efficiency, and clarity issues. Use Codex sub-agents to review in parallel, then optionally apply only high-confidence, behavior-preserving fixes.
Choose the mode from the user's request:
review-only: user asks to review, audit, or check the changessafe-fixes: user asks to simplify, clean up, or refactor the changesfix-and-validate: same as safe-fixes, but also run the smallest relevant validation after editsIf the user does not specify, default to:
review-only for "review", "audit", or "check"safe-fixes for "simplify", "clean up", or "refactor"Prefer this scope order:
If there is no clear scope, stop and say so briefly.
When using git changes, determine the smallest correct diff command based on the repo state:
git diffgit diff --cachedDo not assume git diff HEAD is the right default when a smaller diff is available.
Before reviewing standards or applying fixes, read the repo's local instruction files and relevant project docs for the touched area. Prefer the closest applicable guidance, such as:
AGENTS.mdUse those instructions to distinguish real issues from intentional local patterns.
Use Codex sub-agents when the scope is large enough for parallel review to help. For a tiny diff or one very small file, it is acceptable to review locally instead.
When spawning sub-agents:
Use four review roles.
Review the changes for reuse opportunities:
Recommended sub-agent role: explorer for broad codebase lookup, or reviewer if a stronger review pass is more useful than wide search.
Review the same changes for code quality issues:
Recommended sub-agent role: reviewer
Review the same changes for efficiency issues:
Recommended sub-agent role: reviewer
Review the same changes for clarity, local standards, and balance:
Recommended sub-agent role: reviewer
Only report issues that materially improve maintainability, correctness, or cost. Do not churn code just to make it look different.
Wait for all review sub-agents to complete, then merge their findings.
Normalize findings into this shape:
Discard weak, duplicative, or instruction-conflicting findings before editing.
In review-only mode, stop after reporting findings.
In safe-fixes or fix-and-validate mode:
Prefer fixes like:
Do not stage, commit, or push changes as part of this skill.
In fix-and-validate mode, run the smallest relevant validation for the touched scope after edits.
Examples:
Prefer fast, scoped validation over full-suite runs unless the change breadth justifies more.
If validation is skipped because the user asked not to run it, say so explicitly.
Close with a brief result:
If the code is already clean for this rubric, say that directly instead of manufacturing edits.