Skip to content

DangQuangSE/team-development-skills / .agents/skills/ck-test

ck:test

Verified

Standalone testing skill — owns writing and running tests, verifying behavior, and two-pass TDD orchestration. Default mode analyzes changed scope and runs the relevant tests; `--unit`/`--integration`/`--e2e`/`--all` scope by test type; `--verify` reruns exactly the prior failures; `--all-phases <plan>` sweeps every completed phase for regression. `--tdd --prepare`/`--tdd --verify` bracket `ck:cook` for red-green TDD. Never edits production code, and blocks until a phase's `ck:quality` gate is APPROVED (except `--tdd --prepare`, which runs before any implementation exists).

references/tdd-ready-schema.json

View on GitHub
{
  "_comment": "Example ck:test --tdd --prepare artifact. Written before ck:cook implements anything; ck:cook's preflight (Step 1) checks for status RED_READY here before starting a --tdd phase. Not a JSON-Schema document — an annotated canonical instance.",

  "phase": "phase-02-receipt-gate",
  "status": "RED_READY",
  "_status_values": ["RED_READY", "BLOCKED"],
  "_status_blocked": "A candidate test failed for a reason other than missing implementation (e.g. a syntax error in the test itself) — ck:cook must not proceed until this is resolved.",

  "prepared_at": "2026-07-11T02:00:00Z",

  "test_files": [
    "src/orders/create-order.test.ts"
  ],
  "_test_files": "Every test file written or modified during --prepare. --tdd --verify diffs these exact files' current contents against this snapshot to detect weakening.",

  "expected_red_reason": "OrderService.create does not exist yet",

  "artifact_path": "plans/{slug}/tests/{phase}-tdd-ready.json"
}
finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the workStars: 322kUpdated Claude CodeCodexVerifiedInstall
systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixesStars: 322kUpdated Claude CodeCodexVerifiedInstall
test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation codeStars: 322kUpdated Claude CodeCodexVerifiedInstall
skill-creatoranthropics/skillsCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.Stars: 198kUpdated Claude CodeCodexVerifiedInstall