Skill / SKILL.md

Factory Data Layer

nonlinear-xyz/factory-kit

Database schema, ORM, and migration conventions across builds. Drizzle as default with domain-partitioned schema modules, shared `timestamps` helper, multi-tenancy keys with cascade delete, `pgTableCreator` prefixing, JSONB for flexible attributes, schema-derived type exports, polymorphic table patterns, ESLint Drizzle rules. Covers when to escape to raw SQL or Supabase auto-types.
1 views 10 repository starsUpdated Nov 28, 2026
Overview

Database schema, ORM, and migration conventions across builds. Drizzle as default with domain-partitioned schema modules, shared `timestamps` helper, multi-tenancy keys with cascade delete, `pgTableCreator` prefixing, JSONB for flexible attributes, schema-derived type exports, polymorphic table patterns, ESLint Drizzle rules. Covers when to escape to raw SQL or Supabase auto-types.

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/nonlinear-xyz/factory-kit' skill-source

Use the complete skill-source/skills/factory-data-layer directory with your client’s skill installer.

  • skills/factory-data-layer

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory skills/factory-data-layer

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Included files
Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
ae510c3b77c375268fd83d7d14ce5c10705791963c926e72cec9365bc3a7eda8
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills