nxtcm-components: Skill for Claude Code

.agents/skills/verify-test-infrastructure/SKILL.md

verify-test-infrastructure is a skill for Claude Code, Codex from RedHatInsights/nxtcm-components. It costs 15 tokens per session (2,358 once invoked), scanned C, original, Apache-2.0.

A check for the test system itself after dependency, configuration, cache, or test-structure changes. It checks whether test runs and coverage reporting work, not whether individual tests are correct.

In plain words
What is it for?
Use it after updates or configuration changes to verify component tests, end-to-end tests, coverage collection, reporting, and related infrastructure.
Why use it?
It catches broken test tooling, missing packages, stale caches, and unusable coverage data before they hide problems in the project.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is RedHatInsights/nxtcm-components's own configuration. It tells Claude Code and Codex how to work on nxtcm-components itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything nxtcm-components configures →

Reuse

Borrowing it

Nothing to install: this file belongs to RedHatInsights/nxtcm-components. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/RedHatInsights/nxtcm-components/main/.agents/skills/verify-test-infrastructure/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/RedHatInsights/nxtcm-components

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for verify-test-infrastructure

README.md
[![agentmods](https://agentmods.dev/badge/skills/redhatinsights/nxtcm-components/verify-test-infrastructure.svg)](https://agentmods.dev/skills/redhatinsights/nxtcm-components/verify-test-infrastructure)
Your own site
<a href="https://agentmods.dev/skills/redhatinsights/nxtcm-components/verify-test-infrastructure"><img src="https://agentmods.dev/badge/skills/redhatinsights/nxtcm-components/verify-test-infrastructure.svg" alt="Measured on agentmods" height="20"></a>
Per session 15 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,358 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00015 $0.02358
Opus 5 $0.00008 $0.01179
Sonnet 5 $0.00003 $0.00472
Haiku 4.5 $0.00002 $0.00236

Measured 7d ago against content hash 3c993afe0d0a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade C, and why

verify-test-infrastructure scanned grade C with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

rm -rf playwright/.cache && \
.agents/skills/verify-test-infrastructure/SKILL.md · 304 lines

How it starts

The opening of the file, as written. The whole thing — 304 lines — stays where its author put it; the contents beside it link to each section on GitHub.

verify-test-infrastructure

Quickly verify all test suites and coverage collection infrastructure are working correctly. Use this after:

  • Dependency upgrades (Vite, Playwright, Istanbul, etc.)
  • Rebases that change test structure or configuration
  • Modifications to test configs (playwright-ct.config.ts, playwright.config.ts, jest.config.js)
  • Cache issues or build problems
  • Adding/removing test infrastructure

This skill verifies the test pipeline infrastructure, not test content. For verifying individual test results, use /verify-tests.

What This Skill Checks

  1. CT Infrastructure (Component Tests)

    • CT tests run without coverage
    • Istanbul plugin loads and instruments code
    • Coverage data is collected to .nyc_output
    • Playwright cache (playwright/.cache) works correctly
  2. E2E Infrastructure

    • E2E tests run with coverage
    • Coverage collection works for E2E
  3. Coverage Reporting

    • NYC can generate reports from collected data
    • Coverage metrics are reasonable (not 0% or 100%)
  4. Common Issues Detection

    • Stale cache preventing instrumentation
    • Missing dependencies (nyc, istanbul-lib-instrument, test-exclude)
    • Plugin not loading or transform hook not firing
    • Coverage env var not propagating

Verification Steps

1. Quick CT Baseline Check

Run a small subset of CT tests without coverage to verify basic test infrastructure:

rm -rf playwright/.cache && \
npx playwright test -c playwright-ct.config.ts --grep "CVECard.*should render the card with default title"

Expected: Test passes in 1-3 seconds, no errors.

Red flags:

  • Test fails or times out
  • Module resolution errors
  • Playwright can't find tests

2. CT Coverage Instrumentation Check

Run the same test with coverage and verify Istanbul instruments code:

rm -rf playwright/.cache .nyc_output && \
COVERAGE=true npx playwright test -c playwright-ct.config.ts --grep "CVECard.*should render the card with default title"

Read the full file on GitHub · 304 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago First seen · 304 lines · 15 tokens per session scan C 3c993afe0d0a

Subscribe to this mod's changes

verify-test-infrastructure is a skill published in the GitHub repository RedHatInsights/nxtcm-components (3 stars, last pushed yesterday), licensed Apache-2.0. It adds 15 tokens to every session and 2,358 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

Verification & Quality Assurance

Comprehensive truth scoring, code quality verification, and automatic rollback system with 0.95 accuracy threshold for ensuring high-quality agent outputs and codebase reliability.

ruvnet/ruflo · 36 tokens

verification-strategy

Thorough verification of completed work before declaring done.

vstorm-co/pydantic-deepagents · 13 tokens

workflow-setup

Configures GitHub Actions CI/CD workflows for testing, linting, and deployment. Use when setting up automation for a Python, Rust, or TypeScript project.

athola/claude-night-market · 37 tokens

paired-probe

Refuse a verdict a probe did not earn. Runs a check where the fault IS present and where it is NOT, and blocks the answer when both arms print the same thing, because a check that cannot disagree with you has measured nothing. Also catches the zero-sample sweep that reads as "clean" and the swallowed error that reads…

yonatangross/orchestkit · 100 tokens

precommit-setup

Configures pre-commit hooks for linting, type checking, formatting, and testing. Use when setting up a new project or adding quality gates to an existing one.

athola/claude-night-market · 39 tokens

wio

Testing workflow skill for finding high-value test candidates, writing focused tests, generating realistic workloads, reviewing test value, and diagnosing test-suite health. Use for prompts about what to test next, adding or improving tests, reviewing whether a test is worth keeping, low-signal or flaky tests…

workersio/skills · 86 tokens