springboot-service-from-template

springboot-service-from-template is a skill for Claude Code from hmcts/agentic-plugins-marketplace. It costs 55 tokens per session (4,100 once invoked), scanned A, original, MIT.

A guide for creating an HMCTS Common Platform API service from the organisation's shared Spring Boot template. Spring Boot is a Java framework for building web services.

In plain words
What is it for?
Starting a new service, loading shared guidance, and setting up its build, container, logging, configuration, and application structure from the canonical template.
Why use it?
It keeps new services aligned with the maintained template instead of copying files that may become outdated, while applying the required project conventions.

Skill for Claude Code

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

Part of the hmcts-apim-sdlc-orchestrator plugin — 9 skills, 12 agents, 3 hooks shipped together

Good fit Starting a new service, loading shared guidance, and setting up its build, container, logging, configuration, and application structure from the canonical template.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hmcts/agentic-plugins-marketplace/springboot-service-from-template
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 hmcts/agentic-plugins-marketplace --skill springboot-service-from-template
Clone the repo
git clone --depth 1 https://github.com/hmcts/agentic-plugins-marketplace

Made for: Claude Code.

Or install hmcts-apim-sdlc-orchestrator, the plugin that ships this one along with the rest of its 9 skills, 12 agents, 3 hooks.

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 springboot-service-from-template

README.md
[![agentmods](https://agentmods.dev/badge/skills/hmcts/agentic-plugins-marketplace/springboot-service-from-template/github.svg)](https://agentmods.dev/skills/hmcts/agentic-plugins-marketplace/springboot-service-from-template)
Your own site
<a href="https://agentmods.dev/skills/hmcts/agentic-plugins-marketplace/springboot-service-from-template"><img src="https://agentmods.dev/badge/skills/hmcts/agentic-plugins-marketplace/springboot-service-from-template/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 springboot-service-from-template

Your own site · 80×15
<a href="https://agentmods.dev/skills/hmcts/agentic-plugins-marketplace/springboot-service-from-template"><img src="https://agentmods.dev/badge/skills/hmcts/agentic-plugins-marketplace/springboot-service-from-template.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,100 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00055 $0.04100
Opus 5 $0.00028 $0.02050
Sonnet 5 $0.00011 $0.00820
Haiku 4.5 $0.00006 $0.00410

Measured 9d ago against content hash 76ed4342a189, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

springboot-service-from-template scanned grade A with 1 finding 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 9d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -i http://localhost:8082/actuator/health/readiness
plugins/agents/hmcts-apim-sdlc-orchestrator/skills/springboot-service-from-template/SKILL.md · 372 lines

How it starts

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

Spring Boot Service from HMCTS Template

This skill does not generate a Spring Boot app from scratch. It guides the team through adopting the HMCTS template so the new service stays aligned with every update that lands in the template over time.

Master source

GitHub: https://github.com/hmcts/service-hmcts-crime-springboot-template

Everything under build.gradle, gradle/, Dockerfile, docker/, src/main/resources/logback.xml, src/main/resources/application.yaml, and .github/workflows/ belongs to the template. This skill must not inline copies of those files — they change, and inline copies rot.

If the template is not already available locally, clone it fresh before running through the steps below:

git clone https://github.com/hmcts/service-hmcts-crime-springboot-template.git

Context to pull in

Before walking a user through this skill, load these context files:

  • context/service-shared.md — Spring Boot layering, controllers/services/clients/mappers conventions.
  • context/azure-sdk-guide.md — Managed Identity, Key Vault, Service Bus.
  • context/logging-standards.md — mandatory JSON logging.
  • context/hmcts-standards.md — Coding in the Open, ADR triggers, data protection.

When to use

  • User says "create a new HMCTS Spring Boot service", "bootstrap a microservice", "spin up a new backend" for the Common Platform.
  • User is about to start a new service-cp-* repo.
  • User has a repo created from the GitHub template and needs to tailor it.

Do not use this skill for

  • API specification repos — use springboot-api-from-template instead.
  • Anything CQRS, RAML, Drools, or WildFly — out of scope for this plugin entirely. Redirect to hmcts-sdlc-orchestrator.

API-first — handled inline in Step 2

Every service-cp-* has a matching api-cp-*, and the API repo comes first. This skill enforces that operationally in Step 2 — it asks for the API repo name, offers to derive it from the service name by convention, checks the repo exists, and if it doesn't, delegates to springboot-api-from-template to create it before the service repo is ever touched.

Read the full file on GitHub · 372 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. 9d ago First seen · 372 lines · 55 tokens per session scan A 76ed4342a189

Subscribe to this mod's changes

springboot-service-from-template is a skill published in the GitHub repository hmcts/agentic-plugins-marketplace (3 stars, last pushed yesterday), licensed MIT. It adds 55 tokens to every session and 4,100 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

wxjava-module-selector

A decision guide for choosing the correct WxJava Maven module, dependency management file, and example for a WeChat use case. WxJava is a Java software development kit for services such as official accounts, mini programs, and payments.

binarywang/WxJava · 86 tokens

wxjava-api-contributor

A contributor guide for adding or maintaining official WeChat API support in WxJava, a Java software development kit. It covers services, request and response data objects, data conversion, HTTP handling, starter configuration, and regression tests.

binarywang/WxJava · 68 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

azure-communication-common-java

Azure Communication Services common utilities for Java. Use when working with CommunicationTokenCredential, user identifiers, token refresh, or shared authentication across ACS services.

microsoft/skills · 35 tokens

azure-communication-sms-java

Send SMS messages with Azure Communication Services SMS Java SDK. Use when implementing SMS notifications, alerts, OTP delivery, bulk messaging, or delivery reports.

microsoft/skills · 36 tokens