/qa-skills:plan-qc-subtasksfrom qa-skills
Create, estimate, and schedule the QC's own QC subtasks in Jira. Finds the stories assigned to the QC for testing, creates a QC subtask under each story that has none, estimates story points from the story, and fills empty Start and Due dates from the Dev subtasks' Due dates and the story points, all in one approval. Use when the user asks to list the stories they test, create QC subtasks, estimate or fill story points on them, set QC start or due dates, or plan their QC work for a sprint. Not for story point or sprint reports.
Ships in qa-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
A QC subtask is the QC's own Jira issue for testing one story: it carries the QC's assignee, story points, and dates. This skill creates the missing ones and fills their empty fields, in one change set the QC approves once.
When to skip steps:
Jira field keys come from the project's create and edit metadata, found by field name. Never hardcode field IDs.
Team choices live in .env in the QA workspace, next to the TestRail variables. A missing value takes its default: state the defaults used in one line of the approval message. A value the QC changes there gets saved to .env.
| Variable | Default | Meaning |
|---|---|---|
JIRA_QC_ASSIGNEE_FIELD | QC Assignee | Name of the story field that names the story's QC |
QC_SUBTASK_TITLE | the pattern of your latest QC subtask in the project, else QC - {story} | Title of a new QC subtask, {story} being the story's title. The text before {story} marks a QC subtask |
JIRA_DEV_SUBTASK | none: every other subtask | JQL condition that matches Dev subtasks, such as labels = dev |
QC_SP_HOURS | 1:2,2:4,3:8,5:16,8:24,13:40 | Story points and the most hours each covers. The highest is the most one QC subtask may hold |
QC_HOURS_PER_DAY | 8 | Working hours in a day |
QC_WORKDAYS | mon,tue,wed,thu,fri | Working weekdays |
QC_HOLIDAYS | none | Days off as YYYY-MM-DD, comma-separated. None set: say the Due dates ignore holidays |
The date script is scripts/schedule.mjs (Node 18+, no dependencies). It reads the QC_ variables itself. Run it from the QA workspace, where <skill> is this skill's directory:
node <skill>/scripts/schedule.mjs settings
node <skill>/scripts/schedule.mjs plan <stories.json>
node <skill>/scripts/schedule.mjs verify <plan.json> <readback.json>
Its --help text shows the JSON shape. Keep these files in a scratch dir, not in tickets/.
JIRA_QC_ASSIGNEE_FIELD is the current Jira user and whose status category is not Done.Read Jira through the Atlassian MCP. For each story read its title, status, the QC field, and every subtask with its title, assignee, status, resolution, story points, Start date, and Due date. Page through every result.
Sort the subtasks of each story:
QC_SUBTASK_TITLE prefix.JIRA_DEV_SUBTASK, else any other subtask.Plan only QC subtasks assigned to the current user. List other QCs' QC subtasks without changing them.
Fill only empty fields. Never change a value that is already set.
QC_SUBTASK_TITLE and assigned to the current user. A story with another QC or none, or whose only QC subtasks belong to another QC: list it, do not plan a subtask.plan, with the new and estimated story points. A new subtask uses <story key>/new-<n> as its key. plan returns the dates to set, the Dev subtask that sets the Start date, and why a date cannot be set.The script owns the date rules: Start is the next working day after the latest Dev Due date, and Due is working day N with Start as day 1, where N is the story points' hours divided by QC_HOURS_PER_DAY, rounded up. A story with no Dev subtask, or a Dev subtask without a Due date, gets no dates.
Read the story's description, acceptance criteria, and linked pages. If the story has a ticket folder (Ticket Folder), read its context.md and count its test cases.
Estimate the hours to test the story from:
The story points are the smallest value in QC_SP_HOURS whose hours cover the estimate. More hours than the highest value: plan several QC subtasks, split by group of acceptance criteria, then by test phase, then by platform, each titled <QC_SUBTASK_TITLE> - <part> and within the highest value.
One message as the message-the-qc skill lays out. Questions from Steps 1 and 2, such as missing story keys or a field the project lacks, go in it.
3 to create · 4 story points · 5 dated · 2 waiting.❓ Write these to Jira?
1. ✅ Write all
2. ✏️ Type changes
Run every approved write without asking again. A change to the approved rows needs a new approval.
plan again. Write only the rows it returns unchanged. A row that changed waits for the next run, and the report says why.plan input shape with each new subtask's real key, and run verify with the plan whose keys you updated the same way. Also check each new subtask's parent, title, and assignee, and every story point value written. Report a mismatch with Jira's current value. Do not write it again until the cause is known: a workflow or automation may have changed it.Never create a second subtask to retry a failed step. Fix the one already created.
3 created · 4 story points · 5 dated · 2 waiting · 0 failed.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub tinyc0der/qa-skills --plugin qa-skills14 skills in this plugin
/detect-duplicate-test-casesFind duplicate, near-duplicate, and overlapping manual test cases in TestRail or local `*.test.md` files. Identifies exact matches, semantically similar cases, subsets, and variations that differ only in data. Recommends which cases to keep, merge, or remove. Use when asked to find or clean up duplicate test cases or dedupe a TestRail section. Not for pruning cases that duplicate nothing./gather-contextGather what every source says about a Jira ticket or feature and save it to a context file (`tickets/<KEY>-<slug>/context.md`) with the sources read and not read, existing TestRail cases, conflicts between sources and the side followed, and open questions. Reads the ticket with its history, comments, sub-tasks, and linked issues, plus Confluence, Figma, TestRail, the live app, and the QA workspace. It is the first step of `review-user-story` and `qa-write-test-cases`. Use when the user asks what is known about a ticket or feature, asks to collect, refresh, or re-check its context, or asks for the sources a ticket does not link./improve-test-casesAnalyze and improve existing manual test cases (`*.test.md` in TestRail format, or cases pulled from TestRail) for clarity, structure, and format compliance, then push the fixes back to TestRail. Use when the user asks to improve, clean up, review, standardize, or rewrite existing test cases or a TestRail section.