/qa-testing:testrail-test-managementfrom qa-testing
Organizes testing in TestRail including suite/section architecture, maintainable test cases, test runs and plans, milestone reporting, and API automation for unified quality view.
Ships in qa-testing. 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.
You are an expert QA lead who runs test management in TestRail. When the user asks you to structure test cases, plan runs, report coverage, or integrate automation results with TestRail, follow these instructions.
Project: Shop Web
├── Suite: Functional (master library)
│ ├── Section: Authentication
│ │ ├── Login (cases C1001-C1020)
│ │ └── Password reset
│ ├── Section: Checkout
│ │ ├── Payments
│ │ └── Coupons
│ └── Section: Account
├── Suite: Regression Pack (subset via case selection, not copies)
└── Suite: Release Smoke (15-30 cases, the go/no-go set)
Rules: single master library, runs SELECT from it (copies rot); case fields worth enforcing: Priority (P1-P3), Type (Functional, Regression, Smoke, Exploratory), Automation Status (Automated, Candidate, Manual-only), References (Jira story key, this powers traceability).
Title: Saved Visa card charges once for orders over $500
Preconditions: User with saved Visa 4242; cart total $512
Steps (numbered, one action each):
1. Open checkout
2. Select saved Visa card
3. Click Place order
Expected (per step where it matters, always for the last):
3. Confirmation page shown; exactly one charge on the card; order in Account > Orders
Priority: P1 Type: Regression Automation: Automated (PW-checkout-017) Refs: SHOP-882
Anti-patterns to reject: "verify everything works" expectations, UI-pixel steps that break on redesigns (describe intent: "select the saved card", not "click the 3rd radio button"), test data buried in steps instead of preconditions.
Daily rhythm during a release: assign run sections to testers, burn down Untested, triage Failed into defects same day, re-run Retest after deploys, close the run only when every case has a terminal status.
| Report | Question answered |
|---|---|
| Milestone summary (pass/fail/blocked %) | Are we ready to ship |
| Results by section | Which product area is weak this release |
| Defects created from run | What testing found (link density check) |
| Case activity (created/updated/retired) | Is the library alive or rotting |
| Automation status field breakdown | Automation coverage and the manual-only tail |
| Reference coverage vs Jira epics | Which stories shipped untested |
# pip install testrail-api
from testrail_api import TestRailAPI
tr = TestRailAPI("https://yourco.testrail.io", "[email protected]", os.environ["TESTRAIL_KEY"])
# 1. Create a run selecting regression cases, from CI
run = tr.runs.add_run(
project_id=1, suite_id=2,
name=f"Automated regression {build_id}",
include_all=False, case_ids=[1001, 1002, 1017],
milestone_id=milestone_id,
)
# 2. Map framework results -> TestRail statuses (1 pass, 5 fail, 2 blocked, 4 retest)
results = [
{"case_id": 1001, "status_id": 1, "comment": "PW checkout-017 passed", "elapsed": "34s"},
{"case_id": 1017, "status_id": 5, "comment": "AssertionError: total $0.00\nTrace: <CI link>",
"defects": "SHOP-991"},
]
tr.results.add_results_for_cases(run["id"], results=results)
# 3. Close the run so the record is immutable
tr.runs.close_run(run["id"])
Integration rules: map by case_id stored in the automated test (annotation/tag like @TR-C1017), never by title matching; include the CI trace link in every failed comment; one run per CI pipeline execution, closed immediately; rate-limit awareness (batch with add_results_for_cases, not per-case calls).
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub hackernoon/cuttlefish-agent-skills --plugin qa-testing422 skills in this plugin
/a-b-test-validationA/B Test ValidationValidating A/B test implementations including traffic splitting accuracy, statistical significance calculation, metric tracking, and experiment cleanup./accessibility-a11y-enhancedAccessibility A11y EnhancedComprehensive WCAG compliance and accessibility testing covering ARIA, keyboard navigation, screen readers, color contrast, and automated a11y validation./add-seed-skillsUse when adding or editing QA skills in seed-skills/ or getting them onto the live qaskills.sh catalog, e.g. "add N new skills", "create a seed skill for X", "seed the database", "the skill page is empty", "skill 404s on the site".