test-discipline

Synchronize software tests with API modifications and filesystem state.

3|Updated Mar 15, 2026
One-click install
npx skills add https://github.com/bradygaster/docx-mcp-server --skill test-discipline-bradygaster
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test-discipline
Source: https://github.com/bradygaster/docx-mcp-server/tree/main/.squad/templates/skills/test-discipline
Command: npx skills add https://github.com/bradygaster/docx-mcp-server --skill test-discipline-bradygaster

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill ensures that software tests are always up-to-date with API changes and file reality, preventing CI failures and maintaining code integrity.

Core Features & Use Cases

  • Automated Test Updates: Automatically updates tests when APIs or public interfaces change.
  • Assertion Synchronization: Keeps test assertions in sync with the actual file system state.
  • Use Case: When a developer modifies an API endpoint, this Skill ensures the corresponding tests are updated in the same commit, preventing broken builds and ensuring reliable software delivery.

Quick Start

Update tests to reflect the latest API changes before committing your code.

Frequently Asked Questions about test-discipline

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I keep software tests synchronized with API changes automatically?

Keeping software tests synchronized with API changes requires enforcing commit-time updates to public interfaces and test assertions. This prevents broken builds by ensuring test coverage accurately reflects API modifications within the same development commit.

Why do my CI builds fail when API endpoints are modified without updating tests?

CI builds fail when API endpoints are modified without updating tests because the assertions no longer match the actual file system state or API signatures. Synchronizing test arrays against file counts during commit prevents these continuous integration failures.

What is the best way to enforce assertion synchronization with the file system state?

The best way to enforce assertion synchronization is to apply a strict commit-time workflow that checks test assertion arrays against actual file counts. This maintains code integrity by verifying that test coverage matches the current filesystem reality.

Do I need a continuous integration pipeline to synchronize tests with public interfaces?

You do not strictly need a continuous integration pipeline to synchronize tests with public interfaces, as the enforcement happens at commit-time. However, integrating this synchronization satisfies CI stability requirements and ensures reliable software delivery.

Can I update test assertion arrays manually instead of enforcing automated test updates?

You can update test assertion arrays manually, but enforcing automated test updates during API modifications prevents human error. Automating this synchronization ensures strict adherence to file reality and maintains accurate test coverage without manual intervention.