Skip to content

feat(coding-agent): add test-driven-development skill - #1217

Open
RelaxJonh wants to merge 1 commit into
PrimeIntellect-ai:mainfrom
RelaxJonh:feat/add-tdd-skill
Open

feat(coding-agent): add test-driven-development skill#1217
RelaxJonh wants to merge 1 commit into
PrimeIntellect-ai:mainfrom
RelaxJonh:feat/add-tdd-skill

Conversation

@RelaxJonh

@RelaxJonh RelaxJonh commented Aug 11, 2026

Copy link
Copy Markdown

Summary

Add a Test-Driven Development (TDD) skill that enforces the RED -> GREEN -> REFACTOR cycle with mandatory test verification at each step.

What it does

  • RED: Write one failing test, verify it fails for the right reason
  • GREEN: Write minimal code to pass, verify it passes
  • REFACTOR: Clean up while keeping tests green

Includes:

  • Iron Law (no production code without a failing test first)
  • Common rationalizations table with rebuttals
  • Red flags checklist (when to stop and start over)
  • Anti-patterns guide
  • Prime Agent integration (IPython + shell)

Skill format

Markdown-only skill following the Agent Skills standard:

  • Frontmatter: name + description
  • No Python package needed
  • Located at packages/coding-agent/skills/test-driven-development/SKILL.md

Port the TDD skill from NousResearch/hermes-agent to Prime Agent.
Adapted for Prime's IPython kernel and shell tool integration.

Core workflow: RED -> GREEN -> REFACTOR with mandatory test verification
at each step. Includes rationalization table, anti-patterns, and
verification checklist.

Originally adapted from obra/superpowers.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant