mk:testing

mk:testing is a skill for Claude Code from ngocsangyem/MeowKit. It costs 67 tokens per session (662 once invoked), scanned A, original, MIT.

A testing guide for writing tests, running validation checks, and optionally following TDD, where tests are written before code in a red-green-refactor cycle.

In plain words
What is it for?
Use it to write unit or end-to-end tests, run validation scripts, compare screenshots, and enforce test-first development when enabled.
Why use it?
It gives developers consistent ways to check behavior and catch mistakes, including browser-based UI checks.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Good fit Use it to write unit or end-to-end tests, run validation scripts, compare screenshots, and enforce test-first development when enabled.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ngocsangyem/meowkit/testing
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add ngocsangyem/MeowKit --skill testing
Clone the repo
git clone --depth 1 https://github.com/ngocsangyem/MeowKit

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for mk:testing

README.md
[![agentmods](https://agentmods.dev/badge/skills/ngocsangyem/meowkit/testing.svg)](https://agentmods.dev/skills/ngocsangyem/meowkit/testing)
Your own site
<a href="https://agentmods.dev/skills/ngocsangyem/meowkit/testing"><img src="https://agentmods.dev/badge/skills/ngocsangyem/meowkit/testing.svg" alt="Measured on agentmods" height="20"></a>
Per session 67 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 662 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00067 $0.00662
Opus 5 $0.00034 $0.00331
Sonnet 5 $0.00013 $0.00132
Haiku 4.5 $0.00007 $0.00066

Measured 3d ago against content hash 0cb9ccd5969c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

mk:testing scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/testing/SKILL.md · 49 lines

How it starts

The opening of the file, as written. The whole thing — 49 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Testing Toolkit

Reference guides for testing: TDD red-green-refactor, validation scripts, and visual QA.

When to Use

  • During Phase 2 (Test) for writing tests — failing tests first in TDD mode (--tdd / MEOWKIT_TDD=1), or any-order tests in default mode
  • During Phase 3 (Build) for verifying implementation
  • When the tester agent needs testing patterns
  • For visual QA testing of web applications

Workflow Integration

Operates in Phase 2 (Test) and Phase 3 (Build). Output supports the tester agent.

In TDD mode the cycle is RED → GREEN → REFACTOR (failing tests required before implementation). In default mode (TDD off), tests may be written before, alongside, or after implementation — the developer chooses.

References

Reference When to load Content
red-green-refactor.md Phase 2-3 TDD cycle, test-first rules, refactoring guidelines
validation-scripts.md After code changes Running validation scripts, interpreting results
visual-qa.md UI testing Browser-based visual QA, screenshot comparison, responsive testing
e2e-best-practices.md When creating E2E tests Tool preference, locator strategy, wait patterns, POM, flaky quarantine, success metrics

Gotchas

  • Mocks hiding integration failures: All mocked tests pass but real service calls fail → Use integration tests for critical paths; mock only external third-party services
  • Test coverage metric gamed by trivial assertions: 100% coverage with expect(true).toBe(true) → Measure mutation testing score alongside coverage; flag tests with zero assertions
  • Vue-specific test design/review: for designing or auditing Vitest + Vue Test Utils tests (components, composables, Pinia, router, Suspense, Teleport) → use mk:vue-testing-best-practices (advisory/review only; this skill still owns running tests + TDD)

Read the full file on GitHub · 49 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 49 lines · 67 tokens per session scan A 0cb9ccd5969c

Subscribe to this mod's changes

mk:testing is a skill published in the GitHub repository ngocsangyem/MeowKit (14 stars, last pushed 1mo ago), licensed MIT. It adds 67 tokens to every session and 662 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

testing-expert

Expert-level software testing with unit tests, integration tests, E2E tests, TDD/BDD, and testing best practices. Use when the user mentions TDD, BDD, unit tests, integration tests, or end-to-end tests, or when the task involves Testing Fundamentals, Unit Testing, Integration Testing, or End-to-End Testing.

personamanagmentlayer/pcl · 73 tokens

test-writer

Write thorough tests following TDD and BDD principles.

athola/skrills · 14 tokens

mushi-integration

Full end-to-end Mushi Mushi integration smoke test: bug capture → AI triage → story mapping → TDD test generation → approval → execution → PDCA cycle. Use when "test mushi integration", "verify full pipeline", "mushi e2e check", "does mushi work end-to-end", "smoke test mushi", or after deploying changes.

kensaurus/cursor-kenji · 82 tokens

figma-to-react-workflow

Orchestrates end-to-end Figma-to-React conversion pipeline with enforced TDD, automated pixel-diff visual QA, E2E testing, and app-type awareness (web apps, Chrome extensions, PWAs). Keywords: Figma to React, design tokens, autonomous component generation, Figma conversion, Tailwind config, component library, TDD…

PMDevSolutions/Aurelius · 85 tokens

Playwright Test Builder

Generates robust Playwright end-to-end tests for web pages and user flows.

Notysoty/openagentskills · 21 tokens

ui-test

Runs UI tests described in plain English by driving real Chrome via the Claude-in-Chrome extension. Covers end-to-end flows (clicks, forms, assertions), visual checks (screenshot + optional baseline diff), accessibility (axe-core), performance (Web Vitals + light Lighthouse-style metrics), and an interactive --debug…

mostafa-drz/claude-skills · 190 tokens