Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

testing

Skill by redis

Sets out Jest and Testing Library testing standards for RedisInsight, covering test structure, a renderComponent helper, faker test data and waitFor instead of fixed waits. Aimed at developers writing or fixing spec files in the RedisInsight codebase.

  • Score 78
  • 8.9k stars
  • NOASSERTION
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install testing

Built from the published package, never by AI.

git clone --depth 1 https://github.com/redis/RedisInsight /tmp/RedisInsight && mkdir -p ~/.claude/skills && cp -r /tmp/RedisInsight/.ai/skills/testing ~/.claude/skills/testing

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install testing in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill sets out unit and integration testing standards for RedisInsight, using Jest and Testing Library. It covers test structure with AAA and descriptive names, a shared renderComponent helper for component tests, and Redux test stores. It also explains faker for test data, Fishery factories in the UI mocks folder, and MSW for API mocking.

It also gives backend and Playwright examples, and rules against fixed time waits, such as setTimeout or waitForTimeout, in favor of waitFor and findBy queries. The skill is aimed at developers writing or changing spec.ts and spec.tsx files, adding component or slice tests, or fixing flaky tests. It includes the exact Jest commands for running a single file or test name.

Written from the project's SKILL.md and checked against it.

What it can do

  • Test structureDescribes AAA pattern, descriptive 'should do X when Y' names and describe blocks.
  • renderComponent helperShows a shared render helper with default props and per-test overrides for component tests.
  • Redux test storeShows creating a test store with configureStore for Redux-connected components.
  • Faker test dataRequires @faker-js/faker for test data instead of hardcoded values.
  • Fishery factoriesPoints to shared UI factories in redisinsight/ui/src/mocks/factories and how to add new ones.
  • Async testingRecommends waitFor, waitForElementToBeRemoved and findBy queries over fixed timeouts.
  • MSW API mockingShows mocking API calls with Mock Service Worker in component tests.
  • Running single testsGives Jest commands to run one spec file or a test matching a name pattern.

What you need

  • Node.js with the RedisInsight repository dependencies installed
  • Jest and Testing Library, as used in the RedisInsight UI
  • @faker-js/faker for test data

Try asking

  • Write a renderComponent-based Jest test for my RedisInsight component
  • Replace the fixed setTimeout in this spec with waitFor
  • Create a Fishery factory for my test data using faker

Good to know

  • Written for the RedisInsight repository paths and conventions.
  • Backend and Playwright sections are general examples rather than RedisInsight-specific code.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .ai/skills/testing/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to testing

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

testing: common questions

Does this skill write tests for RedisInsight?

The source is a set of testing standards and code patterns for writing and modifying spec files. It describes how tests should be structured rather than generating tests automatically.

Which test libraries does it cover?

It covers Jest and Testing Library for frontend tests, with NestJS and Playwright examples for backend and end-to-end tests. It also mentions MSW for API mocking and Fishery for factories.

Why does it ban fixed time waits?

The source marks fixed time waits as critical to avoid, so tests stay deterministic. It recommends waiting for a condition with waitFor or findBy queries.

How do I install testing?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is testing free?

The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.

Is testing safe to use?

It scores 78 of 100. Grades: maintenance A, licence F, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to testing?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

testing Install

Add to stack

Loading.