packages/forge/src/skills/soleri-test-driven-development/SKILL.md
Triggers: "TDD", "write tests first", "red green refactor", "test driven". Write failing tests before implementation code.
npx skillsauth add adrozdenko/soleri soleri-test-driven-developmentInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Core principle: If you didn't watch the test fail, you don't know if it tests the right thing.
YOUR_AGENT_core op:search_intelligent
params: { query: "<domain> testing patterns" }
YOUR_AGENT_core op:search_intelligent
params: { query: "<what you're about to test>" }
YOUR_AGENT_core op:brain_strengths
If vault has testing guidance for this domain, follow it.
YOUR_AGENT_core op:loop_start
params: { prompt: "TDD: <feature>", mode: "custom" }
NO PRODUCTION CODE WITHOUT A FAILING TEST FIRST
Write code before the test? Delete it. Start over. No exceptions.
One behavior, clear name, real code (no mocks unless unavoidable). Run test, confirm it fails for the expected reason (feature missing, not typos). Track: op:loop_iterate.
Simplest code to pass the test. Don't add features beyond the test. Run test, confirm it passes and other tests still pass. Track: op:loop_iterate.
After green only: remove duplication, improve names, extract helpers. Keep tests green. Don't add behavior.
Next failing test for next behavior.
YOUR_AGENT_core op:loop_complete
YOUR_AGENT_core op:capture_quick
params: { title: "<testing pattern>", description: "<what you learned>" }
| Problem | Solution | | ---------------------- | ---------------------------------- | | Don't know how to test | Write wished-for API first | | Must mock everything | Code too coupled — use DI | | Test setup huge | Extract helpers or simplify design |
| Op | When to Use |
| ----------------------------------------------- | ---------------------------- |
| search_intelligent | Find testing patterns |
| brain_strengths | Proven testing approaches |
| loop_start / loop_iterate / loop_complete | TDD cycle tracking |
| capture_quick | Capture new testing patterns |
testing
Triggers: "terse mode", "be brief", "less tokens", "fewer tokens", "compress output", "caveman", or invokes /terse. Token-efficient responses with full technical accuracy.
tools
Triggers: "compress this file", "compress CLAUDE.md", "compress memory", "shrink this", "reduce tokens in file", or invokes /compress. Compresses natural language files to save input tokens.
testing
Triggers: "release", "bump version", "publish packages", "cut a release", "version bump", "npm publish". Bumps monorepo versions, commits, tags, pushes to trigger CI release. Use deliver-and-ship for quality gates.
development
Triggers: "implement X", "build Y", "fix Z", "add feature", or any work task needing planning + execution. Full orchestration loop: plan, execute, complete with vault context and brain recs.