Initial commit

This commit is contained in:
Zhongwei Li
2025-11-29 18:30:25 +08:00
commit 92f7c7980a
14 changed files with 457 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
---
name: validation-rulebook
description: Use to define validation, freshness, and compliance checks for enriched
data.
---
# Validation Rulebook Skill
## When to Use
- Running QA before syncing enrichment outputs to GTM systems.
- Auditing providers after schema changes or outages.
- Documenting compliance-ready validation procedures.
## Framework
1. **Rule Catalog** list required fields, regex patterns, allowed values, and dependencies.
2. **Freshness Thresholds** define time-based SLAs per signal type.
3. **Confidence Scoring** set weighting for provider, validation method, and history.
4. **Exception Handling** create workflows for quarantining, reprocessing, or escalation.
5. **Compliance Hooks** log approvals, data residency tags, and retention policies.
## Templates
- Rule table (field, check, threshold, severity, owner).
- QA runbook with pre/post sync steps.
- Compliance audit packet ready for legal/infosec reviews.
## Tips
- Automate as many rules as possible but keep manual sampling for high-impact signals.
- Version rules alongside taxonomy updates.
- Pair with `data-quality-steward` outputs for sign-off history.
---