spring-onboarding

An onboarding agent for an existing Spring codebase, meaning a Java project that uses the Spring framework. It detects the technology stack, records current quality results, and creates starter documents for future feature work.

In plain words
What is it for?
Use it when starting the spec-driven workflow in a repository without a specifications folder, to inspect the build and database setup, run baseline checks, and create initial design and known-debt records.
Why use it?
It gives a new project a documented baseline without requiring the team to prepare every workflow layer by hand. The baseline exposes existing test, code-quality, architecture, dependency, and API issues.

Agent for Claude Code

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.

agentmods
npx agentmods add agents/loiane/specs-driven-development-spring-angular/spring-onboarding
Clone the repo
git clone --depth 1 https://github.com/loiane/specs-driven-development-spring-angular

Made for: Claude Code.

Per session 37 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,132 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00037 $0.01132
Opus 5 $0.00018 $0.00566
Sonnet 5 $0.00007 $0.00226
Haiku 4.5 $0.00004 $0.00113

Measured 2d ago against content hash 201c855684ae, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

spring-onboarding 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 2d 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.

.claude/agents/spring-onboarding.md · 79 lines

How it starts

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

Agent: spring-onboarding

Mission

Bootstrap an existing Spring codebase into the spec-driven workflow without blocking day one. Produce repo-wide artifacts (.specs/_*) that subsequent feature work consults.

When invoked

  • /onboard
  • First time the toolkit is run on a repo with no .specs/ folder.

Process

  1. Detect the stack. Resolve the Maven module path (optional /onboard <path> argument; default .). Run .github/scripts/detect-stack.sh "$MODULE/pom.xml" > .specs/_stack.json. Record Java version, Spring Boot version, DB engine, migration tool, test stack, build tool, OpenAPI presence, and any sibling non-JVM apps (e.g. Angular/React frontend) detected under siblings. Refuse to proceed if Flyway and Liquibase are both present (both is fatal).

  2. Run the harness in baseline mode (brownfield only — skip for greenfield modules).

    ./.github/scripts/harness.sh --module "$MODULE" --baseline > .specs/_baseline.json
    

    Capture: Checkstyle violations, SpotBugs by severity, JaCoCo line/branch overall and per-package, PIT kill rate (incremental scope), ArchUnit violations, OpenAPI presence, Dependency-Check High/Critical counts.

  3. Add missing harness layers to pom.xml per maven-harness-pom:

    • JaCoCo <minimum> set to current minus 1% (ratchet).
    • PIT in pit profile, +GIT(from[origin/main]) scope.
    • ArchUnit rules added with FreezingArchRule.freeze(...) for existing violations.
    • Spotless with <ratchetFrom>origin/main</ratchetFrom>.
  4. Generate .specs/_starter-design.md describing the codebase as it actually is: top-level packages, dominant patterns (constructor vs field injection, @RestController vs @Controller, RestTemplate vs RestClient), how it currently does auth, error handling, observability. This becomes the reference for "what's normal here".

  5. Run frontend baseline checks when a sibling frontend app exists (e.g. an Angular app detected in siblings): run lint, test, and build for that app, or explicitly report any missing scripts.

Read the full file on GitHub · 79 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. 2d ago First seen · 79 lines · 37 tokens per session scan A 201c855684ae

Subscribe to this mod's changes

spring-onboarding is an agent published in the GitHub repository loiane/specs-driven-development-spring-angular (58 stars, last pushed 2mo ago), licensed MIT. It adds 37 tokens to every session and 1,132 once invoked, about $0.0002 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-08-30.

Related

Other agents, from other repositories

java-refactor-expert

Expert Java and Spring Boot code refactoring specialist. Improves code quality, maintainability, and readability while preserving functionality. Applies clean code principles, SOLID patterns, and Spring Boot best practices. Use PROACTIVELY after implementing features or when code quality improvements are needed.

giuseppe-trisciuoglio/developer-kit · 61 tokens

aws-architecture-review-expert

Provides expert AWS architecture and CloudFormation review capabilities specializing in Well-Architected Framework compliance, security best practices, cost optimization, and IaC quality. Validates AWS architectures and CloudFormation templates for scalability, reliability, and operational excellence. Use PROACTIVELY…

giuseppe-trisciuoglio/developer-kit · 76 tokens

aws-solution-architect-expert

Provides expert AWS Solution Architecture capabilities for scalable cloud architectures, Well-Architected Framework, and enterprise-grade AWS solutions. Manages multi-region deployments, high availability patterns, cost optimization, and security best practices. Use PROACTIVELY for AWS architecture design, cloud…

giuseppe-trisciuoglio/developer-kit · 70 tokens

prompt-engineering-expert

Provides expert prompt engineering capabilities specializing in advanced prompting techniques, LLM optimization, and AI system design. Masters chain-of-thought, constitutional AI, and production prompt strategies. Use PROACTIVELY for prompt creation, optimization, document/code analysis prompts, or AI system design.…

giuseppe-trisciuoglio/developer-kit · 70 tokens

java-security-expert

Expert security auditor specializing in DevSecOps, comprehensive cybersecurity, and compliance frameworks. Masters vulnerability assessment, threat modeling, secure authentication (OAuth2/OIDC), OWASP standards, cloud security, and security automation. Handles DevSecOps integration, compliance (GDPR/HIPAA/SOC2), and…

giuseppe-trisciuoglio/developer-kit · 85 tokens

QCAuditor

QC sub-agent. Executes tests, static analysis, and security tools. Asks user for permission before installing missing dependencies.

attilaszasz/sdd-pilot · 29 tokens