data-architecture
Use when a project needs persistent storage and no database technology has been chosen yet, or an existing choice is being reconsidered.
Skill by SiddheshKGupta
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/siddheshkgupta-data-architecture
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: backend, data
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/data-architecture
What's inside
- Skill name
data-architecture- Description
- Use when a project needs persistent storage and no database technology has been chosen yet, or an existing choice is being reconsidered. Selects a database with stated trade-offs, then designs the schema and API surface together against that choice. Do not use for read-only analytics over an existing store -- see data-engineering.
- License
- Apache-2.0
- Instructions
- 96 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Data Architecture
Database choice, schema, and API are one decision, not three sequential
ones. A schema designed before the database is chosen gets redesigned once
it is; an API designed before the schema exists gets reshaped once it does.
Decide together, in this order, and record the decision durably.
## 1. Assess actual needs, not defaults
Before naming a technology, establish:
```text
Data shape | relational, document, key-value, graph, time-series, blob
Consistency need | strict (ACID, cross-record invariants) or eventual is fine
Query pattern | point lookups, joins/relations, full-text, analytical scans
Write volume | single-writer toy, moderate, high-throughput
Concurrency | single process, multi-process, distributed
Operational reality | embedded/serverless, self-hosted, managed service, existing infra
```
Read `DOMAIN_CONTEXT.md` and `PROJECT_CONTEXT.md` first -- do not assume
scale or consistency requirements the project has not stated.
## 2. Compare, then choose -- and ask
Compare at least two materially different options against the assessed
needs (not a coin flip between near-identical choices): e.g. embedded
SQL (SQLite) vs. a managed relational database (PostgreSQL) vs. a document
store (MongoDB) vs. no persistence yet (in-memory, for a genuine
throwaway prototype). State why the recommended one fits and what the
others would cost.
**This is a schema-level decision under `AGENTS.md`'s approval gates.**
Present the comparison and the recommended default to the user per
`decision-coach`'s rule: state it, wait for a real answer when a user is
present, do not silently pick and proceed. A wrong database choice is
expensive to reverse once real data and real code depend on it --
exactly the kind of decision that should not be made without them.
## 3. Design the schema against the chosen technology's real model
Not a generic ORM-agnostic sketch. If relational: tables, keys, foreign
keys, indexes, normalisation level, migration strategy. If document:
collections, embedding vs. referencing, index strategy. Define for every
entity:
```text
Entity | Fields | Key | Relationships | Indexes | Constraints
Retention | Migration/versioning strategy | Owner
```
## 4. Design the API surface against the schema, not before it
Endpoints and request/response shapes should reflect what the schema can
actually answer efficiently -- do not design an API that implies a query
the schema cannot serve without a full scan, without deciding that
trade-off explicitly. Hand off to `api-integration` for the external
contract details (auth, retries, idempotency) once the shape is settled
here.
## 5. Record the decision
Persist the choice, the rejected alternatives, and why -- in the
project's decision log or spec, not only in chat. A later session must be
able to see this was a considered choice, not an assumption.
Do not introduce a new database technology as a silent default when the
project already has one established; that is a material architecture
change requiring the same approval gate as adopting one for the first
time.
## 6. Baseline field validation, unless the domain overrides it
Common fields have a sane default shape even when nothing in
`DOMAIN_CONTEXT.md` says so explicitly -- absence of a stated rule is not
permission to accept anything:
```text
Name | letters, spaces, hyphens, apostrophes; reject bare digits/symbols
Phone | fixed digit count for the target country, explicit country-code
| field/selector rather than assuming one
Email | standard address shape (local@domain), not just "contains @"
Money/quantity | non-negative unless the domain genuinely has credits/refunds
Date | a real calendar date, not an unconstrained string
```
Only replace a baseline with a domain-specific rule when
`DOMAIN_CONTEXT.md` states one (e.g. a GSTIN/PAN format for an India/GST
domain) -- do not skip validation just because the domain didn't specify
a *different* rule than the baseline above.
Enforce server-side; a client-side check is a UX convenience, not the
control -- the same "UI visibility alone is not security" principle
applies to input shape, not only to permissions.From SiddheshKGupta/Escapement, Apache-2.0.
More from SiddheshKGupta/Escapement
- 0.569score
agent-blueprint-discovery
SiddheshKGupta
Use when a domain problem may benefit from an existing AI agent implementation, including the 500+ AI Agents catalogue.
SkillBFreshness: B★ 4Claude Code +9 - 0.569score
agent-orchestration
SiddheshKGupta
Use when a plan contains independent research, implementation or review tasks that benefit from fresh-context subagents or parallel execution.
SkillBFreshness: B★ 4Claude Code +9 - 0.569score
decision-coach
SiddheshKGupta
Use at the start of MATERIAL or PROGRAM work when the user has a rough request, unclear success criteria, hidden trade-offs or missing decisions.
SkillBFreshness: B★ 4Claude Code +9 - 0.569score
design-system
SiddheshKGupta
Use for design direction, brand, colour, typography, layout, visual style, animation, motion, responsiveness, design tokens, or creation/update of DESIGN.md.
SkillBFreshness: B★ 4Claude Code +9 - 0.569score
domain-research
SiddheshKGupta
Use when industry standards, regulation, current practices, competitors, market trends, professional norms or domain vocabulary may materially affect the…
SkillBFreshness: B★ 4Claude Code +9 - 0.569score
consulting-analysis
SiddheshKGupta
Use for consulting analysis, business-model questions, management recommendations, operating-model design, transformation, requirements, stakeholder…
SkillBFreshness: B★ 4Claude Code +9 - 0.566score
ai-agent-engineering
SiddheshKGupta
Use to specify, build or review AI agents, LangGraph or LangChain systems, RAG, tool calling, memory, structured extraction, multi-agent workflows…
SkillBFreshness: B★ 4Claude Code +9 - 0.566score
automation-engineering
SiddheshKGupta
Use for n8n, workflow automation, scheduled jobs, event triggers, webhooks, background processing, notifications or operational automations.
SkillBFreshness: B★ 4Claude Code +9 - 0.566score
dashboard
SiddheshKGupta
Use for dashboards, KPIs, MIS, metrics, management reporting, analytics, charts, drill-down, ageing, or reconciliation.
SkillBFreshness: B★ 4Claude Code +9 - 0.566score
data-engineering
SiddheshKGupta
Use for ingestion, ETL or ELT, data pipelines, mapping, cleansing, validation, reconciliation, lineage, warehousing, dimensional models, semantic layers, file…
SkillBFreshness: B★ 4Claude Code +9 - 0.566score
enterprise-ui-review
SiddheshKGupta
Use for new UI, redesign, frontend implementation, screen or component review, responsive work, accessibility, generic AI appearance, or usability problems.
SkillBFreshness: B★ 4Claude Code +9 - 0.566score
frontend-implementation
SiddheshKGupta
Use to implement approved UI, UX, pages, components, dashboards or frontend flows.
SkillBFreshness: B★ 4Claude Code +9
Signals
- Stars
- 4
- Forks
- 1
- Open issues
- 0
- Last commit (this folder)
- Aug 6, 2026 (2 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- Apache-2.0
- Repository
- github.com/SiddheshKGupta/Escapement
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from SiddheshKGupta
- 0.569score
decision-coach
SiddheshKGupta
Use at the start of MATERIAL or PROGRAM work when the user has a rough request, unclear success criteria, hidden trade-offs or missing decisions.
SkillBFreshness: B★ 4Claude Code +9 - 0.569score
agent-blueprint-discovery
SiddheshKGupta
Use when a domain problem may benefit from an existing AI agent implementation, including the 500+ AI Agents catalogue.
SkillBFreshness: B★ 4Claude Code +9 - 0.569score
agent-orchestration
SiddheshKGupta
Use when a plan contains independent research, implementation or review tasks that benefit from fresh-context subagents or parallel execution.
SkillBFreshness: B★ 4Claude Code +9 - 0.569score
domain-research
SiddheshKGupta
Use when industry standards, regulation, current practices, competitors, market trends, professional norms or domain vocabulary may materially affect the…
SkillBFreshness: B★ 4Claude Code +9 - 0.569score
consulting-analysis
SiddheshKGupta
Use for consulting analysis, business-model questions, management recommendations, operating-model design, transformation, requirements, stakeholder…
SkillBFreshness: B★ 4Claude Code +9 - 0.569score
design-system
SiddheshKGupta
Use for design direction, brand, colour, typography, layout, visual style, animation, motion, responsiveness, design tokens, or creation/update of DESIGN.md.
SkillBFreshness: B★ 4Claude Code +9
Cite this page
data-architecture skill. Agent Mart. https://agentmart.dev/skills/siddheshkgupta-data-architecture (last updated 2026-10-24)