Skill / SKILL.md

Factory Api

nonlinear-xyz/factory-kit

API conventions for both server actions and tRPC builds. Covers the decision between them, per-mutation Zod input schemas, central router composition, pagination shape, multi-field search via Drizzle `ilike` + `or()`, mutation lifecycle hooks, conditional query enabling, stale-time defaults, error response shape and custom error class taxonomy, mutation-boundary audit logging, fetch adapter for tRPC routes. Read when designing or implementing any data-mutation endpoint.
3 views 10 repository stars 0 commentsUpdated Nov 28, 2026
Overview

API conventions for both server actions and tRPC builds. Covers the decision between them, per-mutation Zod input schemas, central router composition, pagination shape, multi-field search via Drizzle `ilike` + `or()`, mutation lifecycle hooks, conditional query enabling, stale-time defaults, error response shape and custom error class taxonomy, mutation-boundary audit logging, fetch adapter for tRPC routes. Read when designing or implementing any data-mutation endpoint.

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-api directory with your client’s skill installer.

Source directory skills/factory-api

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

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

Please log in to comment

    No comments yet

Related skills