- name
SKILL.md
技能文件保留在发布者的仓库中。
在终端中粘贴复制的命令。它会把这个 SKILL.md 安装到对应的智能体中。
npx skills add rrezartprebreza/spring-boot-skills --skill container-native-deployment -a cursor -y在终端中粘贴复制的命令。它会把这个 SKILL.md 安装到对应的智能体中。
npx skills add rrezartprebreza/spring-boot-skills --skill container-native-deployment -a claude-code -y在终端中粘贴复制的命令。它会把这个 SKILL.md 安装到对应的智能体中。
npx skills add rrezartprebreza/spring-boot-skills --skill container-native-deployment -a codex -y在终端中粘贴复制的命令。它会把这个 SKILL.md 安装到对应的智能体中。
npx skills add rrezartprebreza/spring-boot-skills --skill container-native-deployment -a grok -y在 Grok Bot 聊天中发送复制的消息。Bot 会从 GitHub 获取这个 SKILL.md,并添加到你所有 Bot 共享的技能中。
Install this skill: https://github.com/rrezartprebreza/spring-boot-skills/tree/HEAD/skills/spring-boot-3/container-native-deployment来自发布者
Choose JVM or native from measured startup, memory, throughput, and build constraints.
RuntimeHints for reflection, resources, serialization, or proxies that analysis cannot infer.Scan the actual final image by immutable digest, including OS packages and bundled Java dependencies; record the scanner database timestamp and findings that need manual triage. Verify signatures against the expected signer identity and issuer or trusted key, and check that provenance refers to the intended source commit and build workflow. A signature from an arbitrary identity is not a release policy. Retain SBOM/provenance evidence for the promoted digest; rebuilding the same tag produces a different artifact and requires new verification. Test untrusted-signer and digest-mismatch rejection before enforcing a deployment policy. For dependency/BOM remediation and CI trust-boundary review, use java-supply-chain-security if installed; this skill remains responsible for image construction and runtime behavior.
examples/good-dockerfile and examples/bad-dockerfile.The good example targets Boot 3.3+ and uses jarmode=tools extraction in a builder stage. For Boot
3.0-3.2, use the older -Djarmode=layertools ... extract command. A normal Maven package does not
create target/dependencies/ or target/application/ directories by itself.
target/dependencies directories - extract the packaged jar in a builder stage.jarmode=tools on Boot 3.0-3.2 - use layertools until the project reaches Boot 3.3.>
---name: container-native-deploymentdescription: >---# skills/spring-boot-3/container-native-deployment/SKILL.md常见问题
从发布者处下载 skills/spring-boot-3/container-native-deployment/SKILL.md,或复制路径后打开仓库。PlugMCP 只收录该技能,不托管文件。
发布者将它存放在 https://github.com/rrezartprebreza/spring-boot-skills。
Claude、Cursor、Codex 和 Grok Build 可以读取你从发布者仓库添加的 SKILL.md。在聊天中发送技能的 GitHub 文件夹链接,Grok Bot 就会安装它。