Guides a refactor, cleanup, or restructure with the right decomposition. Use when the user asks to refactor, simplify, extract, or modernize code.
export const REFACTOR TEMPLATE \ /refactor <refactoring target [ scope <file|module|project ] [ strategy <safe|aggressive ] Arguments: refactoring target: What to refactor. Can be: File path: src/auth/handler.ts Symbol name: "AuthService class" Pattern: "all functions using deprecated API" Description: "extract validation logic into separate module" Options: scope: Refactoring scope (default: module) file: Single file only module: Module/directory scope project: Entire codebase strategy: Risk…
Full body not shown for this license – view the source on GitHub →Copy a source-pinned command for your client. You run it yourself.
Destination: .claude/skills/refactor · pinned to the source commit
# Run from your project root
git clone https://github.com/code-yeongyu/oh-my-openagent.git .skillboard-tmp
git -C .skillboard-tmp checkout 69e37f76baf3651170b61bf85ddad68142c35724
mkdir -p ".claude/skills"
cp -r ".skillboard-tmp/packages/shared-skills/skills/refactor" ".claude/skills/"
rm -rf .skillboard-tmpReview the source before running. This copies files into your project; it is not a one-click install and does not verify runtime safety.
sudo apt update && sudo apt install -y gitnpm install -g @anthropic-ai/claude-code# Run from your project root
git clone https://github.com/code-yeongyu/oh-my-openagent.git .skillboard-tmp
git -C .skillboard-tmp checkout 69e37f76baf3651170b61bf85ddad68142c35724
mkdir -p ".claude/skills"
cp -r ".skillboard-tmp/packages/shared-skills/skills/refactor" ".claude/skills/"
rm -rf .skillboard-tmpDestination: .claude/skills/refactor
Scanner static-checks@0.1.0 · commit 69e37f76baf3. Static checks cannot prove runtime safety – review the source and the exact diff before installing. How checks work.
No static rules matched. This is not a safety guarantee.