Index of every page on this site: llms.txt
All skills
roby2358 avatar

/java-spring-boot-coldstart

@956ee23
by roby2358roby2358/skills5 stars
Run it yourself

Bootstrap and build Java 21 Spring Boot 3 services for a team with mixed Java experience. Covers REST APIs, SQS messaging via Spring Cloud AWS, Spring Security 6 (JWT resource server), and JUnit 5 + Mockito testing. Maven, no Lombok. Use when creating a new Spring Boot project, adding REST endpoints/SQS listeners/security config, or writing tests against Spring components.

Use this Skill: https://skilld.dev/gh/roby2358/skills/java-spring-boot-coldstart

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈101 tokens for metadata: the name and description. ≈591 when used: this file. ≈5.4k more on demand in 5 files.

Description uses 5.1% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈404 characters, or 5.1%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

Java Spring Boot

Java 21, Spring Boot 3.x, Maven, JUnit 5 + Mockito, no Lombok.

When the user wants a new project

Run the bootstrap script. It calls Spring Initializr with the team's defaults baked in (Java 21, Maven, Boot 3.3.5, web + validation + security + oauth2-resource-server + actuator + configuration-processor + testcontainers).

scripts/new_project.sh <artifact-id> [group-id] [output-dir]

After it runs, follow up with whatever the project actually needs:

  • SQS — add spring-cloud-aws-starter-sqs and BOM (sqs.md). Initializr does not include this.
  • Persistence — add spring-boot-starter-data-jpa + a driver. (Not covered in detail by this skill — ask the user about their DB choice.)
  • Lombok — don't, see conventions.md. Plant the seed; don't fight a lost battle.

When the user wants to add/modify code in an existing project

Read the relevant reference file before writing code. Each one is short and focused:

What you're working on Read
REST controllers, DTOs, validation, error handling rest.md
SQS producers, listeners, DLQs, LocalStack sqs.md
Auth filter chain, JWT, scopes, method security, CORS security.md
JUnit 5, Mockito, MockMvc, slice tests, Testcontainers testing.md
Project layout, DI, records, config props, Java 21 features conventions.md

If a task spans multiple areas (e.g. "add a secured endpoint that publishes to SQS") read each relevant file — don't try to remember.

Audience

This skill is for a team with mixed Java experience. When explaining choices, briefly say why — especially when the modern Spring Boot 3 / Java 21 idiom diverges from older patterns the team may remember (WebSecurityConfigurerAdapter, javax.*, field injection, manual constructors instead of records). The reference files do this; carry the same tone into the code you write.

Non-goals

  • Reactive (WebFlux) — out of scope. Use Spring MVC.
  • Kotlin — out of scope. Java only.
  • Microservice patterns (service discovery, config server, gateway) — not covered. Add explicitly when needed.

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts6mo3 checks · Risk SAFE
  • Gen Agent Trust Hub6mo

    This skill provides a set of templates and instructions for bootstrapping and developing Java Spring Boot 3 applications. It uses official and well-known resources, follow industry best practices for security and configuration, and contains no malicious patterns.

  • Socket6mo

    No alerts

  • Snyk6mo

    Risk: LOW · No issues

Signed by skilld at 956ee23. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub last week.

Activeupdated 7 months ago

README badge

README badge for roby2358/skills/java-spring-boot-coldstart