storage-selection
Choose the right database technology for specific workloads. Evaluate relational, NoSQL, data warehouses, and search engines. Use when selecting storage…
by sethdford★ 51 GitHub stars
Install storage-selection in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
About this skill
Storage Selection
Choose optimal database technology by analyzing workload characteristics, consistency requirements, and operational complexity.
Context
You are helping select storage systems for specific data requirements. Analyze access patterns, consistency needs, data volume, and operational constraints. Read any existing schemas or architectural context provided.
Domain Context
Based on Martin Kleppmann's Designing Data-Intensive Applications:
- Relational Databases: ACID transactions, schema enforcement, complex queries; limited horizontal scaling
- Document Databases: Flexible schema, natural object mapping, good for hierarchical data; transactions often single-document only
- Key-Value Stores: Fast reads/writes, simple data model; limited query flexibility
- Column Family Stores: Optimized for analytics and time-series; sparse data; distributed
- Search Engines: Full-text search, fuzzy matching, aggregations; not transaction-oriented
- Data Warehouses: Analytical queries, columnar storage, massive scale; designed for batch not realtime
Instructions
Catalog Data Requirements: List primary access patterns (read-heavy? write-heavy? both?), data volume growth rate, consistency needs (strong/eventual?), query types (transactional vs analytical), and operational SLAs.
Match Workload to Storage Type: Transactional workload with complex queries → PostgreSQL. Document-oriented objects → MongoDB. Time-series metrics → Prometheus or InfluxDB. Full-text search → Elasticsearch. Analytical queries on massive datasets → BigQuery/Redshift.
Evaluate Consistency vs Availability: Need ACID guarantees across distributed systems? Relational with replication. Can tolerate eventual consistency? DynamoDB/Cassandra. Determine RTO/RPO requirements.
Project Operational Burden: Managed services (RDS, DynamoDB, BigQuery) reduce ops overhead. Self-hosted databases require backup, monitoring, scaling, tuning expertise.
Cost Analysis: Storage cost (per GB), compute cost (per hour or per query), backup/replication costs. Cross-reference with projected data growth and query volume.
Anti-Patterns
- One Database for Everything: PostgreSQL solves every problem. Result: poor performance at scale, wrong tool for job. Guard: Accept polyglot persistence; different workloads need different databases.
- Choosing Based on Hype: Elasticsearch for everything because it's trendy. Result: overly complex infrastructure, unnecessary cost. Guard: Choose based on actual access patterns, not marketing.
- Ignoring Operational Complexity: Pick distributed database without ops expertise. Result: data loss, network partitions, failed migrations. Guard: Account for team operational maturity; managed services are often better than self-hosted.
- Migrating Without Strategy: Realize choice was wrong mid-project. Result: painful migration, downtime. Guard: Prototype with real data; test failure scenarios before committing.
Further Reading
- Designing Data-Intensive Applications by Martin Kleppmann — comprehensive storage system analysis
- Database Internals by Alex Petrov — deep dive on storage engines and tradeoffs
- NoSQL Databases by Dan McCreary and Ann Kelly — NoSQL patterns and when to use each type
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
FAQ
What does the storage-selection skill do?
Choose the right database technology for specific workloads. Evaluate relational, NoSQL, data warehouses, and search engines. Use when selecting storage systems for new features or optimizing existing ones.
How do I install the storage-selection skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the storage-selection skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
skill-creator
AnthropicCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
discernment-nudge
AnthropicAfter you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
data-consolidate
AnthropicJoins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
inspection-to-capa
AnthropicRuns the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…