Skip to main content

master-data-management

This skill should be used when the task involves design and operate master data management programs in ERP•AI -- use when establishing golden records, data stewardship, duplicate detection, data quality frameworks, and cross-system synchronization for enterprise master data.

Ir a la instalación

Datos de origen

Repositorio
erphq/skills
Última actividad en el origen
20 de agosto de 2026 a las 17:45
Idioma detectado de SKILL.md
inglés
Estrellas
2
Forks
1

Opciones de instalación

De forma predeterminada está seleccionado el prompt que primero revisa el origen. Puedes cambiar a un comando directo o descargar una copia local.

Revisa los archivos de origen

Lee SKILL.md y los archivos complementarios que muestra SkillsMP antes de decidir si quieres instalarlo.

Mostrando SKILL.md

SKILL.md
Instrucciones de origen · Vista previa de solo lectura
name
master-data-management
description
This skill should be used when the task involves design and operate master data management programs in ERP•AI -- use when establishing golden records, data stewardship, duplicate detection, data quality frameworks, and cross-system synchronization for enterprise master data.
version
1.0.0
agents
null
related
["general-ledger","security-roles"]
metadata
{"author":"erphq","domain":"erpai.studio","department":"information-technology","size_tier":"03-org-1k-plus","type":"skill","scope":"internal"}
# Master Data Management ## Purpose Master Data Management (MDM) is the discipline of ensuring that an organization's shared, critical data entities -- customers, products, suppliers, employees, accounts -- are accurate, consistent, and controlled across every system that touches them. Builders need this skill whenever they are: - Consolidating customer or product records from multiple source systems into a single source of truth - Establishing data quality rules and measurement frameworks across the enterprise - Designing duplicate detection and golden record resolution logic - Building a data stewardship program with clear ownership and escalation paths - Setting up reference data management for code tables, classifications, and cross-reference mappings - Implementing cross-system synchronization of master data via publish/subscribe or CDC patterns - Defining data governance structures including data councils, SLAs, and change control Without disciplined MDM, every downstream process -- reporting, analytics, integrations, compliance -- inherits the errors and inconsistencies of unmanaged master data. MDM is the single highest-impact data initiative an enterprise can undertake, yet it fails most often when treated as a technology project rather than a business capability. ## Key Concepts ### Master Data Domains Master data is the slowly changing, high-value reference data shared across business processes and systems. The most common domains in ERP are: | Domain | Examples | Why It Matters | |---|---|---| | **Customer** | Account, contact, address, hierarchy | Drives billing, shipping, CRM, revenue recognition | | **Product** | Item, SKU, variant, BOM, category | Drives procurement, inventory, pricing, sales | | **Supplier/Vendor** | Vendor, contact, payment terms, certifications | Drives procurement, AP, compliance | | **Employee** | Person, position, org unit, cost center | Drives HR, payroll, access control | | **Finance** | Chart of accounts, cost centers, profit centers | Drives all financial reporting and consolidation | | **Location** | Plant, warehouse, site, region | Drives logistics, tax jurisdiction, reporting | Master data is distinct from **transactional data** (orders, invoices, journal entries) and **analytical data** (aggregated metrics, KPIs). Transactional data references master data; analytical data summarizes it. ### MDM Architecture Styles There are four canonical MDM architecture styles. The right choice depends on the number of source systems, the organization's data maturity, and the degree of control required. | Style | How It Works | Golden Record Location | Best For | |---|---|---|---| | **Registry** | Each source system retains its own master data. The MDM hub stores only cross-reference keys and metadata, pointing to records in source systems. No data is physically consolidated. | Stays in source systems | Organizations that cannot centralize data due to politics, regulation, or legacy constraints. Low disruption. | | **Consolidation** | Source system data is copied into the MDM hub, where it is cleansed, matched, and merged into golden records. The golden records are read-only -- they feed analytics and reporting but do not write back to source systems. | MDM hub (read-only) | Organizations that need a single view for reporting/analytics but cannot change source system behavior. | | **Coexistence** | Like consolidation, but the golden records in the MDM hub are published back to source systems. Source systems can also create and update records, which flow back to the hub. Bidirectional sync. | MDM hub + source systems | Organizations that need a single source of truth AND source systems that must stay operational with local data entry. Most complex style. | | **Centralized** | All master data creation and maintenance happens in the MDM hub. Source systems consume master data from the hub and are not allowed to create or modify master data records. | MDM hub (authoritative) | Greenfield deployments or organizations with strong governance. Simplest data flow but requires the most organizational discipline. | **Decision matrix for choosing a style:** | Factor | Registry | Consolidation | Coexistence | Centralized | |---|---|---|---|---| | Number of source systems | Many, entrenched | Many | Moderate | Few or new | | Governance maturity | Low | Medium | High | Very high | | Implementation effort | Low | Medium | High | Medium | | Data quality improvement | Minimal | Moderate (read-only) | High | Highest | | Source system disruption | None | None | Moderate | High | | Ongoing operational cost | Low | Medium | High | Medium | In ERP•AI, the **centralized** style is the default for new deployments. When integrating with existing source systems, **coexistence** or **consolidation** is typical. ### Golden Record Resolution A **golden record** is the single, best-available representation of a master data entity, assembled from one or more source records. Constructing golden records requires three capabilities: duplicate detection, survivorship rules, and merge/unmerge. #### Duplicate Detection Duplicate detection identifies records across (or within) source systems that represent the same real-world entity. Techniques: - **Exact match**: Fields match character-for-character (e.g., tax ID, DUNS number). Fast but brittle -- misses typos, formatting differences. - **Deterministic match**: Defined rules combine multiple fields (e.g., "same last name + same date of birth + same postal code" = match). Reliable when rules are well-designed. Fails on missing data. - **Probabilistic/fuzzy match**: Algorithms score similarity across multiple fields. Each field match contributes a weight; a combined score above a threshold triggers a match candidate. Catches typos, nicknames, abbreviations. - **Machine learning match**: Trained models score match likelihood based on labeled training data. Most accurate for complex domains but requires training data and ongoing model maintenance. Common fuzzy matching algorithms: | Algorithm | Good For | Limitation | |---|---|---| | Levenshtein distance | Typos, character transpositions | Slow on large datasets; position-sensitive | | Jaro-Winkler | Person names (weights prefix matches) | Less effective on non-name fields | | Soundex / Metaphone | Phonetic similarity ("Smith" vs "Smyth") | English-centric; limited to names | | N-gram similarity | Addresses, descriptions | Requires tuning of n-gram size | | TF-IDF + cosine similarity | Long text fields, product descriptions | Computationally expensive | **Blocking** is critical for performance: instead of comparing every record to every other record (O(n^2)), group records into blocks by a coarse key (first 3 characters of last name + postal code) and only compare within blocks. This reduces comparisons by orders of magnitude. In ERP•AI, configure duplicate detection rules in the MDM module per entity type. Define blocking keys, matching fields, algorithms, and thresholds. Candidate matches above the auto-merge threshold are merged automatically; those between the auto-merge and review thresholds go to stewards for manual review. #### Survivorship Rules When duplicates are found, survivorship rules determine which source value wins for each field in the golden record. | Rule Type | Logic | Example | |---|---|---| | **Source priority** | Prefer the value from the most authoritative system | CRM wins for customer name; ERP wins for payment terms | | **Most recent** | Prefer the most recently updated value | Latest address update wins | | **Most frequent** | Prefer the value that appears in the most sources | If 3 of 4 systems say "New York", that wins | | **Most complete** | Prefer the non-null, longest, or most detailed value | A full address beats a partial one | | **Manual override** | A steward's explicit selection always wins | Steward resolves a name dispute | Survivorship rules are defined per field, not per record. A golden customer record might take its name from CRM, its tax ID from the ERP, its address from the most recent update, and its industry classification from a manual override. #### Merge and Unmerge **Merge** combines two or more source records into a single golden record. All transactional references (orders, invoices, tickets) from the merged source records must be re-pointed to the surviving golden record ID. **Unmerge** reverses an incorrect merge. This is operationally difficult because transactional references must be re-split. Design the data model to preserve the original source record IDs even after merge, so unmerge is always possible. In ERP•AI, the MDM module maintains a `source_records` junction table linking each golden record to its contributing source records. Merge creates new links; unmerge restores the prior state from this history. ### Data Quality Dimensions Data quality is measured across six standard dimensions: | Dimension | Definition | How to Measure | Example | |---|---|---|---| | **Accuracy** | Data correctly represents the real-world entity | Comparison to authoritative source, field-level audits | Customer phone number matches actual phone | | **Completeness** | Required fields are populated | Percentage of non-null values for mandatory fields | 94% of customers have a valid email | | **Consistency** | Same fact is represented the same way across systems | Cross-system reconciliation, referential integrity checks | Customer name in CRM matches ERP | | **Timeliness** | Data is up-to-date and available when needed | Age of last update vs freshness SLA | Address updated within 30 days of change | | **Uniqueness** | Each entity is represented once (no duplicates) | Duplicate detection scan results | 0.3% duplicate rate across customer base | | **Validity** | Data conforms to defined formats and business rules | Validation rule pass rate | 99.2% of postal codes match country format | Each dimension should have: - **Metric**: A quantitative score (percentage, count, ratio) - **Threshold**: Acceptable quality level (e.g., completeness > 95%) - **Owner**: Who is accountable for maintaining the threshold - **Remediation process**: What happens when quality drops below threshold ### Data Quality Rules Engine The rules engine is the operational core of data quality management. It profiles, monitors, scores, and remediates data issues. **Profiling** examines data to discover patterns, anomalies, and statistics: - Column profiling: min/max, cardinality, null percentage, value distribution, format patterns - Cross-column profiling: functional dependencies, correlations - Cross-table profiling: referential integrity, orphan records **Monitoring** runs quality rules on a schedule or on data change events: - Validation rules: format checks, range checks, referential integrity - Business rules: cross-field logic, cross-entity consistency - Anomaly detection: statistical outliers, sudden distribution shifts **Scoring** aggregates rule results into quality scores at multiple levels: - Field score: percentage of records passing all rules for that field - Record score: weighted average of field scores for a single record - Entity score: aggregate across all records of an entity type - Domain score: aggregate across all entities in a master data domain **Remediation** routes quality issues to the right handler: - Auto-fix: Rules that can be safely applied automatically (standardize phone format, trim whitespace) - Steward queue: Issues requiring human judgment (possible duplicate, conflicting values) - Escalation: Issues that affect business processes (missing tax ID blocks invoicing) In ERP•AI, data quality rules are configured in the Data Quality module. Rules fire on record create/update and on scheduled scans. Results feed the quality scorecard dashboard. ### Data Stewardship Program A stewardship program defines who is responsible for data quality, what they do, and how issues escalate. **Steward roles:** | Role | Scope | Responsibilities | |---|---|---| | **Executive Data Sponsor** | Organization-wide | Champions MDM at the executive level, secures funding, resolves cross-department disputes | | **Data Domain Owner** | One master data domain (e.g., Customer) | Defines business rules, approves policy, owns quality SLAs for the domain | | **Data Steward** | One or more entity types within a domain | Reviews and resolves data quality issues, approves merges/unmerges, maintains reference data | | **Data Custodian** | Technical/operational | Implements rules in systems, manages ETL/sync, monitors technical data quality | **Escalation path:** Data Custodian (technical issue) -> Data Steward (business judgment) -> Data Domain Owner (policy decision) -> Executive Sponsor (cross-domain conflict) -> Data Governance Council (enterprise-level). **Remediation workflow:** 1. Quality rule detects an issue and creates a work item 2. Work item is routed to the appropriate steward based on domain, entity, and issue type 3. Steward reviews the issue, investigates root cause, and applies a fix or escalates 4. Fix is applied to the golden record and optionally propagated to source systems 5. Root cause is logged for trend analysis (is this a systemic issue or a one-off?) 6. If systemic, steward proposes a new rule or process change to prevent recurrence **Steward workbench** in ERP•AI provides: - Queue of assigned data quality issues, sorted by severity and SLA - Side-by-side comparison of source records for merge/unmerge decisions - Data lineage view showing where a value originated and how it flowed - Audit trail of all stewardship actions ### Reference Data Management Reference data is the subset of master data that defines the valid values for classifying and categorizing other data: country codes, currency codes, industry classifications, unit of measure codes, status values. **Lifecycle of reference data:** 1. **Proposal**: Business user requests a new code or change to an existing code 2. **Review**: Data steward reviews the proposal against standards (no duplicates, correct hierarchy placement) 3. **Approval**: Domain owner approves or rejects 4. **Activation**: Code is added to the reference table with an effective date 5. **Deprecation**: Code is marked as deprecated (not deleted) with an end date; existing references remain valid but new usage is blocked 6. **Retirement**: After a grace period, deprecated codes are hidden from all selection UIs **Cross-reference mapping** links equivalent codes across systems. Example: CRM uses country code "US", ERP uses "USA", logistics system uses "840" (ISO numeric). The cross-reference table maps all three to the same canonical value. | Source System | Source Code | Canonical Code | Canonical Description | |---|---|---|---| | CRM | US | USA | United States of America | | ERP | USA | USA | United States of America | | Logistics | 840 | USA | United States of America | In ERP•AI, reference data is managed through the Reference Data module. Each reference set has a defined lifecycle, change approval workflow, and cross-reference mapping table. Reference data changes are versioned and auditable. ### Cross-System Synchronization Master data must flow between the MDM hub and connected systems. The synchronization pattern depends on the MDM architecture style. **Publish/Subscribe (Pub/Sub):** - The MDM hub publishes master data change events to a message bus (Kafka, RabbitMQ, ERP•AI Event Bus). - Subscribing systems consume events and update their local copies. - Pros: Loose coupling, scalable, supports many consumers. - Cons: Eventual consistency; subscribers may lag. **Change Data Capture (CDC):** - Database-level capture of inserts, updates, and deletes on master data tables. - Change events are streamed to the MDM hub or from the hub to consumers. - Pros: No application code changes needed to capture changes; captures all changes including direct DB edits. - Cons: Tight coupling to database schema; requires DB-level permissions. **API-based synchronization:** - Source systems call the MDM hub's API to create/update records. The hub validates, deduplicates, and responds with the golden record ID. - The hub calls source system APIs to push updates. - Pros: Strong consistency (synchronous); full validation on every change. - Cons: Tight coupling; latency; must handle API failures. **Conflict resolution** is necessary in coexistence and bidirectional patterns: - **Last-write-wins**: Simplest. The most recent update overwrites. Risk: legitimate earlier updates are lost. - **Source-priority**: The most authoritative source wins regardless of timing. Safer for critical fields. - **Field-level merge**: Different fields may come from different sources; apply survivorship rules per field. - **Manual resolution**: Conflicts are queued for steward review. Slowest but safest for high-value data. In ERP•AI, cross-system sync is configured in the Integration Hub. Each master data entity can have a defined sync direction (inbound, outbound, bidirectional), sync frequency (real-time, near-real-time, batch), and conflict resolution strategy per field. ### Master Data Governance Governance is the organizational framework that ensures MDM policies are defined, enforced, and evolved. **Governance structures:** | Structure | Purpose | Cadence | |---|---|---| | **Data Governance Council** | Enterprise-level policy decisions, cross-domain arbitration, funding | Quarterly | | **Domain Working Groups** | Domain-specific rules, quality targets, issue resolution | Monthly | | **Stewardship Stand-ups** | Operational review of quality metrics, issue queues, blockers | Weekly | **Change control for master data:** 1. All schema changes to master data entities (new fields, changed validation rules, new reference codes) go through a formal change request process. 2. Impact assessment: What systems consume this data? What reports will be affected? 3. Approval: Domain owner and impacted system owners approve. 4. Implementation: Coordinated across hub and all consuming systems. 5. Validation: Post-change quality checks confirm no degradation. **SLAs for data quality:** - Define SLAs per domain and dimension (e.g., "Customer completeness > 95%, measured weekly") - SLA breaches trigger escalation to the domain owner - SLA trends are reported to the governance council quarterly ### Data Quality Dashboards and Scorecards Dashboards make data quality visible and actionable. Design at three levels: **Executive scorecard:** - Overall quality score per domain (single number: red/yellow/green) - Trend over time (improving, stable, degrading) - Top 3 issues by business impact - SLA compliance percentage **Domain dashboard:** - Quality score breakdown by dimension (accuracy, completeness, consistency, timeliness, uniqueness, validity) - Drill-down by entity type within the domain - Duplicate rate trend - Steward queue depth and resolution time **Operational dashboard:** - Rule execution results (pass/fail counts per rule) - Data quality issues by status (new, in progress, resolved, escalated) - Source system contribution to quality issues (which system creates the most problems?) - Sync lag and conflict rates per integration In ERP•AI, quality dashboards are built with the Analytics Designer, sourcing data from the Data Quality module's rule execution history and scoring tables. ## Workflow ### 1. Assess Current State - Inventory all systems that create, store, or consume master data. - Profile data quality in each system: completeness, duplicates, format inconsistencies. - Map data flows: which system is the source of truth for which fields? - Identify pain points: Where does bad data cause business problems (failed shipments, duplicate invoices, compliance issues)? - **Tool**: ERP•AI's Data Profiler and System Inventory. - **Watch out for**: Assuming one system is authoritative when, in practice, multiple departments maintain their own versions. - **Output**: Current-state assessment document with quality baseline metrics. ### 2. Define MDM Strategy - Select the MDM architecture style based on organizational readiness and system landscape. - Define which master data domains are in scope for the first phase (start with one or two, not all). - Identify the golden record resolution approach per domain. - Define governance structures: council, domain owners, stewards. - **Tool**: Decision matrix from Key Concepts above. - **Watch out for**: Trying to boil the ocean. Start with the domain causing the most business pain. - **Output**: MDM strategy document with architecture style, scope, and governance model. ### 3. Design the Master Data Model - Define the canonical data model for each in-scope domain (the golden record schema). - Map source system fields to the canonical model. - Define survivorship rules per field. - Define reference data sets and cross-reference mappings. - **Tool**: ERP•AI's Entity Builder and MDM Configuration module. - **Watch out for**: Designing the canonical model as a union of all source fields. Be selective -- include only fields that are genuinely shared across systems. - **Output**: Canonical data model with field mappings and survivorship rules. ### 4. Implement Data Quality Rules - Define validation, completeness, consistency, and uniqueness rules per entity. - Configure duplicate detection: blocking keys, matching algorithms, thresholds. - Set up quality scoring and thresholds. - Implement auto-fix rules for safely automatable corrections. - **Tool**: ERP•AI's Data Quality Rules Engine. - **Watch out for**: Writing rules that are too strict initially. Start with high-confidence rules and tighten over time based on steward feedback. - **Output**: Configured and tested quality rules with baseline scores. ### 5. Build Synchronization Pipelines - Configure inbound pipelines from source systems to the MDM hub (initial load + ongoing sync). - Configure outbound pipelines from the MDM hub to consuming systems. - Implement conflict resolution logic. - Test with production-like data volumes. - **Tool**: ERP•AI's Integration Hub with CDC or API connectors. - **Watch out for**: Underestimating the volume and frequency of changes. Load test sync pipelines before go-live. - **Output**: Working sync pipelines with monitoring and alerting. ### 6. Launch Stewardship Operations - Train stewards on the steward workbench and escalation procedures. - Process the initial backlog of duplicate candidates and quality issues. - Establish weekly stewardship stand-ups to review metrics and blockers. - **Tool**: ERP•AI's Steward Workbench.
Ver en GitHub
Este SKILL.md es muy grande, por eso SkillsMP muestra aqui solo la primera seccion. Ver en GitHub