distributed-data-topology-designer
Installation
SKILL.md
Distributed Data Topology Designer
Design data placement from workload and invariants, not from fashionable technologies. Read references/contract-v1.md and references/handoff-v1.md; return a state_patch that preserves existing IDs.
Procedure
- Inventory entities, read/write access patterns, cardinality, payload, lifecycle, locality, and ownership.
- Map each important operation to storage needs, indexes, partition key, expected volume, and hotspot risk.
- For each critical entity or operation, state invariant, consistency level, transaction boundary, conflict strategy, acceptable replication lag, RPO, and RTO.
- Treat replication and sharding as independent decisions. Choose the simplest topology that meets the traced workload and recovery requirements.
- For every advanced distribution decision, record
DEC-*, measurable rationale, simpler alternative, rejected reason, operational cost, and evolution path. - Identify data residency, audit, deletion, backup, and lifecycle implications. Flag missing evidence as assumptions or open questions.
- Emit the standard handoff envelope and recommend failure analysis when topology risks remain.
Acceptance checks
Run bundled scripts/validate_topology.py <topology.json>, contract validation, the repository validator, and skill-creator quick validation. Accept only when access patterns, hotspot analysis, operation-level consistency, and trade-offs are present.