data-modeling-and-persistence
Design clear data models, schemas, and persistence strategies that balance integrity, performance, and evolvability. Use when defining database schemas, choosing storage, or modeling domain data.
- License 许可
- MIT
- 最近更新
- 2026-07-22
- Stars
- ★ 7
- Forks
- 1
01 前言 Front Matter
- name
- data-modeling-and-persistence
- description
- Design clear data models, schemas, and persistence strategies that balance integrity, performance, and evolvability. Use when defining database schemas, choosing storage, or modeling domain data.
03 SKILL.md 正文
Data Modeling and Persistence
Overview
Data usually outlives code. Invest in clear models, constraints, and migration strategies.
When to Use
- Designing new tables/collections or domain models
- Choosing between relational, document, key-value, etc.
- Planning schema migrations
- Addressing data integrity or query performance issues
Core Practices
- Model the domain first; let storage concerns inform but not fully dictate the model
- Use constraints (not just application code) to protect integrity where appropriate
- Plan for schema evolution from the start
- Index deliberately based on actual access patterns
- Consider consistency, availability, and partition tolerance trade-offs explicitly
- Separate read and write models when the complexity is justified (CQRS-style)
Migration Discipline
- Prefer expandable, backward-compatible changes when possible
- Test migrations against realistic data volumes
- Have a rollback or forward-fix strategy
Verification
- Critical invariants are enforced
- Common queries are efficiently supported
- Schema changes are safe and reversible or clearly one-way
04 同仓库更多 Skills
win-loss-analysis
Analyze won and lost deals to learn why buyers choose you or alternatives — and feed insights into product, marketing, and sales. Use when improving win rates, refining positioning, or diagnosing systematic deal losses.
social-selling
Use social platforms to build relationships, share insight, and open sales conversations without hard-sell spam. Use when prospecting via LinkedIn or similar networks, or building a seller’s professional presence.
sales-strategy
Define sales strategy — target segments, motions, capacity, and goals — that aligns with product, marketing, and revenue targets. Use when designing go-to-market sales motions, choosing PLG vs sales-led balance, or planning sales org structure.
sales-playbooks
Create sales playbooks that codify how to win specific segments, use cases, or competitive situations with repeatable process and talk tracks. Use when standardizing successful motions, onboarding reps, or scaling what top performers do.
sales-enablement
Equip sales teams with the content, training, tools, and processes they need to sell effectively and consistently. Use when building enablement programs, onboarding reps, or improving win rates through better readiness.
sales-compensation-basics
Design or evaluate sales compensation plans that align seller behavior with company revenue goals and are simple enough to motivate. Use when creating comp plans, diagnosing misaligned incentives, or explaining plan mechanics to reps.