Skip to content
cccskills
FreePublished on GitHub

testing

Pragmatic testing guidance focused on confidence, behavior over implementation details, and integration-first coverage. Use when designing a test strategy, writing or reviewing tests, reducing brittle mocks, or deciding what is worth testing in an application or library.

The English summary is being prepared. Showing the original description.

See how to install

Files included (7)

  • SKILL.md3.2 KB
  • references/fundamentals.md1.5 KB
  • references/glossary.md1.1 KB
  • references/interaction-testing.md1.8 KB
  • references/mocking.md1.4 KB
  • references/quality-gates.md1.7 KB
  • references/strategy.md1.7 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Testing

Design tests that increase confidence, survive refactors, and reflect real usage.

Reference Map

Defaults

  • Test behavior through public interfaces.
  • Follow a testing trophy bias: lean on static checks and integration tests, with fewer unit and end-to-end tests.
  • Prefer a few high-value integration tests over many shallow micro-tests.
  • Mock only real boundaries: network, time, randomness, payments, third-party APIs.
  • Choose assertions a user, caller, or downstream system would care about.
  • Keep tests deterministic, small, and readable.

Workflow

  1. Identify the highest-risk behavior or workflow.
  2. Pick the cheapest test level that can prove it: static, unit, integration, or end-to-end.
  3. Arrange realistic inputs, state, and environment.
  4. Act through the public API, visible surface, or command boundary.
  5. Assert observable outcomes, not internal steps.
  6. Keep failures specific and setup cleanup reliable.
  7. Remove setup, mocks, and assertions that do not increase confidence.

Test Level Guide

  • Unit: pure logic, parsing, formatting, branching, edge cases.
  • Integration: component or service workflows, validation, state changes, error handling.
  • End-to-end: a few critical user journeys or irreversible flows.

Default to integration tests when unsure.

Red Flags

  • Tests fail after a refactor even though behavior did not change.
  • Coverage is rising, but confidence is not.
  • Most value comes from mocking internals.
  • Assertions focus on function calls instead of outcomes.
  • Snapshots are large, blind, or treated as primary verification.
  • The suite is slow mainly because tests duplicate setup with low signal.

Guidance

  • Test the path users actually take, not the implementation you happen to have today.
  • Prefer one clear reason for a test to fail.
  • Cover happy path, one meaningful edge case, and one important failure mode before expanding.
  • If a test is hard to write, consider whether the production API or design is the real problem.
  • When unsure what to automate first, start with the prioritization checklist in references/strategy.md.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Disciplined diagnosis loop for hard bugs and performance regressions. Reproduce → minimise → hypothesise → instrument → fix → regression-test. Use when user says "diagnose this" / "debug this", reports a bug, says something is broken/throwing/failing, or describes a performance regression.

The English summary is being prepared. Showing the original description.

susomejias/rembric14Updated Oct 16, 2026

Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill.

The English summary is being prepared. Showing the original description.

susomejias/rembric14Updated Oct 16, 2026

Find deepening opportunities in a codebase, informed by the project's own domain language and prior design decisions. Use when the user wants to improve architecture, find refactoring opportunities, consolidate tightly-coupled modules, or make a codebase more testable and AI-navigable.

The English summary is being prepared. Showing the original description.

susomejias/rembric14Updated Oct 16, 2026

Resolve a verified cluster of Rembric issues from causal root to evidence-gated closure. Use after systemic triage identifies a shared root, or when the user asks to attack issues at the root, create a mechanism map, plan a deletion-first fix, or close a fixed/stale issue cluster. Use `diagnose` for a single defect whose reproduction is not yet established.

The English summary is being prepared. Showing the original description.

susomejias/rembric14Updated Oct 16, 2026

Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).

The English summary is being prepared. Showing the original description.

susomejias/rembric14Updated Oct 16, 2026

Migrates React projects and components from Radix UI to Base UI. Use when asked to migrate from radix, move to base-ui, convert radix primitives, or switch a shadcn project's base library. Handles single components ("migrate accordion") and whole projects.

The English summary is being prepared. Showing the original description.

susomejias/rembric14Updated Oct 16, 2026

See all skills by susomejias

Report a problem with this skill