Skip to content

[ponytail#295] Extensible skill system — ponytail-review-uncommitted as sub-skill #55

Description

@getappz

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.rsdetect(), 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions