constructive-graphql-query

Installation
SKILL.md

@constructive-io/graphql-query

Browser-safe runtime GraphQL query generation for PostGraphile schemas. Generate type-safe queries, mutations, and introspection pipelines at runtime or build time.

When to Apply

Use this skill when:

  • Generating GraphQL queries/mutations dynamically at runtime (e.g., in the browser)
  • Working with PostGraphile's _meta introspection endpoint
  • Building a dynamic data layer where the schema is not known ahead of time
  • Using the Dashboard's spreadsheet/data features
  • Replacing hand-written GraphQL with generated queries
  • Needing browser-safe query generation (no Node.js APIs)

Important: For build-time code generation (writing .ts files to disk, generating React Query hooks, ORM, CLI), use the constructive-graphql-codegen skill instead. This package (graphql-query) is the core that graphql-codegen depends on.


1. Two Introspection Paths

Related skills

More from constructive-io/constructive-skills

Installs
5
First Seen
Mar 5, 2026