/enterprise-software-playbook:testingfrom enterprise-software-playbook
Creates or expands test suites for microservices: unit, integration, consumer-contract tests for HTTP/gRPC handlers, service flows, event consumers, caches, and jobs.
Ships in enterprise-software-playbook. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Improve coverage by exercising consumer-visible behavior with infra mocked and behavior preserved.
Inputs: Spec/contract artifacts from spec or plan (optional but preferred); consumer-facing entrypoints to test.
Outputs: Test suite pinning consumer-visible behavior; coverage report. Consumed by finish and review.
GATE: Do not write tests until consumer-facing entrypoints are identified (step 2). If no entrypoints are listed, go back — tests without identified entrypoints tend to test implementation details.
When context or time is constrained, these are the load-bearing steps:
Steps that can be cut under pressure: mocking strategy optimization (step 4), coverage iteration beyond first pass.
vi.mock factories, use vi.hoisted to avoid init-order bugs.npx vitest run apps/<service>/**/*.test.ts --coverage --coverage.include='apps/<service>/src/**'cd apps/<service> && npm test -- --coveragespecreferences/snippets/typescript.mdConsumer-side contract test, Service integration contract test, Service component testobservabilityWhen applying this skill, return:
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
test-coverage, consumer-tests, unit-test, integration-test, mocking, microservices
Other plugins' skills for the same job
npx claudepluginhub bricerising/enterprise-software-playbook --plugin enterprise-software-playbook17 skills in this plugin
/architectureDesign or refactor multi-service system architecture (domain boundaries, service decomposition, event-driven vs request/response, CQRS, sagas, API gateways, data ownership). Use when work spans multiple processes/services, needs eventual consistency, or requires clearer integration seams. NOT for in-process code structure like GoF patterns (use design); NOT for applying timeouts/retries/breakers to a single call (use resilience)./archobsRun architecture observability analysis on a git repository to measure coupling, boundary health, risk hotspots, and temporal drift. Use when you need empirical data about code structure before making architecture or refactoring decisions, or to validate that changes improved boundary discipline. NOT for choosing architecture patterns (use architecture); NOT for choosing code patterns (use design); NOT for adversarial code review (use review); NOT for trajectory prediction or trend forecasting from cluster activity (use forecast)./debugTriage and diagnose production or local issues by following logs → traces → metrics (HTTP/gRPC/async). Use when investigating errors, latency spikes, 5xx responses, SLO violations, or regressions in an instrumented app. NOT for adding new instrumentation (use observability); NOT for applying resilience patterns (use resilience)./designPick the right in-process code pattern for a refactoring or extensibility need (GoF creational/structural/behavioral), and access implementation guides for specific patterns. Use as a decision workflow when unsure which pattern family fits, or go directly to pattern references when you already know. NOT for multi-service/distributed architecture (use architecture)./finishRun a final "definition of done" check before shipping: verify correctness, tighten contracts/docs, and produce a change summary. Use at the end of non-trivial work to confirm nothing was missed before merge/release. NOT for writing tests (use testing); NOT for adversarial code review (use review); NOT for initial planning (use plan)./forecastPredict likely next developments from internal development patterns (git history, archobs clusters) and external signals (intel feeds). Use when you need forward-looking intelligence — what's GOING to happen, not what already happened. NOT for gathering raw signals (use intel); NOT for static code-structure analysis (coupling, boundary health, risk scores — use archobs); NOT for implementation planning (use plan).