test-enforcement

test-enforcement is a skill for Claude Code from open-metadata/OpenMetadata. It costs 60 tokens per session (2,794 once invoked), scanned A, original, Apache-2.0.

A test-coverage check for changes in the OpenMetadata code repository. It matches changed areas—Java services, APIs, Python ingestion, schemas, and the React user interface—to the tests they need.

In plain words
What is it for?
Run it after implementing or reviewing a change. It helps identify changed files, required unit or integration tests, schema checks, and Playwright end-to-end tests, which simulate user actions in a browser.
Why use it?
It reduces the chance that a feature or bug fix reaches review without the required tests. It checks for 90% line coverage in specified code areas, API integration tests, and browser tests for UI changes.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: mentions AGENTS.md.

Part of the openmetadata-skills plugin — 23 skills, 6 agents, 1 hook shipped together

Good fit Run it after implementing or reviewing a change. It helps identify changed files, required unit or integration tests, schema checks, and Playwright end-to-end tests, which simulate user actions in a browser.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/open-metadata/openmetadata/test-enforcement
About the project

OpenMetadata is an open platform that organizes information about data, including its meaning, ownership, quality, history, and relationships. It provides governed context for data users, AI assistants, and agents that need to discover and understand trustworthy data.

open-metadata/OpenMetadata · 15,911 stars · on GitHub · open-metadata.org

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add open-metadata/OpenMetadata --skill test-enforcement
Clone the repo
git clone --depth 1 https://github.com/open-metadata/OpenMetadata

Made for: Claude Code.

Or install openmetadata-skills, the plugin that ships this one along with the rest of its 23 skills, 6 agents, 1 hook.

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 test-enforcement

README.md
[![agentmods](https://agentmods.dev/badge/skills/open-metadata/openmetadata/test-enforcement/github.svg)](https://agentmods.dev/skills/open-metadata/openmetadata/test-enforcement)
Your own site
<a href="https://agentmods.dev/skills/open-metadata/openmetadata/test-enforcement"><img src="https://agentmods.dev/badge/skills/open-metadata/openmetadata/test-enforcement/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for test-enforcement

Your own site · 80×15
<a href="https://agentmods.dev/skills/open-metadata/openmetadata/test-enforcement"><img src="https://agentmods.dev/badge/skills/open-metadata/openmetadata/test-enforcement.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 60 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,794 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00060 $0.02794
Opus 5.5 $0.00024 $0.01118
Sonnet 5.5 $0.00012 $0.00559
Haiku 4.5 $0.00006 $0.00279

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

Security

Grade A, and why

test-enforcement scanned grade A with 0 findings 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 5d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/test-enforcement/SKILL.md · 336 lines

How it starts

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

Test Enforcement for OpenMetadata

Ensure every code change has comprehensive tests — 90% line coverage for service code, integration tests for APIs, and browser tests for UI page behaviour + Playwright E2E for cross-feature journeys.

When to Use

  • After implementing any feature or bug fix (before creating a PR)
  • When reviewing a PR to check test completeness
  • When the /tdd skill was not used during implementation

Scope and evidence reuse

Apply AGENTS.md's completion boundary. Check coverage and test gaps for changed behavior; do not treat each skill as a separate execution requirement. Reuse applicable results. For implementation, push or PR creation run focused checks and list broader coverage as outstanding; full impacted runs are required for merge-readiness tasks. An infrastructure blocker is a reported limitation, not permission to retry indefinitely or dispatch new workflows.

Workflow

Step 1: Identify Changed Files

Determine what changed and classify by layer:

# Branch changes
git diff main...HEAD --name-only

# Or staged changes
git diff --cached --name-only

# Or PR changes
gh pr diff <number> --name-only

Classify each changed file:

File path pattern Layer Required tests
openmetadata-service/src/main/ Java backend Unit tests (90% coverage) + integration tests
openmetadata-spec/src/main/resources/json/schema/ Schema Regeneration verification + downstream tests
openmetadata-integration-tests/ Integration tests Self — verify they pass
ingestion/src/metadata/ Python ingestion pytest unit tests (90% coverage)
openmetadata-ui/.../ui/src/ React frontend Jest unit tests + browser tests for page behaviour + Playwright only for cross-feature journeys (.claude/rules/frontend-browser-tests.md)
bootstrap/sql/migrations/ Database Integration tests verifying migration

Step 2: Check Java Service Coverage

For any changes under openmetadata-service/src/main/:

Read the full file on GitHub · 336 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. 5d ago Changed · +1 lines · +7 tokens per session 7a3ddcd967e6
  2. 6d ago Changed · +5 lines d5265b6d5610
  3. 24d ago Changed · +8 lines a8714fef1eae
  4. 1mo ago Changed · +1 lines b24742173b55
  5. 3mo ago First seen · 321 lines · 53 tokens per session scan A 612cbbb6b447

Subscribe to this mod's changes

test-enforcement is a skill published in the GitHub repository open-metadata/OpenMetadata (15,911 stars, last pushed today), licensed Apache-2.0. It adds 60 tokens to every session and 2,794 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

test-enforcement compared with skills from other repositories

test-enforcement next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
test-enforcementopen-metadata/OpenMetadataSkill16ktodayApache-2.0A60Claude Code
test-reviewdatahub-project/datahubSkill13ktodayApache-2.0A0Claude Code, Codex
datahub-test-taxonomydatahub-project/datahubSkill13ktodayApache-2.0A80Claude Code
akf-trust-metadatasickn33/agentic-awesome-skillsSkill51ktodayMITA60Claude Code
oss-fuzzapache/tikaSkill4.2ktodayApache-2.0A90Claude Code, Codex
developmentapache/tikaSkill4.2ktodayApache-2.0A49Claude Code, Codex
file-to-markdownapache/tikaSkill4.2ktodayApache-2.0A147Claude Code, Codex