gen-rtl-test

Official

Generate RTL tests for OCP Console components

Authoropenshift
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill standardizes the creation of React Testing Library tests for the OpenShift Console, ensuring consistent, accessible, user-centric tests that align with project guidelines.

Core Features & Use Cases

  • Establishes co-located test structure, ES6 imports, and screen-based queries to improve reliability and maintainability.
  • Enforces accessibility-first practices, 5-10 focused tests per component, and avoidance of brittle snapshot tests.
  • Provides a clear Quick Start to generate RTL tests for modified components and ensure consistent test quality across the codebase.

Quick Start

Create RTL tests for changed components using the project's standardized guidelines.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: gen-rtl-test
Download link: https://github.com/openshift/console/archive/main.zip#gen-rtl-test

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.