一键导入
code-tests
Generate or revise automated tests. Use for E2E/browser, API/contract, integration, and load/performance test requests.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Generate or revise automated tests. Use for E2E/browser, API/contract, integration, and load/performance test requests.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | code-tests |
| description | Generate or revise automated tests. Use for E2E/browser, API/contract, integration, and load/performance test requests. |
| license | MIT |
| tags | ["codegen","testing"] |
| metadata | {"author":"Oleg Shulyakov","version":"1.1.2","source":"github.com/olegshulyakov/agent.md","catalog":"software-team-roles","category":"testing"} |
Generate production-ready test code. Classify the request, read the matching reference, inspect the repository, then implement runnable tests or provide complete files when direct edits are not safe.
playwright.config.*, cypress.config.*, supertest, newman, pytest, k6, locust, and jmeter.| Request | Reference |
|---|---|
| Browser flows, smoke tests, page objects, login, checkout, onboarding, UI validation, visual user journeys | references/e2e.md |
| HTTP endpoints, controllers, service integration tests, OpenAPI examples, Postman/Newman collections, Supertest suites | references/api.md |
| Load, stress, soak, spike, capacity, p95/p99 latency, throughput, k6, Locust, JMeter | references/perf.md |
scripts/validate_evals.py after editing this skill's eval cases, scripts/run_eval.py for trigger/routing checks, scripts/run_loop.py for eval/improvement loops, and scripts/aggregate_benchmark.py to summarize iterations.When editing a repository, finish with changed files, the test command used, and verification status.
When only drafting code, use this structure:
Assumptions:
- ...
Files:
- path/to/test-file
Run:
- command
Notes:
- ...
Review any artifact and output results in a Retrospective board format — what is well, what is bad, what should be improved, what to change. Use when the user says "review", "critique", "evaluate", "what's wrong with", "compare", or passes a skill, rule, doc, spec, code, diff, or pull request for assessment. Works on a single artifact, an artifact against a reference, a diff or PR, or two artifacts side by side.
Compare options and recommend a direction. Use for decision requests like "choose", "which option", "tradeoffs", "recommend", "should we", and option selection with criteria, risks, and reversibility.
Organize material into meaningful groups. Use for classification requests like "categorize", "group", "cluster", "sort", "taxonomy", "organize these", and grouping by criteria, priority, dependency, similarity, or abstraction level.
Explain any knowledge topic simply and accurately. Use for explanation requests like "explain X", "why/how/what is X?", concepts, science, definitions, code, design, architecture, and walkthroughs.
Investigate local repository, document, and attached-artifact context. Use for local investigation requests like "investigate", "find where", "understand this repo", "trace", and local-context research; do not use for web search.
Manage active work across people, agents, tasks, dependencies, blockers, and handoffs. Use for coordination requests like "manage this work", "lead this", "assign", "delegate", "track blockers", "status", "handoff", and multi-workstream execution.