codegen — community codegen, controller, community, ide skills, Claude Code, Cursor, Windsurf

v1.0.0
GitHub

About this Skill

Ideal for AI Agents like Claude Code and AutoGPT that require seamless integration with GraphQL APIs for efficient code regeneration and type validation. A self custodial embedded account to seamlessly play onchain games

cartridge-gg cartridge-gg
[0]
[0]
Updated: 3/5/2026

Agent Capability Analysis

The codegen skill by cartridge-gg is an open-source community AI agent skill for Claude Code and other IDE workflows, helping agents execute tasks with better context, repeatability, and domain-specific guidance.

Ideal Agent Persona

Ideal for AI Agents like Claude Code and AutoGPT that require seamless integration with GraphQL APIs for efficient code regeneration and type validation.

Core Value

Empowers agents to regenerate GraphQL types from API schema using `pnpm --filter @cartridge/keychain codegen`, ensuring type safety and compatibility with the latest API changes, including support for GraphQL queries and mutations via TypeScript.

Capabilities Granted for codegen

Regenerating GraphQL types after API schema updates
Validating TypeScript errors in API calls
Ensuring test suite compatibility with updated GraphQL types using `pnpm test`

! Prerequisites & Limits

  • Requires access to the API schema source
  • Dependent on pnpm for package management
  • Limited to GraphQL API schema regeneration
Labs Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

codegen

Install codegen, an AI agent skill for AI agent workflows and automation. Works with Claude Code, Cursor, and Windsurf with one-command setup.

SKILL.md
Readonly

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

Notes

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

FAQ & Installation Steps

These questions and steps mirror the structured data on this page for better search understanding.

? Frequently Asked Questions

What is codegen?

Ideal for AI Agents like Claude Code and AutoGPT that require seamless integration with GraphQL APIs for efficient code regeneration and type validation. A self custodial embedded account to seamlessly play onchain games

How do I install codegen?

Run the command: npx killer-skills add cartridge-gg/controller/codegen. It works with Cursor, Windsurf, VS Code, Claude Code, and 19+ other IDEs.

What are the use cases for codegen?

Key use cases include: Regenerating GraphQL types after API schema updates, Validating TypeScript errors in API calls, Ensuring test suite compatibility with updated GraphQL types using `pnpm test`.

Which IDEs are compatible with codegen?

This skill is compatible with Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer. Use the Killer-Skills CLI for universal one-command installation.

Are there any limitations for codegen?

Requires access to the API schema source. Dependent on pnpm for package management. Limited to GraphQL API schema regeneration.

How To Install

  1. 1. Open your terminal

    Open the terminal or command line in your project directory.

  2. 2. Run the install command

    Run: npx killer-skills add cartridge-gg/controller/codegen. The CLI will automatically detect your IDE or AI agent and configure the skill.

  3. 3. Start using the skill

    The skill is now active. Your AI agent can use codegen immediately in the current project.

Related Skills

Looking for an alternative to codegen or another community skill for your workflow? Explore these related open-source skills.

View All

widget-generator

Logo of f
f

f.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community. Free and open source — self-host for your organization with complete privacy.

149.6k
0
AI

flags

Logo of vercel
vercel

flags is a Next.js feature management skill that enables developers to efficiently add or modify framework feature flags, streamlining React application development.

138.4k
0
Browser

zustand

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
AI

data-fetching

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
AI