Unit Testing
5220 skills in Testing & Security > Unit Testing
quality-checks
Run formatting, lint, typecheck, and tests for this repo; use when validating changes or investigating CI failures.
nextest-scripts
Configure cargo-nextest wrapper and setup scripts for test instrumentation. Use when integrating valgrind, memory limits, profiling, or custom test environments with nextest.
gitlab-skill
The model must apply when tasks involve .gitlab-ci.yml configuration, GitLab Flavored Markdown (GLFM) syntax, gitlab-ci-local testing, CI/CD pipeline optimization, GitLab CI Steps composition, Docker-in-Docker workflows, or GitLab documentation creation. Triggers include modifying pipelines, writing GitLab README/Wiki content, debugging CI jobs locally, implementing caching strategies, or configuring release workflows.
youtube-moderation-prototype
Moderate YouTube live chat by detecting spam, toxic content, and enforcing rate limits. PROTOTYPE for testing pattern fidelity before deploying to native Qwen/Gemma.
shortcut
Engineering discipline and standards - never take shortcuts regardless of pressure or constraints. This skill applies to ALL engineering work. Never disable tests or functionality, never use placeholders, never silently cut scope, never compromise on quality. When under time or context pressure, use proper tools like handoffs instead of cutting corners. Write code that will work for the next 10-20 years.
project-context-discovery
Discover project structure, package managers, test frameworks, and automation without hardcoded assumptions
ruby-rspec-tdd-implementer
Expert in Test-Driven Development using Ruby and RSpec framework
webapp-testing
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.
systemd-run
Limit memory and CPU for tests using systemd-run on Linux. Use when testing memory limits, reproducing OOM conditions, or preventing runaway tests from consuming all resources.
ocaml-testing
Testing strategies for OCaml libraries. Use when discussing tests, alcotest, eio mocks, test structure, or test-driven development in OCaml projects.
canary-setup
Interactive setup workflow for configuring the Magnet MCP server to use the canary environment (project-specific, magnet-app directory only). Use when user says "canary setup", "use canary", "test on canary", "configure canary MCP", or "set up canary environment".
nushell-plugin-builder
Guide for creating Nushell plugins in Rust using nu_plugin and nu_protocol crates. Use when users want to build custom Nushell commands, extend Nushell with new functionality, create data transformations, or integrate external tools/APIs into Nushell. Covers project setup, command implementation, streaming data, custom values, and testing.
sast-semgrep
Static application security testing (SAST) using Semgrep for vulnerability detection, security code review, and secure coding guidance with OWASP and CWE framework mapping. Use when: (1) Scanning code for security vulnerabilities across multiple languages, (2) Performing security code reviews with pattern-based detection, (3) Integrating SAST checks into CI/CD pipelines, (4) Providing remediation guidance with OWASP Top 10 and CWE mappings, (5) Creating custom security rules for organization-specific patterns, (6) Analyzing dependencies for known vulnerabilities.
backend-vitest
Fast unit testing framework for TypeScript/JavaScript. Use for testing tRPC procedures, Zod schemas, utility functions, and any TypeScript code. Built on Vite with native ESM, TypeScript support, and Jest-compatible API. Choose Vitest over Jest for modern TypeScript projects, especially with Vite-based setups.
ux-researcher
Expert in user research, usability testing, feedback analysis, and user-centered design
test-driven-development
Use when implementing any feature or bugfix, before writing implementation code - write the test first, watch it fail, write minimal code to pass; ensures tests actually verify behavior by requiring failure first
test-driven-development
Applies disciplined test-driven development (TDD) using Red-Green-Refactor cycles with modern TypeScript/Bun and Rust tooling. Use when implementing features with TDD, writing tests first, refactoring with test coverage, bug fixes requiring test reproduction, or when TDD, test-first, red-green-refactor, testing methodology, or --tdd flag are mentioned. Covers test quality, mutation testing, and both TypeScript and Rust workflows.
typescript-testing
Configure and troubleshoot TypeScript testing with NX and Vite. Use this skill when working with test configuration, coverage reporting, or debugging test execution issues in TypeScript projects using NX monorepo structure with Vite/Vitest test runner.
test-generation
Use when generating tests for new or existing code to improve coverage - provides a structured workflow for analyzing code, creating tests, and validating coverage goals.
repo-cleanup
Use when a repository needs cleanup of dead code, build artifacts, unused dependencies, outdated docs, or stale tests - provides safe cleanup workflows, validation steps, and reporting templates for code, deps, docs, tests, and sprint archives.