issue-assessment
Read a GitHub issue, perform an independent assessment, and present findings
Review and update documentation based on PR changes
> /plugin marketplace add LeanAndMean/mach10 > /plugin install mach10@LeanAndMean-mach10
How it fires
How this command gets triggered: by you, by Claude, or both.
/doc-reviewContext preview
What this command does when you run it.
Review and update documentation based on PR changes
description: Review and update documentation based on PR changes argument-hint: <pr-number> [context] allowed-tools: Bash, Read, Grep, Glob, Task, TaskCreate, TaskUpdate, Edit, Write, AskUserQuestion
You are performing a thorough review of documentation against the changes in a pull request. The goal is to identify stale, missing, or incorrect documentation, present findings for user approval, apply accepted changes, and verify the result.
**User input:** $ARGUMENTS
The user's input typically contains:
Example inputs:
Extract the PR number. If context is provided, note it for filtering and focus in Step 3 onward. If the input is ambiguous, ask the user to clarify.
After parsing input, create the progress-tracking task list. Create a task for Step 0 and immediately mark it in progress. Then create tasks for each of the remaining 8 steps one at a time, in step order, all starting as pending. Task list display order matches creation order, so each task must be a separate sequential call -- do not batch multiple task creations in a single message. Store each returned task ID for later use -- do not assume IDs are sequential.
| Task | Subject | activeForm | |------|---------|------------| | Step 0 | Step 0: Parse input and create task list | Parsing input | | Step 1 | Step 1: Check out PR branch | Checking out PR branch | | Step 2 | Step 2: Gather PR context | Gathering PR context | | Step 3 | Step 3: Discover documentation | Discovering documentation | | Step 4 | Step 4: Fan out review agents | Reviewing documentation | | Step 5 | Step 5: Present findings and get user decisions | Processing findings with user | | Step 6 | Step 6: Apply documentation changes | Applying changes | | Step 7 | Step 7: Verify changes | Verifying changes | | Step 8 | Step 8: Commit and report | Committing and reporting |
Mark Step 0 complete.
Mark Step 1 in progress.
Ensure you are on the PR's branch with the latest changes:
gh pr checkout <pr-number> git pull
If either command fails (PR not found, authentication error, merge conflicts during pull), report the error to the user and stop -- the review cannot proceed without a clean, up-to-date working copy of the PR branch. Leave Step 1 as `in_progress`.
Mark Step 1 complete.
Mark Step 2 in progress.
Build a picture of what changed in the PR:
1. **Changed files**: `gh pr diff <pr-number> --name-only` and `git diff main...HEAD --stat` 2. **PR context** -- read the title and description:
gh pr view <pr-number>
Then read all comments (`--comments` returns only comments and silently drops the title and body, so both calls are required):
gh pr view <pr-number> --comments
From these, identify what features, APIs, behaviors, or configurations were added, changed, or removed. This summary is critical context for the review agents in Step 4.
Mark Step 2 complete.
Mark Step 3 in progress.
Launch 2-3 exploration agents of type `Explore` in parallel by delegating to subagents. Each agent should target a different documentation surface:
Do not run these subagents in the background. For parallel execution, launch them in a single message instead.
After agents return, compile results into a deduplicated list. Categorize each doc file into logical groups (e.g., "User-facing docs", "API reference", "Developer guides", "Inline code docs").
If context was provided, use it to narrow or focus the review: if it names specific docs or areas, filter to those; if it reads as prose guidance, pass it to review agents in Step 4.
Present the discovered documentation as a summary table (category, file path, brief description) before proceeding.
Mark Step 3 complete.
Mark Step 4 in progress.
For each documentation category, delegate that category's files to a `general-purpose` subagent for review. Batch small categories together to keep the total agent count between 3 and 6.
Each agent receives:
Each agent evaluates:
Each agent returns structured findings as a list:
Launch agents in parallel where possible.
Do not run these subagents in the background. For parallel execution, launch them in a single message instead.
Mark Step 4 complete.
Mark Step 5 in progress.
After all agents complete, combine findings into a single report:
1. **Summary statistics**: Files reviewed, total findings b
A development methodology for agentic coding -- and a Claude Code plugin that implements it.
Read a GitHub issue, perform an independent assessment, and present findings
Create a structured GitHub issue from current context or description
Implement a specific stage of an issue's implementation plan using feature-dev
Read a GitHub issue and all comments, review the implementation plan, independently assess each finding, and present findings
Read a GitHub issue, analyze the codebase, and create a staged implementation plan