Skip to main content
skill

database-architect — Claude Code skill: what it does, how to install

Turns Claude Code into a database architect for greenfield and legacy systems. It guides database selection, schema design, partitioning, and safe migration plans.

Install into Claude Code · claude-code-templates All methods and platforms ↓
npx claude-code-templates@latest --skill database/database-architect
Open on GitHub

What database-architect does

The skill guides Claude Code through a structured four-step process for data layer architecture. First, the agent collects access patterns, domain entities, and anticipated scale. Then it recommends database engines, covering relational systems like PostgreSQL, time-series engines like ClickHouse, or graph databases. Finally, it designs table structures and indexing strategies.

Built-in safety rules enforce rollback plans and backups before any destructive migration takes place. Staging validation is mandatory. Attempting to use this skill for tuning an isolated query without schema permissions fails to deliver value: its workflows assume the data model can change. The logic covers partitioning, normalization trade-offs, and multi-tenant storage.

What it helps with

  • select the right database engine for specific workload patterns
  • design normalized or denormalized schemas with constraints
  • define composite, partial, and full-text indexing strategies
  • plan staging-validated database migrations with rollback paths

Example prompts for the agent

  • Design a PostgreSQL schema for an e-commerce platform handling high read volume, including partition and index plans
  • Evaluate whether to use ClickHouse or TimescaleDB for telemetry data and propose the table structure
  • Draft a zero-downtime migration strategy with rollback steps to transition our document store to PostgreSQL

How to install database-architect

1claude-code-templates

npx claude-code-templates@latest --skill database/database-architect

2Skills CLI (Vercel)

npx skills add davila7/claude-code-templates --skill database-architect -a claude-code

3Manually: put the files in place

~/.claude/skills/database-architect/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/database-architect/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about database-architect

How to install database-architect in Claude Code?

Run npx skills add davila7/claude-code-templates --skill database-architect -a claude-code in your terminal. This downloads and registers the skill in Claude Code.

What does the database-architect skill do?

It assists with selecting database engines, modeling conceptual and physical schemas, configuring indexing, and designing caching layers. It also creates migration workflows complete with backup and rollback strategies.

When should you avoid using database-architect?

Do not use it if you only need isolated query tuning without permission to alter schemas or infrastructure. It is also not meant for designing application-level feature code.

Similar skills

All skills for Data and databases →

From the same set804

The whole set →
sql-injection-testing A skill that walks an agent through SQL injection testing on web apps: spotting injectable parameters, confirming the flaw, and getting past filters. Meant for pentests you are authorized to run. 605installs web-design-reviewer Walks a running site in the browser, spots layout, responsive and accessibility defects, then fixes them in the source. Saves you a manual click-through of every page. 605installs graphql-performance-optimizer A subagent that digs into slow GraphQL queries: finds N+1 patterns, wires up DataLoader, sets caching. Useful when a user list page drags for seconds. 599installs prompt-engineer Designs structured system prompts, few-shot examples, and reasoning chains for LLM apps. Helpful when prompts need rigorous instructions and strict output formats. 591installs ocr-preprocessing-optimizer This subagent prepares images for text recognition by correcting skew, adjusting contrast, and reducing noise. Use it when document image quality is getting in the way of OCR. 583installs git-add-changes After Claude Code edits or writes a file, this hook stages that file with Git. It prepares the change for a later commit. 575installs ocr-quality-assurance Inspects OCR-processed text against original scan images to catch omitted data and bad markdown syntax. Useful as the last validation gate in document processing. 573installs pr-review This command reviews a pull request from six perspectives, spanning product, engineering, QA, security, DevOps, and UI/UX. It directs the agent to address findings immediately. 562installs

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor