Borrowing it
Nothing to install: this file belongs to sumulige/sumulige-claude. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/sumulige/sumulige-claude/main/.claude/skills/_archived/test-master/SKILL.mdgit clone --depth 1 https://github.com/sumulige/sumulige-claudeWrote 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.
[](https://agentmods.dev/skills/sumulige/sumulige-claude/test-master)<a href="https://agentmods.dev/skills/sumulige/sumulige-claude/test-master"><img src="https://agentmods.dev/badge/skills/sumulige/sumulige-claude/test-master.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.01092 |
| Opus 5 | $0.00000 | $0.00546 |
| Sonnet 5 | $0.00000 | $0.00218 |
| Haiku 4.5 | $0.00000 | $0.00109 |
Grade A, and why
test-master 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.
How it starts
The opening of the file, as written. The whole thing — 187 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Test Master
测试大师 - 合并: tdd-workflow + e2e-runner
核心职责
统一处理所有测试相关工作:
- 单元测试 - TDD 流程、Jest/Vitest
- E2E 测试 - Playwright、用户流程
- 覆盖率 - 分析和提升覆盖率
工作模式
模式 1:TDD 开发
触发:实现新功能或修复 bug
流程:RED → GREEN → REFACTOR
目标:测试先行,覆盖率 > 80%
模式 2:E2E 测试
触发:--e2e 或用户流程测试
框架:Playwright + Page Object Model
输出:测试文件 + 截图/视频
模式 3:覆盖率分析
触发:--coverage
输出:覆盖率报告 + 未覆盖代码建议
TDD 工作流
RED(写失败的测试)
// 1. 先写测试,明确期望行为
describe('calculateTotal', () => {
it('should sum all items with tax', () => {
const items = [{ price: 100 }, { price: 200 }]
expect(calculateTotal(items, 0.1)).toBe(330)
})
})
GREEN(最小实现)
// 2. 写最少代码让测试通过
function calculateTotal(items, taxRate) {
const subtotal = items.reduce((sum, item) => sum + item.price, 0)
return subtotal * (1 + taxRate)
}
REFACTOR(优化)
// 3. 重构,保持测试通过
function calculateTotal(items: Item[], taxRate: number): number {
const subtotal = items.reduce((sum, { price }) => sum + price, 0)
return Math.round(subtotal * (1 + taxRate) * 100) / 100
}
E2E 测试结构
tests/
├── e2e/
│ ├── pages/ # Page Objects
│ │ ├── LoginPage.ts
│ │ ├── DashboardPage.ts
│ │ └── BasePage.ts
│ ├── fixtures/ # 测试数据
│ │ └── users.json
│ ├── specs/ # 测试用例
│ │ ├── auth.spec.ts
│ │ └── dashboard.spec.ts
│ └── playwright.config.ts
Page Object 示例
// pages/LoginPage.ts
import { Page } from '@playwright/test'
export class LoginPage {
constructor(private page: Page) {}
async goto() {
await this.page.goto('/login')
}
async login(email: string, password: string) {
await this.page.fill('[data-testid="email"]', email)
await this.page.fill('[data-testid="password"]', password)
await this.page.click('[data-testid="submit"]')
}
async expectError(message: string) {
await expect(this.page.locator('.error')).toContainText(message)
}
}
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 6d ago First seen · 187 lines · 0 tokens per session scan A c35e5f5cf021
test-master is a skill published in the GitHub repository sumulige/sumulige-claude (2 stars, last pushed 6mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,092 tokens. 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.
Other skills, from other repositories
test-writer
Write thorough tests following TDD and BDD principles.
drive-automation-session
Drive an already-reserved Kobiton device from a natural-language intent. Opens an automation Appium session directly against the Kobiton WebDriver hub, runs an observe-decide-act loop with one action per iteration, pauses to ask the user when stuck (same-action repetition, screen unchanged, or model self-declared…
monitor-test-run
Watch a running Kobiton test run and narrate it to the user: read the org's live-remediation flag up front, poll the run until every execution is terminal, surface the live-remediation URL the moment an execution is blocked, and give a correct post-mortem so a COMPLETED-with-BLOCKERENCOUNTERED execution is never…
run-automation-suite
Run local Appium test scripts against Kobiton devices. Guides through app upload, device selection, capability parsing, and local execution. Use when the user asks to run mobile tests, validate an APK or IPA on Kobiton devices, or kick off an Appium suite from a local script directory. Trigger with "run kobiton tests"…
run-interactive-session
Perform interactive testing on Kobiton devices using natural language. Translates user intents into CLI commands - WebDriver actions (find elements, type, click, swipe), device operations (adb shell, screen capture, port forwarding), file management (push/pull), app management, and test execution. Use when the user…
e2e
Selects and runs the appropriate AgentsMesh end-to-end suite for Web, Desktop, MCP, or iOS, including worktree-specific environment setup and browser-level verification. Use when a change needs E2E coverage, a user asks to execute or diagnose an E2E test, or a cross-service workflow must be verified against the real…