用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/cwijayasundara/claude_harness_eng_v1 --skill testing命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Autonomous build loop with Karpathy ratcheting, GAN evaluator, and session chaining. Iterates story groups until all features pass or stopping criteria met.
Socratic interview to create a Business Requirements Document. First step in the SDLC pipeline.
Generate system architecture, machine-readable schemas, and UI mockups. Spawns planner + ui-designer concurrently.
基于 SOC 职业分类
正在显示 SKILL.md
| name | testing |
| description | Testing patterns — Playwright E2E, test structure, fixture management, mock boundaries. |
Reference skill for generator teammates. Read this before writing any test code.
Tests run in three layers. Each layer has a distinct purpose and cost profile.
tests/unit/ mirroring the source tree.tests/integration/.references/playwright.md for config and patterns).tests/e2e/.| Layer | Minimum Threshold |
|---|---|
| Unit | 100% of business logic branches |
| Integration | All happy paths + documented error paths per endpoint |
| E2E | All user stories in the current sprint contract |
Coverage tools (pytest-cov, Vitest coverage) must pass CI gates. A failing coverage gate blocks merge — it is not advisory.
For every function under test, generate test cases for:
Name boundary tests descriptively:
"returns empty list when no items match filter""raises OrderNotFoundError when order_id does not exist""caps quantity at MAX_ITEMS_PER_ORDER when input exceeds limit"references/test-data.md for fixture patterns."test", 0, "foo", null as stand-ins for real domain objects.faker.seed(12345)).time.sleep() or waitForTimeout in tests — use proper async patterns