test

Create, update, and review tests across Vitest, Jest, Playwright, Cypress, pytest, and Go.

Updated Aug 23, 2021
One-click install
npx skills add https://github.com/undg/.dot --skill test-undg
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test
Source: https://github.com/undg/.dot/tree/main/opencode/.config/opencode/skill/test
Command: npx skills add https://github.com/undg/.dot --skill test-undg

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Specialized agent for all test-related work (create, update, add tests). Load when writing, modifying, or reviewing tests. Handles test creation, updates, coverage analysis, and best practices for testing across multiple frameworks.

Core Features & Use Cases

  • Framework-aware testing: create, update, and review tests across Vitest, Jest, Playwright, Cypress, pytest, and Go.
  • Framework detection workflow: automatically identify the project's testing framework and apply appropriate conventions.
  • Quality and coverage guidance: generate test templates, ensure coverage goals, and propose best-practice improvements.

Quick Start

Ask the agent to create, update, or review tests for a specified code module using the project’s framework conventions.

Frequently Asked Questions about test

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

FAQPage Schema
How do I create and update tests across multiple frameworks like Vitest and Jest?

Create and update tests across multiple frameworks by analyzing repository configurations to detect the active testing framework, then applying its specific conventions and best practices to generate maintainable test code.

What is the best way to review existing test code and analyze coverage?

Reviewing test code and analyzing coverage involves applying framework-specific best practices to evaluate existing tests, generating coverage notes, and proposing improvements for maintainability and test design quality.

Does this testing approach work with Python pytest and Go testing frameworks?

Yes, this testing approach works with pytest and Go by detecting the project's testing setup from test files and applying the appropriate framework conventions to create, update, and review tests.

Can I automatically detect the correct testing framework from my repository configuration?

Automatically detect the correct testing framework by analyzing repository test files and configuration scripts, which identifies frameworks like Playwright or Cypress and applies their specific conventions.

How to integrate new test scripts into an existing project configuration?

Integrate new test scripts into existing project configurations by generating framework-aware test code that adheres to detected conventions and aligns with the project's established testing workflows.

Why should I enforce framework-specific conventions when writing tests?

Enforcing framework-specific conventions when writing tests ensures maintainable test code, achieves accurate coverage goals, and integrates seamlessly with project scripts and configuration workflows.