data-governance

Generate data contracts, RBAC/RLS policies, and PII/PHI masking rules for datasets.

2|Updated Apr 8, 2026
One-click install
npx skills add https://github.com/miptah21/skills --skill data-governance-miptah21
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: data-governance
Source: https://github.com/miptah21/skills/tree/main/.agents/skills/data-governance
Command: npx skills add https://github.com/miptah21/skills --skill data-governance-miptah21

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Data teams need enforceable rules for who can access which data, how sensitive fields are protected, and how producers and consumers agree on data contracts while staying compliant with privacy obligations.

Core Features & Use Cases

  • Data contracts: Define producer-consumer expectations for datasets, including required fields and allowed usage.
  • Access control: Implement RBAC and Row-Level Security (RLS) policies to enforce least-privilege access.
  • PII/PHI compliance: Specify masking and handling approaches aligned to GDPR/CCPA requirements.
  • Governance as code: Generate configuration and SQL policy/grant statements that teams can version and review.

Quick Start

Use the data-governance skill to generate RBAC and masking policies for a specific dataset while documenting the associated data contract between its producers and consumers.

Frequently Asked Questions about data-governance

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I enforce RBAC and row-level security policies for my datasets?

You can enforce RBAC and row-level security by generating SQL policy and grant statements that encode least-privilege access constraints. This approach produces configuration artifacts defining ownership and access controls for data producers and consumers.

What is the best way to automate GDPR-compliant PII masking for data consumers?

Automating GDPR-compliant PII masking involves generating privacy handling rules and configuration artifacts that specify how sensitive fields are protected. This ensures data consumers receive masked datasets aligned with privacy obligations.

How do I create data contracts between data producers and consumers?

Creating data contracts involves defining producer-consumer expectations for datasets, including required fields and allowed usage. This generates governance artifacts that encode ownership and least-privilege constraints without interfering with lineage tracing workflows.

Can I implement governance as code without breaking dbt documentation and lineage tracing?

Yes, you can implement governance as code by generating versionable configuration and SQL policy statements. This approach encodes access controls and data contracts while explicitly supporting code-driven governance without interfering with dbt documentation or lineage tracing workflows.

Does this approach support generating SQL grant statements for least-privilege access control?

Yes, generating SQL grant statements for least-privilege access control is supported. The process produces configuration and policy artifacts that encode ownership constraints, allowing teams to version and review governance rules.

When do I need data contracts and row-level security for my data warehouse?

You need data contracts and row-level security when managing datasets requiring enforceable rules for who can access specific data and how sensitive fields are protected. This applies to scenarios demanding compliance-oriented governance between data producers and consumers.