— No reviews yet
0 installs
4 views
0.0% view→install
Install
$ agentstack add skill-njoyimpeguy-augments-data-model ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Are you the author of Data Model? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claimAbout
Data Model
Design the data before the code that moves it. A schema is more than columns — it's the entities, how they relate, and the invariants that must always hold. Getting these wrong is the most expensive mistake to fix later.
When to use
- The work introduces or changes persistent data — new entities, relationships, or storage.
- Skip for a feature with no persistent state (a pure UI tweak, a stateless transform).
Procedure
- Name the entities in the domain's language — one concept per entity, and what it represents.
- List each entity's attributes with type and meaning. State the null semantics (what absence means) and the enumerations (allowed values), not just the column.
- Map the relationships — their cardinality (one-to-many, many-to-many) and ownership (whose lifecycle controls the other; what cascades on delete).
- Write down the invariants — rules that must always hold (a balance is never negative; an order always has a customer). These become constraints and tests.
- Note what's deliberately denormalized or cached, and why — every copy of data is a consistency risk you're choosing to accept.
- Write the data-model section of the shared design document
.augments/designs/{{YYYY-MM-DD}}-{{topic}}.md(the standard designs location; another path only if the user has set one).
Common mistakes
- Columns without invariants — the schema says what can be stored, not what must be true.
- Ignoring null semantics and cardinality — where data bugs are born.
- Modeling the UI's shape instead of the domain's.
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: NjoyimPeguy
- Source: NjoyimPeguy/augments
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.