aim-test-driven-development

Enforce test-first RED-GREEN-REFACTOR cycles for AIM repository work.

4|1|Updated Apr 18, 2026
One-click install
npx skills add https://github.com/zccz14/AIM --skill aim-test-driven-development
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: aim-test-driven-development
Source: https://github.com/zccz14/AIM/tree/main/.agents/skills/aim-test-driven-development
Command: npx skills add https://github.com/zccz14/AIM --skill aim-test-driven-development

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

When implementing new features, fixing defects, or adjusting behavior in the AIM repository, this skill ensures you follow a strict test-first discipline so production code is written only after observable failures exist.

Core Features & Use Cases

  • Enforces writing failing tests before production code
  • Guides adherence to the RED-GREEN-REFACTOR workflow
  • Provides a clear discipline for regression protection and verified behavior in AIM

Quick Start

Always write a failing test first, then implement production code only after the test fails

Frequently Asked Questions about aim-test-driven-development

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

FAQPage Schema
How do I enforce test-driven development discipline for new features and bug fixes?▼

You can enforce test-driven development discipline by applying a strict test-first workflow that requires writing failing automated tests before any production code is implemented for new features, bug fixes, or behavior adjustments.

What is the RED-GREEN-REFACTOR cycle in test-driven development?▼

The RED-GREEN-REFACTOR cycle is a test-driven development workflow where you write a failing test first, implement production code to make the test pass, and then refactor the code while ensuring the tests continue to verify expected behavior.

How do I protect against regressions when adjusting existing behavior?▼

To protect against regressions when adjusting behavior, write automated tests that define and verify expected behavior before implementing production code changes, ensuring observable failures exist prior to development.

Why should I write failing tests before writing production code?▼

Writing failing tests before production code ensures that your tests accurately define expected behavior and verify observable failures, preventing untested code from being introduced and maintaining strict development discipline.

Can I implement production code before writing tests for behavior adjustments?▼

No, you cannot implement production code before tests when following test-driven development discipline, because the protocol requires automated tests to verify behavior and fail observably before any implementation begins.

When do I need to follow the aim-writing-tests protocol for regression testing?▼

You need to follow the aim-writing-tests protocol for regression testing whenever you are implementing new features, fixing defects, or adjusting behavior, ensuring automated tests define expected outcomes before production code is written.