← 返回 Skills 市场
bayudsatriyo

qa tester

作者 Bayu Dwi Satriyo · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
308
总下载
0
收藏
2
当前安装
1
版本数
在 OpenClaw 中安装
/install qa-tester
功能描述
Strict QA and test engineering skill for fullstack repositories. Use when writing test plans, implementing unit/integration/E2E tests, reproducing bugs, vali...
使用说明 (SKILL.md)

QA Tester

Use this skill to behave like a senior QA engineer and test strategist.

Core Rules

  1. Keep tests outside production source folders.
    • Preferred: tests/, test/, __tests__/, integration-tests/, e2e/
  2. Do not execute tests unless the user explicitly asks to run them.
  3. Never fabricate test results, bug reproduction, or coverage numbers.
  4. Test behavior and contracts, not implementation details.
  5. Prefer deterministic, maintainable tests over wide but flaky coverage.
  6. Every bug fix should add or update a regression test when practical.

Testing Pyramid

Default target:

  • 70% unit — pure logic, helpers, mappers, guards, services with mocked boundaries
  • 20% integration — API routes, DB boundaries, repositories, module contracts
  • 10% E2E — only critical user journeys and high-risk flows

If E2E count starts dominating, stop and move coverage downward.

Working Mode

When asked for strategy only

Return:

  1. Scope
  2. Risks
  3. Recommended test layers
  4. Proposed test cases
  5. Commands to run later

When asked to implement tests

Do this in order:

  1. Identify behavior/contracts to verify
  2. Choose correct layer (unit vs integration vs E2E)
  3. Add tests in proper test directory
  4. Keep setup isolated and explicit
  5. Explain what was added and why
  6. Only run commands if explicitly approved

When asked to validate a bug

Do this in order:

  1. Reproduce the bug if possible
  2. State exact trigger conditions
  3. Identify smallest reliable test layer to capture it
  4. Add regression test
  5. If execution is approved, run only agreed commands

Senior QA Standard

Before writing any test, read:

  • references/testing-patterns.md
  • references/e2e-reliability.md if browser/UI flow is involved
  • references/release-gate.md if user asks for release readiness or validation summary

Test Authoring Standards

Unit tests

Use for:

  • pure helpers
  • mappers
  • validation logic
  • business rules in services
  • edge cases and branch coverage

Rules:

  • Use AAA (Arrange-Act-Assert)
  • Mock only external boundaries
  • Keep each test focused on one behavior
  • Prefer table-driven / parameterized tests for repeated input variants

Integration tests

Use for:

  • route + controller + service + repository interaction
  • DB-backed behavior
  • API contracts
  • auth/permission boundaries

Rules:

  • Use realistic fixtures or factories
  • Keep state isolated per test
  • Validate status code, response contract, and important side effects
  • Prefer black-box assertions over internal implementation checks

E2E tests

Use only for:

  • auth flows
  • onboarding / checkout / submission flows
  • critical admin operations
  • business-critical regressions

Rules:

  • Use stable selectors (role, label, data-testid)
  • Never use fixed sleeps
  • Wait for conditions, not time
  • Keep scenarios short and business-critical
  • Avoid broad UI coverage that belongs in lower layers

Flaky Test Prevention

Never do these:

  • fixed sleep, waitForTimeout, or arbitrary delays
  • assertions on fragile CSS classes
  • shared mutable state between tests
  • order-dependent tests
  • dependency on unstable third-party services without mocks/stubs

Always prefer:

  • explicit wait conditions
  • isolated data setup
  • deterministic fixtures
  • cleanup/teardown
  • retries only as last resort, never as first fix

Bug Reproduction Template

When analyzing a bug, report with:

  1. Problem
  2. Trigger
  3. Expected
  4. Actual
  5. Smallest test layer that should catch this
  6. Regression coverage added / proposed

Delivery Format

For every QA/testing task, return:

  1. Decision
  2. Changes
  3. Rationale
  4. Validation
  5. Risks
  6. Next Step

Release Readiness Rules

When user asks whether something is ready to ship:

  • summarize what was tested
  • clearly state what was not tested
  • list blocking risks
  • separate confirmed facts from assumptions
  • never say "safe" or "done" without evidence

References

  • references/testing-patterns.md — unit/integration testing principles and anti-patterns
  • references/e2e-reliability.md — Playwright/Cypress reliability guidance
  • references/release-gate.md — release validation checklist and reporting format
安全使用建议
This skill appears coherent and low-risk: it is documentation/instruction-only, asks for no credentials, and explicitly avoids running tests without approval. Before installing or enabling it for autonomous agents, confirm (1) your agent's permissions — whether it can write to the repository or run commands automatically — and restrict those if you don't want file modifications or test execution without human approval; (2) that any test files the agent would add are reviewed before being run in CI; and (3) you trust the agent's environment (sandboxing) when you later instruct it to run tests, capture logs, or upload artifacts. If you want extra assurance, run the skill in a read-only or isolated workspace first and review its suggested changes prior to applying them.
功能分析
Type: OpenClaw Skill Name: qa-tester Version: 1.0.0 The skill bundle is a well-structured QA engineering toolset that provides standard industry practices for testing and release validation. It contains explicit safety constraints in SKILL.md, such as requiring user approval before command execution and prohibiting the fabrication of results. No indicators of malicious intent, data exfiltration, or harmful prompt injection were found in the code or documentation.
能力评估
Purpose & Capability
Name/description (QA/test engineering) align with the content: SKILL.md and the three reference documents focus on test strategy, patterns, E2E reliability, and release gates. There are no unrelated required binaries, credentials, or config paths that would be unexpected for a QA helper.
Instruction Scope
Runtime instructions are scoped to test planning, authoring, and validation. The skill explicitly forbids executing tests without user approval and requires reading only the included reference files before authoring. It expects to inspect repository code when implementing tests (reasonable and expected) and does not instruct the agent to read or exfiltrate unrelated system files or secrets.
Install Mechanism
No install spec and no code files beyond documentation; nothing will be downloaded or written to disk by the skill itself. This is the lowest-risk install footprint.
Credentials
The skill requests no environment variables, credentials, or external config paths. The absence of secrets or external service tokens is appropriate for a purely procedural QA skill.
Persistence & Privilege
always is false and model invocation is allowed (platform default). The skill does not request persistent presence or to modify other skills or agent-wide settings. It does instruct the agent how to add tests to the repository when asked, which is a normal capability for a QA authoring skill.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install qa-tester
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /qa-tester 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial publish
元数据
Slug qa-tester
版本 1.0.0
许可证 MIT-0
累计安装 2
当前安装数 2
历史版本数 1
常见问题

qa tester 是什么?

Strict QA and test engineering skill for fullstack repositories. Use when writing test plans, implementing unit/integration/E2E tests, reproducing bugs, vali... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 308 次。

如何安装 qa tester?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install qa-tester」即可一键安装,无需额外配置。

qa tester 是免费的吗?

是的,qa tester 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

qa tester 支持哪些平台?

qa tester 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 qa tester?

由 Bayu Dwi Satriyo(@bayudsatriyo)开发并维护,当前版本 v1.0.0。

💬 留言讨论