simplify
Installation
SKILL.md
Simplify Changed Code
This skill ports the behavior of the pi-simplify extension to a normal TraeX skill.
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.
If the user does not provide explicit paths, run:
python3 /Users/bytedance/.config/agents/skills/simplify/scripts/simplify_scope.py [args...]
Run it from the target repository root. The script prints the changed-file scope and the exact review prompt to follow. If the current directory is not the target repo, pass --cwd <repo>.