본문으로 건너뛰기
cccskills
무료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.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(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(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

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.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

diagnose

무료

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.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

susomejias/rembric142026년 10월 16일 업데이트

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.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

susomejias/rembric142026년 10월 16일 업데이트

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.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

susomejias/rembric142026년 10월 16일 업데이트

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.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

susomejias/rembric142026년 10월 16일 업데이트

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).

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

susomejias/rembric142026년 10월 16일 업데이트

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.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

susomejias/rembric142026년 10월 16일 업데이트

susomejias의 스킬 모두 보기

이 스킬의 문제 신고