Skip to content

feat: use AskUserQuestion for dirty working tree (v0.7.4)#200

Merged
garrytan merged 3 commits intomainfrom
garrytan/ask-user-question-ui
Mar 19, 2026
Merged

feat: use AskUserQuestion for dirty working tree (v0.7.4)#200
garrytan merged 3 commits intomainfrom
garrytan/ask-user-question-ui

Conversation

@garrytan
Copy link
Owner

Summary

  • /qa and /design-review now use AskUserQuestion when the working tree is dirty, instead of a hard exit 1
  • Users get three interactive options: commit changes, stash changes, or abort
  • Updated "Additional Rules" in both skills to match the new behavior

Pre-Landing Review

No issues found.

Test plan

  • All skill validation tests pass (394 tests, 0 failures)
  • gen:skill-docs regenerates cleanly
  • Manual: invoke /qa on a dirty tree → confirm AskUserQuestion prompt appears

🤖 Generated with Claude Code

garrytan and others added 3 commits March 18, 2026 22:13
Replace hard exit 1 with interactive AskUserQuestion prompt offering
commit/stash/abort options when /qa or /design-review detects a dirty
working tree.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@garrytan garrytan merged commit 823772f into main Mar 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant