feat: add /mgw:ask contextual question routing command#42
Merged
snipcodeit merged 2 commits intomainfrom Feb 27, 2026
Merged
Conversation
New slash command for classifying questions/observations during milestone execution. Spawns a general-purpose agent with full project context (milestone, issues, active state, git diff) that returns one of five classifications: in-scope, adjacent, separate, duplicate, or out-of-scope. Offers follow-up actions per classification (file new issue, post comment, etc.). Closes #38 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This was referenced Feb 27, 2026
5 tasks
snipcodeit
pushed a commit
that referenced
this pull request
Mar 3, 2026
… as separate mode Revises implementation based on PR feedback: - Keep original issue comment classification (default behavior) - Add PR deep analysis as separate mode (--pr flag or PR URL) - Dual-mode command handles both use cases Usage: /mgw:review 42 - Review comments on issue #42 /mgw:review 42 --pr - Deep PR analysis on PR #42 /mgw:review https://github.com/owner/repo/pull/42 - Deep PR review
snipcodeit
pushed a commit
that referenced
this pull request
Mar 3, 2026
… as separate mode Revises implementation based on PR feedback: - Keep original issue comment classification (default behavior) - Add PR deep analysis as separate mode (--pr flag or PR URL) - Dual-mode command handles both use cases Usage: /mgw:review 42 - Review comments on issue #42 /mgw:review 42 --pr - Deep PR analysis on PR #42 /mgw:review https://github.com/owner/repo/pull/42 - Deep PR review
snipcodeit
pushed a commit
that referenced
this pull request
Mar 3, 2026
… as separate mode Revises implementation based on PR feedback: - Keep original issue comment classification (default behavior) - Add PR deep analysis as separate mode (--pr flag or PR URL) - Dual-mode command handles both use cases Usage: /mgw:review 42 - Review comments on issue #42 /mgw:review 42 --pr - Deep PR analysis on PR #42 /mgw:review https://github.com/owner/repo/pull/42 - Deep PR review
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
/mgw:ask <question>slash command that classifies questions/observations during milestone execution into five categories: in-scope, adjacent, separate, duplicate, or out-of-scopeCloses #38
Milestone Context
Changes
commands/ask.md— New slash command definition (question classification agent, 5 classification categories, follow-up actions).claude/commands/mgw/ask.md— Mirror of commands/ask.mdcommands/help.md— Add Query section with /mgw:ask entry.claude/commands/mgw/help.md— Mirror of commands/help.md.claude/commands/mgw/workflows/gsd.md— Add question classification agent pattern, update consumers table.claude/commands/mgw/workflows/validation.md— Add ask.md to delegation boundary consumers table.claude/commands/mgw/workflows/state.md— Add ask.md to validate_and_load and project state consumers.claude/commands/mgw/workflows/github.md— Add ask.md to issue operations and mutations consumersTest Plan
/mgw:ask "test question"and verify classification agent spawns with full contextgh issue create