Test Case Retrieval

Finding related cases in an existing test repository, case catalog, or user-provided export.

StatusStable
TypeAtomic Skill
DomainSoftware testing
SDLCTest design
Good forQA / BA / PM
LanguageChinese / English
EvalsEvals ✓
Synced2026-11-25

Why this Skill

It turns this Skill's method into a quality input that can be executed, reviewed, and reused.

    When to use

    Use this Skill
    • 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.
    Common pitfalls
    • No content is available for this Skill yet.

    Input

    Minimum Input
    • Read `prompts/test-case-retrieval.md` and establish the search intent, source, project/suite filters, and intended use of results.
    Recommended Input
    • Project goal
    • Test scope
    • Constraints
    Optional Context
    • Relevant code or configuration
    • Historical results
    • Logs and metrics

    Output

    The output follows this Skill's method and makes facts, assumptions, risks, and next steps explicit.

    These are the Skill's expected output requirements, not evidence that it ran in a real project.

    1. 01Read prompts/test-case-retrieval.md and establish the search intent, source, project/suite filters, and intended use of results.
    2. 02Use only an accessible test catalog or an explicitly available search tool. If no source is available, request the smallest case list or connection information.
    3. 03Combine scenario semantics with exact identifiers; refine queries, paginate, or exclude ruled-out results as needed and retain scope limits.
    4. 04Return candidates with source IDs, locations, and match rationale. If the source returns scores, explain only their relative order within that query.
    View full output structure
    1. 05If the user needs a required execution set, hand off to regression-scope/test selection. Retrieval itself does not make execution decisions or run tests.

    How It Works

    1. 01Read prompts/test-case-retrieval.md and establish the search intent, source, project/suite filters, and intended use of results.
    2. 02Use only an accessible test catalog or an explicitly available search tool. If no source is available, request the smallest case list or connection information.
    3. 03Combine scenario semantics with exact identifiers; refine queries, paginate, or exclude ruled-out results as needed and retain scope limits.
    4. 04Return candidates with source IDs, locations, and match rationale. If the source returns scores, explain only their relative order within that query.
    5. 05If the user needs a required execution set, hand off to regression-scope/test selection. Retrieval itself does not make execution decisions or run tests.

    Install & Quick Start

    Install command / SHELL
    npx skills add \
      https://github.com/naodeng/awesome-qa-skills/tree/main/skills/en/testing-types/test-case-retrieval
      -g
    test-case-retrieval.prompt
    @skill test-case-retrieval
    
    Using the current project context, produce an actionable result following this Skill.
    
    Additional context:
    [Paste project context or requirement]