spring-ai
/spring-ai
Diagnose and operate Spring AI projects with version-aware Maven or Gradle checks for ChatClient, advisors, retrieval, conversation memory, tool/MCP boundaries, streaming, configuration, and observability. Use for setup compatibility, local smoke checks, and failure triage; do not use for provider-specific model evaluation, general Java/Spring development, security threat modeling, or production rollout governance.
- Author
- magnus919 ↗
- Repository
- agent-skills ↗
- Licence
- MIT
- Last repository change
- 25.10.2026
Assessment and security
- Files in this package
- 11
- Scripts
- 3
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 25.10.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
- 3 scripts in this package. Review them before installing, as Claude may execute them.
Scripts: examples/minimal-project/src/main/java/example/Demo.java, scripts/spring_ai_check.py, scripts/test_spring_ai_check.py
What it does and when to use it
Diagnose and operate Spring AI projects with version-aware Maven or Gradle checks for ChatClient, advisors, retrieval, conversation memory, tool/MCP boundaries, streaming, configuration, and observability. Use for setup compatibility, local smoke checks, and failure triage; do not use for provider-specific model evaluation, general Java/Spring development, security threat modeling, or production rollout governance.
Original author description
Diagnose and operate Spring AI projects with version-aware Maven or Gradle checks for ChatClient, advisors, retrieval, conversation memory, tool/MCP boundaries, streaming, configuration, and observability. Use for setup compatibility, local smoke checks, and failure triage; do not use for provider-specific model evaluation, general Java/Spring development, security threat modeling, or production rollout governance.
How it works
- Entry check
- Workflow
- Scope and routing
- Version posture
- Completion
SKILL.md preview
--- name: spring-ai description: >- Diagnose and operate Spring AI projects with version-aware Maven or Gradle checks for ChatClient, advisors, retrieval, conversation memory, tool/MCP boundaries, streaming, configuration, and observability. Use for setup compatibility, local smoke checks, and failure triage; do not use for provider-specific model evaluation, general Java/Spring development, security threat modeling, or production rollout governance. license: MIT compatibility: Requires Python 3.8+ standard library; Maven/Gradle are optional and only needed to run a project build. metadata: tags: spring-ai, spring-boot, java, maven, gradle, chatclient, rag, mcp, diagnostics verified_date: "2026-09-14" supported_spring_ai: 2.0.1 (current stable documentation); 1.0.9 maintenance reference --- # Spring AI Use this operational skill to inspect a real Maven or Gradle Spring AI project before changing it. The included diagnostic CLI is offline and provider-neutral: it reads build files, application configuration, and source to report compatibility clues, unsafe defaults, missing conversation IDs, streaming prerequisites, tool/MCP boundaries, retrieval configuration, and observability risks. It never sends prompts or exposes API-key values. ## Entry check Confirm the project root and whether the task is read-only or will modify configuration/code. Read-only diagnosis can proceed. Before the first state-changing action, confirm the target project, scope, and rollback path (usually a reviewed commit or revert); the CLI itself is read-only. Run: ```sh python3 spring-ai/scripts/spring_ai_check.py --root /path/to/project --json ``` The result is stable JSON with `status`, `project`, `facts`, `findings`, and `errors`. Exit 0 means no error-severity finding; exit 1 means an error-severity finding or warnings promoted by `--strict`; exit 2 means an invalid invocation or unreadable project. ## Workflow 1. Run the checker and retain its JSON output with the project revision. 2. Resolve build compatibility findings against the official Spring AI and Spring Boot documentation in `references/source-index.md`; do not infer support from a transitive dependency alone. 3. Inspect ChatClient advisor order and parameters. Every memory-advisor call needs an explicit conversation identifier derived from the application’s authenticated/session boundary; never use a shared default. 4. For retrieval, verify document ownership/authorization before retrieval context enters a prompt. Test empty retrieval, stale data, provider errors, and latency separately. 5. For tools and MCP, treat model tool requests as untrusted proposals. The application owns authorization and execution. Bound tool names, arguments, timeout, retry, side effects, and audit fields. Verify MCP transport and schema against the current project dependency. 6. For streaming, preserve partial output as provisional until completion; test cancellation, timeout, disconnect, and failed completion. Do not treat a partial stream as a committed answer or side effect. 7. Keep prompt/completion logging disabled by default in production. If enabled temporarily, document redaction, access, retention, and rollback. 8. Run the project’s own tests/build when dependencies and provider credentials are available. The checker does not prove provider connectivity, model quality, RAG correctness, or production readiness. ## Scope and routing - ChatClient/advisors, Spring configuration, local diagnostics, and framework troubleshooting belong here. - Model quality, evaluator design, statistical comparisons, and trace schemas belong to `agent-evals-and-observability`. - Authority, fallback, disablement, budgets, and rollout belong to `agent-production-operations`. - Threat modeling and security implementation belong to `secure-software-engineering`. - General Java/Spring application design belongs to the relevant engineering skill. ## Version posture The official documentation currently presents Spring AI 2.0.1 as the latest stable line and retains a 1.0 reference (1.0.9). APIs differ across lines: for example, current 2.0 documentation describes `ToolCallingAdvisor` as the ChatClient tool loop, while 1.x applications may use model-internal tool loops. The checker reports observed versions and flags uncertainty; it does not rewrite dependencies or claim that a version combination is supported without a primary compatibility source. Re-check `references/source-index.md` and release notes when upgrading. ## Completion Stop when the project’s build/config/source facts, findings, owner routes, and limitations are recorded, or when an external dependency (provider credentials, unavailable build tool, private artifact repository) is explicitly marked blocked. Do not claim a successful live smoke test from static diagnostics.
Files in this package (11)
- README.md 2 KB
- SKILL.md 5 KB
- evals/evals.json 4 KB
- examples/minimal-project/pom.xml 1 KB
- examples/minimal-project/src/main/java/example/Demo.java 1 KB
- examples/minimal-project/src/main/resources/application.properties 1 KB
- references/compatibility-and-setup.md 2 KB
- references/integration-boundaries.md 2 KB
- references/source-index.md 2 KB
- scripts/spring_ai_check.py 14 KB
- scripts/test_spring_ai_check.py 9 KB
Versions
| Repository | Score | Licence |
|---|---|---|
| This page · magnus919/agent-skills | 100 | MIT |
| claude-dev-suite/claude-dev-suite | 100 | MIT |
Identical content appears in 1 other GitHub folders. We show one copy with the highest score.
Database snapshot: 13.11.2026 · package version 9a4adc52140d (SHA-256 digest of the entire package)
Downloads in the last 30 days: 2 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 100spring-boot-helper
Expert knowledge of Spring Boot 4 and Spring AI 2.0 including auto-configuration, ChatClient, advisors, tool calling, agent patterns, and Spring Framework 7 features. Use when the user asks about Spring Boot, Spring AI, dependency injection, REST APIs, agent configuration, or… - 100evaluate-spring-ai
Sets up evaluation of Spring AI applications using Dokimos. Use this skill when the user wants to evaluate, test, or benchmark a Spring AI app, ChatClient, RAG pipeline, or advisor chain. Also use when the user mentions Spring AI evaluation, Spring Boot LLM testing, or… - 100java-mcp-server-generator
Use this skill when the user wants to create a Model Context Protocol (MCP) server in Java or in a Spring Boot app. Also use it when the user wants AI agents, such as GitHub Copilot or Claude, to use Java code, an API, or a database. Use it even if the user does not say "MCP".… - 100java-expert
Expert-level Java development with Java 21+ features, Spring Boot, Maven/Gradle, and enterprise best practices. Use when the user mentions JVM, Spring, Maven, Gradle, or enterprise, or when the task involves Modern Java, Spring Boot, Build Tools, or Dependency Injection. - 100create-spring-boot-java-project
Create a new Spring Boot Java project (Maven or Gradle) from start.spring.io with sensible defaults for configuration, PostgreSQL, logging, security, testing and Docker. Use when asked to scaffold, bootstrap or generate a Spring Boot application. Detects existing project… - 100java-security
Java and Spring Boot security patterns. Covers Spring Security, dependency auditing, secure coding practices, and OWASP for Java ecosystem. USE WHEN: user works with "Java", "Spring Boot", "Spring Security", asks about "Java vulnerabilities", "Maven security", "Gradle security",…