agentleFS
vaquarkhanvaquarkhan/data-engineering-agent-skills/skills/data-specification/SKILL.md

data-specification

Skill48 starsChanged 6 months agoMITView on GitHub

Creates structured specifications for data products and pipeline changes. Use when starting a new pipeline, model, ingestion flow, or any significant change with unclear requirements.

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 5 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Write the data specification before writing pipeline code.

    line 10
  2. Distinctive:

    Do not use this for trivial spelling fixes or non-behavioral documentation edits.

    line 19
  3. Distinctive:

    Write the specification around required sections.

    line 33
  4. Distinctive:

    If the spec cannot answer frequency, grain, keys, slowly changing behavior, or null handling, pause and ask.

    line 46
  5. Distinctive:

    no business owner is named

    line 61

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Data Specification

Overview

Write the data specification before writing pipeline code. The spec should define business intent, source and destination expectations, quality rules, and success criteria so the agent is not forced to guess.

When to Use

  • new ingestion or transformation projects
  • schema or contract changes
  • major changes to data products, marts, or semantic models
  • requests that sound simple but leave operational details unclear

Do not use this for trivial spelling fixes or non-behavioral documentation edits.

Workflow

  1. State assumptions up front. Include:
    • business objective
    • source systems
    • destination systems
    • data grain
    • update cadence
    • retention expectations
    • security or privacy constraints
  2. Write the specification around required sections.
    • Objective
    • Business outcomes
    • Source systems and contracts
    • Destination tables, files, or streams
    • Freshness and SLA expectations
    • Data quality rules
    • Security and access boundaries
    • Backfill and replay expectations
    • Success criteria
    • Open questions
  3. Resolve ambiguity before planning. If the spec cannot answer frequency, grain, keys, slowly changing behavior, or null handling, pause and ask.
  4. Save the spec in version control. A data change without a written spec becomes tribal knowledge.

Common Rationalizations

RationalizationReality
"We just need the table built quickly."The wrong grain or contract creates expensive downstream rework.
"We can infer the business metric later."That usually creates multiple conflicting definitions of the same metric.
"The destination schema is enough."Schedules, freshness, backfills, and access rules matter just as much as columns.

Red Flags

  • no business owner is named
  • source-of-truth systems are unclear
  • success is defined as "pipeline runs"
  • backfill behavior is omitted
  • quality rules are implied instead of written

Verification

  • The spec states the business outcome and expected users
  • Source, destination, grain, cadence, and ownership are explicit
  • Quality, security, and replay expectations are defined
  • Open questions are listed instead of guessed
  • The spec is saved in the repository

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.