Hierarchical TDD & Refactoring state machine with nested micro-cycles, regression detection, event bubbling, and live projections
npx skills add Reactive-Skills/skills --skill tdd-refactornpx -y @reactive-skills/axi invoke tdd-refactor11
Hierarchical nodes
INIT
Bootstrap entrypoint
4
Whitelisted for safety
2
Automated projections
Visual state machine topology parsed directly from the official STATECHART.md in Reactive-Skills/skills:
Each state is an isolated operational slice. Transitions occur only when typed signals satisfy programmatic guard conditions.
Bootloader: Verify reactive runtime environment
Outgoing Transitions
Auto-configure harness MCP server
Outgoing Transitions
payload.exit_code == 0payload.exit_code != 0Author a strictly failing test specifying the new requirement
Outgoing Transitions
event.payload.exit_code != 0Write minimal implementation code to turn the test suite green
Outgoing Transitions
event.payload.exit_code === 0Composite state: Clean Code, Optimize Architecture, and Verify Invariants
Outgoing Transitions
event.payload.exit_code != 0Simplify naming, remove duplication, and extract deep helpers
Outgoing Transitions
Analyze complexity, eliminate unnecessary allocations and redundant I/O
Outgoing Transitions
Run full verification suite, linter, and type checks
Outgoing Transitions
event.payload.exit_code === 0TDD Refactor cycle finished successfully
Runtime setup failed
Terminal State: Bypass detected - Agent operated outside signal contract
Inspect or drive this state machine directly via the token-efficient AXI CLI:
Check state:
Inspect hierarchy:
Tail events:
Runtime variables persisted across state transitions:
target_filetest_filerefactor_cyclesclean_passesRead models automatically rendered upon transition:
Add to your Claude Desktop, Cursor, or VS Code settings:
{
"mcpServers": {
"reactive-skills": {
"command": "npx",
"args": [
"-y",
"@reactive-skills/axi",
"mcp"
]
}
}
}