tdd-with-agents
TDD enforcement with RED→GREEN→REFACTOR cycle and advanced testing patterns.
Skill by ils15
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/ils15-tdd-with-agents
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: testing
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/tdd-with-agents
What's inside
- Skill name
tdd-with-agents- Description
- TDD enforcement with RED→GREEN→REFACTOR cycle and advanced testing patterns. Use for test-driven development across all layers.
- License
- MIT
- Instructions
- 164 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# TDD with Agents
Enforce RED → GREEN → REFACTOR cycle across all implementation agents. Includes advanced testing patterns for E2E, load, mutation, and contract testing.
---
## Core Principle
> **Write the test FIRST. Watch it fail. Write minimal code to pass. Refactor with confidence.**
---
## TDD Cycle (RED → GREEN → REFACTOR)
### RED — Write Failing Test
- Write test for the behavior you want
- Run it → **must fail** (confirms test works)
- Test should be specific: one assertion per test
### GREEN — Make It Pass
- Write **minimal** code to pass the test
- No extra features, no premature optimization
- If it feels hard → design problem; refactor test
### REFACTOR — Improve Without Breaking
- Clean up code while tests stay green
- Extract functions, rename, remove duplication
- Tests are your safety net
---
## Testing by Layer
### Backend (Hermes)
```python
# Unit: service logic
def test_calculate_discount_applies_percentage():
result = calculate_discount(100, 10)
assert result == 90.0
# Integration: API endpoint
def test_get_user_returns_404_for_missing():
response = client.get("/users/nonexistent")
assert response.status_code == 404
# Database: repository
def test_user_repository_saves_and_retrieves():
repo.save(User(id="1", name="Test"))
assert repo.find("1").name == "Test"
```
### Frontend (Aphrodite)
```typescript
// Test behavior, not implementation
test('shows error message on invalid form', async () => {
render(<LoginForm />)
await userEvent.click(screen.getByText('Submit'))
expect(screen.getByText('Email is required')).toBeInTheDocument()
})
```
### Database (Demeter)
```python
def test_migration_creates_users_table():
alembic upgrade(head)
assert inspector.has_table('users')
def test_migration_rollback_drops_table():
alembic upgrade(head)
alembic downgrade(-1)
assert not inspector.has_table('users')
```
---
## Advanced Testing Patterns
### E2E Testing (Playwright)
```typescript
test('user can complete full signup flow', async ({ page }) => {
await page.goto('/signup')
await page.fill('[name="email"]', 'test@example.com')
await page.fill('[name="password"]', 'secure123')
await page.click('button[type="submit"]')
await expect(page.locator('.welcome-banner')).toBeVisible()
})
```
### Load Testing (k6/Locust)
```javascript
// k6 script
export const options = { vus: 50, duration: '30s' }
export default function () {
http.get('http://localhost:8000/api/users')
}
```
### Contract Testing (Pact)
```python
# Provider verifies consumer contract
@pact.verify_provider
def test_provider_satisfies_consumer_contract():
# Verify all interactions from pact file
pass
```
### Mutation Testing
- Mutate source code (change `>` to `<`, remove conditions)
- Run tests → should fail (mutation killed)
- If tests pass → test is weak; improve it
### Visual Regression
```typescript
test('homepage looks the same', async ({ page }) => {
await page.goto('/')
await expect(page).toHaveScreenshot('homepage.png')
})
```From ils15/pantheon-legacy, MIT.
More from ils15/pantheon-legacy
- 0.543score
handoff
ils15
Generate session handoff documents for work continuation.
SkillCFreshness: C★ 12Claude Code +9 - 0.541score
frontend-analyzer
ils15
Analyze React components for design tokens and accessibility.
SkillCFreshness: C★ 12Claude Code +9 - 0.541score
orchestration-workflow
ils15
Practical step-by-step walkthrough for orchestrating features end-to-end using the multi-agent system, from planning through deployment
SkillCFreshness: C★ 12Claude Code +9 - 0.541score
task-system
ils15
File-backed task management with dependencies and parallel execution.
SkillCFreshness: C★ 12Claude Code +9 - 0.541score
prompt-improver
ils15
Improve prompts using best practices for clarity, specificity, and structure.
SkillCFreshness: C★ 12Claude Code +9 - 0.541score
code-review-checklist
ils15
Systematic code review with quality gates, security audit, and parallel checks.
SkillCFreshness: C★ 12Claude Code +9 - 0.541score
agent-coordination
ils15
Multi-agent orchestration with model routing, category delegation, and sprint management.
SkillCFreshness: C★ 12Claude Code +9 - 0.538score
artifact-management
ils15
Structured artifact trail for feature implementations — plans, implementations, reviews, and decisions.
SkillCFreshness: C★ 12Claude Code +9 - 0.538score
api-design-patterns
ils15
Design RESTful APIs with pagination, filtering, and OpenAPI docs.
SkillCFreshness: C★ 12Claude Code +9 - 0.538score
conversational-ai-design
ils15
Design conversational AI with Rasa NLU, dialogue management, and LangChain memory patterns.
SkillCFreshness: C★ 12Claude Code +9 - 0.538score
agent-evaluation
ils15
Evaluate AI agent outputs — hallucination detection, quality scoring, behavioral testing, and CI/CD pipelines.
SkillCFreshness: C★ 12Claude Code +9 - 0.538score
database-migration
ils15
Database migrations with Alembic, rollbacks, and zero-downtime deployment.
SkillCFreshness: C★ 12Claude Code +9
Signals
- Stars
- 12
- Forks
- 7
- Open issues
- 1
- Last commit (this folder)
- Jul 11, 2026 (3 months ago)
- Last release
- Jul 22, 2026 (3 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/ils15/pantheon-legacy
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from ils15
- 0.543score
handoff
ils15
Generate session handoff documents for work continuation.
SkillCFreshness: C★ 12Claude Code +9 - 0.541score
orchestration-workflow
ils15
Practical step-by-step walkthrough for orchestrating features end-to-end using the multi-agent system, from planning through deployment
SkillCFreshness: C★ 12Claude Code +9 - 0.541score
frontend-analyzer
ils15
Analyze React components for design tokens and accessibility.
SkillCFreshness: C★ 12Claude Code +9 - 0.541score
code-review-checklist
ils15
Systematic code review with quality gates, security audit, and parallel checks.
SkillCFreshness: C★ 12Claude Code +9 - 0.541score
agent-coordination
ils15
Multi-agent orchestration with model routing, category delegation, and sprint management.
SkillCFreshness: C★ 12Claude Code +9 - 0.541score
prompt-improver
ils15
Improve prompts using best practices for clarity, specificity, and structure.
SkillCFreshness: C★ 12Claude Code +9
Cite this page
tdd-with-agents skill. Agent Mart. https://agentmart.dev/skills/ils15-tdd-with-agents (last updated 2026-10-24)