simplify
Installation
SKILL.md
Simplify Changed Code
Invocation
When the user invokes this skill, parse optional arguments from the user text:
--staged: inspect only staged changes.--ref=<ref>: diff against the given git ref. Default isHEAD.- Any other tokens that look like file paths: restrict the review to those paths.
For every invocation, resolve scripts/simplify_scope.py relative to this
SKILL.md and run it with the parsed arguments. Do not assume a particular home
directory or skill installation root. Run it from the target repository root, or
pass --cwd <repo> when operating on a different repository.
The helper intentionally mirrors the upstream scope behavior: