Audit and improve web accessibility following WCAG 2.1 guidelines. Use when asked to "improve accessibility", "a11y audit", "WCAG compliance", "screen reader support", "keyboard navigation", or "make accessible".
日本語の概要は準備中です。原文の説明を表示しています。
Design database schemas with normalization, relationships, and constraints. Use when creating new database schemas, designing tables, or planning data models for any database paradigm.
インストールする前に、エージェントに与えられる指示の中身を確認できます。
Design scalable, well-structured database schemas with proper relationships, constraints, and data types. This skill covers universal data modeling principles. For paradigm-specific patterns, see references.
After reading the methodology below, read the reference matching your surface's Databases column in the surface stack map (.claude/instructions/tech-stack.md):
| Paradigm | Reference | Example Stores |
|---|---|---|
| Relational | references/relational.md | PostgreSQL, MySQL, SQLite |
| Document | references/document.md | MongoDB, Firestore, CouchDB |
| Graph | references/graph.md | SurrealDB, Neo4j, ArangoDB |
| Key-Value | references/key-value.md | Redis, DynamoDB, Memcached |
Start with the domain:
Normalization reduces data duplication at the cost of join complexity:
Denormalization trades storage for read performance:
Decision framework:
| Pattern | Relational | Document | Graph |
|---|---|---|---|
| One-to-One | Foreign key with UNIQUE | Embed subdocument | Edge with cardinality constraint |
| One-to-Many | Foreign key on child | Embed array OR reference | Edge from parent to children |
| Many-to-Many | Junction/join table | Array of references on both sides | Direct edges |
| Hierarchical | Self-referencing FK | Nested documents | Recursive graph traversal |
Schema design is driven by how data is queried, not just how it's structured:
Every schema must enforce:
| Strategy | When to Use |
|---|---|
| UUID v4 | Default choice. No ordering, globally unique, no collision |
| UUID v7 | When you need time-sortable UUIDs (better index performance) |
| Auto-increment | Simple cases, single-database, non-distributed |
| ULID | Time-sortable, lexicographically sortable, URL-safe |
| Natural key | When domain provides a unique identifier (ISBN, SSN) — use with caution |
❌ Don't skip normalization for convenience ❌ Don't use unbounded text types for all string fields ❌ Don't forget referential integrity constraints ❌ Don't use mutable natural keys as primary keys ❌ Don't store computed values without a cache invalidation strategy ❌ Don't design schema without knowing query patterns
✅ DO use UUIDs or equivalent for primary keys ✅ DO normalize data unless you have a measured performance reason not to ✅ DO add validation constraints at the schema level ✅ DO index foreign keys and common query fields ✅ DO use timestamps for audit trails
This interview runs during /create-prd-stack Sub-steps A–E. It maps every feature to its query types, then selects the right store for each query type.
Walk through every major feature in ideation-index.md and ask: "What does this feature need to find, store, relate, and rank/search?"
Build the following table:
| Feature | Find | Store | Relate | Rank/Search |
|---|---|---|---|---|
| (from ideation-index.md) | … | … | … | … |
Present and confirm the table with the user before proceeding to Sub-step B.
Before presenting any store options, read .claude/skills/find-skills/SKILL.md and run npx skills find [query type or store name] for each query type that appeared in the table.
If the registry returns a skill, install it first. The bundled skill library is a fallback only.
Present store options only for query types that appeared in the table:
DATABASE_VECTOR if no Rank/Search requirement appeared.DATABASE_GRAPH if no Relate requirement appeared.Use constraint-first per-axis flow: constraint questions → filter → present → confirm.
For each confirmed store, fire bootstrap with its specific sub-key:
DATABASE_PRIMARY=PostgreSQL, DATABASE_VECTOR=QdrantAfter all stores are confirmed, write to .memory/wiki/specs/architecture-draft.md as a locked section titled ## Persistence Map.
Must include:
This protocol runs for every entity that spans more than one store.
For each cross-store entity, answer the following in order:
Canonical ID — Single identifier tying representations together. Must be the primary store's UUID stored as a property in every other store — never the graph store's or vector store's internal ID.
Creation sequence — Which store is written first. Recovery mechanism for partial write failures (Saga pattern, compensating transaction, or async retry queue — name which).
Deletion cascade — Cleanup order, mechanism (application-layer sequential deletes, DB-level triggers, or background job — name which).
Read strategy — Whether a read requires data from multiple stores. Name the application-layer join pattern explicitly.
Read all database skills listed in the Databases column of the surface stack map (.claude/instructions/tech-stack.md) for advice on each store's transaction semantics and consistency guarantees before completing this step.
Write the completed cross-store consistency table to architecture-draft.md as part of the ## Data Strategy section.
まだレビューはありません。使ってみた感想をお寄せください。
概要と使いどころ
Audit and improve web accessibility following WCAG 2.1 guidelines. Use when asked to "improve accessibility", "a11y audit", "WCAG compliance", "screen reader support", "keyboard navigation", or "make accessible".
日本語の概要は準備中です。原文の説明を表示しています。
Structured methodology for adversarial thinking — generating attack scenarios, abuse cases, race conditions, and security edge cases against specs and implementations. Produces spec-level gap items, not code-level fixes.
日本語の概要は準備中です。原文の説明を表示しています。
Orchestrate multiple Antigravity skills through guided workflows for SaaS MVP delivery, security audits, AI agent builds, and browser QA.
日本語の概要は準備中です。原文の説明を表示しています。
Master REST and GraphQL API design principles to build intuitive, scalable, and maintainable APIs that delight developers. Use when designing new APIs, reviewing API specifications, or establishing API design standards.
日本語の概要は準備中です。原文の説明を表示しています。
Manage API versioning and evolution with URL/header/query strategies, deprecation workflows, breaking change classification, sunset headers, and consumer-driven contract testing. Use when designing versioning strategy, deprecating endpoints, or evolving API contracts.
日本語の概要は準備中です。原文の説明を表示しています。
Analyzes codebase structure, data flow, module relationships, and key patterns to generate and maintain a living architecture document (ARCHITECTURE.md).
日本語の概要は準備中です。原文の説明を表示しています。