skills/simplify/SKILL.md
Wrap-up refactoring — simplify code, eliminate duplication, preserve behavior
npx skillsauth add sd0xdev/sd0x-dev-flow simplifyInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
/feature-dev)/doc-refactor)/refactor)Agent({
description: "Simplify code, eliminate duplication, preserve behavior",
subagent_type: "code-simplifier",
prompt: `Simplify the code at: $ARGUMENTS
Follow the task steps and constraints defined in this skill.`
})
After simplification, dispatch risk assessment:
Agent({
description: "Review refactoring risk and verify behavior preservation",
subagent_type: "refactor-reviewer",
prompt: `Review the refactoring changes just applied.
Check behavior preservation, dependency impact, test coverage, and rollback risk.`
})
For $ARGUMENTS:
## Refactoring Summary
- [file:line] <change>
## Test Results
✅/❌
## Next Steps
- <suggestions>
documentation
Rewrite the previous reply in Traditional Chinese
development
Monitor GitHub Actions CI runs until completion. Use when: watching CI after push, checking build status, monitoring PR checks, waiting for CI completion, user says 'watch CI', 'check CI', 'CI status', 'monitor build', or /watch-ci. Not for: pushing code (use push-ci), creating PRs (use create-pr). Output: per-run verdict (pass/fail/timeout).
development
Verification loop — lint -> typecheck -> unit -> integration -> e2e
development
Research current code state then update corresponding docs, ensuring docs stay in sync with code.