Skip to content
Back to skills

Schema

ASecurity

Database schema generation and optimization

  • 3 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 1, 2026
ai-agentsbashsqldatabaseperformance

Security analysis

A100/100

Scanned October 1, 2026

npx -y skills add sharmapuneet1510/awesome-prompts --skill schema --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Schema?

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

Security grade badge for Schema
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/sharmapuneet1510-schema/badge)](https://www.skillsdirectory.com/skills/sharmapuneet1510-schema)

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: schema
description: Database schema generation and optimization
argument-hint: requirements="..." [db_type="postgresql"]
disable-model-invocation: true
---

Role and rules: read ${CLAUDE_PLUGIN_ROOT}/reference/agent.md and ${CLAUDE_PLUGIN_ROOT}/reference/rules.md for the sections this function needs.

# architect:schema

**Design and optimize database schemas** with relationships, indices, constraints, and migrations.

## Inputs

```
architect:schema requirements="..." [db_type="postgresql"]
```

- `requirements` (string, required) — Data model requirements
- `db_type` (string, optional) — Database type (postgresql, mysql, mssql)
- `scale` (string, optional) — Expected scale (small, medium, enterprise)

## Outputs

```
✓ schema.sql                  — Complete DDL with relationships
✓ migrations/                 — Versioned migration scripts
✓ indices.sql                 — Performance indices
✓ relationships-diagram.md    — ER diagram and descriptions
```

## Example

```bash
architect:schema requirements="E-commerce: products, orders, inventory, customers"
```

## Workflow

1. Parse data requirements
2. Design entities and relationships
3. Normalize schema (3NF+)
4. Add indices for common queries
5. Plan migration strategy
6. Document relationships
7. Consider scaling and partitioning

## Related Functions

- `architect:design` — Full system architecture
- `implementer:full` — Implementation with schema

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…