AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Tdd

skill-dianyike-claude-code-insights-tdd · by dianyike

>

No reviews yet
0 installs
23 views
0.0% view→install

Install

$ agentstack add skill-dianyike-claude-code-insights-tdd

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-dianyike-claude-code-insights-tdd)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
3mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Tdd? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Test-Driven Development

Tests verify behavior through public interfaces, not implementation details. Always use vertical slices (one test -> one implementation -> repeat), never horizontal slices.

Additional resources

  • For TDD philosophy and anti-patterns, see [reference/philosophy.md](reference/philosophy.md)
  • For good/bad test examples, see [examples/tests.md](examples/tests.md)
  • For mocking guidelines, see [examples/mocking.md](examples/mocking.md)
  • For deep module design, see [reference/deep-modules.md](reference/deep-modules.md)
  • For interface testability, see [reference/interface-design.md](reference/interface-design.md)
  • For refactor candidates, see [reference/refactoring.md](reference/refactoring.md)

Workflow

1. Planning

  • [ ] Identify what interface changes are needed
  • [ ] Identify which behaviors to test (prioritize)
  • [ ] Design interfaces for testability (accept deps, return results, small surface)
  • [ ] List the behaviors to test (not implementation steps)

2. Tracer Bullet

Write ONE test that confirms ONE thing about the system:

RED:   Write test for first behavior -> test fails
GREEN: Write minimal code to pass -> test passes

3. Incremental Loop

For each remaining behavior:

RED:   Write next test -> fails
GREEN: Minimal code to pass -> passes
  • One test at a time
  • Only enough code to pass current test
  • Don't anticipate future tests

4. Refactor

After all tests pass:

  • [ ] Extract duplication
  • [ ] Deepen modules (move complexity behind simple interfaces)
  • [ ] Run tests after each refactor step

Never refactor while RED. Get to GREEN first.

Checklist Per Cycle

  • [ ] Test describes behavior, not implementation
  • [ ] Test uses public interface only
  • [ ] Test would survive internal refactor
  • [ ] Code is minimal for this test
  • [ ] No speculative features added

Completion Criteria

  • [ ] All planned behaviors have a corresponding test
  • [ ] All tests pass (GREEN state)
  • [ ] Refactor pass completed — no duplication, modules are deep
  • [ ] No speculative code — every line justified by a test

Gotchas

  • Iterate this section: After each TDD session, append new gotchas here

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.