Create and execute comprehensive tests including unit tests, integration tests, CLI tests, web/mobile UI tests, API tests, and log analysis. Find bugs, verify requirements, identify improvements, and create change/bug/improve backlogs. Use when testing implementations or ensuring quality.
This skill creates and executes comprehensive test suites to verify code quality and functionality. As a QA Engineer expert, you'll design test plans, write automated tests, perform manual testing, analyze results, identify issues, and create backlogs for changes, bugs, or improvements.
This skill requires:
04-prd/ - Product Requirements Document (business requirements and acceptance criteria)07-tech-specs/ - Engineering standards and constraintsfeatures/ folder with feature design and implementation docs10-sprints/ folder with backlog and test plan{SRC}/ folder (organized as defined in source-code-structure.md)CRITICAL: This skill follows a strict feature-driven approach where feature-name is the index for the entire project:
For Each Backlog:
10-sprints/SPRINT-XX-descriptive-name/[BACKLOG_TYPE]-XX-[feature-name]-<sub-feature>.mdfeature-name from the backlog file namefeatures/features-index.md to find the feature filefeatures/[feature-name].md - Feature definition (WHAT/WHY/SCOPE)features/flows/[feature-name].md - User flows and process flows (if exists)features/contracts/[feature-name].md - API/data contracts (if exists)features/impl/[feature-name].md - Implementation notes (if exists){SRC}/ using features/impl/[feature-name].md07-tech-specs/testing-standards.mdbacklog.md with test results and findingsThis approach ensures AI testers can test large projects without reading all code at once.
See dev-swarm/docs/general-dev-stage-rule.md for role selection guidance.
See dev-swarm/docs/general-dev-stage-rule.md for the required role announcement format.
This skill handles multiple test types:
Follow these steps in order:
IMPORTANT: Follow this exact order to efficiently locate all relevant context:
Identify the backlog to test:
10-sprints/
└── SPRINT-XX-descriptive-name/
└── [BACKLOG_TYPE]-XX-[feature-name]-<sub-feature>.md
10-sprints/SPRINT-XX-descriptive-name/README.md for required progress log updatesRead the backlog file:
feature-name from the file name (CRITICAL)Feature Name in backlog metadata matches the file nameRead testing standards:
Read PRD and tech specs:
04-prd/ (all markdown files) - Product requirements and acceptance criteria for the feature07-tech-specs/ (all markdown files) - Technical specifications and engineering standardsRead feature documentation (using feature-name as index):
features/features-index.md to confirm feature existsfeatures/[feature-name].md - Feature definition (expected behavior)features/flows/[feature-name].md - User flows (test these flows)features/contracts/[feature-name].md - API contracts (test these contracts)features/impl/[feature-name].md - Implementation notes (what was built)Locate code and tests:
features/impl/[feature-name].md to find code locations{SRC}/ directory{SRC}/ (locations from features/impl/[feature-name].md)Read sprint test plan:
10-sprints/SPRINT-XX-descriptive-name/README.md for sprint-level test planDetermine test scope:
DO NOT read the entire codebase. Use feature-name to find only relevant files.
Apply these rules whenever you test a backlog or sprint:
[x] = pass[-] = no test neededDone.Completed.Use this priority order when choosing test methods:
curl commands (highest priority)playwright-browser-* skills for web UI (must use browser for any web UI item)Before writing tests, plan the approach:
Identify test scenarios:
Happy Path:
Edge Cases:
Error Cases:
Security Cases:
Select test types:
Define success criteria:
Create automated test suites based on test type:
Test individual functions/components in isolation:
Best Practices:
Test component interactions:
Test endpoints and contracts:
Test command-line interfaces:
Test web interfaces:
For scenarios that can't be easily automated:
Follow test plan from backlog:
Document test execution:
Test across environments:
Review application logs for issues:
Check for errors:
Verify logging quality:
Monitor performance:
Security audit:
For performance-critical features:
Load testing:
Stress testing:
Benchmark key operations:
Categorize findings into three types:
Implementation doesn't meet original requirements:
Action: Create change type backlog
Code has defects or errors:
Action: Create bug type backlog
Non-critical enhancements:
Action: Create improve type backlog
For each issue found, create a backlog:
Determine severity:
Create backlog file in 10-sprints/:
Test Bug Backlog Template:
# Backlog: [Type] - [Brief Description]
## Type
[change | bug | improve]
## Severity
[critical | high | medium | low]
## Original Feature/Backlog
Reference to original backlog that was tested
## Issue Description
Clear description of the bug or issue
## Steps to Reproduce
1. Step-by-step instructions to reproduce
2. Include specific inputs/actions
3. Note environment details
## Expected Behavior
What should happen
## Actual Behavior
What actually happens
## Test Evidence
- Screenshots
- Log excerpts
- Error messages
- Performance metrics
## Affected Components
- Files/functions involved
- APIs or UI elements broken
## Reference Features
Related features to consult
## Test Plan
How to verify the fix works
Notify Project Management:
Document test results:
Test Summary:
Test Results by Type:
Issues Found:
Test Decision:
CRITICAL: Follow this process to safely commit changes and update tracking:
Update Tracking Files:
backlog.md:
Done after testing completes[x] pass or [-] no test needed10-sprints/.../README.md:
[x] pass or [-] no test neededCompletedRequest Human Review:
Commit the Tests/Fixes (Content):
git add . to stage all changesgit reset HEAD <path-to-backlog> <path-to-sprint-readme>)git commit -m "test: ..."git rev-parse --short HEADUpdate Backlog with Commit ID:
[commit-id]" to the "Testing Notes" in backlog.mdCommit the Backlog (Metadata):
backlog.md and sprint README.mdgit commit -m "docs([feature-name]): update backlog status to Done"Notify user:
This two-step commit process ensures history is preserved before the backlog is updated with the commit reference.
npx skills add X-School-Academy/dev-swarm-代码测试下载完整 Skill 目录,包含 SKILL.md 及所有相关文件
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer