/ 目錄 / 演練場 / sivalabs-agent-skills
● 社群 sivaprasadreddy ⚡ 即開即用

sivalabs-agent-skills

作者 sivaprasadreddy · sivaprasadreddy/sivalabs-agent-skills

Spring Boot skills for AI coding agents — idiomatic Boot 3.x, Testcontainers, Jakarta EE patterns.

sivalabs-agent-skills encodes Spring Boot best practices from Siva Katamreddy: modern Boot 3.x features, constructor injection, Jakarta namespace, Testcontainers for integration tests, Flyway, validation, OpenAPI, and common pitfalls. Clone once and Claude writes Boot code that actually looks like what Boot developers write in 2025, not 2017.

為什麼要用

核心特性

即時演示

實際使用效果

sivalabs-agent-skill.replay ▶ 就緒
0/0

安裝

選擇你的客戶端

~/Library/Application Support/Claude/claude_desktop_config.json  · Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "sivalabs-agent-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/sivaprasadreddy/sivalabs-agent-skills",
        "~/.claude/skills/sivalabs-agent-skills"
      ],
      "_inferred": true
    }
  }
}

開啟 Claude Desktop → Settings → Developer → Edit Config。儲存後重啟應用。

~/.cursor/mcp.json · .cursor/mcp.json
{
  "mcpServers": {
    "sivalabs-agent-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/sivaprasadreddy/sivalabs-agent-skills",
        "~/.claude/skills/sivalabs-agent-skills"
      ],
      "_inferred": true
    }
  }
}

Cursor 使用與 Claude Desktop 相同的 mcpServers 格式。專案級設定優先於全域。

VS Code → Cline → MCP Servers → Edit
{
  "mcpServers": {
    "sivalabs-agent-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/sivaprasadreddy/sivalabs-agent-skills",
        "~/.claude/skills/sivalabs-agent-skills"
      ],
      "_inferred": true
    }
  }
}

點擊 Cline 側欄中的 MCP Servers 圖示,然後選 "Edit Configuration"。

~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "sivalabs-agent-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/sivaprasadreddy/sivalabs-agent-skills",
        "~/.claude/skills/sivalabs-agent-skills"
      ],
      "_inferred": true
    }
  }
}

格式與 Claude Desktop 相同。重啟 Windsurf 生效。

~/.continue/config.json
{
  "mcpServers": [
    {
      "name": "sivalabs-agent-skill",
      "command": "git",
      "args": [
        "clone",
        "https://github.com/sivaprasadreddy/sivalabs-agent-skills",
        "~/.claude/skills/sivalabs-agent-skills"
      ]
    }
  ]
}

Continue 使用伺服器物件陣列,而非映射。

~/.config/zed/settings.json
{
  "context_servers": {
    "sivalabs-agent-skill": {
      "command": {
        "path": "git",
        "args": [
          "clone",
          "https://github.com/sivaprasadreddy/sivalabs-agent-skills",
          "~/.claude/skills/sivalabs-agent-skills"
        ]
      }
    }
  }
}

加入 context_servers。Zed 儲存後熱重載。

claude mcp add sivalabs-agent-skill -- git clone https://github.com/sivaprasadreddy/sivalabs-agent-skills ~/.claude/skills/sivalabs-agent-skills

一行命令搞定。用 claude mcp list 驗證,claude mcp remove 移除。

使用場景

實戰用法: sivalabs-agent-skills

How to scaffold a Spring Boot service with modern defaults

👤 Java developers starting a new Boot service ⏱ ~60 min intermediate

何時使用: Greenfield Boot project and you don't want to re-decide every convention.

前置條件
  • Java 17+ and Maven/Gradle — sdkman install java 21.0.2-tem
  • Skill cloned — git clone https://github.com/sivaprasadreddy/sivalabs-agent-skills ~/.claude/skills/sivalabs-agent-skills
步驟
  1. Describe the service
    Scaffold a Spring Boot 3.2 REST service 'orders-service' with JPA, PostgreSQL, Flyway, and Testcontainers.✓ 已複製
    → Proper project layout + pom/build.gradle + baseline migrations
  2. Add a feature
    Add an /orders endpoint with POST/GET and validation.✓ 已複製
    → Controller + service + repository + validation
  3. Integration tests
    Add integration tests using Testcontainers PostgreSQL.✓ 已複製
    → Tests boot a container, hit endpoints, pass

結果: A running Boot service with tests.

注意事項
  • Claude defaults to field injection — Skill prompts constructor injection; if not, re-ask explicitly
搭配使用: filesystem · github

Migrate a Boot 2.x service to 3.x (Jakarta namespace)

👤 Teams carrying Boot 2.x tech debt ⏱ ~180 min advanced

何時使用: You've been putting off the javax → jakarta migration.

步驟
  1. Audit
    Audit this project — list everything that needs to change for Boot 3.✓ 已複製
    → Full change list: imports, plugin versions, config properties
  2. Execute the shift
    Apply the jakarta namespace shift and upgrade dependencies.✓ 已複製
    → Passing compile after edits
  3. Fix the broken tests
    Fix tests that broke — usually Mockito strictness or auto-config changes.✓ 已複製
    → Green tests

結果: A migrated service you can actually merge.

注意事項
  • Missed javax references in config or third-party libs — Use the migrator's report + a grep sweep

組合

與其他 MCP 搭配,撬動十倍槓桿

sivalabs-agent-skill + filesystem

Operate across a multi-module Boot project

Walk my Boot project and add Testcontainers to every persistence module.✓ 已複製
sivalabs-agent-skill + github

Open PRs with concise migration steps

Open a PR titled 'chore: migrate orders-service to Boot 3.2'.✓ 已複製

工具

此 MCP 暴露的能力

工具輸入參數何時呼叫成本
boot-scaffolding service intent + stack Greenfield 0
testcontainers-integration service + container stack Whenever persistence is involved 0
boot-2-to-3-migration project root Upgrade tasks 0

成本與限制

運行它的成本

API 配額
none
每次呼叫 Token 數
5–25k per task
費用
free
提示
Migrate one module at a time; don't dump the monorepo on Claude

安全

權限、密鑰、影響範圍

憑證儲存: none at skill level
資料出站: none

故障排查

常見錯誤與修復

Testcontainers fails in CI

Ensure CI has Docker available and the runner supports privileged containers.

驗證: docker ps
Flyway migration fails on existing DB

Ask Claude for a baseline migration and mark existing schema.

替代方案

sivalabs-agent-skills 對比其他方案

替代方案何時用它替代權衡
symfony-ux-skillYou work in PHP/Symfony insteadDifferent stack
jetpack-compose-skillYou're on Android instead of server JavaDifferent runtime

更多

資源

📖 閱讀 GitHub 上的官方 README

🐙 查看未解決的 issue

🔍 瀏覽全部 400+ MCP 伺服器和 Skills