agentsclimarketplace

Scd implementation generator

Skill a5c-ai/babysitter/library/specializations/data-engineering-analytics/skills/scd-implementation-generator

Generates Slowly Changing Dimension implementations across platformsFrom its SKILL.md

Install
npx -y skills add a5c-ai/babysitter --skill scd-implementation-generator

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

SKILL.md

1.9 KB, 338 tokens by cl100k_base, as published. Nobody here has run it

SCD Implementation Generator

Overview

Generates Slowly Changing Dimension implementations across platforms. This skill automates the creation of SCD patterns for proper historical tracking.

Capabilities

  • SCD Type 1/2/3/4/6 implementation
  • MERGE statement generation
  • dbt snapshot configuration
  • Historical tracking optimization
  • Surrogate key management
  • Effective date handling
  • Current flag management
  • Mini-dimension design

Input Schema

{
  "dimension": {
    "name": "string",
    "columns": ["object"],
    "businessKey": ["string"]
  },
  "scdType": "1|2|3|4|6",
  "platform": "snowflake|bigquery|redshift|dbt",
  "trackingColumns": ["string"]
}

Output Schema

{
  "ddl": "string",
  "mergeStatement": "string",
  "dbtConfig": "object",
  "documentation": "string"
}

Target Processes

  • SCD Implementation
  • Dimensional Model Design
  • dbt Model Development

Usage Guidelines

  1. Define dimension structure with business keys
  2. Select appropriate SCD type for business requirements
  3. Specify target platform for syntax generation
  4. Identify columns to track for historical changes

Best Practices

  • Use SCD Type 2 for attributes requiring full history
  • Implement surrogate keys for dimension tables
  • Use effective dates rather than just current flags
  • Consider mini-dimensions for rapidly changing attributes
  • Test SCD logic with representative change scenarios

What ships with it: 1 file

483 B alongside SKILL.md

Keep looking

Skills are one crate of 326,059. 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.