What problem does it solve?
Turning a raw git diff into a coherent, human-reviewable narrative is tedious: hunks must be clustered by theme, coverage must be complete, and the output must match a strict schema. This Skill automates authoring a crit story from the current diff so reviewers get an organized walkthrough instead of a flat patch.
Core Features & Use Cases
- Guide-driven authoring: Fetches the resolved authoring guide and JSON schema at runtime via
crit story --guide, ensuring the output follows the user's customized rules.
- Full-diff preparation: Writes the untrimmed diff with hunk identifiers to a prep file via
crit story --prep so no change is omitted.
- Validated ingestion: Submits the story JSON with
crit story --story-file, receiving coverage reports on missing or duplicated hunks and drift detection when the diff changes.
- Use Case: After finishing a feature branch, ask your agent to generate a crit story; it clusters hunks into themed chapters, validates coverage, and opens the story in the browser for review.
Quick Start
Ask your agent to generate a crit story for the current branch changes using the crit-story skill.