/garage:data-designfrom garage
Designs polyglot data layers across PostgreSQL, MongoDB, Elasticsearch, and Typesense. Maps entities to stores, designs schemas, indexes, query patterns, and cross-store consistency.
Ships in garage. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Delegation, model labels, and task tracking below use Claude Code notation. In Codex or another client, follow
../../references/cross-client.md.
Designs the data layer for a feature: which store owns each entity, schemas, indexes, query
patterns, and cross-store consistency. Search mappings, analyzers, and relevance are search-design;
concrete changesets are db-migration; multi-deploy rollout of a schema change is migration-plan.
design-doc or prd).opus for PostgreSQL, sonnet for the others) only when
three or more stores each need substantial design; never fan out by default.db-migration: id BIGINT PRIMARY KEY holding an application-generated TSID;
entities exposed outside the service add public_id UUID NOT NULL UNIQUE holding a UUIDv7. Never a
UUID primary key, never SERIAL or IDENTITY, and the TSID never leaves the service.NUMERIC with scale from the currency or asset contract; instants TIMESTAMPTZ;
closed enums TEXT plus CHECK.EXPLAIN (ANALYZE, BUFFERS) on realistic volume for queries on large or hot tables.db-migration),
and the tenant set per transaction with SET LOCAL.validationAction: "error" in production).$match and $project early; heavy $lookup use signals a modeling problem.invalidate events.Decimal128, never double.Here decide only what is indexed, from which source, and the acceptable lag. Mappings, analyzers,
autocomplete, facets, and relevance belong to search-design.
design-doc or api-design; feeds spec-to-impl, migration-plan, verify-impl.search-design owns search-engine internals; db-migration writes the changesets.produces:
- type: data-design
format: markdown
path: "claudedocs/<feature>-data-design.md"
sections: [entity_store_map, schemas, indexes, migrations, query_patterns, sync_strategy]
handoff: "Write claudedocs/handoff-data-design-<timestamp>.yaml - suggest: spec-to-impl, migration-plan"
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub omexit/claude-skills-pack --plugin garage48 skills in this plugin
/adrUse when the user wants to record an architecture decision, write an ADR or decision record, or explain why a technology, data model, boundary, or pattern was chosen over alternatives./api-designUse when the user is designing, reviewing, or changing an API contract (REST, GraphQL, or RPC): endpoint shape, naming, errors, versioning, pagination, or developer experience, before or apart from implementing it./api-firstUse when the user wants to scaffold or implement a REST endpoint or resource in a Spring Boot project, especially from an OpenAPI snippet or spec: create endpoint, add API, add CRUD, generate controller, or implement POST/GET/PUT/PATCH/DELETE on a resource.Other plugins' skills for the same job