ferrox-test-driven-development
Use when implementing any feature or bugfix, before writing implementation code
Skill by FerroxLabs
Chalk Labs
Need help deploying ferrox-test-driven-development?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
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/ferroxlabs-ferrox-test-driven-development
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, writing
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/ferrox-test-driven-development
What's inside
- Skill name
ferrox-test-driven-development- Description
- Use when implementing any feature or bugfix, before writing implementation code
- License
- MIT
- Instructions
- 370 lines in SKILL.md · view on GitHub
Files (2)
- SKILL.md
- testing-anti-patterns.md
SKILL.md (first lines)
> Adapted from Superpowers by Obra (MIT) — see NOTICE.
# Test-Driven Development (TDD)
## Overview
Write the test first. Watch it fail. Write minimal code to pass.
**Core principle:** If you didn't watch the test fail, you don't know if it tests the right thing.
**Violating the letter of the rules is violating the spirit of the rules.**
## When to Use
**Always:**
- New features
- Bug fixes
- Refactoring
- Behavior changes
**Exceptions (ask your human partner):**
- Throwaway prototypes
- Generated code
- Configuration files
Thinking "skip TDD just this once"? Stop. That's rationalization.
## The Iron Law
```
NO PRODUCTION CODE WITHOUT A FAILING TEST FIRST
```
Write code before the test? Delete it. Start over.
**No exceptions:**
- Don't keep it as "reference"
- Don't "adapt" it while writing tests
- Don't look at it
- Delete means delete
Implement fresh from tests. Period.
## Red-Green-Refactor
```dot
digraph tdd_cycle {
rankdir=LR;
red [label="RED\nWrite failing test", shape=box, style=filled, fillcolor="#ffcccc"];
verify_red [label="Verify fails\ncorrectly", shape=diamond];
green [label="GREEN\nMinimal code", shape=box, style=filled, fillcolor="#ccffcc"];
verify_green [label="Verify passes\nAll green", shape=diamond];
refactor [label="REFACTOR\nClean up", shape=box, style=filled, fillcolor="#ccccff"];
next [label="Next", shape=ellipse];
red -> verify_red;
verify_red -> green [label="yes"];
verify_red -> red [label="wrong\nfailure"];
green -> verify_green;
verify_green -> refactor [label="yes"];
verify_green -> green [label="no"];
refactor -> verify_green [label="stay\ngreen"];
verify_green -> next;
next -> red;
}
```
### RED - Write Failing Test
Write one minimal test showing what should happen.
<Good>
```typescript
test('retries failed operations 3 times', async () => {
let attempts = 0;
const operation = () => {
attempts++;
if (attempts < 3) throw new Error('fail');
return 'success';
};
const result = await retryOperation(operation);
expect(result).toBe('success');
expect(attempts).toBe(3);
});
```
Clear name, tests real behavior, one thing
</Good>
<Bad>
```typescript
test('retry works', async () => {
const mock = jest.fn()
.mockRejectedValueOnce(new Error())
.mockRejectedValueOnce(new Error())
.mockResolvedValueOnce('success');
await retryOperation(mock);
expect(mock).toHaveBeenCalledTimes(3);
});
```
Vague name, tests mock not code
</Bad>
**Requirements:**
- One behavior
- Clear name
- Real code (no mocks unless unavoidable)
### Verify RED - Watch It Fail
**MANDATORY. Never skip.**
```bash
npm test path/to/test.test.ts
```
Confirm:
- Test fails (not errors)From FerroxLabs/ferrox-factory, MIT.
More from FerroxLabs/ferrox-factory
- 0.593score
ferrox-design-init
FerroxLabs
You want a durable design contract before any UI is built.
SkillBFreshness: B★ 23Claude Code +9 - 0.593score
ferrox-eval-review
FerroxLabs
An AI feature was built and you want its evaluation coverage audited, with a fix plan
SkillBFreshness: B★ 23Claude Code +9 - 0.593score
ferrox-debug
FerroxLabs
Something is broken, failing, crashing or behaving wrong.
SkillBFreshness: B★ 23Claude Code +9 - 0.593score
ferrox-add-tests
FerroxLabs
Something was built and you want tests covering what it promised to do
SkillBFreshness: B★ 23Claude Code +9 - 0.593score
ferrox-audit-fix
FerroxLabs
You want issues found, classified, fixed, tested and committed without steering each one
SkillBFreshness: B★ 23Claude Code +9 - 0.593score
ferrox-config
FerroxLabs
You want to change how Ferrox behaves.
SkillBFreshness: B★ 23Claude Code +9 - 0.593score
ferrox-autonomous
FerroxLabs
Build every remaining step by itself, discuss then plan then execute, pausing on decisions
SkillBFreshness: B★ 23Claude Code +9 - 0.593score
ferrox-brainstorm
FerroxLabs
You have an idea or a blank page and want to think it through.
SkillBFreshness: B★ 23Claude Code +9 - 0.593score
ferrox-capture
FerroxLabs
An idea, note or todo you do not want to lose right now.
SkillBFreshness: B★ 23Claude Code +9 - 0.593score
ferrox-code-review
FerroxLabs
You want the code checked for bugs, security issues and quality before it goes anywhere
SkillBFreshness: B★ 23Claude Code +9 - 0.593score
ferrox-complete-milestone
FerroxLabs
A milestone is finished and you want it archived and the next version prepared
SkillBFreshness: B★ 23Claude Code +9 - 0.593score
ferrox-fast
FerroxLabs
A trivial change you could describe in one line.
SkillBFreshness: B★ 23Claude Code +9
Signals
- Stars
- 23
- Forks
- 8
- Open issues
- 0
- Last commit (this folder)
- Jul 21, 2026 (3 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/FerroxLabs/ferrox-factory
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from FerroxLabs
- 0.593score
ferrox-capture
FerroxLabs
An idea, note or todo you do not want to lose right now.
SkillBFreshness: B★ 23Claude Code +9 - 0.593score
ferrox-autonomous
FerroxLabs
Build every remaining step by itself, discuss then plan then execute, pausing on decisions
SkillBFreshness: B★ 23Claude Code +9 - 0.593score
ferrox-brainstorm
FerroxLabs
You have an idea or a blank page and want to think it through.
SkillBFreshness: B★ 23Claude Code +9 - 0.593score
ferrox-audit-fix
FerroxLabs
You want issues found, classified, fixed, tested and committed without steering each one
SkillBFreshness: B★ 23Claude Code +9 - 0.593score
ferrox-add-tests
FerroxLabs
Something was built and you want tests covering what it promised to do
SkillBFreshness: B★ 23Claude Code +9 - 0.593score
ferrox-code-review
FerroxLabs
You want the code checked for bugs, security issues and quality before it goes anywhere
SkillBFreshness: B★ 23Claude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get ferrox-test-driven-development running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
ferrox-test-driven-development skill. Agent Mart. https://agentmart.dev/skills/ferroxlabs-ferrox-test-driven-development (last updated 2026-10-24)