Agent skills for QA engineers and developers: turn requirements into test cases and test runs into traceable results.
English | 简体中文
TestKit
TestKit packages repeatable, reviewable testing workflows as Agent Skills for Claude Code, Codex, and other compatible agents. It connects current requirements to traceable execution evidence across test design, automation, diagnosis, defect verification, and acceptance.
See TestKit in 101 seconds
An access-control example connects requirement clarification, case review, execution evidence, and acceptance. This is a concept demo, not a live test run.
https://github.com/user-attachments/assets/1f37435c-bc55-43cd-8501-21326120646f
Open the MP4 file · English narration and subtitles.
Why TestKit
- An end-to-end workflow: Move from PRD intake and test analysis through strategy, test points, cases, review, execution, defect retesting, and acceptance.
- Two complementary API testing paths: Use Arazzo for deterministic business flows and Schemathesis for examples, coverage, fuzzing, and stateful testing.
- One evidence contract across Android, iOS, and Web: Freeze the build, environment, and scope before execution; associate results with raw evidence so retries or stale results cannot silently become a pass.
- Support for existing projects: Import OpenAPI, Swagger, YApi, Postman, historical cases, controlled pytest assets, and legacy API reports.
- Explicit operating boundaries: Code inspection, write-method tests, knowledge-base changes, and issue submission require the appropriate authorization. Credentials come from environment variables, and persisted results are redacted.
- Portable and verifiable: Skills follow the Agent Skills directory convention. The repository includes contract checks, synthetic eval definitions, and a unified test entry point.
Quick start
Install the full plugin to retain the shared contracts required by TestSpec and test execution.
Codex
codex plugin marketplace add winhok/testkit
codex plugin add testkit@testkit-marketplace
Claude Code
/plugin marketplace add winhok/testkit
/plugin install testkit@testkit
/reload-plugins
Other Agent Skills clients
Five self-contained skills, including api-test-automation, can be installed individually after previewing them:
gh skill preview winhok/testkit api-test-automation
gh skill install winhok/testkit api-test-automation
TestSpec, PerfSpec, and execution skills depend on shared directories and should be installed as part of the full plugin. See the installation guide for compatibility, updates, Python dependencies, and the npx skills option.
First task: design coupon test cases
After installing the full plugin, open a writable project in your agent and paste:
Use TestKit to design tests for this requirement. Create a coupon-discount
change, analyze the requirements, list test points, generate cases, and review
them. Ask me about missing rules before continuing. Export Excel when the
required Python dependencies are available. Do not execute tests.
R1: Amounts use CNY with two decimal places. For a merchandise subtotal of
at least CNY 100.00, one valid coupon deducts CNY 20.00. Otherwise reject it
and leave the subtotal unchanged.
R2: Reject expired or already-used coupons and leave the subtotal unchanged.
R3: Shipping and stacking discounts are outside this scope.
Expected artifacts include a requirements document, analysis, test points,
JSON test cases, and a review under testspec/changes/coupon-discount/.
Excel export requires the Python dependencies.
The agent may pause for clarification or a required strategy before generating cases.
| Example input | Expected result |
|---|
| CNY 99.99 + valid coupon | Reject; subtotal stays CNY 99.99 |
| CNY 100.00 + valid coupon | Accept; payable amount is CNY 80.00 |
| CNY 100.01 + valid coupon | Accept; payable amount is CNY 80.01 |
| CNY 100.00 + expired coupon | Reject; subtotal stays CNY 100.00 |