基于 SOC 职业分类
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/leek/agent-skills --skill architecture-satisfaction命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
Drive an existing wayfinder map, spec, or set of tickets to completion through fresh top-level Claude Code, Codex, or Grok sessions.
Two-axis review of the diff since a fixed point: Standards (repo conventions) and Spec (ticket/PRD fidelity). Use when the user wants to review a branch, PR, WIP changes, or asks to "review since X".
Audit a codebase, path, or branch diff for classic code smells against the 56-smell Luzkan catalog (PHP/Laravel and TS/React heuristics). Use when the user asks for a code-smell audit or smell-check of a module or diff.
| name | architecture-satisfaction |
| description | Run a bounded architectural refactor loop toward a stated design. |
| disable-model-invocation | true |
Refactor toward a concrete architectural target while keeping the system working after each meaningful step.
Refactor until you are happy with the architecture. After each significant step, live-test the system, run an independent review, and commit. Track progress in /tmp/refactor-{projectname}.md.
Stop when the architecture is satisfactory and checks pass.
Use this for a deliberate architectural refactor where the desired destination can be stated in concrete terms and the current system can be tested after each meaningful change.
This is not a general cleanup pass. Use housekeeper for low-risk code hygiene, repository-cleanup for Git branch/PR/worktree/stash cleanup, and nightly-docs-sweep for documentation drift.
Before editing code, write down the target in concrete terms. Include the parts that make the architecture satisfactory, such as:
If the target is vague, pause and clarify it. A subjective stop condition can otherwise run indefinitely.
Create or update a progress file in /tmp named for the project, for example:
/tmp/refactor-my-project.md
Track:
The progress file is scratch state for long refactors and handoffs. Do not use it as a substitute for project documentation unless the user asks.
Each checkpoint should have:
Do not let several unrelated refactors accumulate before verification. Small verified checkpoints reduce risk and preserve rollback points.
Ask the review pass to look for:
End with: