constructive-ioconstructive-ioOfficialยท13 Agent Skills Included

constructive

PostgreSQL migrations, package management, and auto-generated GraphQL APIs

Manages PostgreSQL schemas as versioned, installable packages with deterministic deploy, verify, and revert migrations. Generates secure, role-aware GraphQL APIs, typed ORM clients, React Query hooks, and CLI commands directly from the database schema. Eliminates hand-written API layers, manual migration tracking, and brittle test setup with isolated database testing and RLS auditing.
npx skills add constructive-io/constructive --all -g -y
Available:

Guides the agent through the monorepo layout, routing database tasks to the pgpm migration skills and GraphQL tasks to the server, codegen, and testing skills with the correct commands and conventions.

All Skills in This Repository (13)

Pure Emerald Level Indicators
๐Ÿ“ฆ In Repo
constructive-ioconstructive-io

constructive-cli

Develop interactive Node.js command-line interfaces with prompts and argument parsing.

Official
Intermediate
๐Ÿ“ฆ In Repo
constructive-ioconstructive-io

orm-objects

Provides a type-safe ORM client for CRUD and custom queries on PostgreSQL.

Official
Intermediate
๐Ÿ“ฆ In Repo
constructive-ioconstructive-io

orm-public

Perform type-safe CRUD operations on 103 PostgreSQL tables via GraphQL.

Official
Intermediate
๐Ÿ“ฆ In Repo
constructive-ioconstructive-io

cli-public

Manage public GraphQL API data via the csdk command-line interface.

Official
Intermediate
๐Ÿ“ฆ In Repo
constructive-ioconstructive-io

hooks-public

Generate typed React Query hooks for PostgreSQL public schema tables and functions.

Official
Intermediate
๐Ÿ“ฆ In Repo
constructive-ioconstructive-io

orm-auth

Provide type-safe CRUD and custom operations for PostgreSQL authentication tables.

Official
Intermediate
๐Ÿ“ฆ In Repo
constructive-ioconstructive-io

hooks-auth

Generate typed React Query hooks for authentication and user management APIs.

Official
Intermediate
๐Ÿ“ฆ In Repo
constructive-ioconstructive-io

orm-admin

...

Official
Intermediate
๐Ÿ“ฆ In Repo
constructive-ioconstructive-io

hooks-admin

Generates typed React Query hooks for GraphQL admin APIs using PostGraphile schema introspection.

Official
Intermediate
๐Ÿ“ฆ In Repo
constructive-ioconstructive-io

cli-objects

Manage database objects, commits, references, and stores via a GraphQL CLI.

Official
Intermediate
๐Ÿ“ฆ In Repo
constructive-ioconstructive-io

cli-auth

Manage GraphQL authentication API contexts, tokens, and CRUD operations via CLI.

Official
Intermediate
๐Ÿ“ฆ In Repo
constructive-ioconstructive-io

hooks-objects

Generate typed React Query hooks for PostgreSQL objects API operations.

Official
Intermediate

Frequently Asked Questions

FAQPage Schema
How to install Constructive?โ–ผ

Run `npx skills add constructive-io/constructive --all -g -y` in your terminal to install all skills in this suite globally.

What does Constructive do with PostgreSQL?โ–ผ

It treats your database schema as versioned packages managed by pgpm, with plan-driven migrations, dependency resolution, and one-command deploy, verify, and revert.

How does Constructive generate a GraphQL API?โ–ผ

It uses PostGraphile to automatically expose your PostgreSQL schema as a secure GraphQL API with row-level security, JWT auth, search, and PostGIS support.

Can Constructive generate typed clients and CLIs?โ–ผ

Yes. The codegen pipeline produces type-safe ORM clients, React Query hooks, and full CRUD command-line tools directly from your GraphQL schema.

How do I test database code with Constructive?โ–ผ

The pgsql-test framework creates isolated test databases with per-test transaction rollback, JWT context simulation, and seeding helpers for reliable RLS and migration testing.

Related Repositories in Software Engineering

View All in Software Engineeringโ†’