constructive-codegen

Installation
SKILL.md

Constructive Codegen

Generate typed artifacts from a known GraphQL schema for custom domain code. Codegen is an opt-in compile-time tool. Console Kit discovers tenant capabilities at runtime, standalone Data introspects through Sheets, and the other standalone feature packs consume host-injected contracts; none require generated SDK aliases or sidecars.

When to Apply

Use this skill when:

  • A stable custom-domain schema benefits from compile-time model and operation types.
  • Generating a server-side ORM client or a fixed-endpoint React Query layer.
  • Exporting deterministic GraphQL SDL for builds or distribution.
  • Generating a CLI or documentation from a known schema.
  • Configuring @constructive-io/graphql-codegen or cnc codegen directly.

Do not activate codegen merely because an app uses Constructive Blocks. For feature packs, Console Kit, generic tenant exploration, and _meta-driven CRUD, use constructive-blocks and constructive-frontend.

Decision Rule

Installs
3
First Seen
Jun 19, 2026
constructive-codegen — constructive-io/constructive-skills