Repository inventory

mcouthon/agents

Skills indexed from this repository, with install-style signals scoped to the repo.
9 skills270 GitHub stars0 weekly installsShellGitHubOwner profile

Overview

This skill helps you design a practical behavioral testing strategy: decide what to test, which doubles to use, and how to avoid brittle tests. It focuses on writing tests that verify observable behavior through public APIs rather than internal implementation. Use it to improve test quality, guide refactors, and ensure tests catch real regressions.

How this skill works

I inspect your test plans and examples against a five-question self-test that ensures structure-independence and behavioral focus. I recommend the simplest test doubles using a decision tree (real → fake → stub → mock-at-boundary) and flag anti-patterns like over-mocking, mirror tests, and logic inside tests. I produce clear rules for what to test, naming, structure (Arrange-Act-Assert), and a final checklist to validate test quality.

When to use it

  • You are writing new tests and want to ensure they catch real regressions
  • Reviewing an existing test suite that is brittle or tightly coupled to implementation
  • Fixing tests that assert call sequences or verify mocks instead of outcomes
  • Defining which collaborators to fake, stub, or test with real implementations
  • Preparing to refactor code and needing confidence tests will survive internal rewrites

Best practices

  • Apply the five-question Self-Test to every test: behavior over structure
  • Prefer real implementations; use fakes for slow or non-deterministic systems
  • Mock only at external boundaries (HTTP, DB, filesystem, clock), not internal collaborators
  • Write one test per observable behavior: Given X, When Y, Then Z
  • Keep tests DAMP (clear and descriptive) not DRY; avoid logic inside tests
  • Name tests with scenario + expected outcome and follow Arrange→Act→Assert

Example use cases

  • Deciding whether to use an in-memory DB, a fake server, or stubs for integration tests
  • Rewriting a test suite before a major refactor to ensure tests are structure-insensitive
  • Converting over-mocked unit tests into behavior-driven integration-style tests
  • Writing a failing regression test first to capture a bug, then fixing the bug
  • Auditing a test suite with the provided quality checklist before committing

FAQ

Prefer a fake (in-memory or lightweight implementation) when available; use a stub only when no fake exists and you need to control a specific return value.

When is it acceptable to verify interactions (mocks)?

Only at system boundaries when you must assert an external side effect (sent email, published event). Treat interaction verification as a last resort.

9 skills

testing
Code Review

This skill helps you design robust behavioral tests by guiding what to test, using a self-test checklist, and selecting appropriate test doubles.

DebuggingIntegration TestsTestingUnit Tests+1
phase-review
Code Review

This skill reviews phase implementation plans for flaws without altering the plan, offering suggestions for improvements.

DocsPlanningScriptingShell
debug
Ai

This skill guides hypothesis-driven debugging to identify root causes, reproduce failures, and verify minimal fixes with regression tests.

Ci CdCode ReviewDebuggingTesting+1
deep-research
Analytics

This skill performs exhaustive research with full citations and structured findings to support critical decisions.

DocsResearchWritingShell
consolidate-task
Backend

This skill summarizes a completed task into an architectural decision record, updating ADRs and documenting patterns for future developers.

DocsRefactorStrategyShell
design
Design

This skill helps you design premium dashboards and admin interfaces by guiding direction, craft principles, and a 9-phase implementation.

ProductUxShell
critic
Ai

This skill helps you stress-test designs by challenging assumptions and surfacing edge cases without providing solutions.

DesignProductSecurityTesting+1
tech-debt
Backend

This skill helps identify and eliminate technical debt by auditing code for smells, dead code, and unused imports, improving maintainability.

Code ReviewDebuggingProductivityRefactor+2
architecture
Design

This skill helps you document architecture and high-level system design, emphasizing interfaces, data flows, and decision rationale.

DocsPlanningShell
More from this maintainer
Other repositories and skills published under the same GitHub owner.
Skills library
Jump back to the full directory or explore grouped topics.
Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational