simplify
Installation
SKILL.md
Code Simplifier
Run the code-simplifier agent to clean up and refine code on this branch.
Instructions
- First, determine the scope of changes to simplify:
# Check if we're on a PR branch
gh pr view --json number,headRefName 2>/dev/null || echo "Not on a PR branch"
# Get the current branch
git branch --show-current
# Show files changed vs main
git diff --name-only main...HEAD 2>/dev/null || git diff --name-only origin/main...HEAD