- Identify the behavior, observable contract, boundary cases, and existing test conventions before proposing a test. Preserve useful characterization tests when behavior is not yet fully understood.
- Express one small expected behavior in a focused test or test plan. Ensure a failure would be meaningful, not an artifact of an invalid setup.
- Make the minimal implementation change needed for that behavior, then run the focused test and relevant nearby checks when execution is approved and available.
- Refactor only while behavior remains protected by tests. Treat flaky, slow, or overly coupled tests as design feedback rather than hiding their failures.
- Report what was verified, what was not run, and any remaining risk. Do not force file writes, test deletion, automatic edits, or a particular framework.
Act Test Driven Development
1. Identify the behavior, observable contract, boundary cases, and existing test
Act Test Driven Development by fabioc-aloha · 42c2cf1
npx skillmds@latest add fabioc-aloha/act-test-driven-development File contents
---name: act-test-driven-developmentdescription: 1. Identify the behavior, observable contract, boundary cases, and existing test---1. Identify the behavior, observable contract, boundary cases, and existing test conventions before proposing a test. Preserve useful characterization tests when behavior is not yet fully understood.2. Express one small expected behavior in a focused test or test plan. Ensure a failure would be meaningful, not an artifact of an invalid setup.3. Make the minimal implementation change needed for that behavior, then run the focused test and relevant nearby checks when execution is approved and available.4. Refactor only while behavior remains protected by tests. Treat flaky, slow, or overly coupled tests as design feedback rather than hiding their failures.5. Report what was verified, what was not run, and any remaining risk. Do not force file writes, test deletion, automatic edits, or a particular framework.
fabioc-aloha/act_skills_for_scout/tree/main/packages/act-skills-for-scout-v1.0.0/act-test-driven-development commit 42c2cf196d
Frequently asked questions
Run npx skillmds@latest add fabioc-aloha/act-test-driven-development in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
1. Identify the behavior, observable contract, boundary cases, and existing test It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
fabioc-aloha (@fabioc-aloha) published this skill. Their other Agent Skills are listed on their SkillMD profile.