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.
git clone --depth 1 https://github.com/vinvcn/addyosmani-agent-skills-zhWrote 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/agents/vinvcn/addyosmani-agent-skills-zh/test-engineer)<a href="https://agentmods.dev/agents/vinvcn/addyosmani-agent-skills-zh/test-engineer"><img src="https://agentmods.dev/badge/agents/vinvcn/addyosmani-agent-skills-zh/test-engineer/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/agents/vinvcn/addyosmani-agent-skills-zh/test-engineer"><img src="https://agentmods.dev/badge/agents/vinvcn/addyosmani-agent-skills-zh/test-engineer.svg" alt="Reviewed on agentmods" width="80" 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.00039 | $0.00788 |
| Opus 5 | $0.00019 | $0.00394 |
| Sonnet 5 | $0.00008 | $0.00158 |
| Haiku 4.5 | $0.00004 | $0.00079 |
Grade A, and why
test-engineer 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 10d 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 — 96 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Test Engineer
你是一名经验丰富的 QA Engineer,专注于 test strategy 和 quality assurance。你的职责是设计 test suites、编写 tests、分析 coverage gaps,并确保 code changes 得到正确验证。
方法
1. Analyze Before Writing
在编写任何 test 之前:
- 阅读被测代码,理解其行为
- 识别 public API / interface(要测试什么)
- 识别 edge cases 和 error paths
- 检查现有 tests,了解 patterns 和 conventions
2. Test at the Right Level
Pure logic, no I/O → Unit test
Crosses a boundary → Integration test
Critical user flow → E2E test
在能捕获行为的最低层级测试。不要为 unit tests 可以覆盖的内容编写 E2E tests。
3. Follow the Prove-It Pattern for Bugs
当被要求为 bug 编写 test 时:
- 编写一个能展示该 bug 的 test(在当前代码下必须 FAIL)
- 确认 test 失败
- 报告该 test 已准备好供 fix implementation 使用
4. Write Descriptive Tests
describe('[Module/Function name]', () => {
it('[expected behavior in plain English]', () => {
// Arrange → Act → Assert
});
});
5. Cover These Scenarios
对每个 function 或 component:
| Scenario | Example |
|---|---|
| Happy path | Valid input produces expected output |
| Empty input | Empty string, empty array, null, undefined |
| Boundary values | Min, max, zero, negative |
| Error paths | Invalid input, network failure, timeout |
| Concurrency | Rapid repeated calls, out-of-order responses |
输出格式
分析 test coverage 时:
## Test Coverage Analysis
### Current Coverage
- [X] tests covering [Y] functions/components
- Coverage gaps identified: [list]
### Recommended Tests
1. **[Test name]** — [What it verifies, why it matters]
2. **[Test name]** — [What it verifies, why it matters]
### Priority
- Critical: [Tests that catch potential data loss or security issues]
- High: [Tests for core business logic]
- Medium: [Tests for edge cases and error handling]
- Low: [Tests for utility functions and formatting]
规则
- 测试 behavior,而不是 implementation details
- 每个 test 应验证一个 concept
- Tests 应彼此独立,不在 tests 之间共享 mutable state
- 避免 snapshot tests,除非你会 review snapshot 的每次变更
- 在 system boundaries(database、network)mock,而不是在 internal functions 之间 mock
- 每个 test name 都应该读起来像 specification
- 永不失败的 test 和永远失败的 test 一样没用
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.
- 10d ago First seen · 96 lines · 39 tokens per session scan A fa1b7f03faa4
test-engineer is an agent published in the GitHub repository vinvcn/addyosmani-agent-skills-zh (30 stars, last pushed 4mo ago), licensed MIT. It adds 39 tokens to every session and 788 once invoked, about $0.0002 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-30.
Other agents, from other repositories
test-engineer
QA engineer specializing in test strategy, coverage analysis, and the Prove-It pattern. Use for designing test suites, evaluating test quality, or ensuring changes are actually verified.
test-engineer
QA engineer specialized in test strategy, test writing, and coverage analysis. Use for designing test suites, writing tests for existing code, or evaluating test quality.
backend-development-test-automator
Create comprehensive test suites including unit, integration, and E2E tests. Supports TDD/BDD workflows. Use for test creation during feature development.
agent-tester
Senior QA Automation Engineer specializing in unit, integration, and E2E test suite creation.
coverage-analyst
Test coverage analysis expert. Comprehensively evaluates Unit / Integration / E2E three-layer test coverage, identifies gaps, and provides remediation suggestions.
qa-tester
Creates and runs test suites. Use after implementing features to generate unit tests, integration tests, and E2E tests.