Skip to content
Back to skills

Data Architecture

ASecurity

Data architecture - models, relationships. Use when designing data structures.

  • 666 stars
  • 0 votes
  • 0 copies
  • 6 views
  • Added February 8, 2026
databasesrustgonextjsapidatabase

Works with

  • cli
  • api

Security analysis

A100/100

Scanned February 10, 2026

npx -y skills add majiayu000/claude-skill-registry --skill data-architecture --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Data Architecture?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Data Architecture
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-data-architecture/badge)](https://www.skillsdirectory.com/skills/majiayu000-data-architecture)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: data-architecture
description: Data architecture - models, relationships. Use when designing data structures.
---

# Data Architecture Guideline

## Tech Stack

* **API**: tRPC
* **Framework**: Next.js
* **Database**: Neon (Postgres)
* **ORM**: Drizzle

## Non-Negotiables

* All authorization must be server-enforced (no client-trust)
* No dual-write: billing/entitlement truth comes from Stripe events only
* UI must never contradict server-truth
* High-value mutations must have audit trail (who/when/why/before/after)

## Context

Data architecture determines what's possible and what's painful. Good architecture makes new features easy; bad architecture makes everything hard. The question isn't "does it work today?" but "will it work when requirements change?"

Consider the boundaries between domains, the flow of data through the system, and the consistency guarantees at each step. Where are implicit assumptions that will break? Where is complexity hidden that will cause bugs?

## Driving Questions

* If we were designing this from scratch, what would be different?
* Where will the current architecture break as the product scales?
* What implicit assumptions are waiting to cause bugs?
* How do we know when state is inconsistent, and how do we recover?
* Where is complexity hiding that makes the system hard to reason about?
* What architectural decisions are we avoiding that we shouldn't?

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.