test-review

test-review is a cursor rule for Cursor from datahub-project/datahub. It costs 19 tokens per session (232 once invoked), scanned A, original, Apache-2.0.

Rules for reviewing DataHub smoke tests and integration tests against the project’s review process.

In plain words
What is it for?
They help gather test files, detect changed tests, apply the right standards, and create a review report.
Why use it?
They define which tests are included, which are excluded, and how to handle reviews with or without a pull request number.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/. Also seen: mentions AGENTS.md.

Good fit They help gather test files, detect changed tests, apply the right standards, and create a review report.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/datahub-project/datahub/test-review
About the project

DataHub is an open-source metadata platform that catalogs data assets so people can find, understand, govern, and monitor data across an organization’s data ecosystem. Data teams use it for data discovery, governance, observability, and answering questions about cataloged data with an analytics agent.

datahub-project/datahub · 13,037 stars · on GitHub · datahub.com

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.

Clone the repo
git clone --depth 1 https://github.com/datahub-project/datahub

Made for: Cursor.

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-review

README.md
[![agentmods](https://agentmods.dev/badge/rules/datahub-project/datahub/test-review/github.svg)](https://agentmods.dev/rules/datahub-project/datahub/test-review)
Your own site
<a href="https://agentmods.dev/rules/datahub-project/datahub/test-review"><img src="https://agentmods.dev/badge/rules/datahub-project/datahub/test-review/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-review

Your own site · 80×15
<a href="https://agentmods.dev/rules/datahub-project/datahub/test-review"><img src="https://agentmods.dev/badge/rules/datahub-project/datahub/test-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 19 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 232 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.
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.00019 $0.00232
Opus 5.5 $0.00008 $0.00093
Sonnet 5.5 $0.00004 $0.00046
Haiku 4.5 $0.00002 $0.00023

Measured 2mo ago against content hash 03f088393700, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

test-review 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 2mo 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.

.cursor/rules/test-review.mdc · 24 lines

What it actually says

DataHub Test Review

When asked to review tests, check test quality, or validate smoke tests, follow the skill instructions in .agent-skills/test-review/SKILL.md.

Quick reference

  1. Load standards from .agent-skills/test-review/standards/smoke.md (authoring: smoke-test/AGENTS.md)
  2. If a PR number is given, use incremental review mode with .agent-skills/test-review/scripts/detect-test-changes.sh
  3. Otherwise, gather test files and run a full review
  4. Use the sequential fallback workflow (read each file, check against standards, report findings)
  5. Generate a report using templates from .agent-skills/test-review/templates/

Scope

  • In scope: smoke-test/ Python pytest smoke tests (excluding tests/cypress/)
  • Out of scope: Cypress, Playwright, metadata-ingestion/tests/unit/, connector-specific integration tests
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. 2mo ago Changed · -3 tokens per session 03f088393700
  2. 3mo ago First seen · 24 lines · 22 tokens per session scan A fe36ee23278c

Subscribe to this mod's changes

test-review is a cursor rule published in the GitHub repository datahub-project/datahub (13,037 stars, last pushed today), licensed Apache-2.0. It adds 19 tokens to every session and 232 once invoked, about $0.0001 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-review compared with cursor rules from other repositories

test-review next to 6 cursor rules from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
test-reviewdatahub-project/datahubCursor rule13ktodayApache-2.0A19Cursor
docssybrew/the-seo-frameworkCursor rule4894d agoGPL-3.0A0Cursor
local-filessybrew/the-seo-frameworkCursor rule4894d agoGPL-3.0A0Cursor
csssybrew/the-seo-frameworkCursor rule4894d agoGPL-3.0A0Cursor
clean-user-facing-textkarthikrshet/ClaudeMarkCursor rule1028d agoMITA0Cursor
ponytailDietrichGebert/ponytailCursor rule201k8d agoMITA604Cursor
angular-20angular/angularCursor rule102k4d agoMITA0Cursor