agentleFS
katalon-labskatalon-labs/true-skills/.cursor/rules/test-plan.mdc

true-skills / rules

Cursor rule10 starsChanged 5 months agoMITView on GitHub

Plan Katalon True Platform/TestOps testing for a release, sprint, or feature. Use when you need to translate quality goals into scope, prioritize testing by requirement coverage and risk, decide what to test first, or build the executable plan structure (folders, suites, and sprint/release association) that stands in for a formal Test Plan. Reads project/repository/iteration context and requirement coverage, then proposes and materializes a prioritized plan. For designing the actual test cases, hand off to create-test-cases; for the ship/no-ship call, hand off to release-analyze. Written for the test lead who owns the cycle and has to decide what gets tested first.

The file

We split this test-plan.mdc into the rules it gives an agent

4 rules. About 0 are common, 2 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Not directly available: create a Release or Build entity, create a formal Test Plan entity, or author release gates through MCP.

    line 17
  2. Very specific:

    Read coverage and gaps: Use fetch_requirement_data for requirement coverage status and find_test_cases_by_requirement to see which …

    line 36
  3. Very specific:

    Read references/planning-workflow.md before proposing scope.

    line 55
  4. Distinctive:

    Do not fabricate production traffic, change frequency, or defect rates the MCP does not expose.

    line 83

≈ “Common” is an estimate: at least 1 in 5 of the 3,030 Cursor rule files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
test-plan.mdc
---
description: Plan Katalon True Platform/TestOps testing for a release, sprint, or feature. Use when you need to translate quality goals into scope, prioritize testing by requirement coverage and risk, decide what to test first, or build the executable plan structure (folders, suites, and sprint/release association) that stands in for a formal Test Plan. Reads project/repository/iteration context and requirement coverage, then proposes and materializes a prioritized plan. For designing the actual test cases, hand off to create-test-cases; for the ship/no-ship call, hand off to release-analyze. Written for the test lead who owns the cycle and has to decide what gets tested first.
alwaysApply: false
---

<!-- GENERATED by scripts/build-adapters.mjs from skills/. Do not edit by hand. -->

# Katalon Test Plan

Use this skill for the **planning** stage of the Katalon lifecycle: turn quality goals into a scoped, risk-prioritized, executable plan. The output is a plan the team can act on plus the folder/suite/release structure that makes it runnable. Prefer Katalon MCP tools for platform data; use the human as a tool when scope, risk appetite, or release target cannot be resolved safely.

## Availability Boundary

State the boundary before promising a plan:

- **Available via MCP:** resolve scope (`list_projects`, `list_repositories`, `find_iterations`), read requirement coverage and gaps (`fetch_requirement_data`, `find_requirements`, `find_test_cases_by_requirement`), and build the executable plan structure (`manage_test_folder`, `manage_test_suite`, add cases to suites).
- **Not directly available:** create a Release or Build entity, create a formal Test Plan entity, or author release gates through MCP. These live in the TestOps UI.
- **Workaround (the MCP-legal test plan):** a **named folder + test suite associated with a sprint/release** is the executable plan. Create it, populate it, and report it as the plan of record.

## Planning Workflow

```text
+---------------+     +----------------------+     +----------------------+
| Resolve scope | --> | Read coverage + risk | --> | Prioritize what first|
+---------------+     +----------------------+     +----------------------+
        |                        |                             |
        v                        v                             v
+---------------+     +----------------------+     +----------------------+
| Propose plan  | --> | Build folder + suite | --> | Associate sprint/rel |
+---------------+     +----------------------+     +----------------------+
```

## Steps and tool rules

1. **Resolve scope.** `list_projects` -> `list_repositories`. If exactly one matches the user's wording or context, use it. Use `find_iterations` to bind the plan to a sprint/release when named.
2. **Read coverage and gaps.** Use `fetch_requirement_data` for requirement coverage status and `find_test_cases_by_requirement` to see which requirements already have cases. `find_requirements` / `read_requirement` when requirement keys are supplied.
3. **Prioritize by risk and evidence.** Rank scope using: requirement coverage gaps first, then high-change/high-traffic areas, then areas with historically unstable tests (defer stability detail to `test-review`). State the risk basis; do not invent traffic numbers the MCP does not return.
4. **Propose the plan in chat.** Objectives, in-scope / out-of-scope, coverage matrix (requirement -> planned cases), risk ranking, target environments, and the suite/folder structure you will create.
5. **Materialize the executable structure.** `manage_test_folder` for the plan folder, `manage_test_suite` for the runnable suite, add the selected/known cases. Reuse an existing folder/suite when one already matches instead of creating a duplicate.
6. **Verify and report.** `read_test_suite` to confirm; report the plan of record with the suite as the executable artifact and the open gaps to fill next.

## Prompt recipes

- `Plan testing for sprint 3.2 in project Cellphone Shop: show coverage gaps and build the executable suite.`
- `What should we test first for release R-2026-Q3 based on requirement coverage? Propose a risk-ranked plan.`
- `Create a test plan structure (folder + suite) for requirement CEL-6 and associate it with the current sprint.`

## Hand-offs

- Gaps to fill -> `create-test-cases`.
- Plan ready to run -> `execute-test`.
- Ship decision on the planned scope -> `release-analyze`.
- Traceability audit of the plan -> `test-management`.

Read `references/planning-workflow.md` before proposing scope. Read the orchestrator `true-platform-testing/references/unavailable-capabilities.md` when the user asks "can Katalon plan X?".

---

## Bundled references

_The reference material the skill points to is inlined below so this file is self-contained._


### references/planning-workflow.md

# Planning workflow reference

## Scope resolution order

1. Project (`list_projects`) — one match from context, else ask.
2. Repository / Test Project (`list_repositories`) — treat repository and Test Project as the same target; prefer `Katalon Cloud` when the user says "cloud repo".
3. Iteration / sprint / release (`find_iterations`) — bind the plan when the user names a sprint or release.

## Risk-prioritization inputs (only what MCP returns)

| Signal | Tool | Use |
|---|---|---|
| Requirement coverage status | `fetch_requirement_data` | Untested / partially-covered requirements rank first. |
| Requirement -> case links | `find_test_cases_by_requirement` | Orphan requirements (no case) are the top gap. |
| Configuration coverage | `fetch_test_configuration_data` | Under-covered browsers/platforms are planning risk. |
| Test stability | `fetch_test_stability_data` | Unstable areas need re-planning, not just re-run (defer detail to test-review). |

Do not fabricate production traffic, change frequency, or defect rates the MCP does not expose. If the user supplies them (from TrueTest Test Gap Analysis, PostHog, or Jira), use them and cite the source.

## The executable "test plan" structure

Because MCP cannot create a Test Plan entity, the plan of record is:

```text
Folder:  Test Cases/<Release or Feature>/
Suite:   <Feature> — <Sprint/Release>          (manage_test_suite)
         + selected test cases added
Assoc:   sprint/release via find_iterations context
```

Report the suite ID as the plan artifact. List the requirement->case coverage matrix and the open gaps as the plan's backlog.

## Plan output template

```text
Objective:        <what quality outcome this plan targets>
In scope:         <features/requirements>
Out of scope:     <explicitly excluded + why>
Coverage matrix:  requirement -> planned/existing cases (mark gaps)
Risk ranking:     1..n with the signal that drove each rank
Environments:     <AUT/config targets>
Executable plan:  folder + suite (IDs) associated to <sprint/release>
Next:             gaps to fill (-> create-test-cases)
```

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.