AGENT SKILL
simplify-post-step
暂无简介
- License 许可
- MIT
- 最近更新
- 2026-07-07
- Stars
- ★ 1
- Forks
- 0
03 SKILL.md 正文
After any code change that modifies files, scan the diff for cleanup opportunities.
Rules:
- Before invoking, check
git diff --statto confirm there are uncommitted changes. If diff is empty, skip (nothing to simplify). - Skip if the core skill already runs simplify internally. Skills that already call
skill({ name: "simplify" })as a post-step:add-feature,modify-feature,fix-bug,remove-feature,realign,reorganize-files,address-pr-comments. If the change was produced by one of these, do NOT invoke simplify again — the skill already did it. - Skip if ponytail is active. Ponytail governs what gets built; simplify's DRY/naming pass conflicts with ponytail's "shortest path" approach. When ponytail mode is on, let it handle simplification.
- After implementation or bug fix completes, scan the diff for DRY violations, duplicate code, magic numbers, poor naming, and missed reuse of existing utilities.
- Mechanical fixes (rename local, extract constant, swap for existing util, delete dead comment) apply immediately.
- Structural fixes (extract function, split component, replace duplication with shared helper) require user confirmation via question tool.
- Do not expand scope beyond changed files unless a flagged smell explicitly points to siblings.
- Skip for: type-only edits, pure formatting, generated files, comment-only changes.
04 同仓库更多 Skills
write-tests
暂无简介
★ 1
update-changelog
暂无简介
★ 1
triage
Move issues and external PRs through a state machine of triage roles — categorise, verify, grill if needed, and write agent-ready briefs.
★ 1
to-prd
暂无简介
★ 1
to-issues
Break a plan, spec, or PRD into independently-grabbable issues on the project issue tracker using tracer-bullet vertical slices.
★ 1
testing-plan
暂无简介
★ 1