-
Notifications
You must be signed in to change notification settings - Fork 14
feat: add QA checklist skill for Claude Code #8831
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,49 @@ | ||
| --- | ||
| name: qa-checklist | ||
| description: Generate a QA acceptance criteria and regression testing checklist based on the current branch's changes, then update the Linear ticket. Use when work is ready for QA review. | ||
| argument-hint: [LINEAR-ISSUE-ID] | ||
| disable-model-invocation: true | ||
| --- | ||
|
|
||
| # QA Checklist Generator | ||
|
|
||
| Generate a QA-friendly acceptance criteria and regression testing checklist for the current branch. | ||
|
|
||
| ## Steps | ||
|
|
||
| 1. **Get the Linear issue**: Fetch the issue using the provided ID (e.g., NES-1297) to understand the original requirements and acceptance criteria. | ||
|
|
||
| 2. **Analyze the branch changes**: | ||
| - Run `git log main..HEAD --oneline` to see all commits on this branch. | ||
| - Run `git diff main..HEAD --stat` to see all changed files. | ||
| - Read the key changed files to understand what was modified. | ||
|
|
||
| 3. **Identify affected areas**: Determine all user-facing flows that were changed or could be impacted. Consider: | ||
| - Direct changes (new features, modified behavior) | ||
| - Indirect impacts (shared components, hooks, or utilities that were modified) | ||
| - Entry points where users can trigger the changed functionality | ||
|
|
||
| 4. **Generate the checklist**: Write a checklist with two sections: | ||
|
|
||
| **Acceptance Criteria** — What the feature should do (based on the issue requirements): | ||
| - Written as checkbox items (`- [ ]`) | ||
| - Non-technical language a QA tester can follow | ||
| - Focused on observable behavior, not implementation details | ||
|
|
||
| **Regression Testing** — What else should be manually verified to ensure nothing broke: | ||
| - Grouped by user flow or page | ||
| - Written as checkbox items (`- [ ]`) | ||
| - Include any special testing notes (e.g., timing, environment requirements) | ||
| - Cover all entry points where shared/modified code is used | ||
|
|
||
| 5. **Show the checklist to the user** for review before updating Linear. | ||
|
|
||
| 6. **Update the Linear ticket**: Once approved, replace the Acceptance Criteria section in the issue description with the new checklist. Keep the rest of the description unchanged. | ||
|
|
||
| ## Important | ||
|
|
||
| - Write for a QA team — avoid technical jargon, code references, and implementation details. | ||
| - Use checkbox format (`- [ ]`) for all items so they can be checked off. | ||
| - Do NOT add progress summaries or implementation notes to the ticket. | ||
| - Do NOT add the checklist as a comment — update the description directly. | ||
| - Always show the checklist to the user for review before updating Linear. | ||
|
Comment on lines
+41
to
+49
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Add a safe fallback when the ticket lacks a matching section. Updating the description directly is risky without defining how to find the existing Please require an exact section match and fall back to asking the user before editing when the section cannot be identified unambiguously. 🤖 Prompt for AI Agents |
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Clarify where the Regression Testing section is persisted.
Step 4 generates two sections, but Line 41 only tells the agent to replace
Acceptance Criteria. As written, the Regression Testing checklist is either dropped or forced into the wrong section when the Linear update happens.Please make the update contract explicit, e.g. replace/create both sections in the description, or update one section and leave the other as user-only output.
🤖 Prompt for AI Agents