qa-engineer-assistant
/install qa-engineer-assistant
\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
- Functional / manual testing — requirements analysis, test case design\r
- API / interface automation testing — pytest + requests script generation\r
- 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
- Use Python + pytest + requests as the default stack.\r
- Structure: one test file per API module, fixtures in
conftest.py.\r - 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
- Use
references/api-test-guide.mdfor header/auth patterns and common assertion helpers.\r - Use
scripts/gen_api_test.pyto 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
- Follow Page Object Model (POM) — separate page classes from test logic.\r
- Each page class goes in
pages/, each test file intests/.\r - 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
- Explicit waits (
- Add inline Chinese comments for beginners.\r
- 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
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install qa-engineer-assistant - After installation, invoke the skill by name or use
/qa-engineer-assistant - Provide required inputs per the skill's parameter spec and get structured output
What is 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... It is an AI Agent Skill for Claude Code / OpenClaw, with 99 downloads so far.
How do I install qa-engineer-assistant?
Run "/install qa-engineer-assistant" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is qa-engineer-assistant free?
Yes, qa-engineer-assistant is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does qa-engineer-assistant support?
qa-engineer-assistant is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created qa-engineer-assistant?
It is built and maintained by guolongganga (@guolongganga); the current version is v1.0.0.