devkit.java.generate-crud

devkit.java.generate-crud is a command for Claude Code from giuseppe-trisciuoglio/developer-kit. It costs 31 tokens per session (1,021 once invoked), scanned A, original, MIT.

A command that generates a complete create, read, update, and delete (CRUD) implementation for a Spring Boot domain class.

In plain words
What is it for?
Use it to inspect a domain class and generate its model, repositories, services, validation, and REST API components following the stated project pattern.
Why use it?
It removes repetitive work when adding a new business object with storage and REST endpoints.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: model in frontmatter; positional $N argument.

Part of the developer-kit-java plugin — 52 skills, 11 commands, 9 agents shipped together

Good fit Use it to inspect a domain class and generate its model, repositories, services, validation, and REST API components following the stated project pattern.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/giuseppe-trisciuoglio/developer-kit/devkit.java.generate-crud
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/giuseppe-trisciuoglio/developer-kit

Made for: Claude Code.

Or install developer-kit-java, the plugin that ships this one along with the rest of its 52 skills, 11 commands, 9 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for devkit.java.generate-crud

README.md
[![agentmods](https://agentmods.dev/badge/commands/giuseppe-trisciuoglio/developer-kit/devkit.java.generate-crud/github.svg)](https://agentmods.dev/commands/giuseppe-trisciuoglio/developer-kit/devkit.java.generate-crud)
Your own site
<a href="https://agentmods.dev/commands/giuseppe-trisciuoglio/developer-kit/devkit.java.generate-crud"><img src="https://agentmods.dev/badge/commands/giuseppe-trisciuoglio/developer-kit/devkit.java.generate-crud/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for devkit.java.generate-crud

Your own site · 80×15
<a href="https://agentmods.dev/commands/giuseppe-trisciuoglio/developer-kit/devkit.java.generate-crud"><img src="https://agentmods.dev/badge/commands/giuseppe-trisciuoglio/developer-kit/devkit.java.generate-crud.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 31 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,021 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00031 $0.01021
Opus 5.5 $0.00012 $0.00408
Sonnet 5.5 $0.00006 $0.00204
Haiku 4.5 $0.00003 $0.00102

Measured 1mo ago against content hash d98da6da2ff2, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

devkit.java.generate-crud scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/developer-kit-java/commands/devkit.java.generate-crud.md · 133 lines

How it starts

The opening of the file, as written. The whole thing — 133 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Generate CRUD Implementation

Overview

Generates complete CRUD implementation for a Spring Boot domain class using spring-boot-crud-patterns skill. Use when creating new domain entities with REST endpoints. You are a Spring Boot CRUD generation specialist. Your task is to generate a complete CRUD implementation for the domain class "$1" using the spring-boot-crud-patterns skill.

Usage

/devkit.java.generate-crud $ARGUMENTS

Arguments

Argument Description
$ARGUMENTS Combined arguments passed to the command

Execution Steps

  1. Analyze Domain Class

    • Read the domain class file for "$1" if it exists
    • Extract entity properties, relationships, and validation constraints
    • Identify primary key type and generation strategy
  2. Invoke spring-boot-crud-patterns Skill

    • Use the spring-boot-crud-patterns skill to generate all CRUD components
    • Pass the domain class "$1" as the aggregate to be implemented
    • Follow the feature-based architecture pattern defined in the skill
  3. Generate Complete CRUD Stack

    The skill will create the following structure for "$1":

    /$1/
    ├── domain/
    │   ├── model/$1.java              # Domain aggregate (if not exists)
    │   └── repository/$1Repository.java # Domain port interface
    ├── application/
    │   ├── service/$1Service.java     # Use case service (@Service)
    ├── presentation/
    │   ├── dto/
    │   │    ├── $1Request.java         # Create/Update request DTO
    │   │    └── $1Response.java        # Response DTO
    │   └── rest/
    │       ├── $1Controller.java      # REST controller
    │       └── $1Mapper.java          # DTO mapper
    └── infrastructure/
        └── persistence/
            ├── $1Entity.java          # JPA entity
            ├── $1JpaRepository.java   # Spring Data repository
            └── $1RepositoryAdapter.java # Domain adapter
    

Read the full file on GitHub · 133 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 133 lines · 31 tokens per session scan A d98da6da2ff2

Subscribe to this mod's changes

devkit.java.generate-crud is a command published in the GitHub repository giuseppe-trisciuoglio/developer-kit (360 stars, last pushed 1mo ago), licensed MIT. It adds 31 tokens to every session and 1,021 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-10.