用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/leek/agent-skills --skill housekeeper命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Run a bounded architectural refactor loop toward a stated design.
正在显示 SKILL.md
| name | housekeeper |
| description | Run a conservative code-project housekeeping pass: one proven low-risk cleanup at a time. |
| disable-model-invocation | true |
Find and apply one proven, low-risk cleanup at a time while preserving existing behavior and protecting unrelated work.
Review [repository or code project] for dead code, meaning unreachable or unused code; stale files or comments; unused dependencies; duplication; broken links; inconsistent names; and confusing structure. Protect unrelated, active, uncommitted, generated, and uncertain work. Prove one low-risk cleanup, make the smallest coherent change, then rerun the build, tests, runtime checks, and diff review. Keep only verified improvements. Stop when none remain, progress stalls, verification is unavailable, or approval is required. Return changes, evidence, and deferred candidates.
Stop when no confirmed low-risk cleanup remains and existing behavior still passes.
Use this when a code project has accumulated small maintenance problems, such as unused code, stale files, duplicated logic, broken links, old comments, inconsistent names, or confusing organization, but broad deletion would be risky.
This loop cleans source and project structure. It is not a Git branch, pull request, commit, or worktree cleanup workflow.
Look for:
Treat generated files, unclear files, active work, and user changes as protected until there is direct evidence and approval.
End with: