agentleFS
vaquarkhanvaquarkhan/data-engineering-agent-skills/skills/lakehouse-table-format-engineering/SKILL.md

lakehouse-table-format-engineering

Skill49 starsChanged 6 months agoMITView on GitHub

Guides agents through lakehouse table design and open table format decisions. Use when designing or changing Iceberg, Delta, Hudi, partitioning, schema evolution, compaction, or batch and streaming interoperability.

The file

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Use this skill when the storage layer itself is an architecture decision.

    line 10
  2. Distinctive:

    Do not use this for unmanaged flat-file datasets that are not intended to behave like governed tables.

    line 20

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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

Lakehouse Table Format Engineering

Overview

Use this skill when the storage layer itself is an architecture decision. It helps agents reason about Iceberg, Delta, Hudi, table evolution, partitioning, compaction, snapshot behavior, and how batch and streaming jobs interact with shared lakehouse tables.

When to Use

  • choosing between Iceberg, Delta, and Hudi
  • designing lakehouse datasets with update or merge behavior
  • changing partition strategy, snapshot retention, or compaction behavior
  • integrating Spark, Flink, or warehouse readers with shared table formats
  • implementing CDC-style or incremental lakehouse pipelines

Do not use this for unmanaged flat-file datasets that are not intended to behave like governed tables.

Workflow

  1. Define the table contract. Include:
    • grain and keys
    • mutation model
    • read patterns
    • retention and snapshot policy
    • compatibility requirements across engines
  2. Pick the table format intentionally.
    • Iceberg: strong open-table interoperability and metadata-driven planning
    • Delta: strong lakehouse ergonomics and transactional patterns in Databricks-centered stacks
    • Hudi: strong incremental and record-level update use cases
  3. Design physical layout for lifecycle, not only day-one queries. Consider:
    • partition evolution
    • small-file control
    • compaction
    • metadata growth
    • merge and delete behavior
  4. Align compute engines with the table behavior. Batch and streaming writers must not conflict silently on checkpoints, commits, or schema changes.
  5. Define maintenance and recovery operations. Table formats require operational housekeeping, not just one-time creation.

Common Rationalizations

RationalizationReality
"A table format is just a storage detail."Format choice affects interoperability, maintenance, mutation semantics, and long-term cost.
"We can decide compaction later."Small files and metadata bloat become operational pain quickly.
"Any engine can read and write the table the same way."Cross-engine support varies, especially for advanced write and mutation behavior.

Red Flags

  • format selection is based only on familiarity
  • mutation and delete semantics are undefined
  • snapshot retention and cleanup are ignored
  • batch and stream writers target the same table without coordination
  • interoperability requirements are discovered after adoption

Verification

  • Table format choice is tied to interoperability and workload needs
  • Mutation, partitioning, retention, and compaction rules are explicit
  • Engine compatibility assumptions are documented
  • Maintenance and recovery procedures exist for the table lifecycle

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.