Agent skill

MoAI TDD Workflow

by modu-ai in modu-ai/moai-adk

Drives test-first development through the RED, GREEN, REFACTOR cycle, with a config switch that selects between TDD and a DDD workflow for existing code.

Apache-2.0Auto-check passedTesting & QA

Install MoAI TDD Workflow

skills CLI
$ npx skills add modu-ai/moai-adk --skill moai-workflow-tdd -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install modu-ai/moai-adk moai-workflow-tdd --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/modu-ai/moai-adk.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/moai-workflow-tdd .claude/skills/moai-workflow-tdd && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
moai-workflow-tdd
GitHub stars
1.2k
Token cost
~3.1k tokens
SKILL.md length
1,467 words
Files
3 (incl. references)
Skills in repo
48
Repo updated
First seen
Licence
Apache-2.0

At a glance

Drives test-first development through the RED, GREEN, REFACTOR cycle, with a config switch that selects between TDD and a DDD workflow for existing code.

  • Works in 3 steps: RED - Write a Failing Test → GREEN - Make the Test Pass → REFACTOR - Improve the Code
  • Building a new feature from scratch with tests defining the behavior
  • SKILL.md covers Development Mode Configuration…, Quick Reference, Core Philosophy and Implementation Guide, plus 8 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

RED, GREEN, REFACTOR drives this workflow: write a failing test that defines the behavior, write the minimum code to pass, then improve the structure while the tests stay green. It is meant for new functionality, isolated modules, new API endpoints and UI components with defined behavior, and cases where a behavior spec drives the work.

Which workflow runs is decided by development_mode in .moai/config/sections/quality.yaml. With tdd, the default, this workflow applies; with ddd, the separate moai-workflow-ddd takes over, which uses an analyze, preserve, improve cycle and characterization tests to restructure existing code without changing behavior. TDD is not advised for refactoring, legacy code without tests or edits to existing files, where Hybrid mode is suggested.

The skill's allowed tools include Read, Write, Edit, Grep and Glob plus Bash commands for test and lint tooling across several ecosystems, such as pytest, ruff, npm, jest, vitest, go, cargo, mix, uv, bundle, php and phpunit. It is designed for Claude Code, and references/examples.md and references/reference.md carry worked examples and details.

When your agent uses it

  • Building a new feature from scratch with tests defining the behavior
  • Adding an API endpoint with a clear contract, test first
  • Choosing between TDD for new code and DDD for legacy code

Example prompts

  • “Build the password reset endpoint test first, using the moai TDD workflow.”
  • “Create a new date-picker component starting from failing tests.”
  • “Should this refactor of the legacy invoice module use TDD or DDD?”

Requirements

  • A test runner for the project's language, such as pytest, jest or vitest
  • A MoAI project config at .moai/config/sections/quality.yaml
  • Compatibility (from SKILL.md): Designed for Claude Code
  • Pre-approved tools (allowed-tools): Read, Write, Edit, Bash(pytest:*), Bash(ruff:*), Bash(npm:*), Bash(npx:*), Bash(node:*), Bash(jest:*), Bash(vitest:*), Bash(go:*), Bash(cargo:*), Bash(mix:*), Bash(uv:*), Bash(bundle:*), Bash(php:*), Bash(phpunit:*), Grep, Glob

Workflow steps

3 steps, taken from the step headings in SKILL.md.

  1. RED - Write a Failing Test
  2. GREEN - Make the Test Pass
  3. REFACTOR - Improve the Code

What it can do on your machine

Read from SKILL.md and the folder at commit 2aab5f7. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Write
    • Edit
    • Bash(pytest:*)
    • Bash(ruff:*)
    • Bash(npm:*)
    • Bash(npx:*)
    • Bash(node:*)
    • Bash(jest:*)
    • Bash(vitest:*)

    …and 9 more on the same allowed-tools line.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are yaml).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

  • Compatibility

    Designed for Claude Code

    From compatibility in the SKILL.md frontmatter.

Context cost

MoAI TDD Workflow loads about 3.1k tokens when it runs, and up to ~3.9k if it reads all its reference files. Until then it costs about 57 tokens; SKILL.md has 1,467 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~57
When it runs · the whole SKILL.md, loaded when a task matches
~3.1k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~3.9k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from modu-ai/moai-adk at commit 2aab5f7, republished under its Apache-2.0 licence (© modu-ai). 1,467 words, ~3,074 tokens.

Download SKILL.mdSave it as .claude/skills/moai-workflow-tdd/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
moai-workflow-tdd
description
Test-Driven Development workflow specialist using RED-GREEN-REFACTOR cycle for test-first software development. Use when developing new features from scratch or when behavior specification drives implementation.
allowed-tools
Read, Write, Edit, Bash(pytest:*), Bash(ruff:*), Bash(npm:*), Bash(npx:*), Bash(node:*), Bash(jest:*), Bash(vitest:*), Bash(go:*), Bash(cargo:*), Bash(mix:*), Bash(uv:*), Bash(bundle:*), Bash(php:*), Bash(phpunit:*), Grep, Glob
compatibility
Designed for Claude Code
when_to_use
Use for Test-Driven Development: the RED-GREEN-REFACTOR cycle for test-first software development, new-feature implementation from scratch, and…
license
Apache-2.0
user-invocable
false
metadata.version
1.0.0
metadata.category
workflow
metadata.status
active
metadata.updated
2026-02-03
metadata.modularized
true
metadata.tags
workflow, tdd, test-driven, red-green-refactor, test-first
metadata.author
MoAI-ADK Team

Test-Driven Development (TDD) Workflow

Development Mode Configuration (CRITICAL)

[NOTE] This workflow is selected based on .moai/config/sections/quality.yaml:

yaml
constitution:
  development_mode: tdd    # or ddd

When to use this workflow:

  • development_mode: tdd → Use TDD (this workflow, default)
  • development_mode: ddd → Use DDD instead (moai-workflow-ddd)

Key distinction:

  • TDD (default): Test-first development for all work, including brownfield projects with pre-RED analysis
  • DDD: Characterization-test-first for existing codebases with minimal test coverage

Quick Reference

Test-Driven Development provides a disciplined approach for creating new functionality where tests define the expected behavior before implementation.

Core Cycle - RED-GREEN-REFACTOR:

  • RED: Write a failing test that defines desired behavior
  • GREEN: Write minimal code to make the test pass
  • REFACTOR: Improve code structure while keeping tests green

When to Use TDD:

  • Creating new functionality from scratch
  • Building isolated modules with no existing dependencies
  • When behavior specification drives development
  • New API endpoints with clear contracts
  • New UI components with defined behavior
  • Greenfield projects (rare - usually Hybrid is better)

When NOT to Use TDD:

  • Refactoring existing code (use DDD instead)
  • When behavior preservation is the primary goal
  • Legacy codebase without test coverage (use DDD first)
  • When modifying existing files (consider Hybrid mode)

Core Philosophy

TDD vs DDD Comparison

TDD Approach:

  • Cycle: RED-GREEN-REFACTOR
  • Goal: Create new functionality through tests
  • Starting Point: No code exists
  • Test Type: Specification tests that define expected behavior
  • Outcome: New working code with test coverage

DDD Approach:

  • Cycle: ANALYZE-PRESERVE-IMPROVE
  • Goal: Improve structure without behavior change
  • Starting Point: Existing code with defined behavior
  • Test Type: Characterization tests that capture current behavior
  • Outcome: Better structured code with identical behavior
Test-First Principle

The golden rule of TDD is that tests must be written before implementation code:

  • Tests define the contract
  • Tests document expected behavior
  • Tests catch regressions immediately
  • Implementation is driven by test requirements

Implementation Guide

Phase 1: RED - Write a Failing Test

The RED phase focuses on defining the desired behavior through a failing test.

Writing Effective Tests

Before writing any implementation code:

  • Understand the requirement clearly
  • Define the expected behavior in test form
  • Write one test at a time
  • Keep tests focused and specific
  • Use descriptive test names that document behavior
Test Structure

Follow the Arrange-Act-Assert pattern:

  • Arrange: Set up test data and dependencies
  • Act: Execute the code under test
  • Assert: Verify the expected outcome
Verification

The test must fail initially:

  • Confirms the test actually tests something
  • Ensures the test is not passing by accident
  • Documents the gap between current and desired state
Phase 2: GREEN - Make the Test Pass

The GREEN phase focuses on writing minimal code to satisfy the test.

Minimal Implementation

Write only enough code to make the test pass:

  • Do not over-engineer
  • Do not add features not required by tests
  • Focus on correctness, not perfection
  • Hardcode values if necessary (refactor later)
Verification

Run the test to confirm it passes:

  • All assertions must succeed
  • No other tests should break
  • Implementation satisfies the test requirements
Phase 3: REFACTOR - Improve the Code

The REFACTOR phase focuses on improving code quality while maintaining behavior.

Safe Refactoring

With passing tests as a safety net:

  • Remove duplication
  • Improve naming and readability
  • Extract methods and classes
  • Apply design patterns where appropriate
Continuous Verification

After each refactoring step:

  • Run all tests
  • If any test fails, revert immediately
  • Commit when tests pass

TDD Workflow Execution

Standard TDD Session

When executing TDD through manager-develop:

Step 1 - Understand Requirements:

  • Read SPEC document for feature scope
  • Identify test cases from acceptance criteria
  • Plan test implementation order

Step 2 - RED Phase:

  • Write first failing test
  • Verify test fails for the right reason
  • Document expected behavior

Step 3 - GREEN Phase:

  • Write minimal implementation
  • Run test to verify it passes
  • Move to next test

Step 4 - REFACTOR Phase:

  • Review code for improvements
  • Apply refactoring with tests as safety net
  • Commit clean code

Step 5 - Repeat:

  • Continue RED-GREEN-REFACTOR cycle
  • Until all requirements are implemented
  • Until all acceptance criteria pass
TDD Loop Pattern

For features requiring multiple test cases:

  • Identify all test cases upfront
  • Prioritize by dependency and complexity
  • Execute RED-GREEN-REFACTOR for each
  • Maintain cumulative test suite

Quality Metrics

TDD Success Criteria

Test Coverage (Required):

  • Minimum 80% coverage per commit
  • 90% recommended for new code
  • All public interfaces tested

Code Quality (Goals):

  • All tests pass
  • No test written after implementation
  • Clear test names documenting behavior
  • Minimal implementation satisfying tests
TDD-Specific TRUST Validation

Apply TRUST 5 framework with TDD focus:

  • Tested: Test-first approach ensures coverage
  • Readability: Tests document expected behavior
  • Unified: Style and structure consistent with the surrounding code
  • Security: Security tests written before implementation
  • Trackable: Test failures provide immediate, attributable feedback

Integration Points

With DDD Workflow

TDD and DDD are complementary:

  • TDD for new code
  • DDD for existing code refactoring
  • Hybrid mode combines both approaches
With Testing Workflow

TDD integrates with testing workflow:

  • Uses specification tests
  • Integrates with coverage tools
  • Supports mutation testing for test quality
With Quality Framework

TDD outputs feed into quality assessment:

  • Coverage metrics tracked
  • TRUST 5 validation for changes
  • Quality gates enforce standards

Troubleshooting

Common Issues

Test is Too Complex:

  • Break into smaller, focused tests
  • Test one behavior at a time
  • Use test fixtures for complex setup

Implementation Grows Too Fast:

  • Resist urge to implement untested features
  • Return to RED phase for new functionality
  • Keep GREEN phase minimal

Refactoring Breaks Tests:

  • Revert immediately
  • Refactor in smaller steps
  • Ensure tests verify behavior, not implementation
Recovery Procedures

When TDD discipline breaks down:

  • Stop and assess current state
  • Write characterization tests for existing code
  • Resume TDD for remaining features
  • Consider switching to Hybrid mode

Version: 1.0.0 Status: Active

<!-- moai:evolvable-start id="rationalizations" -->
Show full SKILL.md (578 more words)Show less

Common Rationalizations

RationalizationReality
"I'll add tests after the implementation works"Post-hoc tests verify what the code does, not what it should do. They miss the bugs RED phase catches.
"The existing tests cover this case"Existing tests verify old behavior. New behavior needs its own failing test first.
"This function is too simple to test"Simple functions accumulate complexity. The test documents expected behavior before drift.
"I tested it manually in the terminal"Manual checks do not persist. Tomorrow's change breaks the contract with no signal.
"The test requires complex mocking"If the test is hard to write, the code is hard to reason about. Refactor the design first.
"Tests slow me down"Test-first surfaces design problems early, when they are cheapest to fix.
"I'll skip REFACTOR this cycle to keep moving"Skipped refactors compound. The next cycle starts from a worse baseline.

DAMP over DRY: In test code, prefer Descriptive And Meaningful Phrases over Don't Repeat Yourself. Duplication inside a test that makes the intent obvious is better than an abstraction that hides it.

Beyonce Rule: If you liked it, you should have put a test on it. Any behavior CI does not verify will eventually break without warning.

<!-- moai:evolvable-end -->
<!-- moai:evolvable-start id="red-flags" -->

Red Flags

  • Implementation file created in the same commit as its test file (RED phase skipped)
  • Test names describe implementation (test_function_returns_true) instead of behavior (test_user_login_rejects_expired_token)
  • All tests in a new file pass on first run — no RED phase was captured
  • Commit message says "add tests" after the feature is already merged
  • Test suite contains mocks of the code under test (mocking implementation, not collaborators)
  • Coverage dropped in the commit that added a new feature
<!-- moai:evolvable-end -->
<!-- moai:evolvable-start id="verification" -->

Verification

  • Git history shows a failing-test commit before the implementation commit, or evidence of RED in the same commit
  • Test names read as behavior specifications, not function descriptions
  • Every new public function has at least one corresponding test case
  • Full test suite passes (paste command output)
  • Coverage for changed files is measured and reported (show tool output)
  • No skip, xit, or disabled tests were added in this change
  • REFACTOR phase was executed or explicitly justified as unnecessary
<!-- moai:evolvable-end -->

Test-First Anti-Cheat

[ZONE:Evolvable] [HARD] The Red Flags and Verification checklists above sit in advisory (evolvable) blocks and are consumed by no completion gate. This section promotes them into two enforced invariants that make test-first falsifiable in the completion matrix.

  • Invariant i — RED failure output is mandatory completion evidence. The verbatim RED failing-test output (the failing-test run captured BEFORE any implementation makes it pass) MUST be observed and shown as part of run-phase completion evidence. A run that cannot produce this output skipped RED and cannot be reported as clean.
  • Invariant ii — implementation written before its failing test is deleted and re-derived test-first. Any implementation code written before its failing test exists MUST be deleted and re-derived from a failing test (RED then GREEN). "I already wrote the implementation, so the test passes on first run" is the exact failure mode this invariant forbids — it is test-after, not test-first, and it leaves no RED output (Invariant i) to show as evidence.

These two invariants close the falsifiability gap: before them, a fully-passing self-verification matrix was producible with NO RED evidence, so test-first could not be distinguished from test-after by the completion report. After them, the matrix requires the verbatim pre-GREEN RED output, so a run that skipped RED has no such output to supply and the matrix is structurally incomplete.

© modu-ai, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 2 other files (references) in .claude/skills/moai-workflow-tdd of modu-ai/moai-adk.

  • SKILL.md
  • references/examples.md
  • references/reference.md

Open the folder on GitHubat commit 2aab5f7

Compare with similar skills

MoAI TDD Workflow next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

MoAI TDD Workflow compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
MoAI TDD Workflow this skillmodu-ai/moai-adk1.2k—~3.1kAutomated safety check: PassApache-2.0
TDD Guidealirezarezvani/claude-skills28k—~3.4kAutomated safety check: PassMIT
TDD GuideLeoYeAI/openclaw-master-skills2.2k—~1.4kAutomated safety check: PassMIT
TDD Guideborghei/Claude-Skills886—~1.7kAutomated safety check: PassMIT
TDD GuideaAAaqwq/AGI-Super-Team1052 repos~1.1kAutomated safety check: PassMIT
Test-Driven Development Enforcerzereight/gitlab-mcp2k1 repos~904Automated safety check: PassMIT

Similar skills

  • TDD Guide

    alirezarezvani/claude-skills

    Test-driven development skill for writing unit tests, generating test fixtures and mocks, analyzing coverage gaps, and guiding red-green-refactor workflows across Jest, Pytest, JUnit, Vitest, and…

    28k GitHub stars~3.4k tokensUpdated 1 mo ago
    Testing & QAAuto-check passed
  • TDD Guide

    LeoYeAI/openclaw-master-skills

    Test-driven development skill for writing unit tests, generating test fixtures and mocks, analyzing coverage gaps, and guiding red-green-refactor workflows across Jest, Pytest, JUnit, Vitest, and…

    2.2k GitHub stars~1.4k tokensUpdated 2 mo ago
    Testing & QAAuto-check passed
  • TDD Guide

    borghei/Claude-Skills

    Guide red-green-refactor TDD with test generation, coverage-gap analysis, and multi- framework support.

    886 GitHub stars~1.7k tokensUpdated 2 days ago
    Testing & QAAuto-check passed
  • TDD Guide

    aAAaqwq/AGI-Super-Team

    Test-driven development workflow with test generation, coverage analysis, and multi-framework support

    105 GitHub starsUsed in 2 repos~1.1k tokens
    Testing & QAAuto-check passed
  • Enforces strict red-green-refactor, with a failing test first, the minimum code to pass it, then cleanup, and a quick reference for common test runners.

    2k GitHub starsUsed in 1 repo~904 tokens
    Testing & QAAuto-check passed
  • Test Patterns

    rohitg00/skillkit

    Applies proven testing patterns — Arrange-Act-Assert (AAA), Given-When-Then, Test Data Builders, Object Mother, parameterized tests, fixtures, spies, and test doubles — to help write maintainable…

    1.5k GitHub stars~1.8k tokensUpdated 4 mo ago
    Testing & QAAuto-check passed

More from modu-ai/moai-adk

All 48 skills in this repo
  • Builds hand-editable SVG diagrams from computed layout coordinates, lints the source and renders a 2x PNG, with rules for when mermaid is the better choice.

    1.2k GitHub stars~5.2k tokensUpdated today
    Auto-check: notes
  • MoAI Foundation Core

    modu-ai/moai-adk

    Reference for MoAI-ADK's core development principles: TRUST 5 quality gates, SPEC-first domain-driven workflow, agent delegation and token budgeting.

    1.2k GitHub stars~5k tokensUpdated today
    Auto-check passed
  • MoAI SPEC Workflow

    modu-ai/moai-adk

    Manages SPEC documents for MoAI-ADK development, with GEARS or EARS requirement notation, acceptance criteria and a link into the Plan-Run-Sync workflow.

    1.2k GitHub stars~5.1k tokensUpdated today
    Auto-check passed
  • MoAI Worktree Management

    modu-ai/moai-adk

    Gives each SPEC its own Git worktree with a registry of active workspaces, base-branch sync and cleanup of merged ones, inside the MoAI-ADK workflow.

    1.2k GitHub stars~3.9k tokensUpdated today
    Auto-check passed
  • Watches a pull request's CI checks after creation, separates required from auxiliary failures, applies limited safe fixes and escalates anything semantic to you.

    1.2k GitHub stars~2.4k tokensUpdated today
    Auto-check: notes
  • Database guidance for PostgreSQL, MongoDB, Redis and Oracle plus Neon, Supabase and Firestore: schema design, indexing, query tuning and cloud database choice.

    1.2k GitHub stars~2.8k tokensUpdated today
    Auto-check passed

Questions about MoAI TDD Workflow

What does MoAI TDD Workflow do?

Drives test-first development through the RED, GREEN, REFACTOR cycle, with a config switch that selects between TDD and a DDD workflow for existing code. RED, GREEN, REFACTOR drives this workflow: write a failing test that defines the behavior, write the minimum code to pass, then improve the structure while the tests stay green. It is meant for new functionality, isolated modules, new API endpoints and UI components with defined behavior, and cases where a behavior spec drives the work.

When should I use MoAI TDD Workflow?

MoAI TDD Workflow fits situations like: building a new feature from scratch with tests defining the behavior; adding an API endpoint with a clear contract, test first; choosing between TDD for new code and DDD for legacy code.

How do I install MoAI TDD Workflow in Claude Code?

Run `npx skills add modu-ai/moai-adk --skill moai-workflow-tdd -a claude-code`. Or copy the skill folder (.claude/skills/moai-workflow-tdd in modu-ai/moai-adk) into .claude/skills/moai-workflow-tdd in your project. Claude Code loads it when a task matches its description.

How do I install MoAI TDD Workflow in Codex?

Run `npx skills add modu-ai/moai-adk --skill moai-workflow-tdd -a codex`. Or copy the skill folder (.claude/skills/moai-workflow-tdd in modu-ai/moai-adk) into .agents/skills/moai-workflow-tdd in your project. Codex loads it when a task matches its description.

Can I use MoAI TDD Workflow in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add modu-ai/moai-adk --skill moai-workflow-tdd -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/moai-workflow-tdd, .gemini/skills/moai-workflow-tdd, .github/skills/moai-workflow-tdd and .opencode/skills/moai-workflow-tdd in your project.

What does MoAI TDD Workflow need to run?

SKILL.md names no scripts, command-line tools or credentials: MoAI TDD Workflow is instructions for the agent only. Our summary lists: A test runner for the project's language, such as pytest, jest or vitest; A MoAI project config at .moai/config/sections/quality.yaml. Its frontmatter pre-approves these tools: Read, Write, Edit, Bash(pytest:*), Bash(ruff:*), Bash(npm:*), Bash(npx:*), Bash(node:*), Bash(jest:*), Bash(vitest:*), Bash(go:*), Bash(cargo:*), Bash(mix:*), Bash(uv:*), Bash(bundle:*), Bash(php:*), Bash(phpunit:*), Grep, Glob. Compatibility (from SKILL.md): Designed for Claude Code.

Does MoAI TDD Workflow access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is MoAI TDD Workflow safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does MoAI TDD Workflow use?

MoAI TDD Workflow is published under the Apache-2.0 licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does MoAI TDD Workflow use?

About 3.1k tokens (SKILL.md is roughly 12k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 804 tokens, read only when the agent opens those files.

What are the alternatives to MoAI TDD Workflow?

Skills that share tags, products or a category with MoAI TDD Workflow: TDD Guide (alirezarezvani/claude-skills, 28k stars), TDD Guide (LeoYeAI/openclaw-master-skills, 2.2k stars), TDD Guide (borghei/Claude-Skills, 886 stars) and TDD Guide (aAAaqwq/AGI-Super-Team, 105 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains MoAI TDD Workflow?

modu-ai (a GitHub organization) maintains it in modu-ai/moai-adk, which has 1,232 GitHub stars. The repository holds 48 skills in this directory. The repository was last updated on October 9, 2026.

Source: modu-ai/moai-adk on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.