testing-standards

Standardize Jest or Vitest testing practices for JavaScript and TypeScript projects.

Updated Jan 19, 2026
One-click install
npx skills add https://github.com/mrjuguy/kitchen_assistant --skill testing-standards-mrjuguy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: testing-standards
Source: https://github.com/mrjuguy/kitchen_assistant/tree/main/.agent/skills/testing-standards
Command: npx skills add https://github.com/mrjuguy/kitchen_assistant --skill testing-standards-mrjuguy

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Standards for writing and running tests. Use this whenever writing code to verify functionality.

Core Features & Use Cases

  • Philosophy: Test-Driven-ish approach and keep tests simple with a focus on unit tests.
  • Tooling Guidance: Recommends Vitest/Jest for modern stacks, Pytest for Python, and CI integration strategies.
  • Quality Assurance: Manual Verification with required test plans in specs/test_plans and artefact traceability.
  • Mocking & Isolation: Mock custom hooks and external libraries to isolate components and prevent flakiness; include mocks for native modules when needed.
  • Guardrails: Explicit rules for proxies, transform ignore patterns, and agent practices (self-correction, extraction of logic, naming conventions).
  • Compliance: Ensures test plans exist and are verifiable in the project.

Quick Start

Apply these testing standards to every new feature before code is merged.

Frequently Asked Questions about testing-standards

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I standardize testing practices across JavaScript and TypeScript projects?

Standardize testing by enforcing consistent rules for Jest or Vitest, requiring YAML frontmatter in SKILL.md, explicit mocking strategies, and test plans in specs/test_plans to ensure reliable unit tests across your projects.

What is the best way to isolate components and prevent flaky tests in React Native Expo?

The best way to prevent flakiness is to mock custom hooks and external libraries, including specific mocks for native modules, which isolates components and ensures stable test execution in Expo.

Does this testing standard work with Node backends and CI integration?

Yes, this testing standard applies to Node backends and provides explicit CI integration strategies, ensuring test plans are verifiable and automated before code is merged.

How do I set up test plans and verification procedures for my project?

Set up test plans by creating documents in specs/test_plans and documenting verification procedures, which ensures manual verification and artefact traceability are maintained throughout your workflow.

What are the limitations or guardrails when configuring Jest or Vitest?

Limitations include adhering to explicit guardrails for proxies, transform ignore patterns, and naming conventions, requiring agents to follow self-correction and logic extraction practices during test creation.

Why do I need YAML frontmatter in SKILL.md for testing?

You need YAML frontmatter with a name and description in SKILL.md to establish the baseline testing standard, ensuring every feature follows test-driven practices and passes verification before merging.