agentsclimarketplace

Domain validator

Skill jpantsjoha/ai-native-developer-experience/.agents/skills/domain-validator

Validate agent output against declared domain rules and ground truth before trusting it downstream. Trigger after any agent produces output that will be used in a decision, stored persistently, or passed to another agent.From its SKILL.md

Install
npx -y skills add jpantsjoha/ai-native-developer-experience --skill domain-validator

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 11 stars11 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

3.6 KB, 724 tokens by cl100k_base, as published. Nobody here has run it

Domain Validator

Agent output is a hypothesis. Domain validation is the test.

An agent that produces output without validation is a system that produces hallucinations at scale. The domain validator is the check that separates "the agent said so" from "it is true."

When to use

  • After an agent produces output that feeds a downstream system or human decision
  • When an agent has reasoned over domain-specific data (financial figures, medical records, legal clauses, system configurations)
  • Before persisting agent-generated content to a database or document store
  • When an agent output will be presented to an end user as factual

Procedure

  1. Declare the domain rules — before running any validation, the domain rules must be explicit:

    • What are the invariants? (e.g. "a date range must have start < end", "a price must be positive", "a configuration must reference an existing resource")
    • What are the allowed value ranges or enumerations?
    • What is the ground truth source? (database record, API response, regulatory document, schema definition)
  2. Extract the claims — identify the specific assertions in the agent output that are subject to validation. Not every word in the output is a claim; focus on structured data, named values, and factual assertions.

  3. Validate each claim against the domain rules:

    • Structural validation: does the output conform to the expected schema or format?
    • Range and constraint validation: are values within allowed bounds?
    • Referential integrity: do referenced entities exist in the ground truth source?
    • Logical consistency: are the claims internally consistent? (e.g. no contradictory figures)
    • Freshness: is the ground truth source current, or could it be stale?
  4. Classify findings:

    • PASS: claim is valid against all domain rules
    • WARN: claim is plausible but cannot be fully verified (e.g. ground truth unavailable)
    • FAIL: claim violates a domain rule or contradicts ground truth
  5. Produce a validation report — for each claim: status (PASS/WARN/FAIL), the rule checked, and the evidence.

  6. Gate downstream use — FAIL findings block downstream use of the output. WARN findings require explicit human acknowledgement before proceeding. PASS findings may proceed automatically.

Outputs

  • Validation report: claim | status | rule checked | evidence
  • Overall verdict: PASS / WARN / FAIL
  • List of FAIL and WARN findings for human review

Guardrails

  • Domain rules must be declared before validation runs. Validating against implicit rules produces false confidence.
  • WARN is not PASS. A WARN finding means uncertainty, not safety.
  • Ground truth must be identified. If there is no ground truth source, the output cannot be validated — flag this explicitly rather than assuming it is correct.
  • Validation is not proofreading. Grammar and style are not domain rules. Focus on factual and structural correctness.

Anti-rationalization table

ExcuseCounter
"The model is reliable enough"Reliability is a statistical claim. Domain validation is a deterministic check. Run it.
"We'll catch errors in review"Human review misses structured errors that automated validation catches. Both are needed.
"The domain rules aren't defined yet"Then the output cannot be trusted yet. Define the rules before relying on the output.

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Gives 0 of the 12 instructions most quality gates skills give in 724 tokens

Counted across 1,524 of the 2,830 authors here whose files we hold, read 2026-09-06

  • Read full output and check exit codein 45 of 1524, across 40 files
  • Verify output confirms the claimin 44 of 1524, across 39 files
  • Identify the command that proves the claimin 43 of 1524, across 39 files
  • Execute the full verification commandin 36 of 1524, across 30 files
  • Produce a verification reportin 34 of 1524, across 18 files
  • Review git diff changesin 30 of 1524, across 16 files
  • Fix build failures immediatelyin 29 of 1524, across 9 files
  • Group findings by severityin 28 of 1524
  • State claim only with evidencein 27 of 1524, across 22 files
  • Verify regression tests with red-green cyclein 26 of 1524, across 22 files
  • Run the full test suitein 26 of 1524, across 25 files
  • Run test suite with coveragein 25 of 1524, across 10 files

Said here and by no other author read

  • Declare domain rules before validation
  • Identify specific assertions in agent output
  • Block downstream use for FAIL findings
  • Require human acknowledgement for WARN findings
  • Identify ground truth source for validation

Grouped from the skills themselves: near-identical wordings counted once, and counted by distinct author, so one author publishing three of these counts once. Length counted with cl100k_base; the agent that loads this file may tokenize it differently.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.