{"id":"08945211-4b9c-498d-b17a-6a6d4e170f2a","shortId":"GndEJv","kind":"skill","title":"Enforce red-green-refactor discipline in Claude Code sessions with TDD Guard","tagline":"Block implementation-first agent behavior and keep Claude Code anchored to failing-tests-first TDD loops.","description":"# Enforce red-green-refactor discipline in Claude Code sessions with TDD Guard\n\nBlock implementation-first agent behavior and keep Claude Code anchored to failing-tests-first TDD loops.\n\n## Prerequisites\n\nClaude Code, Node.js 22+, supported test framework\n\n## Installation\n\nRequirements and caveats from upstream:\n- Node.js 22+\n- Python/pytest support: [@Durafen](https://github.com/Durafen)\n\nBasic usage or getting-started notes:\n- A supported test framework (Vitest, Jest, Storybook, pytest, PHPUnit, Go, Rust, RSpec, Minitest)\n- Open Claude Code in your project and run:\n- /plugin marketplace add nizos/tdd-guard\n\n- Source: https://github.com/nizos/tdd-guard\n- Extracted from upstream docs: https://raw.githubusercontent.com/nizos/tdd-guard/HEAD/README.md\n\n## Documentation\n\n- https://github.com/nizos/tdd-guard#readme\n\n## Source\n\n- [Agent Skill Exchange](https://agentskillexchange.com/skills/enforce-red-green-refactor-discipline-in-claude-code-with-tdd-guard/)","tags":["enforce","red","green","refactor","discipline","claude","code","with","tdd","guard","skills","agentskillexchange"],"capabilities":["skill","source-agentskillexchange","skill-enforce-red-green-refactor-discipline-in-claude-code-with-tdd-guard","topic-agent-skills","topic-ai-agents","topic-ai-tools","topic-awesome-list","topic-claude-code","topic-codex","topic-cursor","topic-llm","topic-mcp","topic-npx-skills","topic-openclaw","topic-skills-catalog"],"categories":["skills"],"synonyms":[],"warnings":[],"endpointUrl":"https://skills.sh/agentskillexchange/skills/enforce-red-green-refactor-discipline-in-claude-code-with-tdd-guard","protocol":"skill","transport":"skills-sh","auth":{"type":"none","details":{"cli":"npx skills add agentskillexchange/skills","source_repo":"https://github.com/agentskillexchange/skills","install_from":"skills.sh"}},"qualityScore":"0.454","qualityRationale":"deterministic score 0.45 from registry signals: · indexed on github topic:agent-skills · 8 github stars · SKILL.md body (966 chars)","verified":false,"liveness":"unknown","lastLivenessCheck":null,"agentReviews":{"count":0,"score_avg":null,"cost_usd_avg":null,"success_rate":null,"latency_p50_ms":null,"narrative_summary":null,"summary_updated_at":null},"enrichmentModel":"deterministic:skill-github:v1","enrichmentVersion":1,"enrichedAt":"2026-05-18T19:10:19.886Z","embedding":null,"createdAt":"2026-05-18T13:16:22.400Z","updatedAt":"2026-05-18T19:10:19.886Z","lastSeenAt":"2026-05-18T19:10:19.886Z","tsv":"'/durafen)':84 '/nizos/tdd-guard':120 '/nizos/tdd-guard#readme':131 '/nizos/tdd-guard/head/readme.md':127 '/plugin':113 '/skills/enforce-red-green-refactor-discipline-in-claude-code-with-tdd-guard/)':138 '22':67,78 'add':115 'agent':18,49,133 'agentskillexchange.com':137 'agentskillexchange.com/skills/enforce-red-green-refactor-discipline-in-claude-code-with-tdd-guard/)':136 'anchor':24,55 'basic':85 'behavior':19,50 'block':14,45 'caveat':74 'claud':8,22,39,53,64,106 'code':9,23,40,54,65,107 'disciplin':6,37 'doc':124 'document':128 'durafen':81 'enforc':1,32 'exchang':135 'extract':121 'fail':27,58 'failing-tests-first':26,57 'first':17,29,48,60 'framework':70,95 'get':89 'getting-start':88 'github.com':83,119,130 'github.com/durafen)':82 'github.com/nizos/tdd-guard':118 'github.com/nizos/tdd-guard#readme':129 'go':101 'green':4,35 'guard':13,44 'implement':16,47 'implementation-first':15,46 'instal':71 'jest':97 'keep':21,52 'loop':31,62 'marketplac':114 'minitest':104 'nizos/tdd-guard':116 'node.js':66,77 'note':91 'open':105 'phpunit':100 'prerequisit':63 'project':110 'pytest':99 'python/pytest':79 'raw.githubusercontent.com':126 'raw.githubusercontent.com/nizos/tdd-guard/head/readme.md':125 'red':3,34 'red-green-refactor':2,33 'refactor':5,36 'requir':72 'rspec':103 'run':112 'rust':102 'session':10,41 'skill':134 'skill-enforce-red-green-refactor-discipline-in-claude-code-with-tdd-guard' 'sourc':117,132 'source-agentskillexchange' 'start':90 'storybook':98 'support':68,80,93 'tdd':12,30,43,61 'test':28,59,69,94 'topic-agent-skills' 'topic-ai-agents' 'topic-ai-tools' 'topic-awesome-list' 'topic-claude-code' 'topic-codex' 'topic-cursor' 'topic-llm' 'topic-mcp' 'topic-npx-skills' 'topic-openclaw' 'topic-skills-catalog' 'upstream':76,123 'usag':86 'vitest':96","prices":[{"id":"36ebff3b-c256-4a18-822a-f5dd49decd63","listingId":"08945211-4b9c-498d-b17a-6a6d4e170f2a","amountUsd":"0","unit":"free","nativeCurrency":null,"nativeAmount":null,"chain":null,"payTo":null,"paymentMethod":"skill-free","isPrimary":true,"details":{"org":"agentskillexchange","category":"skills","install_from":"skills.sh"},"createdAt":"2026-05-18T13:16:22.400Z"}],"sources":[{"listingId":"08945211-4b9c-498d-b17a-6a6d4e170f2a","source":"github","sourceId":"agentskillexchange/skills/enforce-red-green-refactor-discipline-in-claude-code-with-tdd-guard","sourceUrl":"https://github.com/agentskillexchange/skills/tree/main/skills/enforce-red-green-refactor-discipline-in-claude-code-with-tdd-guard","isPrimary":false,"firstSeenAt":"2026-05-18T13:16:22.400Z","lastSeenAt":"2026-05-18T19:10:19.886Z"}],"details":{"listingId":"08945211-4b9c-498d-b17a-6a6d4e170f2a","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"agentskillexchange","slug":"enforce-red-green-refactor-discipline-in-claude-code-with-tdd-guard","github":{"repo":"agentskillexchange/skills","stars":8,"topics":["agent-skills","ai-agents","ai-tools","awesome-list","claude-code","codex","cursor","llm","mcp","npx-skills","openclaw","skills-catalog"],"license":"mit","html_url":"https://github.com/agentskillexchange/skills","pushed_at":"2026-05-18T19:02:17Z","description":"The open catalog of AI agent skills — 2,000+ security-scanned skills for Claude Code, Cursor, Codex, and more.","skill_md_sha":"10b549b46d37446754b7dd9a247ca9586da0288e","skill_md_path":"skills/enforce-red-green-refactor-discipline-in-claude-code-with-tdd-guard/SKILL.md","default_branch":"main","skill_tree_url":"https://github.com/agentskillexchange/skills/tree/main/skills/enforce-red-green-refactor-discipline-in-claude-code-with-tdd-guard"},"layout":"multi","source":"github","category":"skills","frontmatter":{"name":"Enforce red-green-refactor discipline in Claude Code sessions with TDD Guard","description":"Block implementation-first agent behavior and keep Claude Code anchored to failing-tests-first TDD loops."},"skills_sh_url":"https://skills.sh/agentskillexchange/skills/enforce-red-green-refactor-discipline-in-claude-code-with-tdd-guard"},"updatedAt":"2026-05-18T19:10:19.886Z"}}