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.
npx skills add opensolon/soloncode --skill spring-to-solon-skillgit clone --depth 1 https://github.com/opensolon/soloncodeWrote 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.
[](https://agentmods.dev/skills/opensolon/soloncode/spring-to-solon-skill)<a href="https://agentmods.dev/skills/opensolon/soloncode/spring-to-solon-skill"><img src="https://agentmods.dev/badge/skills/opensolon/soloncode/spring-to-solon-skill/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.
<a href="https://agentmods.dev/skills/opensolon/soloncode/spring-to-solon-skill"><img src="https://agentmods.dev/badge/skills/opensolon/soloncode/spring-to-solon-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00234 | $0.03708 |
| Opus 5.5 | $0.00094 | $0.01483 |
| Sonnet 5.5 | $0.00047 | $0.00742 |
| Haiku 4.5 | $0.00023 | $0.00371 |
Grade A, and why
spring-to-solon-skill 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 17d 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.
How it starts
The opening of the file, as written. The whole thing — 195 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Spring to Solon Migration Skill
为将 Spring Boot / Spring Cloud 项目迁移到 Solon 框架 提供专家指导。Solon 是独立的 Java 企业框架(不基于 Spring),开发体验相近,但注解、架构与生态不同。
官方对照: https://solon.noear.org/article/compare-springboot
Cloud 对照: https://solon.noear.org/article/compare-springcloud
官网: https://solon.noear.org
当前版本: 4.0.3
版本声明:本文档所有示例基于 Solon 4.0.3(最后一次确认: 2026-07)。如需迁移到其他版本,请调整对应版本号。Solon 高版本保持向后兼容,通常仅需修改
solon-parent版本号即可。reference 内写「跟随 SKILL 目标版本」时,以本节为准。
Critical Migration Rules
- 意图闸门(优先于一切):本 skill 仅在用户明确要求将 Spring 项目迁移到 Solon 时适用(明确表述:迁移 / Spring转Solon / 替换 starter / 去 Spring 依赖等,或明确要求换框架)。用户未明确要求时:保持项目现有框架(Spring),禁止修改 pom 依赖、启动类、配置文件名与注解体系;不要把「项目里存在 Spring 依赖」当作迁移请求;意图不明确时先询问,不得动手。其他规则均以此条为前提。
- Solon 不是 Spring。 禁止混用 Spring 注解与 Solon 注解。替换全部 Spring import。(仅在 Rule 0 确认后执行)
- 禁止 Spring 依赖。 移除所有
spring-boot-starter-*、spring-*。Solon 使用org.noeargroupId。(仅在 Rule 0 确认后执行;未确认前任何 Spring 依赖都不是“待清理项”) - 配置文件是
app.yml(或app.properties),不是application.yml。 - 入口是
Solon.start(App.class, args),不是SpringApplication.run()。 - Parent POM 是
solon-parent(groupId=org.noear)。 - 包扫描在主类用
@Import/ 主类包路径,不是@ComponentScan。 - 无 setter 注入。 Solon 只支持字段注入与构造器注入;构造器参数必须显式
@Inject。 - 组件用
@Component,不要用@Service/@Repository。 - 所有示例目标 Solon 4.0.x(默认 4.0.3),除非用户指定其它版本。
- 中文支持。 用户使用中文时,回复与代码注释使用中文。
- 不确定的 API 不要臆造。 对照本 skill reference;Solon 原生细节查
solon-development-skill。 - 校验坐标 为
solon-security-validation(不是solon-validation)。类级启用@Valid,实体参数/字段用@Validated。 - 调度选型:单机 →
@Scheduled(scheduling_migration.md);分布式防重 →@CloudJob(cloud_observability_migration.md)。勿一律替换。
与 solon-development-skill 的边界
| 场景 | 使用 skill |
|---|---|
| 用户明确要求 Spring → Solon 对照、替换、迁移步骤 | 本 skill |
| 纯 Solon 新功能 / AI / Flow / 最佳实践 | solon-development-skill |
| 两边都提及时 | 先按本 skill 完成迁移对照,再链开发 skill 补原生写法 |
| 用户未要求迁移,只是在 Spring 项目里干活 | 都不用;保持 Spring 现状,意图不明先问 |
What ships with it
17 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- references/annotation_mapping.md 10 KB
- references/cloud_discovery_config_migration.md 9.4 KB
- references/cloud_gateway_rpc_migration.md 9.4 KB
- references/cloud_observability_migration.md 12 KB
- references/config_system_migration.md 13 KB
- references/datasource_orm_migration.md 13 KB
- references/dependency_mapping.md 8.4 KB
- references/ioc_aop_migration.md 18 KB
- references/scheduling_migration.md 6.0 KB
- references/security_migration.md 7.4 KB
- references/test_advanced_migration.md 15 KB
- references/test_basics_migration.md 15 KB
- references/transaction_cache_migration.md 13 KB
- references/validation_migration.md 8.5 KB
- references/web_advanced_migration.md 14 KB
- references/web_controller_migration.md 11 KB
- references/web_filter_interceptor_migration.md 12 KB
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.
- 17d ago Changed · +5 lines · +81 tokens per session c369231c2c11
- 1mo ago First seen · 190 lines · 153 tokens per session scan A 2b7db5d97b04
spring-to-solon-skill is a skill published in the GitHub repository opensolon/soloncode (197 stars, last pushed yesterday), licensed MIT. It adds 234 tokens to every session and 3,708 once invoked, about $0.0009 per session on Opus 5.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.
Other skills, from other repositories
ph-grill-me
(PH) Pressure-test a concrete decision, design, or plan only when the user asks to examine assumptions, alternatives, risks, or trade-offs.
ph-git
(PH) Use only for an explicit Git operation with scoped status, diff, and transport discipline.
ph-tdd
(PH) Use after an approved delivery boundary to define a focused failing behavior test before implementation.
ph-visual-qa
(PH) Use only when the user explicitly requests visual verification and a compatible host can render the UI.
codew-release-qa-sweep
Use before claiming Codewhale release work is done: run the full gate sweep and list the manual QA targets.
cw-gates
Use before claiming any Codewhale change is done, green, or ready to land: the focused-to-broad verification ladder, the budget checks CI enforces, and the rules for what counts as a passing test.