Data Mesh Architecture Style Evaluation

    1

    Evaluates Data Mesh style: decentralized data ownership, data products, self-serve platforms, and federated governance.

    $5

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned

    Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    Data Mesh Architecture Style Evaluation

    Example session with this skill installed

    Evaluate Data Mesh architecture style for our Enterprise Commercial Lending & Risk Analytics Platform.

    • Subject: commercial-risk-analytics-platform v3.0 (run-id: lending-data-mesh-001) serving 35 cross-divisional analytical consumers.
    • Deciders: Chief Enterprise Data Architect (David O'Reilly) and Head of Regulatory Analytics (Elena Rostova).
    • Scope: Ingesting 14 TB of daily financial data across 8 business domains; generating 180 regulatory reports; data freshness budget <= 4 hours.
    • Tension: Central data warehouse team proposed expanding the monolithic Snowflake data lake with 40 central data engineers; David O'Reilly and Elena Rostova strictly reject the centralized warehouse model, citing incident INC-4931 where central ETL delays stalled Basel III reporting for 4 months, resulting in a $2.2M regulatory penalty. They mandate an evaluation comparing Data Mesh against Centralized Lakehouses and Hub-and-Spoke Warehouses, evaluating domain ownership decentralization, Data as a Product contracts, self-serve platforms, and federated governance.

    Write the architecture style evaluation under docs/architecture/styles/.

    • Read your context and instructions
    • Compiled the data mesh architecture

    Wrote docs/architecture/styles/mesh-style-evaluation.md. Complete Data Mesh architecture style evaluation establishing decentralized domain data products, self-serve infrastructure platforms, federated computational governance, and regulatory reporting compliance.


    skill: mesh-style

    Architecture Style Evaluation: Data Mesh Architecture [STYLE-MESH-001]

    Summary

    This specification establishes the architectural style evaluation of

    Data Mesh Architecture for commercial-risk-analytics-platform v3.0 under run ID lending-data-mesh-001. It evaluates architectural candidates for handling analytical reporting and regulatory data products across 35 cross-divisional consumers (Commercial Lending, Credit Risk, Treasury, and Basel III Regulatory Compliance) ingesting 14 TB of daily financial transaction data. The evaluation resolves the chronic organizational bottleneck demonstrated in incident INC-4931 (where a centralized data engineering team became an unscalable pipeline bottleneck, delaying Basel III compliance reporting for 4 months and triggering a $2.2M regulatory penalty). The evaluation compares three primary architecture styles: Monolithic Central Data Lakehouse (Snowflake), Hub-and-Spoke Data Warehouse, and

    Data Mesh (Decentralized Domain Data Products). It selects Data Mesh as the optimal style, specifying domain-owned data products, automated self-serve platform infrastructure, OPA-driven federated computational governance, and strict data quantum output port contracts.

    Detailed Description

    Centralized data architectures (data lakes and warehouses) fail to scale organizationally as an enterprise grows. Domain knowledge resides with business domain squads, yet data ingestion and pipeline maintenance are thrown over the wall to a centralized data engineering team that lacks domain context. This creates brittle ETL pipelines, finger-pointing when source schemas mutate, and multi-month backlogs for analytical queries. Data Mesh (Zhamak Dehghani) treats data as a first-class product owned directly by domain squads. The central team shifts from writing pipelines to building a self-serve platform that enables domain teams to independently publish, govern, and observe their own data products.

    Enterprise Business Domains (Decentralized Ownership)
                             │
            ┌────────────────┼────────────────┐
            ▼                ▼                ▼
    [ Commercial Lending ]  [ Credit Risk ]  [ Treasury Clearing ]
      ├── Domain Team Owns:   ├── Domain Team Owns:   ├── Domain Team Owns:
      │   `LoanOrigination`   │   `CovenantMetrics`   │   `LiquiditySettlement`
      └── Data Product Port:  └── Data Product Port:  └── Data Product Port:
          S3 Parquet + Iceberg    Delta Lake Tables       Kafka Event Stream
                             │
                             ▼ (Consumes via Self-Serve Data Infrastructure)
    [ Self-Serve Data Platform (Storage, Orchestration, Lineage, Catalog) ]
                             │
                             ▼ (Governed by Automated Policies)
    [ Federated Computational Governance: Open Policy Agent (OPA) ]
      ├── Automatic PII Masking (GDPR / CCPA)
      └── Standardized Schema Verification & Lineage Tracking
    

    Criteria and weights

    CriterionWhy it matters hereWeightSource of the weight
    Domain Squad Autonomy & Backlog EliminationCentral data team backlogs must never stall regulatory compliance reporting (INC-4931).0.40Elena Rostova (Head of Regulatory Analytics)
    Data Quality at the Source (Domain Context)Domain squads who generate transaction data are best equipped to model and clean it.0.30David O'Reilly (Chief Enterprise Architect)
    Federated Compliance Governance (Basel III / PII)Distributed data products must strictly adhere to regulatory masking and audit rules.0.15Core Enterprise Compliance SLA
    Self-Serve Platform EfficiencyDomain squads must be able to deploy new data products in days using standard infrastructure.0.15Engineering Productivity Charter

    Comparison

    Architecture Style CandidateOwnership ModelPipeline BottleneckTime-to-Market for New ReportsGovernance ModelEvaluation
    Option A: Monolithic LakehouseCentral Data TeamSevere (40 engineers managing 400 ETLs)12 to 16 weeksManual centralized auditsRejected: Caused INC-4931 $2.2M penalty; team cannot scale.
    Option B: Hub-and-Spoke WarehouseFederated Spokes / Central HubModerate (Hub staging bottleneck)8 to 10 weeksCentralized schema approvalRejected: Hub ETL bottlenecks persist; high cross-team friction.
    Option C: Data Mesh (Chosen)Decentralized Domain SquadsZero (Domain owns end-to-end data)1 to 2 weeksAutomated Federated (OPA)Selected: Eliminates central bottleneck, native domain context.

    Result

    Option C is selected. Data Mesh decentralizes analytical data ownership to business domain squads; central engineering builds the self-serve platform; automated OPA policies enforce compliance governance.


    Required Mechanisms

    1. Domain Ownership Decentralization [MC-DO-01]
    • The Commercial Lending and Credit Risk squads assume full end-to-end responsibility for both their operational microservices and their analytical data products:
      • commercial-lending squad owns and publishes the loan_origination_mart data product.
      • Squads allocate 20% of engineering bandwidth to analytical data modeling and data quality maintenance.
    2. Data as a Product & Quantum Contracts [MC-DP-01]
    • Data Product Definition (commercial_loan_product_v3):
      • Code: Transformation dbt models and Apache Iceberg table definitions.
      • Data: Apache Parquet files stored on AWS S3 with Iceberg ACID metadata.
      • Metadata: Sourced schema definitions, ownership metadata, and OpenLineage tracking.
      • Output Ports: Read-only SQL queries via AWS Athena and Trino connectors.
    • Service Level Objectives (SLOs):
      • Data Freshness: Updated every 60 minutes (well within the 4-hour budget).
      • Schema Stability: 90-day deprecation notice period for analytical breaking changes.
    3. Self-Serve Data Infrastructure Platform [MC-SP-01]
    • Central Platform Engineering provides automated Terraform and Kubernetes primitives:
      • One-click provisioning of Iceberg storage buckets, dbt workflow runners, and Trino query catalogs.
      • Domain squads deploy data products without managing raw cloud storage permissions or cluster infrastructure.
    4. Federated Computational Governance [MC-FG-01]
    • Automated governance enforced as code via Open Policy Agent (OPA):
      • Ingestion Gate: Every data product output port must pass automated schema linting.
      • Data Privacy Policy: Automated hashing or masking of customer PII fields (borrower_ssn, tax_id) enforced at query time based on consumer IAM roles.

    Invariants and Contracts

    Decentralized Domain Ownership Invariant [INV-MESH-01]
      Domain squads must own the lifecycle, modeling, and quality of their published data products.
      Transferring raw un-modeled operational database dumps to a central data team is strictly prohibited.
    
    Explicit Data Product Output Port Contract [INV-MESH-02]
      Data products must expose clean, versioned output ports (e.g. Iceberg/Trino SQL or Kafka streams).
      Analytical consumers querying operational microservice transactional databases directly is barred.
    
    Automated Computational Governance Enforcement [INV-MESH-03]
      All published data products must register schemas in the central catalog and comply with automated
      OPA privacy and access policies. Deploying un-governed data products is blocked by CI/CD gates.
    

    Explicit Unknowns

    • Operational cost overhead of running distributed Iceberg metadata catalogs across 8 disparate AWS accounts (G-1).
    • Training timeline required to upskill 80 full-stack software engineers in analytical dbt and SQL modeling (G-2).

    Traceability

    ClaimClassificationSourceFreshness
    35 cross-divisional analytical consumersprovidedAnalytics platform intakeCurrent
    14 TB daily data volume across 8 domainsprovidedData platform telemetryCurrent
    Incident INC-4931 4-month delay ($2.2M penalty)providedRegulatory compliance audit recordHistorical
    Data freshness budget <= 4 hoursprovidedRisk Reporting SLACurrent
    Data Mesh selected over Monolithic LakehousedecidedDavid O'Reilly & Elena Rostova2026-09-15
    Automated OPA computational governancedecidedArchitectural invariant INV-MESH-032026-09-15

    Verification

    No validator was supplied, so no command was run.

    Reviewer self-check against Data Mesh standards:

    • Decentralization: PASS. Domain squads own analytical data products directly; central bottleneck removed.
    • Product Thinking: PASS. Data products package code, data, metadata, and output ports with explicit SLOs.
    • Governance Automation: PASS. OPA computational policies automate PII masking and schema compliance.
    • Markdown Hygiene: PASS. Native Markdown syntax strictly adheres to rule_markdown.md.

    Open Decisions

    • DEC-MESH-01: David O'Reilly to determine whether Apache Iceberg or Delta Lake should be standardized as the single universal storage format across all AWS accounts (Owner: David O'Reilly).

    Next steps

    1. Platform team deploys central AWS Glue / Trino self-serve catalog infrastructure.
    2. Commercial Lending squad authors the pilot loan_origination_mart data product using dbt and Iceberg.
    3. Conduct regulatory compliance review validating automated PII masking in Basel III analytics queries.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    What it does

    This skill evaluates whether domain-oriented data ownership, data as a product, self-serve platform capabilities and federated computational governance fit supplied organizational and data-delivery forces. It compares centralized, embedded, federated and platform-enabled alternatives.

    Use it when

    Use when an authorized architecture-style decision asks whether Data Mesh is appropriate for a scoped data landscape and evidence exists about domains, ownership bottlenecks, consumers, product accountability, platform needs and governance.

    For example: “Our central data team is a nine-month queue. Leadership read about data mesh and wants every team to own their data from next quarter.”

    What you get

    • Data Mesh Assessment

    Written as Markdown to <your output folder>/architecture/tasks/<run-id>/mesh-style/.

    What it will not do

    Do not use merely to design products/contracts/platforms/governance, decentralize teams, choose lakehouse/catalog tools, or implement pipelines.

    How it works

    1. Check the framing is decentralised domain-owned data.
    2. Establish that domains can actually own their data products.
    3. Define what a data product must guarantee.
    4. Decide what stays central and why.
    5. Name the reversal trigger.
    6. Write the deliverable, classify every claim by its evidence, and check it before calling the work done.

    What's in the package

    Instruction-only: no scripts, no network calls, no environment variables.

    • LICENSE.txt
    • SKILL.md
    • agents/openai.yaml
    • assets/output-template-task.md
    • references/domain-rules.md
    • references/operating-rules.md
    • references/output-contract.md

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for APIs & Backend.

    Do not use merely to design products/contracts/platforms/governance, decentralize teams, choose lakehouse/catalog tools, or implement pipelines.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 1 month ago

    Permissions

    Read Files
    Write Files

    Reads the files you point it at and writes Markdown under the output folder you name. No network access, no environment variables, and no bundled scripts.

    Listed1 month ago

    What's inside

    Frequently Asked Questions

    No. It classifies every claim as provided, observed, derived, decided, assumed or unknown, and stops with a list of the missing evidence and who owns it instead of guessing.

    No. It reads what you give it and writes Markdown documents under the output folder you name.

    Any agent that supports SKILL.md skills, including Claude Code, Codex CLI, Cursor and Gemini CLI. It has no scripts and makes no network calls.

    Unzip it into your agent's skills folder, for example: unzip mesh-style.zip -d ~/.claude/skills/

    New in APIs & Backend