spring

spring is a skill for Claude Code from arbazkhan971/godmode. It costs 24 tokens per session (1,499 once invoked), scanned A, original, MIT.

A guide to Spring Boot, a Java and Kotlin framework for building web services and backend applications. It covers configuration, security, databases, health checks, and tests.

In plain words
What is it for?
Use it to build or review Spring Boot REST APIs, database-backed services, secured applications, and tests using containers.
Why use it?
It helps select the right Spring modules and make important choices about authentication, data access, migrations, and service health.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the godmode plugin — 132 skills, 1 command, 7 agents, 3 MCP servers shipped together

Good fit Use it to build or review Spring Boot REST APIs, database-backed services, secured applications, and tests using containers.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/arbazkhan971/godmode/spring
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.

Any agent
npx skills add arbazkhan971/godmode --skill spring
Clone the repo
git clone --depth 1 https://github.com/arbazkhan971/godmode

Made for: Claude Code.

Or install godmode, the plugin that ships this one along with the rest of its 132 skills, 1 command, 7 agents, 3 MCP servers.

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 spring

README.md
[![agentmods](https://agentmods.dev/badge/skills/arbazkhan971/godmode/spring.svg)](https://agentmods.dev/skills/arbazkhan971/godmode/spring)
Your own site
<a href="https://agentmods.dev/skills/arbazkhan971/godmode/spring"><img src="https://agentmods.dev/badge/skills/arbazkhan971/godmode/spring.svg" alt="Measured on agentmods" height="20"></a>
Per session 24 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,499 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.00024 $0.01499
Opus 5 $0.00012 $0.00749
Sonnet 5 $0.00005 $0.00300
Haiku 4.5 $0.00002 $0.00150

Measured 4d ago against content hash 02cc7f0fe791, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

spring 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 4d 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.

skills/spring/SKILL.md · 204 lines

How it starts

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

Spring -- Spring Boot Mastery

Activate When

  • /godmode:spring, "spring boot", "spring security"
  • "spring data", "spring cloud", "actuator"
  • Java/Kotlin backend work using Spring framework

Workflow

Step 1: Project Assessment

Spring Boot version: <3.3.x>
Language: Java <version> | Kotlin <version>
Build tool: Maven | Gradle (Kotlin DSL preferred)
Architecture: Monolith | Modular | Microservices
Database: PostgreSQL | MySQL | MongoDB | Redis
Auth: JWT | OAuth2 | OIDC | Session | API key

Starter selection based on requirements:

spring-boot-starter-web        REST API + Tomcat
spring-boot-starter-data-jpa   JPA + Hibernate
spring-boot-starter-security   Auth & authorization
spring-boot-starter-actuator   Health + metrics
spring-boot-starter-validation Bean validation
spring-boot-starter-cache      Caching abstraction
# Verify Spring Boot version
./gradlew dependencyInsight --dependency spring-boot
# Or Maven
./mvnw dependency:tree | grep spring-boot

Step 2: Auto-Configuration

spring:
  jpa:
    open-in-view: false        # ALWAYS disable OSIV
    hibernate.ddl-auto: validate # Flyway manages DDL
  lifecycle:
    timeout-per-shutdown-phase: 30s # graceful shutdown
IF open-in-view is true: disable immediately
  (hides N+1 queries behind lazy loading)
IF ddl-auto is create/update: switch to validate
  (Flyway/Liquibase for migrations)
WHEN deploying to K8s: enable graceful shutdown
  AND configure liveness/readiness probes

Step 3: Spring Security

SecurityFilterChain with lambda DSL:
  .csrf(csrf -> csrf.disable())  # stateless API
  .cors(withDefaults())
  .sessionManagement(STATELESS)
  .authorizeHttpRequests(auth -> auth
    .requestMatchers("/api/public/**").permitAll()
    .anyRequest().denyAll())  # deny by default

Rules:

  • NEVER use deprecated WebSecurityConfigurerAdapter
  • ALWAYS deny by default, explicitly permit
  • BCrypt strength 12 for passwords
  • Use @EnableMethodSecurity (not Global)

Read the full file on GitHub · 204 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. 4d ago First seen · 204 lines · 24 tokens per session scan A 02cc7f0fe791

Subscribe to this mod's changes

spring is a skill published in the GitHub repository arbazkhan971/godmode (26 stars, last pushed 9d ago), licensed MIT. It adds 24 tokens to every session and 1,499 once invoked, about $0.0001 per session on Opus 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-03.

Related

Other skills, from other repositories

java-patterns

Java: Spring Boot, CompletableFuture, records, sealed types, JPA/Hibernate, virtual threads. Triggers: Java, Spring, JPA, Hibernate, Maven, Gradle, virtual thread, sealed class.

softspark/ai-toolkit · 48 tokens

java-coding-standards

Java coding standards for Spring Boot and Quarkus services: naming, immutability, Optional usage, streams, exceptions, generics, CDI, reactive patterns, and project layout. Automatically applies framework-specific conventions.

gabrielrovesti/ai-agent-skills · 50 tokens

springboot-patterns

Spring Boot architecture patterns, REST API design, layered services, data access, caching, async processing, and logging. Use for Java Spring Boot backend work.

gabrielrovesti/ai-agent-skills · 36 tokens

java-backend-workflow

General workflow for Java backend tasks in Spring Boot or similar services. Use when diagnosing behavior, implementing a change, tracing a runtime flow, or reviewing a backend fix where correctness, minimal diffs, callers, SQL touchpoints, and targeted verification matter more than broad redesign.

gabrielrovesti/ai-agent-skills · 60 tokens

azure-communication-callautomation-java

Build call automation workflows with Azure Communication Services Call Automation Java SDK. Use when implementing IVR systems, call routing, call recording, DTMF recognition, text-to-speech, or AI-powered call flows.

microsoft/skills · 49 tokens

azure-communication-chat-java

Build real-time chat applications with Azure Communication Services Chat Java SDK. Use when implementing chat threads, messaging, participants, read receipts, typing notifications, or real-time chat features.

microsoft/skills · 41 tokens