true-skills / rules
Cursor rule10 starsChanged 5 months agoMITView on GitHub
Set up, verify, and troubleshoot Katalon True Platform/TestOps MCP connectivity for any AI coding agent. Use when you need to install or configure the Katalon MCP server, connect to a Katalon platform account, verify available Katalon MCP tools, diagnose missing authentication or repository access, confirm project/repository discovery, or explain what platform operations are and are not exposed through the MCP. One-time cross-cutting setup, run once by whoever wires the agent to the platform, before any lifecycle skill can work.
Where files are headingNew Cursor rule files have more rules about planning and tracking tasks, and fewer about code style.
Of the Cursor rule files we read, the 1,533 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository59 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
- .cursor/rules/analyze-failures.mdcCursor rule
- .cursor/rules/create-test-cases.mdcCursor rule
- .cursor/rules/execute-test.mdcCursor rule
- .cursor/rules/exploratory-charter.mdcCursor rule
- .cursor/rules/get-started.mdcCursor rule
- .cursor/rules/playwright-execute.mdcCursor rule
- .cursor/rules/release-analyze.mdcCursor rule
- .cursor/rules/test-case-to-katalon-studio.mdcCursor rule
- .cursor/rules/test-case-to-playwright.mdcCursor rule
- .cursor/rules/test-data.mdcCursor rule
- .cursor/rules/test-estimation.mdcCursor rule
- .cursor/rules/test-maintenance.mdcCursor rule
- .cursor/rules/test-management.mdcCursor rule
- .cursor/rules/test-plan.mdcCursor rule
- .cursor/rules/test-reporting.mdcCursor rule
- .cursor/rules/test-review.mdcCursor rule
- .cursor/rules/true-platform-testing.mdcCursor rule
- .cursor/rules/upload-report.mdcCursor rule
- llms.txtllms.txt
- analyze-failuresSkill
- create-test-casesSkill
- execute-testSkill
- exploratory-charterSkill
- get-startedSkill
- platform-setupSkill
- playwright-executeSkill
- release-analyzeSkill
- test-case-to-katalon-studioSkill
- test-case-to-playwrightSkill
- test-dataSkill
- test-estimationSkill
- test-maintenanceSkill
- test-managementSkill
- test-planSkill
- test-reportingSkill
- test-reviewSkill
- true-platform-testingSkill
- upload-reportSkill
- analyze-failuresSkill
- create-test-casesSkill
- execute-testSkill
- exploratory-charterSkill
- get-startedSkill
- platform-setupSkill
- playwright-executeSkill
- release-analyzeSkill
- test-case-to-katalon-studioSkill
- test-case-to-playwrightSkill
- test-dataSkill
- test-estimationSkill
- test-maintenanceSkill
- test-managementSkill
- test-planSkill
- test-reportingSkill
- test-reviewSkill
- true-platform-testingSkill
- upload-reportSkill
The file
Show its rules and text
We split this platform-setup.mdc into the rules it gives an agent
49 rules. About 0 are common, 28 are distinctive, and 21 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈28
Distinctive · estimate
This author's own choices. Worth a look.
21
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 10
Use this skill for Katalon MCP installation, connection, and readiness checks.
- Distinctive: line 19
Not directly available through Katalon MCP: create requirements, create a formal Test Plan entity, inspect live AUT pages, or guarantee AI …
- Distinctive: line 20
If no Katalon MCP tools are exposed in the current session, do not claim the platform is connected.
- Very specific: line 22
Read references/capability-boundaries.md when explaining available operations.
- Very specific: line 29
Default to the canonical endpoint https://platform.katalon.io/mcp.
- Very specific: line 30
If the installed config still contains the <your.sub.domain> placeholder, replace it with the canonical endpoint rather than asking the …
- Distinctive: line 31
Only ask for a domain when the user names a dedicated Katalon domain, or when the local config mentions more than one Katalon domain - then …
- Distinctive: line 33
Ask how the user wants to authenticate when auth is required:
- Distinctive: line 37
Never ask for passwords, API tokens, cookies, JWTs, MFA codes, or OAuth callback URLs in chat.
- Very specific: line 38
After authentication succeeds and Katalon tools are available, call list_projects.
- Very specific: line 39
After project selection, call list_repositories with the selected project_id.
- Distinctive: line 43
Start every setup/debugging request with a non-destructive check:
- Distinctive: line 45
Follow "Required Setup Inputs" first when the endpoint, domain, or auth route is not already resolved.
- Distinctive: line 46
Search for Katalon/TestOps MCP tools using the agent's tool discovery mechanism.
- Very specific: line 47
If tools exist, call list_projects.
- Distinctive: line 48
If multiple projects are returned, list them and ask which project to use.
- Very specific: line 49
Call list_repositories with the selected or only project_id after projects are available.
- Distinctive: line 50
If multiple repositories/Test Projects are returned and no repository is clearly implied, list them and ask which repository/Test Project …
- Distinctive: line 52
If a requirement key or repo name is provided, verify access by searching or reading that target.
- Distinctive: line 66
When MCP tools are missing:
- Very specific: line 69
If the config still contains a <your.sub.domain> placeholder, replace it with https://platform.katalon.io/mcp.
- Distinctive: line 70
Prefer a native remote MCP entry.
- Distinctive: line 87
If the install command, package name, or server URL is not present in local context, use official Katalon-provided setup instructions or …
- Distinctive: line 92
If the user explicitly asks to install but the environment does not permit plugin/MCP installation from the current session, give the exact …
- Very specific: line 96
Use this when Katalon MCP tools are missing from the active session or direct remote MCP config returns 401 Invalid JWT token format.
- Distinctive: line 98
Ask only for non-secret information needed to target the right server or verify access, such as:
- Distinctive: line 103
Do not ask the user to paste passwords, API tokens, cookies, JWTs, or OAuth callback URLs into chat.
- Distinctive: line 104
Run the proxy with the Katalon endpoint:
- Very specific: line 110
If this prints an authorization URL or opens the browser, wait for the user/browser callback to complete.
- Distinctive: line 112
Verify through a local MCP client, if Katalon tools are still not exposed through the agent's tool discovery:
- Very specific: line 115
Call list_repositories with the exact schema field project_id.
- Very specific: line 116
If local proxy verification succeeds but the agent's tool discovery still does not expose Katalon tools, report that MCP is authenticated …
- Distinctive: line 147
When tools exist but calls fail:
- Distinctive: line 149
Treat 401/403-style failures as auth or account-scope problems.
- Distinctive: line 150
Ask the user to authenticate through the platform's secure browser flow.
- Distinctive: line 152
If multiple authenticated Katalon domains are available, ask which domain to use before selecting projects.
- Distinctive: line 153
If multiple projects are available, list the project names/IDs and ask which project to use before listing repositories.
- Distinctive: line 154
If multiple repositories/Test Projects are available, list them and ask which repository/Test Project to use unless the user's request …
- Distinctive: line 160
After setup is verified:
- Very specific: line 162
Use create-test-cases for requirement or free-text test design/import.
- Very specific: line 163
Use execute-test for running an existing case or suite.
- Very specific: line 164
Use true-platform-testing for end-to-end flows that include requirement analysis, case creation, suite management, execution, AI polling, …
- Very specific: line 183
Test case operations: create_test_case, read_test_case, update_test_case, duplicate_test_case, delete_test_case, move_test_case, …
- Very specific: line 184
Test folder operations: find_test_folders, manage_test_folder.
- Very specific: line 185
Test suite operations: find_test_suites, read_test_suite, manage_test_suite.
- Very specific: line 195
Create requirements in Katalon True Platform.
- Very specific: line 196
Create a formal Test Plan entity.
- Distinctive: line 199
Create defects without a failed test result ID and ALM integration details.
- Distinctive: line 204
Test plan: create a named folder and/or test suite, link to sprint/release, and create execution from that suite.
≈ “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.
Files
---
description: Set up, verify, and troubleshoot Katalon True Platform/TestOps MCP connectivity for any AI coding agent. Use when you need to install or configure the Katalon MCP server, connect to a Katalon platform account, verify available Katalon MCP tools, diagnose missing authentication or repository access, confirm project/repository discovery, or explain what platform operations are and are not exposed through the MCP. One-time cross-cutting setup, run once by whoever wires the agent to the platform, before any lifecycle skill can work.
alwaysApply: false
---
<!-- GENERATED by scripts/build-adapters.mjs from skills/. Do not edit by hand. -->
# Katalon Platform Setup
Use this skill for Katalon MCP installation, connection, and readiness checks. Do not use it for designing or running tests unless the setup check leads directly into `create-test-cases`, `execute-test`, or the larger `true-platform-testing` skill.
This skill is agent-neutral. The Katalon MCP server is the same for every agent (terminal coding agents, Codex, Copilot, Cursor, Kiro, Windsurf, and others); only the config file location and format differ per agent. For the exact per-agent config path and snippet, read the repository `README.md` install section.
## Setup Boundary
Be explicit about what can be verified from the current environment:
- Available through Katalon MCP once connected: project/repository discovery, requirement reads, test case/suite operations, manual runs, AI sessions, automated scheduling, results, metrics, and ALM-linked defects.
- Not directly available through Katalon MCP: create requirements, create a formal Test Plan entity, inspect live AUT pages, or guarantee AI execution completion.
- If no Katalon MCP tools are exposed in the current session, do not claim the platform is connected.
Read `references/capability-boundaries.md` when explaining available operations.
## Required Setup Inputs
For setup requests, collect the minimum routing and authentication choices before writing or testing MCP config:
1. Resolve the Katalon MCP endpoint:
- Default to the canonical endpoint `https://platform.katalon.io/mcp`. It serves every workspace and presents a picker after sign-in, so do not ask for a subdomain unless something below applies.
- If the installed config still contains the `<your.sub.domain>` placeholder, replace it with the canonical endpoint rather than asking the user to fill it in.
- Only ask for a domain when the user names a dedicated Katalon domain, or when the local config mentions more than one Katalon domain - then list the candidates and ask which one they want.
- Normalize a bare subdomain to `https://<sub>.katalon.io/mcp`.
2. Ask how the user wants to authenticate when auth is required:
- Browser OAuth flow with an agent restart/reload after login.
- CLI/local `mcp-remote` login bootstrap.
- Login email/account label only for account selection.
3. Never ask for passwords, API tokens, cookies, JWTs, MFA codes, or OAuth callback URLs in chat. If the user offers "login information", accept only non-secret routing details such as login email, organization, domain, project name, or repository/Test Project name.
4. After authentication succeeds and Katalon tools are available, call `list_projects`. If more than one project is returned, list the projects and ask which project to use before calling repository-specific tools.
5. After project selection, call `list_repositories` with the selected `project_id`. If more than one repository/Test Project is returned and none is clearly implied by the user's request, list the repositories and ask which one to use.
## Connection Check
Start every setup/debugging request with a non-destructive check:
1. Follow "Required Setup Inputs" first when the endpoint, domain, or auth route is not already resolved.
2. Search for Katalon/TestOps MCP tools using the agent's tool discovery mechanism.
3. If tools exist, call `list_projects`.
4. If multiple projects are returned, list them and ask which project to use.
5. Call `list_repositories` with the selected or only `project_id` after projects are available.
6. If multiple repositories/Test Projects are returned and no repository is clearly implied, list them and ask which repository/Test Project to use.
7. Confirm at least one project and repository/Test Project can be discovered.
8. If a requirement key or repo name is provided, verify access by searching or reading that target.
If Katalon tools are not exposed in the active agent session, do not stop at "reload required" yet. First try the local proxy bootstrap in "MCP Remote OAuth Bootstrap" below. A successful bootstrap proves the account and endpoint are usable even if the current agent's MCP host has not reloaded the server list.
Report the exact boundary:
- Connected and usable.
- MCP tools exposed but auth/access failed.
- MCP works through local `mcp-remote` proxy, but tools are not exposed in the current agent session.
- MCP tools missing from the session and local proxy bootstrap failed or could not be attempted.
- Project exists but repository/Test Project cannot be resolved.
## Install Or Configure MCP
When MCP tools are missing:
1. Inspect local agent/plugin context for an existing Katalon MCP install path or configuration.
2. If the config still contains a `<your.sub.domain>` placeholder, replace it with `https://platform.katalon.io/mcp`. Never leave a placeholder in an active user config.
3. Prefer a native remote MCP entry. Agents that speak remote MCP directly (most terminal coding agents, Copilot/VS Code, Copilot CLI, Cursor) need only the endpoint and run the browser OAuth flow themselves:
```json
{ "mcpServers": { "katalon-prod-mcp": { "type": "http", "url": "https://platform.katalon.io/mcp" } } }
```
See the bundled `.mcp.json` for the canonical shape.
4. Fall back to the `mcp-remote` wrapper only for agents without native remote-MCP support (Kiro, Continue, Codex):
```sh
npx mcp-remote https://platform.katalon.io/mcp --transport http-first
```
On first run `npx` asks before installing `mcp-remote`; answer it yourself rather than pre-approving. The JSON/TOML config form below passes `-y` because a spawned MCP server has no terminal to answer on.
- Codex declares the same command/args in TOML under `[mcp_servers.katalon-prod-mcp]`.
- For the exact file path per agent, read the repository `README.md` install section.
5. If the install command, package name, or server URL is not present in local context, use official Katalon-provided setup instructions or ask the user for the MCP package/source. Do not invent install commands.
6. Configure only the minimum required MCP server entry for the user's agent environment.
7. Store secrets using the environment's secret mechanism or environment variables. Never write access tokens, passwords, cookies, or raw auth callback URLs into repo files, skill files, logs, or final answers.
8. Re-run the connection check. Restart or reload the MCP host only if Katalon works through the local proxy but the current agent session still does not expose the tools.
If the user explicitly asks to install but the environment does not permit plugin/MCP installation from the current session, give the exact missing prerequisite and the safest next step.
## MCP Remote OAuth Bootstrap
Use this when Katalon MCP tools are missing from the active session or direct remote MCP config returns `401 Invalid JWT token format`.
1. Ask only for non-secret information needed to target the right server or verify access, such as:
- Katalon MCP URL, only if the user is on a dedicated domain rather than the canonical `https://platform.katalon.io/mcp`.
- Project name or project ID.
- Repository/Test Project name, if the user wants a specific target verified.
- Login email, only if it helps the user choose the right account in the browser.
2. Do not ask the user to paste passwords, API tokens, cookies, JWTs, or OAuth callback URLs into chat. If authentication is needed, trigger the browser-based OAuth flow and have the user complete login in the browser.
3. Run the proxy with the Katalon endpoint:
```sh
npx mcp-remote "https://platform.katalon.io/mcp" --transport http-first
```
If this prints an authorization URL or opens the browser, wait for the user/browser callback to complete. `mcp-remote` stores OAuth state under its own auth cache, such as `~/.mcp-auth`, not in the workspace.
4. Verify through a local MCP client, if Katalon tools are still not exposed through the agent's tool discovery:
- `listTools` should include `list_projects` and `list_repositories`.
- Call `list_projects`.
- Call `list_repositories` with the exact schema field `project_id`.
5. If local proxy verification succeeds but the agent's tool discovery still does not expose Katalon tools, report that MCP is authenticated and usable through `mcp-remote`, but the active agent host needs a reload/new session/new thread to expose the tools natively.
Known working MCP server entries. Prefer the native form; use the `mcp-remote` form only where the agent cannot reach a remote server directly (Codex uses the same command/args in TOML):
```json
{
"mcpServers": {
"katalon-prod-mcp": { "type": "http", "url": "https://platform.katalon.io/mcp" }
}
}
```
```json
{
"mcpServers": {
"katalon-prod-mcp": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://platform.katalon.io/mcp", "--transport", "http-first"]
}
}
}
```
Known verification observations:
- `mcp-remote` may say `Invalid JWT token format` before OAuth completes; treat this as an auth challenge, not proof the server is unavailable.
- The valid transport strategy is `http-first` or `http-only`; `http` can be rejected by `mcp-remote`.
- `list_repositories` expects `project_id`, not `projectId`.
## Authentication And Access
When tools exist but calls fail:
- Treat 401/403-style failures as auth or account-scope problems.
- Ask the user to authenticate through the platform's secure browser flow. Never ask them to paste secrets into normal chat when a secure mechanism exists.
- You may ask for non-secret account routing details, such as subdomain, project ID/name, repository name, and login email. The user should enter passwords/SSO/MFA only in the browser or secure credential flow.
- If multiple authenticated Katalon domains are available, ask which domain to use before selecting projects.
- If multiple projects are available, list the project names/IDs and ask which project to use before listing repositories.
- If multiple repositories/Test Projects are available, list them and ask which repository/Test Project to use unless the user's request clearly names one.
- For empty project/repository results, verify account membership, organization, project role, and repository/Test Project access.
- For requirement lookup failures, verify that Jira/Azure sync exists and the requirement key belongs to the connected project.
## Handoff
After setup is verified:
- Use `create-test-cases` for requirement or free-text test design/import.
- Use `execute-test` for running an existing case or suite.
- Use `true-platform-testing` for end-to-end flows that include requirement analysis, case creation, suite management, execution, AI polling, and result reporting.
---
## Bundled references
_The reference material the skill points to is inlined below so this file is self-contained._
### references/capability-boundaries.md
# Katalon MCP Capability Boundaries
## Available
- Project discovery: `list_projects`.
- Repository/Test Project discovery: `list_repositories`.
- Requirement discovery: `find_requirements`, `read_requirement`.
- Requirement coverage: `fetch_requirement_data`.
- Test case operations: `create_test_case`, `read_test_case`, `update_test_case`, `duplicate_test_case`, `delete_test_case`, `move_test_case`, `find_test_cases`.
- Test folder operations: `find_test_folders`, `manage_test_folder`.
- Test suite operations: `find_test_suites`, `read_test_suite`, `manage_test_suite`.
- Requirement links: `link_requirements_to_test_case`, `unlink_requirements_from_test_case`, `find_test_cases_by_requirement`.
- Manual execution: `read_auts`, `create_manual_test_run`, `create_manual_ai_session`, `read_manual_ai_session`.
- Automated execution: `find_execution_profiles`, `list_test_cloud_environments`, `build_run_configuration`, `build_schedule`, `schedule_test_run`.
- Execution results: `read_execution`, `read_execution_test_results`, `read_test_result`, `find_test_results`.
- Quality data: requirement, defect, test case, test stability, and configuration coverage fetch tools.
- ALM defects: `find_alm_integration_projects`, `create_defect`.
## Not Directly Available
- Create requirements in Katalon True Platform. Requirements are synced from Jira/Azure and can be found/read/linked.
- Create a formal Test Plan entity. Use test suites/folders/executions as the executable planning structure.
- Guarantee Run with AI completion. The platform may block, fail, or require AUT/account state.
- Inspect AUT pages through Katalon MCP. Use Browser/Playwright for website exploration.
- Create defects without a failed test result ID and ALM integration details.
## Recommended Workarounds
- Requirement creation: create in Jira/Azure first, then sync/find/link in Katalon.
- Test plan: create a named folder and/or test suite, link to sprint/release, and create execution from that suite.
- AUT exploration: use Browser/Playwright to understand the product, then import manual cases into Katalon.
- AI execution blocked: report blocked state with required fixture, AUT, account, or environment action.
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
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.

