test-maintenance

test-maintenance is a cursor rule for Cursor from katalon-labs/true-skills. It costs 131 tokens per session (1,325 once invoked), scanned A, original, MIT.

A set of instructions for maintaining Katalon True Platform/TestOps regression tests, which repeatedly check that an application still works after changes.

In plain words
What is it for?
Use it to review stability and result history, assess change impact, repair test cases, and refresh the list of missing coverage.
Why use it?
It helps identify broken or unreliable tests and decide whether to repair, reorganize, duplicate, regenerate, or retire them.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

Good fit Use it to review stability and result history, assess change impact, repair…

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/katalon-labs/true-skills/test-maintenance
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/katalon-labs/true-skills

Made for: Cursor.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for test-maintenance

README.md
[![agentmods](https://agentmods.dev/badge/rules/katalon-labs/true-skills/test-maintenance.svg)](https://agentmods.dev/rules/katalon-labs/true-skills/test-maintenance)
Your own site
<a href="https://agentmods.dev/rules/katalon-labs/true-skills/test-maintenance"><img src="https://agentmods.dev/badge/rules/katalon-labs/true-skills/test-maintenance.svg" alt="Measured on agentmods" height="20"></a>
Per session 131 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,325 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00131 $0.01325
Opus 5 $0.00066 $0.00662
Sonnet 5 $0.00026 $0.00265
Haiku 4.5 $0.00013 $0.00133

Measured 6d ago against content hash 8cdf0e22df7d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

test-maintenance scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.cursor/rules/test-maintenance.mdc · 108 lines

How it starts

The opening of the file, as written. The whole thing — 108 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Katalon Test Maintenance

Use this skill for the maintenance stage: keep the regression suite healthy over time and feed learning back to the plan. It consumes failure/stability signals and produces repairs plus a refreshed coverage gap list.

Availability Boundary

  • Available via MCP: change/impact signals (fetch_test_stability_data, find_test_results, read_execution), and case-level repair (update_test_case, move_test_case, duplicate_test_case).
  • Not directly available: Self-healing tests, Time Capsule, Studio Tracer, object refactoring, and StudioAssist Agent-mode edits are Studio-desktop features. TrueTest regeneration from live journeys is a TrueTest surface. Narrate these; MCP repairs are case-level content edits, not object/script self-healing.

Maintenance Workflow

+---------------------+     +----------------------+     +----------------------+
| Detect change impact| --> | Diagnose: repair vs  | --> | Repair case assets   |
| stability + history |     | regenerate vs retire |     | update/move/dup      |
+---------------------+     +----------------------+     +----------------------+
                                                                   |
                                                                   v
                                                         +----------------------+
                                                         | Validate + feed back |
                                                         | to plan (gap list)   |
                                                         +----------------------+

Steps and tool rules

  1. Detect impact. fetch_test_stability_data for flakiness trend; find_test_results + read_execution for what changed across recent runs. Build the list of broken / flaky / degraded cases.
  2. Diagnose each. Decide per case:
    • Repair — the case is salvageable: fix data, steps, or expected result via update_test_case; reorganize via move_test_case; branch a variant via duplicate_test_case.
    • Regenerate — behavior changed enough that the case should be re-derived (TrueTest regeneration / re-author) -> hand to create-test-cases; narrate the TrueTest boundary.
    • Retire — behavior removed: unlink/retire (prefer update/flag over unreliable delete_test_case); get approval.
  3. Repair (MCP-legal edits only). Pass all intended updates in one update_test_case call. Do not claim to have self-healed locators/objects — that is Studio.
  4. Validate. Re-run through execute-test and confirm via find_test_results / read_execution.
  5. Feed back. Emit the refreshed coverage gap list to test-plan so maintenance closes the loop instead of dead-ending.

Read the full file on GitHub · 108 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 108 lines · 131 tokens per session scan A 8cdf0e22df7d

Subscribe to this mod's changes

test-maintenance is a cursor rule published in the GitHub repository katalon-labs/true-skills (7 stars, last pushed 12d ago), licensed MIT. It adds 131 tokens to every session and 1,325 once invoked, about $0.0007 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.