- Home
- Skills
- APIs & Backend
- Data Mesh Architecture Style Evaluation
Data Mesh Architecture Style Evaluation
Evaluates Data Mesh style: decentralized data ownership, data products, self-serve platforms, and federated governance.
$5
Works with the AI tools you already use
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
- Generated the document
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
| Criterion | Why it matters here | Weight | Source of the weight |
|---|---|---|---|
| Domain Squad Autonomy & Backlog Elimination | Central data team backlogs must never stall regulatory compliance reporting (INC-4931). | 0.40 | Elena 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.30 | David O'Reilly (Chief Enterprise Architect) |
| Federated Compliance Governance (Basel III / PII) | Distributed data products must strictly adhere to regulatory masking and audit rules. | 0.15 | Core Enterprise Compliance SLA |
| Self-Serve Platform Efficiency | Domain squads must be able to deploy new data products in days using standard infrastructure. | 0.15 | Engineering Productivity Charter |
Comparison
| Architecture Style Candidate | Ownership Model | Pipeline Bottleneck | Time-to-Market for New Reports | Governance Model | Evaluation |
|---|---|---|---|---|---|
| Option A: Monolithic Lakehouse | Central Data Team | Severe (40 engineers managing 400 ETLs) | 12 to 16 weeks | Manual centralized audits | Rejected: Caused INC-4931 $2.2M penalty; team cannot scale. |
| Option B: Hub-and-Spoke Warehouse | Federated Spokes / Central Hub | Moderate (Hub staging bottleneck) | 8 to 10 weeks | Centralized schema approval | Rejected: Hub ETL bottlenecks persist; high cross-team friction. |
| Option C: Data Mesh (Chosen) | Decentralized Domain Squads | Zero (Domain owns end-to-end data) | 1 to 2 weeks | Automated 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-lendingsquad owns and publishes theloan_origination_martdata 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
| Claim | Classification | Source | Freshness |
|---|---|---|---|
| 35 cross-divisional analytical consumers | provided | Analytics platform intake | Current |
| 14 TB daily data volume across 8 domains | provided | Data platform telemetry | Current |
| Incident INC-4931 4-month delay ($2.2M penalty) | provided | Regulatory compliance audit record | Historical |
| Data freshness budget <= 4 hours | provided | Risk Reporting SLA | Current |
| Data Mesh selected over Monolithic Lakehouse | decided | David O'Reilly & Elena Rostova | 2026-09-15 |
| Automated OPA computational governance | decided | Architectural invariant INV-MESH-03 | 2026-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
- Platform team deploys central AWS Glue / Trino self-serve catalog infrastructure.
- Commercial Lending squad authors the pilot
loan_origination_martdata product using dbt and Iceberg. - Conduct regulatory compliance review validating automated PII masking in Basel III analytics queries.
data-mesh-architecture-style-evaluation.pdf
PDF · document
Example file from a real run - the skill writes it into your workspace.
Connects securely to your tools. The creator never sees your data.
What you get
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
- Check the framing is decentralised domain-owned data.
- Establish that domains can actually own their data products.
- Define what a data product must guarantee.
- Decide what stays central and why.
- Name the reversal trigger.
- 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
How to install
Works the same in every agent - Claude, Cursor, Codex, Copilot and 20+ more.
- 1
Download the ZIP
Free skills download straight away. Paid skills unlock right after purchase.
- 2
Unzip into your skills folder
Every agent reads skills from one folder on your machine. Drop the unzipped folder in there.
- 3
Ask your agent to use it
Restart the agent if it was already running. It picks the skill up automatically - no config needed.
Skills folder by agent
Click the path to copy it. Create the folder if it does not exist yet.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill passes our trust checks below.
Security scanned
Passed our 8-point scan before listing
Fresh listing
Recently published to Agensi
30-day refund
Not a fit? Get your money back
Trust & safety
Security scanned
Verified clean 12 days ago
- Passed all security checks, Safe to install