No slash command · from test-plan
Score generated test function code for completeness, quality, and convention adherence using a 5-criteria rubric. Use for validating generated test code quality before including in the final implementation.
Ships in test-plan. 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.
Read when SKILL.md points to them.
Internal scorer sub-agent that evaluates generated test function code using a 5-criteria quality rubric. Forked by test-plan.case-implement in Step 5.6.
This skill is not user-invocable. It is called by:
test-plan.case-implement (Step 5.6) for quality assurance of generated testsParse $ARGUMENTS to extract:
--test-code-file: Path to file containing generated test code--tc-file: Path to TC-*.md specification--conventions-file: Path to repository conventions markdown--framework: Test framework (pytest, Go testing, Jest, etc.)--output-file: Path where assessment should be written (for revision feedback)--calibration-file: Path to preloaded calibration examples from
load_calibration.py (parent writes JSON .calibration_text to this file; this
skill has no Bash). Read it as score anchors. Do not glob calibration/. Adding a
pair is a new file under calibration/core/, calibration/ui/, or
calibration/<team>/ — no SKILL.md edit.Read the detailed scoring rubric from ${CLAUDE_SKILL_DIR}/prompts/score-test-function.md.
Apply the prompt with substitutions:
{TEST_CODE_FILE} = --test-code-file argument{TC_FILE} = --tc-file argument{CONVENTIONS_FILE} = --conventions-file argument{FRAMEWORK} = --framework argument{OUTPUT_FILE} = --output-file argument{CALIBRATION_FILE} = --calibration-file argument (Read this file as score anchors)The scoring rubric evaluates:
Write the structured markdown assessment to the --output-file path.
The output includes:
IMPORTANT: The orchestrating skill needs this file to:
test-plan.case-implement) handles the revision loop$ARGUMENTS
calibration/README.md (opens in a new tab)calibration/core/good-pytest-test.py (opens in a new tab)calibration/core/poor-pytest-test.py (opens in a new tab)calibration/ui/good-cypress-test.cy.ts (opens in a new tab)calibration/ui/poor-cypress-test.cy.ts (opens in a new tab)prompts/score-test-function.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
claude-sonnet-4-6Other plugins' skills for the same job
test-plan@opendatahub-skills is listed by opendatahub-io/skills-registry — review the source before installing
npx claudepluginhub opendatahub-io/skills-registry --plugin test-plan16 skills in this plugin
/test-plan-analyze-endpointsAnalyzes strategy, optional ADR, and optional design spec to extract feature scope, AC-traced test objectives, and interfaces under test. Use for extracting technical scope and e2e/UI test surface from requirements documents./test-plan-analyze-infraAnalyzes strategy, optional ADR, and optional design spec to identify test environment configuration, test data, test users, infrastructure, and tooling requirements. Use for determining test execution prerequisites and infrastructure setup needs./test-plan-analyze-risksAnalyzes strategy, optional ADR, and optional design spec to determine test levels, test types, priority definitions, non-functional requirements, and risks with mitigations. Use for identifying what needs testing, how to prioritize test coverage, and what risks to mitigate./test-plan-case-implementGenerate executable test automation code from test case specifications (default target: opendatahub-tests; override with --target-repo). Skips TC-UI-*. Use after test cases are reviewed to create production-ready pytest code that follows repository conventions./test-plan-createGenerate a test plan from a strategy (RHAISTRAT or RHOAIENG), with optional ADR and/or design-spec companions. Use when starting test planning for a new RHOAI feature with a defined Jira strategy./test-plan-create-casesGenerate individual test case files from an existing test plan. Use after plan approval to produce TC specs with preconditions, steps, and expected results by category and priority.