← 返回 Skills 市场
guolongganga

qa-engineer-assistant

作者 guolongganga · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
99
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install qa-engineer-assistant
功能描述
This skill should be used when the user is a QA/test engineer needing help with any testing task. Covers the full testing workflow: understanding requirement...
使用说明 (SKILL.md)

\r \r

QA Engineer Assistant Skill\r

\r

Purpose\r

\r Accelerate the full testing workflow for QA engineers of all levels — from senior engineers to first-day newcomers.\r Covers three core domains:\r

  1. Functional / manual testing — requirements analysis, test case design\r
  2. API / interface automation testing — pytest + requests script generation\r
  3. UI automation testing — Playwright (preferred) or Selenium script generation\r \r ---\r \r

Core Workflow\r

\r

Phase 1 — Understand the Task\r

\r When the user provides a requirement, user story, PRD excerpt, or API spec:\r

  • Identify the feature under test, key business rules, input constraints, and expected outcomes.\r
  • Proactively ask for missing information if the requirement is vague (e.g., "Is there an authentication step? What HTTP method does this endpoint use?").\r
  • Classify the task: functional test case design / API script / UI script / bug report.\r \r

Phase 2 — Test Case Design (Functional Testing)\r

\r Load references/test-case-template.md for the standard test case format.\r \r Apply the following design techniques based on complexity:\r

  • Equivalence partitioning — group valid and invalid input ranges\r
  • Boundary value analysis — test at and around limits (min, max, min±1, max±1)\r
  • Decision table — for features with multiple condition combinations\r
  • Error guessing — empty input, null, special characters, extra-long strings, negative numbers\r \r Always include these test scenario categories:\r
  • Happy path (正常流程)\r
  • Edge cases (边界值)\r
  • Negative / invalid input (异常输入)\r
  • Permission / role validation (if applicable)\r
  • Data dependency scenarios (if applicable)\r \r Output format: use the test case table from references/test-case-template.md.\r Add a coverage checklist at the end summarizing which scenarios are covered.\r \r

Phase 3 — API Automation Script Generation\r

\r Load references/api-test-guide.md for conventions and patterns.\r \r When generating API test scripts:\r

  1. Use Python + pytest + requests as the default stack.\r
  2. Structure: one test file per API module, fixtures in conftest.py.\r
  3. Always include:\r
    • Setup / teardown (via pytest fixtures)\r
    • Positive test (2xx response, schema validation)\r
    • Negative tests (4xx: missing required fields, invalid values, unauthorized)\r
    • Response time assertion (warn if > 2000ms)\r
    • Clear assertions with descriptive messages\r
  4. Use references/api-test-guide.md for header/auth patterns and common assertion helpers.\r
  5. Use scripts/gen_api_test.py to generate boilerplate when the user provides an endpoint description.\r \r Beginner-friendly output: add inline comments in Chinese explaining what each section does.\r \r

Phase 4 — UI Automation Script Generation\r

\r Default framework: Playwright (Python).\r Fallback: Selenium + pytest if user specifies.\r \r When generating UI scripts:\r

  1. Follow Page Object Model (POM) — separate page classes from test logic.\r
  2. Each page class goes in pages/, each test file in tests/.\r
  3. Always include:\r
    • Explicit waits (page.wait_for_selector, expect(locator).to_be_visible())\r
    • Screenshot on failure\r
    • Locator priority: data-testid > aria-label > CSS > XPath\r
  4. Add inline Chinese comments for beginners.\r
  5. Provide a brief "how to run" block at the end of each script.\r \r

Phase 5 — Bug Report Generation\r

\r Load references/bug-report-template.md for the standard format.\r \r When the user describes a bug:\r

  • Fill in all fields: title, environment, severity/priority, preconditions, steps to reproduce, actual result, expected result, attachments note, root cause hypothesis.\r
  • Write the title in format: [Module] Short description of the problem (e.g., [Login] 输入正确密码后提示"密码错误")\r
  • Severity guide:\r
    • P0/Blocker: core function unusable, data loss, security issue\r
    • P1/Critical: major feature broken, no workaround\r
    • P2/Major: feature partially broken, workaround exists\r
    • P3/Minor: cosmetic, typo, low-impact UX issue\r \r ---\r \r

Beginner Guidance Mode\r

\r When the user identifies as a newcomer, or when the task seems unfamiliar to them:\r

  • Explain why each step is done, not just what to do.\r
  • Define domain terms on first use (e.g., "等价类划分 (Equivalence Partitioning) 是指…").\r
  • Suggest next steps after completing each task.\r
  • Offer a "quick start checklist" for the current task type.\r \r ---\r \r

Output Standards\r

\r

  • All test cases: use Markdown tables.\r
  • All scripts: use fenced code blocks with language tag (```python).\r
  • All bug reports: use the template from references/bug-report-template.md.\r
  • Always end outputs with a "下一步建议 (Next Steps)" section.\r
  • Be concise but complete — avoid padding, but never omit critical test scenarios.\r \r ---\r \r

Bundled Resources\r

\r | Resource | Purpose |\r |---|---|\r | references/test-case-template.md | Standard test case table format + example |\r | references/api-test-guide.md | API testing conventions, auth patterns, common assertions |\r | references/bug-report-template.md | Bug report template + severity guide |\r | scripts/gen_api_test.py | CLI tool to generate pytest API test boilerplate from endpoint description |\r

安全使用建议
This skill appears coherent and not malicious, but take these precautions before running it: 1) Inspect the generated files (tests and conftest.py) and replace the placeholder base_url, username, and password with safe test credentials — do not run against production systems. 2) The generator will write files to the chosen output directory (default ./tests); ensure you run it in an appropriate workspace and commit only what you intend. 3) If you use the generated tests, review network targets and sensitive data handling (tokens, logs) before executing in CI. 4) No environment variables or remote installs are required by the skill itself; treat the included code as a local boilerplate generator and validate it per your security policies.
功能分析
Type: OpenClaw Skill Name: qa-engineer-assistant Version: 1.0.0 The skill bundle is a legitimate productivity tool for QA engineers, providing templates and a boilerplate generator for API and UI testing. The included Python script (scripts/gen_api_test.py) is a utility that writes pytest files to a local directory based on user-provided parameters, which is consistent with its stated purpose. No evidence of data exfiltration, malicious execution, or harmful prompt injection was found; security-related content in the templates (e.g., SQL injection test cases) is intended for functional testing of the user's own applications.
能力标签
requires-oauth-token
能力评估
Purpose & Capability
The name/description (QA assistant covering test-case design, API/UI script generation, bug reports) match the provided SKILL.md, reference docs, and the included gen_api_test.py generator. Nothing requested (no env vars, binaries, or config paths) is out of scope for a QA tooling skill.
Instruction Scope
SKILL.md instructions stay within the stated purpose: design test cases, generate pytest/Playwright boilerplate, and produce bug-report content using the included reference templates. Instructions do not tell the agent to read unrelated system files, exfiltrate data, or contact unexpected external endpoints.
Install Mechanism
No install spec is provided (instruction-only plus one helper script). The included Python script is local and generates test files; there are no downloads or external install URLs that would write or execute arbitrary remote code.
Credentials
The skill declares no required environment variables or credentials. The only credential-like content is placeholder test credentials in the generated conftest (clearly marked TODO). That is proportionate to a test-suite generator but requires user replacement before use.
Persistence & Privilege
always is false and the skill does not request persistent platform privileges or modify other skills/configs. The generator writes test files to a user-specified output directory (./tests by default), which is expected behavior for a code generator.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install qa-engineer-assistant
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /qa-engineer-assistant 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of QA Engineer Assistant skill. - Supports the full testing workflow: requirement analysis, test case design, API and UI automation script generation, and bug report creation. - Provides API automation scripts using Python, pytest, and requests. - Generates UI automation scripts with Playwright (Python) or Selenium, following Page Object Model. - Includes beginner-friendly guidance with Chinese comments and explanations. - Outputs use standardized templates and include clear next-step recommendations.
元数据
Slug qa-engineer-assistant
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

qa-engineer-assistant 是什么?

This skill should be used when the user is a QA/test engineer needing help with any testing task. Covers the full testing workflow: understanding requirement... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 99 次。

如何安装 qa-engineer-assistant?

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

qa-engineer-assistant 是免费的吗?

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

qa-engineer-assistant 支持哪些平台?

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

谁开发了 qa-engineer-assistant?

由 guolongganga(@guolongganga)开发并维护,当前版本 v1.0.0。

💬 留言讨论