Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
cartridge-gg avatar

Codegen

  • 39 installs
  • 80 repo stars
  • Updated July 29, 2026
  • cartridge-gg/controller

Regenerate GraphQL TypeScript types from the Cartridge API schema when queries or the schema change.

About

Regenerates GraphQL TypeScript types from the Cartridge API schema in the keychain package. A developer uses it after the API schema changes or GraphQL queries are added or modified.

  • Regenerates GraphQL types from the Cartridge API schema
  • Runs pnpm keychain codegen and verifies generated graphql.ts

Codegen by the numbers

  • 39 all-time installs (skills.sh)
  • Ranked #1,152 of 2,719 Automation & Workflows skills by installs in the Skillselion catalog
  • Data as of Jul 30, 2026 (Skillselion catalog sync)
npx skills add https://github.com/cartridge-gg/controller --skill codegen

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs39
repo stars80
Last updatedJuly 29, 2026
Repositorycartridge-gg/controller

What it does

Regenerate GraphQL TypeScript types from the Cartridge API schema when queries or the schema change.

Files

SKILL.mdMarkdownGitHub ↗

GraphQL Codegen Skill

Regenerate GraphQL types from API schema.

Usage

Run when:

  • API schema has changed
  • GraphQL queries/mutations added or modified
  • Type errors in API calls

Steps

1. Run pnpm --filter @cartridge/keychain codegen 2. Verify generated types in packages/keychain/src/utils/api/graphql.ts 3. Check for any TypeScript errors in files using the API 4. Run pnpm test to ensure tests still pass

Configuration

  • Schema source: https://api.cartridge.gg/query
  • Config: packages/keychain/src/utils/api/codegen.yaml
  • Auto-runs during build process

Notes

  • Codegen is also triggered automatically during pnpm build
  • Generated files should not be manually edited
  • Commit generated changes with schema updates

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.