data-systems-architecture_skill

This skill helps you design data systems for performance and scalability by guiding schema choices, indexing, OLTP/OLAP trade-offs, and ORM/N+1 handling.
  • Python

24

GitHub Stars

8

Bundled Files

2 months ago

Catalog Refreshed

4 months ago

First Indexed

Readme & install

Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.

Installation

Preview and clipboard use veilstrat where the catalogue uses aiagentskills.

npx veilstrat add skill ratacat/claude-skills --skill data-systems-architecture

  • 01-foundational-principles.md19.3 KB
  • 02-data-modeling.md17.0 KB
  • 03-storage-engines.md13.9 KB
  • 04-indexing.md15.1 KB
  • 05-scaling-patterns.md13.6 KB
  • 06-transactions-concurrency.md13.9 KB
  • 07-application-integration.md15.1 KB
  • SKILL.md5.3 KB

Overview

This skill helps design and evaluate data systems for data-heavy applications, guiding schema choices, indexing, storage, and scaling decisions. It emphasizes trade-offs between reliability, scalability, and maintainability so you can make pragmatic choices for production systems. Use it to diagnose query performance, concurrency issues, and ORM integration problems.

How this skill works

The skill inspects workload characteristics (read/write ratio, query shapes, growth expectations) and maps them to concrete architecture patterns: relational vs document vs graph models, OLTP vs OLAP storage choices, and appropriate index types. It provides prescriptive guidance on normalization vs denormalization, transaction isolation and locking, replication/partitioning strategies, and remedies for common application-layer problems like N+1 queries and ORM inefficiencies.

When to use it

  • Designing a new database/schema for a data-heavy app
  • Choosing between normalization and denormalization for performance
  • Deciding OLTP vs OLAP and suitable storage/indexing engines
  • Diagnosing slow queries and selecting or redesigning indexes
  • Planning scaling: replication, partitioning, sharding, and 10x growth
  • Resolving concurrency issues, deadlocks, or ORM N+1 query problems

Best practices

  • Start by measuring: capture query patterns, latencies, and growth projections before changing schema
  • Normalize to 3NF first; denormalize selectively with measurable performance gains and clear maintenance plans
  • Design indexes for real, high-impact queries and monitor their maintenance costs
  • Choose storage and index types based on access patterns (row vs column, B-tree vs GIN/BRIN)
  • Define isolation level requirements explicitly and prefer optimistic patterns where possible to reduce contention
  • Plan for operations: backups, monitoring, migration paths, and runbooks before launch

Example use cases

  • Designing a primary schema for a transactional service with many joins and strict consistency
  • Refactoring slow report queries by choosing columnar storage or materialized views for OLAP workloads
  • Resolving an N+1 problem by introducing batch loading and targeted joins or query builders in the ORM layer
  • Choosing partitioning and replica strategies to handle a 10x increase in write throughput
  • Tuning PostgreSQL: selecting B-tree/GIN/BRIN indexes and adjusting vacuum/maintenance for large time-series data

FAQ

Denormalize only after measuring that normalized queries are a performance bottleneck and when the increased write/maintenance cost is acceptable; prefer materialized views or caching if suitable.

How do I decide between replication and sharding?

Start with replication for read scaling and high availability; choose sharding when single-node capacity limits (storage/IO) are reached or write throughput requires horizontal partitioning.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational
data-systems-architecture skill by ratacat/claude-skills | VeilStrat