All skills
simota avatar

/schema

@c805268
by shingo imotasimota/agent-skills85 stars
15

Designing database schemas, migrations, and multi-tenant architecture: RLS, tenant routing, provisioning, quotas, and isolation. Not for query-plan tuning (Tuner).

Use this Skill: https://skilld.dev/gh/simota/agent-skills/schema

This session only. Nothing lands on disk.

referencerecipes-index.md

≈525 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Schema Recipe Registry

The full Recipe table for schema. schema/SKILL.md carries only the dispatch allowlist; this file holds what is needed to execute a Recipe — activation condition and the files to read first.

Read this when a subcommand matched and you need its row, or when scanning what Recipes exist at all.


Recipe Subcommand Default? When to Use Read First
Schema Design design ✓ New table or entity design reference/schema-examples.md
Migration Plan migration Schema change and migration design reference/migration-patterns.md
ER Diagram er ER diagram generation and review reference/schema-examples.md
Normalization normalize Normalization vs denormalization decisions —
Index Strategy index Index design and optimization reference/index-strategies.md
Migration Rollback rollback Reverse-operation design for destructive migrations (reverse DDL / dual-write / backfill / alternatives to destructive changes) reference/migration-rollback.md
Multi-Tenant Design tenant Tenant isolation, RLS, routing, migration, provisioning, quota, or cross-tenant security; select `isolation rls
Partitioning partition range / list / hash / time-based partition design (pruning / maintenance / migration) reference/partition-strategies.md
Audit Log audit-log Append-only audit-log schema — temporal tables, logical replication, before/after image, retention reference/audit-log-schema.md
Event Sourcing event-sourcing Event store schema — events / projections / snapshots / outbox, aggregate boundaries reference/event-sourcing-schema.md
Soft Delete soft-delete Logical deletion patterns (deleted_at / status / tombstone) with GDPR right-to-erasure interaction reference/soft-delete-patterns.md

Source: SKILL.md on GitHub

No alerts13d5 checks · Risk SAFE
  • Gen Agent Trust Hub13d

    The skill is a comprehensive database schema specialist that provides guidance on data modeling, migration planning, and multi-tenant architecture. It strictly follows security best practices, including enforcing Row-Level Security (RLS), recommending lock timeouts to prevent database outages, and using the expand-contract pattern for safe migrations. No malicious patterns, obfuscation, or unauthorized network operations were detected.

  • Socket13d

    No alerts

  • Snyk13d

    Risk: LOW · No issues

  • Runlayer6mo

    1/9 files flagged

  • ZeroLeaks5mo

    Score: 93/100 · 2 sections analyzed

Signed by skilld at c805268. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 3 days ago.

Activeupdated 2 weeks ago

README badge

README badge for simota/agent-skills/schema