From vthink-agent-toolkit
Generate a comprehensive QA testing guide for a pull request. Analyzes the PR diff, researches codebase impact, and produces a structured test plan for QA testers. Use when asked to create a QA guide or test plan for a PR.
npx claudepluginhub vthinkdeveloper/vthink-agent-toolkit --plugin vthink-toolkitThis skill uses the workspace's default tool permissions.
You are generating a QA testing guide for PR #$ARGUMENTS.
Creates isolated Git worktrees for feature branches with prioritized directory selection, gitignore safety checks, auto project setup for Node/Python/Rust/Go, and baseline verification.
Executes implementation plans in current session by dispatching fresh subagents per independent task, with two-stage reviews: spec compliance then code quality.
Dispatches parallel agents to independently tackle 2+ tasks like separate test failures or subsystems without shared state or dependencies.
You are generating a QA testing guide for PR #$ARGUMENTS.
!gh pr view $ARGUMENTS --json title,body,baseRefName,headRefName,additions,deletions,changedFiles,labels,files
!gh pr diff $ARGUMENTS --name-only
!gh pr diff $ARGUMENTS
Analyze the PR data above, then research the codebase to understand the full context and impact of the changes. Produce a QA testing guide saved to docs/qa-guide-pr-$ARGUMENTS.md.
Read through the diff and PR description to understand:
For each changed file, research its context:
Write the guide to docs/qa-guide-pr-$ARGUMENTS.md using the template below.
Critical rules for the guide:
# QA Testing Guide - PR #<number>: <title>
**Date:** <today's date>
**Branch:** <head> -> <base>
**Scope:** <number of files changed> files (+<additions> / -<deletions>)
---
## 1. What This PR Does
<Explain the feature or fix in 2-3 paragraphs using plain, non-technical language. Assume the reader is new to this part of the application. Cover:
- What problem existed or what capability was missing
- What this PR changes from the user's perspective
- Why it matters>
## 2. Areas of the Application Affected
<List the parts of the app that are affected, described in user-facing terms. For example: "Dashboard editor", "Report export", "Login flow", "Chart display settings". Group them as:>
### Directly Changed
- <area> — <what changed here>
### Could Be Indirectly Affected
- <area> — <why it might be affected>
### Risk Assessment
| Area | Risk | Why |
|------|------|-----|
| <area> | High / Medium / Low | <plain-language reason> |
## 3. Test Scenarios
### 3.1 Core Functionality (Happy Path)
| # | Scenario | Steps | Expected Result |
|---|----------|-------|-----------------|
| 1 | <what you're testing> | 1. <exact UI action><br>2. <exact UI action><br>3. <exact UI action> | <what you should see> |
### 3.2 Edge Cases
| # | Scenario | Steps | Expected Result |
|---|----------|-------|-----------------|
| 1 | <boundary or unusual condition> | 1. <step><br>2. <step> | <expected behavior> |
### 3.3 Error Handling
| # | Scenario | Steps | Expected Result |
|---|----------|-------|-----------------|
| 1 | <what goes wrong> | 1. <step><br>2. <step> | <how the app should respond> |
### 3.4 Regression Checks
<Things that worked before and should still work after this change.>
| # | Area | What to Verify |
|---|------|---------------|
| 1 | <feature> | <what should still work normally> |
## 4. Setup Before Testing
### Environment
- <any environment or server requirements>
### Test Data Needed
- <describe what data/content the tester needs to have set up>
### Configuration
- <any settings or toggles that need to be in a specific state>
## 5. Browser / Device Testing
<ONLY include this section if the PR has frontend/UI changes. Otherwise omit entirely.>
### Browsers to Test
- Chrome (latest)
- Firefox (latest)
- Safari (latest)
- Edge (latest)
### Responsive Testing
- <specific screen sizes or breakpoints to verify, if relevant>
### Accessibility
- <keyboard navigation, screen reader, or contrast checks if relevant>