breeze-testrail
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "breeze-testrail" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-b3c88aab9ff96a9cbc0cc3026951f9f0dcae79b7e1a771fd02b5226a28bdf69d. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/breeze-testrail before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
breeze-testrail: a specialized skill for TestRail, intended to help AI agents efficiently accomplish tasks related to TestRail.
Introduction source: third_party · user_3c6cb52e · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Bidirectional sync between Playwright tests and TestRail test management.
- Audience
- Not specified in the source documentation.
- Inputs and outputs
- Operation summary with counts Any errors or unmatched cases Link to TestRail run/results
- Software, accounts and paid services
- Environment variables must be set: `TESTRAIL_URL` — e.g., `https://your-instance.testrail.io` `TESTRAIL_USER` — your email `TESTRAIL_API_KEY` — API key from TestRail If not set, inform the user how to configure them and stop.
- Limits and differences
- Not specified in the source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: testrail
slug: testrail
version: 1.0.0
displayName: testrail
description: >
testrail专用技能,帮助AI Agent高效完成相关任务。
summary: "testrail专用技能,帮助AI Agent高效完成相关任务。"
license: MIT
category: 其他
framework:
- Claude Code
- Codex
- Hermes Agent
- OpenClaw
- QClaw
- WorkBuddy
platform: multi-platform
homepage: "https://github.com/1991513ccie-png"
repository: "https://github.com/1991513ccie-png"TestRail Integration
Bidirectional sync between Playwright tests and TestRail test management.
Prerequisites
Environment variables must be set:
TESTRAIL_URL— e.g.,https://your-instance.testrail.ioTESTRAIL_USER— your emailTESTRAIL_API_KEY— API key from TestRail
If not set, inform the user how to configure them and stop.
Capabilities
1. Import Test Cases → Generate Playwright Tests
/pw:testrail import --project <id> --suite <id>
Steps:
- Call
testrail_get_casesMCP tool to fetch test cases - For each test case:
- Read title, preconditions, steps, expected results
- Map to a Playwright test using appropriate template
- Include TestRail case ID as test annotation:
test.info().annotations.push({ type: 'testrail', description: 'C12345' })
- Generate test files grouped by section
- Report: X cases imported, Y tests generated
2. Push Test Results → TestRail
/pw:testrail push --run <id>
Steps:
- Run Playwright tests with JSON reporter:
npx playwright test --reporter=json > test-results.json - Parse results: map each test to its TestRail case ID (from annotations)
- Call
testrail_add_resultMCP tool for each test:- Pass → status_id: 1
- Fail → status_id: 5, include error message
- Skip → status_id: 2
- Report: X results pushed, Y passed, Z failed
3. Create Test Run
/pw:testrail run --project <id> --name "Sprint 42 Regression"
Steps:
- Call
testrail_add_runMCP tool - Include all test case IDs found in Playwright test annotations
- Return run ID for result pushing
4. Sync Status
/pw:testrail status --project <id>
Steps:
- Fetch test cases from TestRail
- Scan local Playwright tests for TestRail annotations
- Report coverage:
TestRail cases: 150 Playwright tests with TestRail IDs: 120 Unlinked TestRail cases: 30 Playwright tests without TestRail IDs: 15
5. Update Test Cases in TestRail
/pw:testrail update --case <id>
Steps:
- Read the Playwright test for this case ID
- Extract steps and expected results from test code
- Call
testrail_update_caseMCP tool to update steps
MCP Tools Used
| Tool | When |
|---|---|
testrail_get_projects |
List available projects |
testrail_get_suites |
List suites in project |
testrail_get_cases |
Read test cases |
testrail_add_case |
Create new test case |
testrail_update_case |
Update existing case |
testrail_add_run |
Create test run |
testrail_add_result |
Push individual result |
testrail_get_results |
Read historical results |
Test Annotation Format
All Playwright tests linked to TestRail include:
test('should login successfully', async ({ page }) => {
test.info().annotations.push({
type: 'testrail',
description: 'C12345',
});
// ... test code
});
This annotation is the bridge between Playwright and TestRail.
Output
- Operation summary with counts
- Any errors or unmatched cases
- Link to TestRail run/results
Current listing version
1.0.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 提供 TestRail 与 Playwright 的双向同步能力,解决测试用例管理与自动化测试结果回传的核心痛点
- 功能闭环完整,覆盖导入用例、推送结果、创建测试运行、状态同步等完整工作流
Highlights
- 触发词精准完整,覆盖 /pw:testrail import/push/run/status/update 等多种命令变体
- description 明确限定为 testrail 专用技能,边界清晰无歧义
Areas to improve
-
description 内容重复 Reported severity: Minor
顶层 frontmatter 和 skill_body 内部均包含相同 description 内容
Recommendation: 建议移除 skill_body 内重复的 description 字段,保持信息唯一性
-
缺少显式 When to Use 章节 Reported severity: Minor
文档未设置显式的 When to Use 使用场景说明章节
Recommendation: 建议在 Capabilities 前增加 When to Use 章节,明确说明适用场景和用户群体
Highlights
- 文档结构清晰,分能力模块描述,每个功能有明确步骤和出口条件
- 包含完整的 MCP 工具说明和 Test Annotation 格式规范
Highlights
- 工具来源明确(MCP tools),参数使用合理
- 覆盖了环境变量检查、错误报告、结果统计等关键异常处理机制
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
-
Install or fetch external dependencies
Use official sources and pin versions. Check install scripts in an isolated environment. This document check does not cover code downloaded later.
Mentioned in main document · lines 62 -
Accounts, secrets or authorization
Use a dedicated least-privilege account. Keep secrets out of public content and command logs; verify the receiving service and tenant.
Mentioned in main document · lines 32
Domains or addresses referenced in the document
These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.
- github.com
- your-instance.testrail.io
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Environment variables must be set: `TESTRAIL_URL` — e.g., `https://your-instance.testrail.io` `TESTRAIL_USER` — your email `TESTRAIL_API_KEY` — API key from TestRail If not set, inform the user how to configure them and stop.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.