.claude/skills/refactor/SKILL.md
Expert team review and refactor — tomei, Go, TDD, OS specialists discuss the diff and implement improvements.
npx skillsauth add terassyi/tomei refactorInstall 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.
Assemble a team of four specialists to review the current diff and propose targeted refactoring.
git branch --show-current
git diff --stat
git diff main..HEAD --stat 2>/dev/null || echo "on main, using staged/unstaged diff"
git diff main..HEADgit diff --cachedgit diffcuemodule/%w wrapping, sentinel errors)Present findings as a structured discussion. Prioritize:
Skip trivial or cosmetic changes.
Apply the agreed refactorings.
make buildmake testReport what was changed and why.
tomei apply or tomei init/pr afterwardtesting
Run full test suite — unit, integration, e2e sequentially. Stops on first failure.
testing
Pre-release checklist — verify CI status, version tags, CUE module coordination, changelog preview. Read-only.
development
Run tests, lint, format, create branch if needed, and commit with conventional message.
testing
Inspect GitHub Actions CI failure logs and auto-fix the issues.