agentleFS
febshhyfebshhy/mimir-codex/.agents/skills/data-lifecycle/SKILL.md

data-lifecycle

Skill0 starsChanged 4 days agoMITArchived repositoryView on GitHub

Trace, design, implement and operate generation-to-serving data systems; use for source contracts, ingestion, pipelines, transformations, storage, orchestration and data architecture.

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 1 is distinctive, and 0 are 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.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Call graphs in handoffs: When work or a finding depends on how code runs, include or reference the relevant source-derived trace in …

    line 8

≈ “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 engineering lifecycle — trace data from generation to use

Call graphs in handoffs: When work or a finding depends on how code runs, include or reference the relevant source-derived trace in assignments, returns, and reviews. Follow Call Graph Output in the Mimir coordinator instructions (AGENTS.md in the release or .mimir/AGENTS.md in an installed project).

Authority: Engineering design across generation → storage → ingestion → transformation → serving. The order is a lifecycle inventory, not always the literal order of a pipeline. Use $software-design-thinking for applicable contracts, invariants and failure reasoning; reserve advanced state/effect models for genuinely stateful workflows. Use $data-operations for runtime, privacy and quality gates. Read lifecycle concepts for substantial tasks.

Source-to-consumer contract

Identify each actual boundary: producer owner → event/record and schema/version → capture mode/offset → transport/landing → durable state/storage → transformations/lineage → served dataset/metric/model/API → consuming action. Show actual inspected functions/jobs/tables; label hypothesized edges. Include the software/application data team as upstream/downstream owners: API/event changes and analytical contract changes must be reviewed together.

At each boundary ask: who owns it; what is the grain; event, processing and effective time; whether records can be late, duplicated, updated, deleted or reordered; SLO, freshness and retention; identity/key policy; schema compatibility; authorization, privacy and cost; and the failure/replay route.

SQL-centric transforms and semantic execution

For SQL-first ingestion/transforms, use $advanced-sql to verify query grain, time predicates, dedup/windows, incremental semantics and model/semantic query equality. $data-lifecycle remains owner of end-to-end pipeline behavior, freshness and replay. A successful dbt or warehouse run does not establish metric validity.

Make technology choices from constraints

Compare current stack first. Evaluate volume and burst, bounded vs unbounded flow, source impact, durability, latency, consistency, query pattern, costs (including egress/on-call), security, operating skill, migration/rollback. Choose batch by default if it meets the latency objective; streaming only when its end-to-end benefit pays for state, replay, ordering and operations. Treat CDC and managed ingestion as choices, not guarantees.

Build a thin vertical slice

Business decision + approved metric
  → producer contract (including source app event/API where affected)
    → small representative captured sample
      → durable, replayable ingestion/checkpoint
        → deterministic transform and grain/quality checks
          → governed consumer (dashboard/model/API)
            → observed answer, lineage and freshness alert

A staged technical milestone without a usable checked consumer is not a complete product slice. Parallelize independent owners only when contracts and data handoffs are concrete; $data-slicing defines cross-discipline execution.

Verify recovery, repeat execution and effects where applicable

Use Engineering Foundations for deterministic transforms, contracts and validation. For durable or effectful pipelines, assess initial load, steady state, transient failure, partial commit, redelivery, schema change, replay, backfill, correction, retention deletion and consumer rollback as relevant; use advanced state/effect design only when necessary. Be explicit when only at-least-once delivery is available; make business outcomes effectively once by stable IDs and idempotent writes, where required and feasible. Record unknown upstream semantics.

Deliver: lifecycle trace, contract matrix, alternatives, replay/backfill plan, named runbooks/owners and actual checks. Do not require a separate orchestration platform or new technology when the existing process meets the contract.

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.