Outside In TDD
Guides test first feature building from the outside in, using fast fake adapters so tests run in under a second.
Claude's review
7/10 Opinionated outside in TDD method with a clear emergent design sequence, in-memory fakes over mocks, port naming rules and test difficulty as design signals.
We asked Claude the question you would ask: would I be glad I installed this? Two separate reviews, the second blind to the first, must both rate a skill 7 or higher before we sell it.
In detail
Drive feature development using Outside-In TDD with Hexagonal Architecture. Design emerges through inline code, in-memory fakes, interface extraction, and deferred I/O. Use when building features, writing tests, or structuring backend services. Triggers on: TDD, outside-in, hexagonal, ports and adapters, emergent design, acceptance test, component test, walking skeleton, in-memory fakes, component, contract test, adapter, fast tests, sub-second feedback. Language-agnostic (Go, Rust, Python, TypeScript, Java, C#).
How you use it
- Add it to your pack, then download your pack (1 credit).
- In Claude, open Customize > Skills and upload the zip. Code execution needs to be on under Settings > Capabilities.
- Ask Claude for the job in your own words. It uses the skill when your request matches what it does. Step by step guide
Safety check
Nothing risky found: no hidden instructions, no download and run, no reading of saved passwords or keys.
An automated scan lowers risk but cannot promise zero risk. How we check skills
Preview
The first lines of SKILL.md
---
name: growing-outside-in-systems
description: >
Drive feature development using Outside-In TDD with Hexagonal Architecture.
Design emerges through inline code, in-memory fakes, interface extraction, and deferred I/O.
Use when building features, writing tests, or structuring backend services.
Triggers on: TDD, outside-in, hexagonal, ports and adapters, emergent design,
acceptance test, component test, walking skeleton, in-memory fakes,
component, contract test, adapter, fast tests, sub-second feedback.
Language-agnostic (Go, Rust, Python, TypeScript, Java, C#).
---
STARTER_CHARACTER = 🔴🟢
# Outside-In TDD with Hexagonal Architecture
Build features by driving design from the outside in. Every feature starts with a failing acceptance test. Design emerges through disciplined Red-Green-Refactor cycles. Infrastructure is deferred until the domain API is proven.
Unlike inside-out TDD with mocks, this approach tests behavior at the boundary — not implementation details — making the suite refactor-friendly by design. See [methodology.md](references/methodology.md#why-outside-in-over-regular-tdd).
For canonical terms used throughout, see [references/glossary.md](references/glossary.md).
---
## The Two Loops
**Outer loop (Acceptance test):** Write a failing test scoped at the service/system boundary. This test exercises integration across Bounded Contexts using in-memory adapters. It defines "done."
**Inner loop (Red-Green-Refactor):** Cycles inside a Bounded Context to make the outer test pass. Drop into this loop only to implement what the acceptance test demands.
Every feature starts from the outside in. The acceptance test drives the process.
---
## Test Priorities
Acceptance and component tests are the primary instruments. Unit tests are the exception.
- **Acceptance tests** — service/system boundary, in-process, in-memory adapters; read as specifications
- **Component tests** — single Bounded Context; drives internal module design via in-memory adapters
...From lexler's repository, Apache-2.0 licence.
Related skills
-
Checked
Rust best practices
Writes and reviews idiomatic, maintainable Rust code and runs a checklist before handing it back to you.
7/101 credit -
Checked
Port code to Rust
Ports C, C++, Python, Go or JavaScript code into idiomatic Rust, with tests that prove it behaves the same.
8/101 credit -
Checked
Rust code review
Reviews Rust code for idiom, errors, safety and API design, with a ranked report and a fix for every finding.
7/101 credit -
Checked
Java Debugging Guide
Finds the cause of Java bugs and failing tests, and attaches a debugger safely in Maven, Gradle, Spring or Docker.
7/101 credit -
Checked
Python games with pygame
Builds and debugs 2D pygame games with a proper loop and delta time, so they run the same on any PC.
7/101 credit -
Checked
Go Benchmarking and Profiling
Writes Go benchmarks, profiles them with pprof and proves each speedup with benchstat before you claim it.
7/101 credit