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
_metaintrospection 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.