Chalk Labs
Need help deploying database-design?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
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/ucav-database-design
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: design, backend
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions: not checked yet.
What's inside
- Skill name
database-design- Description
- None
- License
- MIT
- Instructions
- 53 lines in SKILL.md · view on GitHub
Agent Skills spec issues
- missing YAML frontmatter
- name: missing
- description: missing
Files (1)
- SKILL.md
SKILL.md (first lines)
# Skill: Database Design
**Trigger:** database, schema, migration, SQL design, table
**Description:** Conception de base de données : schéma, normalisation, index, migrations, requêtes optimisées.
## Body
### Schéma minimal (PostgreSQL)
```sql
CREATE TABLE users (
id UUID PRIMARY KEY DEFAULT gen_random_uuid(),
email TEXT UNIQUE NOT NULL,
created_at TIMESTAMPTZ NOT NULL DEFAULT now()
);
CREATE TABLE orders (
id UUID PRIMARY KEY DEFAULT gen_random_uuid(),
user_id UUID NOT NULL REFERENCES users(id),
status TEXT NOT NULL DEFAULT 'pending',
total_cents INT NOT NULL CHECK (total_cents >= 0),
created_at TIMESTAMPTZ NOT NULL DEFAULT now()
);
CREATE INDEX idx_orders_user_id ON orders(user_id);
CREATE INDEX idx_orders_status ON orders(status) WHERE status = 'pending';
```
### Règles
1. **Toujours UUID** — pas de serial/auto-increment pour les IDs publics
2. **TIMESTAMPTZ** — pas de TIMESTAMP sans timezone
3. **TEXT > VARCHAR(n)** — PostgreSQL traite pareil, TEXT plus flexible
4. **Indexer les FK** — chaque foreign key doit avoir un index
5. **CHECK contraints** — valider les données côté DB, pas côté app
6. **Éviter NULL** — utiliser NOT NULL + valeur par défaut
### Migrations
```bash
# diesel (Rust)
diesel migration generate create_users
diesel migration run
diesel migration redo
# Prisma (Node)
npx prisma migrate dev --name init
npx prisma migrate deploy
```
### Pièges
- Pas de FK → intégrité des données compromise
- `SELECT *` en prod → largeur de table change, ton code casse
- Pas de pagination → `SELECT * FROM users` sur 1M lignes = crashFrom ucav/Sparrow, MIT.
More from ucav/Sparrow
- 0.288score
api-testing
ucav
No description from the publisher yet.
SkillCFreshness: C★ 8Claude Code +9 - 0.288score
architecture-design
ucav
No description from the publisher yet.
SkillCFreshness: C★ 8Claude Code +9 - 0.288score
api-docs
ucav
No description from the publisher yet.
SkillCFreshness: C★ 8Claude Code +9 - 0.288score
code-review
ucav
No description from the publisher yet.
SkillCFreshness: C★ 8Claude Code +9 - 0.288score
aws-s3
ucav
No description from the publisher yet.
SkillCFreshness: C★ 8Claude Code +9 - 0.288score
cicd-github-actions
ucav
No description from the publisher yet.
SkillCFreshness: C★ 8Claude Code +9 - 0.285score
browser-automation
ucav
No description from the publisher yet.
SkillCFreshness: C★ 8Claude Code +9 - 0.285score
ci-cd-pipeline
ucav
No description from the publisher yet.
SkillCFreshness: C★ 8Claude Code +9 - 0.285score
cicd-gitlab
ucav
No description from the publisher yet.
SkillCFreshness: C★ 8Claude Code +9 - 0.285score
cloudflare-setup
ucav
No description from the publisher yet.
SkillCFreshness: C★ 8Claude Code +9 - 0.285score
code-coverage
ucav
No description from the publisher yet.
SkillCFreshness: C★ 8Claude Code +9 - 0.285score
code-generation
ucav
No description from the publisher yet.
SkillCFreshness: C★ 8Claude Code +9
Signals
- Stars
- 8
- Forks
- 3
- Open issues
- 0
- Last commit (this folder)
- Jun 8, 2026 (4 months ago)
- Last release
- Jun 15, 2026 (4 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/ucav/Sparrow
- Website
- github.com/ucav/Sparrow
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get database-design running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
database-design skill. Agent Mart. https://agentmart.dev/skills/ucav-database-design (last updated 2026-10-24)