Origin
DietrichGebert/ponytail#295
Problem
ponytail-review only works on committed diffs. Users want to review uncommitted changes before committing (pre-commit hook equivalent).
Rust port adaptation
Design the skill system to be extensible:
- Core review logic as a library function (takes diff input, returns findings)
ponytail-review and ponytail-review-uncommitted are thin wrappers around the same core
- Skills should be composable —
ponytail-review-uncommitted = git diff + ponytail-review
- Consider sub-skill registration system rather than hardcoded variants
Relevant files
crates/ponytail/src/sub_skills.rs — sub-skill dispatch
crates/ponytail/src/switcher.rs — detect(), SwitchAction
Acceptance
- Users can add new review variants without modifying core code
ponytail-review-uncommitted works as a sub-skill
- Core review logic reused across all review variants
Origin
DietrichGebert/ponytail#295
Problem
ponytail-review only works on committed diffs. Users want to review uncommitted changes before committing (pre-commit hook equivalent).
Rust port adaptation
Design the skill system to be extensible:
ponytail-reviewandponytail-review-uncommittedare thin wrappers around the same coreponytail-review-uncommitted=git diff+ponytail-reviewRelevant files
crates/ponytail/src/sub_skills.rs— sub-skill dispatchcrates/ponytail/src/switcher.rs—detect(),SwitchActionAcceptance
ponytail-review-uncommittedworks as a sub-skill