Agent skill
data-governance
Data lineage, cataloging, access control, and compliance.
Install this agent skill to your Project
npx add-skill https://github.com/timequity/plugins/tree/main/craft-coder/data/data-governance
SKILL.md
Data Governance
Data Lineage
Track data flow from source to consumption:
Source Systems → Raw Layer → Staging → Marts → Reports
│ │ │ │ │
└──────────────┴───────────┴────────┴────────┘
Lineage Graph
dbt Lineage
dbt docs generate
dbt docs serve
# View DAG at http://localhost:8080
OpenLineage
from openlineage.client import OpenLineageClient
client = OpenLineageClient(url="http://marquez:5000")
# Emit lineage events
client.emit(run_event)
Data Catalog
Metadata to Track
| Category | Examples |
|---|---|
| Technical | Schema, types, partitions |
| Business | Description, owner, SLA |
| Operational | Freshness, quality scores |
| Access | PII classification, roles |
dbt Documentation
models:
- name: dim_customer
description: "Customer master data"
meta:
owner: "data-team"
pii: true
freshness_sla: "24h"
columns:
- name: email
description: "Customer email"
meta:
pii: true
masking: "hash"
Access Control
Column-Level Security
-- Snowflake
CREATE MASKING POLICY email_mask AS (val STRING)
RETURNS STRING ->
CASE
WHEN CURRENT_ROLE() IN ('ADMIN') THEN val
ELSE '***@***.com'
END;
ALTER TABLE customers MODIFY COLUMN email
SET MASKING POLICY email_mask;
Row-Level Security
-- Snowflake
CREATE ROW ACCESS POLICY region_policy AS (region VARCHAR)
RETURNS BOOLEAN ->
region = CURRENT_ROLE();
Compliance
- GDPR - Right to deletion, data export
- CCPA - Consumer data rights
- SOC2 - Access logging, encryption
- HIPAA - PHI protection
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
claude-code-course
Learn Claude Code in 5 hands-on lessons. From basics to building applications. Use when: user wants to learn Claude Code, asks "how do I...", or is new. Triggers: "learn", "teach me", "how does this work", "I'm new", "course".
foundations
Claude Code basics for new users. Covers essential concepts and commands. Use when: user is new to Claude Code or routed here by learning-path assessment.
advanced
Claude Code mastery for power users. Build agents, MCP servers, publish plugins. Use when: user wants to create agents, build integrations, or publish plugins.
lessons
Lesson content for Claude Code Course. Use when: loading lesson content. Internal skill - contains lesson files.
intermediate
Claude Code customization for comfortable users. Covers skills, commands, MCP, hooks. Use when: user knows basics and wants to customize Claude Code.
course-help
Help and navigation for Claude Code Course. Use when: user asks about the course, lessons, or progress. Triggers: "help", "course help", "what lessons", "my progress".
Didn't find tool you were looking for?