What problem does it solve?
This Skill generates a complete database design from project specifications and writes the results to the .spec directory without calling Notion API, enabling offline storage and version control.
Core Features & Use Cases
- Spec-driven design: reads .spec/{slug}/spec.md (or README.md when spec.md is absent) to produce DB schema and SQL artifacts.
- Artifact generation: creates .spec/{slug}/db.md with the design and .spec/{slug}/db.sql containing CREATE TABLE, INDEX, sample data, and rollback statements.
- Status update: updates the README.md with the status "DB 設計" to reflect completion.
- Use Case: for a new feature, it designs the database schema and generates SQL ready for review and deployment, all without external API calls.
Quick Start
Provide a complete database design by reading the spec and writing .spec/{slug}/db.md and .spec/{slug}/db.sql without calling Notion.