test-case-retrieval
Installation
SKILL.md
Test Case Retrieval
Mandatory candidate boundary
Retrieval results are always candidates; set selection status to CANDIDATES_ONLY. Do not relabel candidates as Required, “must run,” or a required regression set based on scores or a direct user request. If asked to determine required tests, explain that retrieval alone cannot make that decision and hand off to risk-based regression test selection using change impact, risk, and cost.
When to use
- Finding related cases in an existing test repository, case catalog, or user-provided export.
- Locating reusable behavior coverage and edge scenarios before reviewing a requirement, defect, or code change.
- Searching an unfamiliar area by business behavior, API, error code, platform, or ticket reference.
Workflow
- Read
prompts/test-case-retrieval.mdand establish the search intent, source, project/suite filters, and intended use of results. - Use only an accessible test catalog or an explicitly available search tool. If no source is available, request the smallest case list or connection information.
- Combine scenario semantics with exact identifiers; refine queries, paginate, or exclude ruled-out results as needed and retain scope limits.
- Return candidates with source IDs, locations, and match rationale. If the source returns scores, explain only their relative order within that query.
- If the user needs a required execution set, hand off to regression-scope/test selection. Retrieval itself does not make execution decisions or run tests.