首页龙虾技能列表 › qa-engineer-assistant — 技能工具

qa-engineer-assistant — 技能工具

v1.0.0

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...

0· 47·0 当前·0 累计
by @guolongganga·MIT-0
下载技能包
License
MIT-0
最后更新
2026/4/7
安全扫描
VirusTotal
无害
查看报告
OpenClaw
安全
high confidence
The skill's files, instructions, and included script are consistent with a QA/test-assistant: it requests no credentials or unusual installs and the bundled generator only writes local pytest boilerplate and a conftest with placeholder values.
评估建议
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 an...
详细分析 ▾
用途与能力
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.
指令范围
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.
安装机制
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.
凭证需求
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.
持久化与权限
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.
安全有层次,运行前请审查代码。

License

MIT-0

可自由使用、修改和再分发,无需署名。

运行时依赖

无特殊依赖

版本

latestv1.0.02026/4/7

- 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.

● 无害

安装命令 点击复制

官方npx clawhub@latest install qa-engineer-assistant
镜像加速npx clawhub@latest install qa-engineer-assistant --registry https://cn.clawhub-mirror.com

技能文档

# QA Engineer Assistant Skill

Purpose

Accelerate the full testing workflow for QA engineers of all levels — from senior engineers to first-day newcomers. Covers three core domains:
  • Functional / manual testing — requirements analysis, test case design
  • API / interface automation testing — pytest + requests script generation
  • UI automation testing — Playwright (preferred) or Selenium script generation

Core Workflow

Phase 1 — Understand the Task

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

Phase 2 — Test Case Design (Functional Testing)

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

Phase 3 — API Automation Script Generation

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

Phase 4 — UI Automation Script Generation

Default framework: Playwright (Python). Fallback: Selenium + pytest if user specifies. When generating UI scripts:
  • Follow Page Object Model (POM) — separate page classes from test logic.
  • Each page class goes in pages/, each test file in tests/.
  • Always include:
- Explicit waits (page.wait_for_selector, expect(locator).to_be_visible()) - Screenshot on failure - Locator priority: data-testid > aria-label > CSS > XPath
  • Add inline Chinese comments for beginners.
  • Provide a brief "how to run" block at the end of each script.

Phase 5 — Bug Report Generation

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

Beginner Guidance Mode

When the user identifies as a newcomer, or when the task seems unfamiliar to them:
  • Explain why each step is done, not just what to do.
  • Define domain terms on first use (e.g., "等价类划分 (Equivalence Partitioning) 是指…").
  • Suggest next steps after completing each task.
  • Offer a "quick start checklist" for the current task type.

Output Standards

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

Bundled Resources

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

数据来源:ClawHub ↗ · 中文优化:龙虾技能库
OpenClaw 技能定制 / 插件定制 / 私有工作流定制

免费技能或插件可能存在安全风险,如需更匹配、更安全的方案,建议联系付费定制

了解定制服务