agentleFS
rrezartprebrezarrezartprebreza/spring-boot-skills/skills/spring-boot-3/spring-boot-scaffolding/SKILL.md

spring-boot-scaffolding

Skill369 starsChanged 4 months agoMITView on GitHub

Use when creating a new Spring Boot application with a verified build, tests and minimal CI. Select compatible Spring Initializr metadata and the requested build tool; not for migrating or overwriting an existing application.

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

11 rules. About 0 are common, 9 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈9

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  • could be automatic: a setting could enforce it
  1. Distinctive:

    Create a minimal application for the requested use case, not a fixed enterprise stack.

    line 9
  2. Distinctive:

    Read the generation procedure before fetching or extracting an archive.

    line 19
  3. Distinctive:

    Do not substitute Boot 4 when the public Initializr no longer advertises the requested Boot 3 version.

    line 26
  4. Distinctive:

    Keep Framework 6/Jackson 2 and Boot 3 test dependency conventions.

    line 29
  5. Very specific:

    Never select an RC, milestone or snapshot unless explicitly requested.

    line 31
  6. Distinctive:

    Check the effective build, including the JVM actually running the wrapper, before compiling.

    line 33
  7. Distinctive:

    Keep the Initializr wrapper, dependency management and source layout.

    line 37
  8. Very specific:

    If no business feature was requested, keep the generated application and context test.

    line 39
  9. Distinctive:

    Add a minimal CI job matching the verified local command/JDK and required disposable services.

    line 43
  10. Distinctive:

    Run the wrapper build including the configured test lifecycle, then a bounded local startup check if feasible.

    line 51
  11. Distinctive:

    Use the project's test policy.

    line 55

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Spring Boot 3 Scaffolding

Create a minimal application for the requested use case, not a fixed enterprise stack. Target Boot 3; never silently switch major versions because a template is easier to obtain.

Establish the generation contract

Confirm a new destination, project coordinates/package, Java level, Maven or Gradle and required capabilities. Ask only for missing consequential choices. Preserve the requested database, servlet/reactive stack, language and response contract. Do not add JPA, Redis, Lombok, JWT issuance, AI providers or telemetry services without a requirement.

Read the generation procedure before fetching or extracting an archive. Record the approved provider, metadata timestamp and exact requested inputs. A request to generate does not authorize publishing project details to an arbitrary provider.

Version-specific checks

Select an advertised stable Boot 3 release and compatible Java/build-tool options. Do not substitute Boot 4 when the public Initializr no longer advertises the requested Boot 3 version. Offer an approved provider or a version-pinned manual build, clearly labeled as an alternate path; do not downgrade a Boot 4 archive by merely changing its parent. Keep Framework 6/Jackson 2 and Boot 3 test dependency conventions.

Never select an RC, milestone or snapshot unless explicitly requested. Version identifiers must come from metadata; do not assume stable releases end with .RELEASE. Check the effective build, including the JVM actually running the wrapper, before compiling.

Build the smallest complete slice

Keep the Initializr wrapper, dependency management and source layout. Add one requested feature slice with explicit validation, error behavior and a test for success and failure. If no business feature was requested, keep the generated application and context test; do not invent Order/User/payment entities. Add service credentials only as runtime inputs, with disposable local test dependencies and no production defaults.

Add a minimal CI job matching the verified local command/JDK and required disposable services. Use the repository's approved action versions and least privileges. Do not create a deployment job, publish artifacts, install global tools or configure external accounts. For local agent guidance, document real commands and constraints in AGENTS.md; Claude guidance may point to that shared file. Do not invent tool permissions or install other clients.

Verify and report

Run the wrapper build including the configured test lifecycle, then a bounded local startup check if feasible. Bind only to loopback, select an unused port and clean up only processes you start. Verify an actual response/readiness signal, not merely process creation. Report files created, exact versions, command results and missing prerequisites. Use the project's test policy; do not add arbitrary coverage thresholds.

Good plan and bad plan illustrate scope. This workflow is guidance, not a bundled generator or a guarantee that remote generation will remain available.

Official sources

Gotchas

  • Agent extracts into an existing checkout - use a new staging directory and refuse destination collisions.
  • Agent hard-codes a stale Initializr version - inspect advertised capabilities and report unavailable versions.
  • Agent generates both build tools or both web stacks - preserve the user's selected architecture.
  • Agent declares completion after downloading a ZIP - verify the generated build, tests and startup separately.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.