Favicon of test-discipline

test-discipline Skill

AI Agent SkillCloud & DevOpsOpen source

Testing practices for behavior-focused, refactor-resistant tests. Use when implementing features or fixing bugs to ensure tests verify intent through public interfaces. Also use when adding regression tests after bug fixes. Consulted by the implement agent during coding and by the review agent when validating test qual Published by microsoft in devsquad-copilot.

Decision snapshot

Is this a fit?

Best for

Testing, Design and media, Writing, Includes SKILL.md

Works with

Compatibility not yet detected.

Access

Permission behavior not yet detected.

Setup

Copy skill directory

Project health

3 months ago · MIT license

Considerations

No specific cautions were detected. Review the source and requested permissions before installing.

What is test-discipline Skill?

Testing practices for behavior-focused, refactor-resistant tests. Use when implementing features or fixing bugs to ensure tests verify intent through public interfaces. Also use when adding regression tests after bug fixes. Consulted by the implement agent during coding and by the review agent when validating test qual Published by microsoft in devsquad-copilot. This profile combines repository metadata with install, compatibility, and usage signals so developers can quickly decide whether it fits their agent workflow before opening the source repository.

Trust signal
95/100
Maintenance signal
90/100
Adoption signal
40/100

Automated repository signals based on public metadata such as recency, license, installation evidence, and adoption. These are not a security audit or endorsement. See how SkillIndex evaluates profiles.

Key capabilities

  • Includes SKILL.md support
  • Reusable instructions support
  • Testing
  • Design and media
  • Writing
  • Testing use cases
  • Design and media use cases

Declared skill metadata

  • Source file: .github/plugins/devsquad/skills/test-discipline/SKILL.md

These fields retain source and confidence evidence from the indexed SKILL.md.

Compatibility and setup

Copy skill directory
  • Install or run with Copy skill directory

When to use test-discipline Skill

  • Use it for testing.
  • Use it for design and media.
  • Use it for writing.

Built with

Copy skill directory

Editorial notes

Source

  • Creator: microsoft
  • Repository: microsoft/devsquad-copilot
  • Skill file: .github/plugins/devsquad/skills/test-discipline/SKILL.md

What it does

Testing practices for behavior-focused, refactor-resistant tests. Use when implementing features or fixing bugs to ensure tests verify intent through public interfaces. Also use when adding regression tests after bug fixes. Consulted by the implement agent during coding and by the review agent when validating test qual

Skill instructions

Test Discipline Philosophy Tests verify behavior through public interfaces, not implementation details. Code can change entirely; tests should not break unless behavior changes. A good test reads like a specification. Use TDD strategically, not dogmatically. The goal is high-quality tests that verify intent — the ordering of when tests are written is a means to that end, not the end itself. When to Write Tests First Test-first (red-green-refactor) works best when: - Fixing a bug: Write a test that reproduces the bug before fixing it. The test must fail BEFORE the fix and pass AFTER. If the bug is not reproducible via automated test (race condition, environment-specific), document why and what alternative evidence proves the fix. - Behavior is unclear: The test forces you to define expected behavior precisely before writing code. - Working on a well-defined interface: The contract is clear and the test is straightforward to write. When to Write Tests After (or Interleave) Design-first-t

Verified compatibility and discovery

Frequently asked questions

What is test-discipline?

test-discipline is a open-source AI agent skill with Copy skill directory. Testing practices for behavior-focused, refactor-resistant tests. Use when implementing features or fixing bugs to ensure tests verify intent through public interfaces.

Who is test-discipline best for?

test-discipline is best for reusing agent instructions, scripts, and references, testing workflows, design and media workflows, writing workflows.

How do I install test-discipline?

Install or run test-discipline using Copy skill directory. Check test-discipline for the latest setup command.

Is test-discipline actively maintained?

test-discipline may need a closer maintenance check before production use.

Share:

Stars
39
Forks
7
Last commit
3 months ago
Last verified
Aug 31, 2026
Metadata fetched
Aug 31, 2026
Repository age
6 months
License
MIT

Project health auto-fetched from the source repository.

Maintain this resource?

Review this source-backed profile, send a correction with evidence, or link to it from your documentation. Claims verify your relationship to the project; profile facts still require source evidence and editorial review.

Alternatives to test-discipline