SKILL

task-test

Write and run the tests for a subtask with a red-green-refactor loop, and diagnose the failures when they break. Run it after the code is written, before the subtask is delivered.

Target: Software development & testing. Automatically collected · unverified.

Excerpt from the author’s documentation

Extracted from a fixed version of SKILL.md in its original language. This is the author’s documentation; installation, compatibility and runtime results have not been verified by this site.

Read the original English text

Topics in the source

  • task-test workflow (v3)
  • Overview
  • TDD gate (D-04 + judgments/tdd-gate.yaml 6 fireswhen + 3 skipswhen)
  • D-13 tdd capability alias
  • Conditional diagnose invoke (D-05 invokestools)
  • Narrowing the test run with CodeGraph (opt-in, presence-conditional)
  • How to invoke
  • References

Single-phase sub-workflow mapping the user's CLAUDE.md Stage ③.c 子任务测试 + TDD 强烈建议开启 discipline onto the harnessed runtime, fully harnessed.workflow.v3 schema (Phase v3.0-3.4 W0 T3.4.W0.8 — D-09 L0 Discipline Substrate + D-04 gate ref D-05 conditional invokestools + D-13 tdd capability alias). | phase | id | upstream | model | capability / invokestools | gate | | ----- | -- | -------- | ----- | -------------------------- | ---- | | 1 | 01-test | superpowers | sonnet | {{ capabilities.tdd.cmd }} + invokestools: [{if: testfail == true, tool: diagnose}] | judgments.tdd-gate.tdd-strongly-suggested.fires | Per-phase config loads from workflows/task/test/workflow.yaml; engine.runRouting spawns each phase as a sub-agent via @anthropic-ai/claude-agent-sdk 0.3.142+. Gate judgments.tdd-gate.tdd-strongly-suggested.fires 机器化 CLAUDE.md 「Execute 阶段」 TDD 强烈建议开启 节 6 OR-chain: subtask.iscorebusinesslogic == true subtask.isalgorithm == true subtask.isdataprocessing == true subtask.regressionrisk == 'high' subtask.reliabilityrequired == true Skips when (per tdd-gate.yaml skipswhen): subtask.type in ['crud', 'uipolish', 'docsonly'] Gate 4-level ref pre-resolved by judgmentResolver (T2.3.W0.4 SHIPPED) B

This is an excerpt. Refer to the complete source and its current requirements.

Source repository
easyinplay/harnessed
Source file
workflows/task/test/SKILL.md
Fixed revision
f272b6e2bcc05793dde6ad7146da602381fe1351
Read the complete original documentation ↗

Requirements

  • Only the author’s Skill metadata is included. Read the full instructions to check dependencies, licensing and conditions of use.

A small first task

先阅读原作者说明,再决定是否在自己的 AI 工具中使用。

Instructions for your AI tool

Author documentation is not live verification by this site. Without evidence, we do not mark a resource as compatible, safe or free.

Sources and evidence

This record was collected automatically. Its documentation, suitability and runtime behavior have not been manually verified.

Author: easyinplay/harnessed · original repository metadata. Documentation review: Not reviewed. Last source check: 2026-11-10T08:01:58.198Z.

Categories are inferred from names, descriptions and paths. They do not establish compatibility.

License and attribution

Apache-2.0. Third-party content and copyright remain with their authors. Refer to the original license and terms.

Original license ↗

Synchronization, copying and user-reported success do not mark a resource as runtime-tested.

Limitations and notes

  • Collecting metadata does not mean this site has installed, adapted, runtime-tested or security-reviewed the resource.