본문으로 건너뛰기
cccskills
무료GitHub에 공개

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.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(1)

  • SKILL.md3.6 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

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.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Google ADK (Agent Development Kit) orchestration patterns — boundaries, agent composition, and tool seams. Trigger when designing or reviewing multi-agent systems built on ADK. Authoritative source: adk.dev.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

jpantsjoha/ai-native-developer-experience132026년 10월 16일 업데이트

JP's signature red-team pass — "how would I break this?" Argue against your own approach before proceeding. Trigger on any high-stakes decision, architecture choice, or before marking work complete.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

jpantsjoha/ai-native-developer-experience132026년 10월 16일 업데이트

Read-only SRE checkup of any GCP project: deterministic probes of the edge, Cloud Run services, 7-day error logs, Cloud Scheduler, alert policies and uptime checks, Secret Manager and IAM, the data stores and the machine's own scheduled jobs, audited into one fixed status table (LIVE / WARNING / RED / INCONCLUSIVE) with evidence, findings by severity, what could not be checked, and a single OVERALL line delivered as one notification. Parametrised by a per-project manifest, so the same routine runs on every project. Use when the operator says "cloud checkup", "SRE check", "is everything live", "what's healthy / warning / red", "any errors this week", "audit the infra", "weekly checkup", "set up the weekly checkup", before a deploy or demo, or after an incident. Cloud Run first; App Engine and GKE differ only in the serving probes.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

jpantsjoha/ai-native-developer-experience132026년 10월 16일 업데이트

Cloud guardrails for any vendor workload — Google Cloud (GCP, Vertex AI, GKE), AWS (IAM, EKS, Bedrock), Azure (Entra ID, Policy, AKS), Alibaba Cloud (RAM, mainland/international residency). Enforces identity least-privilege, mechanical policy, data boundaries, residency, cost caps, network egress and observability, with official-source validation before any claim. Trigger on any cloud infrastructure design, review, Terraform plan, or LLM/agent deployment; the-architect routes here.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

jpantsjoha/ai-native-developer-experience132026년 10월 16일 업데이트

LLM and cloud cost awareness — model tiering, token budgets, right-sizing, and when a cheaper model suffices. Trigger before finalising any architecture that calls LLMs, before scaling a workload, or when a cost estimate is needed.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

jpantsjoha/ai-native-developer-experience132026년 10월 16일 업데이트

Challenge vision alignment, value, cost, risk and operating ownership at material scope or release decisions.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

jpantsjoha/ai-native-developer-experience132026년 10월 16일 업데이트

jpantsjoha의 스킬 모두 보기

이 스킬의 문제 신고