Generates Claude Code agent rules for test creation by analyzing existing test patterns in a repository
Ships in quality-tooling. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Automatically generates Claude Code agent rules for test creation by analyzing existing test patterns in a repository.
Read instructions.md before generating anything. The
full procedure — discovery, detection heuristics, rule templates and quality
gates — lives there; this file is the summary.
/test-rules-generator [repository-url]
/test-rules-generator https://github.com/opendatahub-io/odh-dashboard
/test-rules-generator https://github.com/opendatahub-io/kserve
/test-rules-generator https://github.com/kubeflow/training-operator
This skill analyzes a repository's existing test patterns and generates Claude Code agent rules for:
The skill generates a .claude/rules/ directory structure with:
.claude/
├── rules/
│ ├── testing-standards.md # Cross-cutting testing guidance
│ ├── unit-tests.md # Unit test patterns
│ ├── mock-tests.md # Mock test patterns (if found)
│ ├── e2e-tests.md # E2E test patterns (if found)
│ └── contract-tests.md # Contract test patterns (if found)
└── README.md # How to use the rules
For each test type found:
Sample Test Analysis
Pattern Categories
Framework-Specific Patterns
Generate markdown files with:
Description Section
Structure Section
Pattern Examples
Conventions Section
Checklist Section
SKILL.md — This document: what the skill generates and when to use itinstructions.md — The procedure the agent follows; read it before generating anythingWhat SKILL.md sets; muted values are Claude Code's defaults
7 skills in this plugin
/historical-bug-coverageAnalyzes historical blocking and critical bugs from Jira, determines what test coverage exists today with deep test inspection and confidence scoring, and generates standalone HTML reports. Use when assessing test gaps for a repository, analyzing bug coverage quality, or generating coverage reports from Jira data./konflux-build-simulatorSimulates the Konflux build environment on a PR, then proves the generated checks against the component's real Jira failure history. Catches build, hermetic, packaging and operator/DSC regressions before merge instead of producing generic green checks./pytorch-quality-analysis/risk-assessmentAnalyze PR for risk, test coverage, architecture impact, and cross-repo intelligence/quality-tooling:test-rules-generatorfrom quality-tooling
quality-tooling@opendatahub-skills is listed by opendatahub-io/skills-registry — review the source before installing
npx claudepluginhub opendatahub-io/skills-registry --plugin quality-tooling