Fix gh view commands in code blocks being treated as alternatives instead of sequential calls
Summary
When Claude executes mach10 commands, it only runs gh pr view <number> --comments (or gh issue view <number> --comments) and skips the plain gh view call. This means the issue/PR body is silently dropped, since the --comments flag excludes the title and body.
Current Behavior
All 7 affected commands place both gh view calls in a single fenced code block with inline comments:
gh pr view <pr-number> # title + description
gh pr view <pr-number> --comments # comments only
Claude interprets these as alternatives rather than two mandatory sequential calls, and picks --comments because the name sounds additive. The inline comments reinforce this by reading as labels, not instructions.
Proposed Behavior
Split the two commands into separate code blocks with explicit prose explaining that both calls are required and why (--comments silently drops the body).
Acceptance Criteria
- Each of the 7 affected commands uses separate code blocks for the body call and the comments call
- Prose between the code blocks makes it unambiguous that both must be run
- The reason for two calls is stated (the
--commentsflag drops the body)
Affected Files
commands/issue-assessment.mdcommands/issue-plan.mdcommands/issue-review-plan.mdcommands/issue-implement.mdcommands/pr-review-fix.mdcommands/pr-review-validate.mdcommands/doc-review.md
Context
The body-dropping behavior of --comments was identified in issue #6 and fixed in commit af5f4c2 by splitting into two calls. However, the formatting (single code block) still causes Claude to skip the first call.
Progress: Implementation complete
Split the single fenced code block containing both gh view and gh view --comments into separate code blocks with explicit prose in all 7 affected commands. The prose explains that --comments returns only comments and silently drops the title and body/description, making both calls required.
Files modified:
commands/issue-assessment.mdcommands/issue-plan.mdcommands/issue-review-plan.mdcommands/issue-implement.mdcommands/pr-review-fix.mdcommands/pr-review-validate.mdcommands/doc-review.md
Commit: 806dab5
Branch: feature/issue-10-fix-gh-view-code-blocks