Skip to content
Skill

Crud

Scaffolds CRUD endpoints, Zod validation and tests for an entity in your codebase

Crud is an open-source agent skill for developer tools. It is available on Claude Code.

Scripts
None
Platforms
Claude Code
GitHub stars
42
Last commit
License
MIT
Listing updated

Similar skills

About Crud

This skill guides an agent through generating create, read, update and delete functionality for a named entity, such as a database table. It first looks at the existing schema, which may be Prisma, Drizzle or raw SQL, and infers field types and relations. It then produces API endpoints, Zod validation schemas and authorization rules, aiming to match the existing database and code with minimal changes to what is already there.

The workflow continues into test generation, covering unit tests for each endpoint, integration tests and fixtures, followed by a type check, a test run and a build check. The skill lists support for Next.js with Prisma or Drizzle, Express and Hono, and its output layout places schemas under a lib folder, route handlers under an app api folder and tests under a tests folder.

The skill is marked as explicit-only and is meant to be invoked by name rather than loaded automatically. It expects a project with one of the supported frameworks and calls out to sibling skills named impl and verify for implementation and verification steps.

When your agent uses it

Explicit helper for CRUD scaffolding and API endpoint generation. Do NOT load for: UI components, form design, database schema discussion, or general implementation.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 1 file (3 KB) on GitHub on 3 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the claudecode-research-harness-workflow plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add maxwell2732/claudecode-research-harness-workflow
/plugin install claudecode-research-harness-workflow@claudecode-research-harness-workflow

Or copy only this skill to ~/.claude/skills/crud:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/maxwell2732/claudecode-research-harness-workflow.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/crud &&
cp -R "$tmp/skills/crud" ~/.claude/skills/crud &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/crud inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/crud to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/maxwell2732/claudecode-research-harness-workflow.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/crud &&
cp -R "$tmp/skills/crud" ~/.agents/skills/crud &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/crud inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/crud to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/maxwell2732/claudecode-research-harness-workflow.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/crud &&
cp -R "$tmp/skills/crud" ~/.cursor/skills/crud &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/crud inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/maxwell2732/claudecode-research-harness-workflow.git --path skills/crud

Or copy the folder to ~/.gemini/skills/crud yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/crud:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/maxwell2732/claudecode-research-harness-workflow.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/crud &&
cp -R "$tmp/skills/crud" ~/.copilot/skills/crud &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/crud inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/maxwell2732/claudecode-research-harness-workflow.git

Then copy claudecode-research-harness-workflow/skills/crud into your agent's skills folder as crud. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Entity schema detection
Reads an existing Prisma, Drizzle or raw SQL schema to infer field types and relations for the entity.
REST endpoint generation
Creates list, create, read, update and delete route handlers for the entity.
Zod validation schemas
Adds input validation schemas for the entity's create and update operations.
Authorization rule setup
Configures access rules so the generated endpoints respect who can view or edit records.
Pagination and search
Includes listing support with pagination, search and filters in the generated endpoints.
Generated test cases
Produces unit tests per endpoint, integration tests and fixtures for the new entity.

Good for

  • Create CRUD endpoints for a tasks table in a Next.js and Prisma app
  • Add a Zod-validated API for a new entity in an Express project
  • Generate tests for list, create, update and delete routes
  • Scaffold a Hono route set for a new resource with search and pagination

Crud FAQ

Which frameworks does Crud support?

The skill lists Next.js with Prisma, Next.js with Drizzle, Express and Hono, each detected from files such as prisma/schema.prisma, drizzle.config.ts or the package.json dependencies.

When should Crud not be used?

The description says not to load it for UI components, form design, database schema discussion or general implementation work.

Does Crud change my existing code?

It states that it aims to minimize the diff to match existing database and code, and it generates validation, route, and test files under a structured src layout.

Is Crud triggered automatically?

It is marked as user-invocable false with model invocation disabled, so it runs only when explicitly requested.

How do I install Crud in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/crud to use it in all your projects, or to .claude/skills/crud in one project. Or install the claudecode-research-harness-workflow plugin, which includes it: /plugin marketplace add maxwell2732/claudecode-research-harness-workflow, then /plugin install claudecode-research-harness-workflow@claudecode-research-harness-workflow.

Does Crud run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Crud?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

What are the best alternatives to Crud?

The closest alternatives to Crud are Backend patterns, Openapi to application code, JSON schema, Openapi spec generator and API GraphQL GRPC.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from maxwell2732/claudecode-research-harness-workflow

  1. Drives a browser via the agent-browser CLI to open pages, fill forms and capture

    • Open source
    • 42 GitHub stars
    • Browser automation
  2. Guides an agent through adding Clerk, Supabase Auth or Stripe to an app with a security

    • Open source
    • 42 GitHub stars
    • Databases
  3. Triages failing CI pipelines and guides fixes without weakening tests

    • Open source
    • 42 GitHub stars
    • Developer tools
  4. Guides an agent through Vercel or Netlify deployment, analytics and health checks

    • Open source
    • 42 GitHub stars
    • Cloud and infrastructure
  5. Builds a one-page HTML acceptance demo to decide whether to ship, wait or reject

    • Open source
    • 42 GitHub stars
    • Developer tools
  6. Runs a Plans.md task loop that re-enters with fresh context on each wake-up

    • Open source
    • 42 GitHub stars
    • Developer tools