solon-development-skill

Solid

Solon Java framework expert (NOT Spring). Use for Solon apps, Solon AI (ChatModel/RAG/MCP/Agent/Harness/Talent), Solon Flow, Solon Cloud, Nami RPC, SqlUtils/MyBatis, and Solon annotations (@Mapping, @Inject, @SolonMain, @Component). Independent IoC/AOP and plugins — never use Spring annotations or spring-boot dependencies.

AI & Automation 155 stars 35 forks Updated today MIT

Install

View on GitHub

Quality Score: 84/100

Stars 20%
73
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Solon Development Skill 为使用 **Solon 框架** 构建 Java 应用提供专家级指导。Solon 是独立的全场景 Java 企业应用框架 — **与 Spring 不兼容**,拥有自研架构、注解体系与生态。 **官网**: https://solon.noear.org **GitHub**: https://github.com/opensolon/solon **License**: Apache 2.0 **JDK**: Java 8 ~ 26,GraalVM Native Image **目标版本**: **4.0.3**(升级时全局替换此标记 + 复核 AI/Nami 变更段) ## Critical Rules 1. **Solon 不是 Spring。** 禁止混用 Spring 注解(`@Autowired`、`@SpringBootApplication`、`@RestController`、`@RequestMapping`、`@Service`、`@Repository`、`@Value`、`@ComponentScan` 等)。 2. **禁止 Spring 依赖。** 不要引入 `spring-boot-starter-*`、`spring-*`。Solon 坐标 groupId 为 `org.noear`。 3. **配置文件是 `app.yml`**(或 `app.properties`),**不是** `application.yml`。 4. **入口**是 `Solon.start(App.class, args)`,不是 `SpringApplication.run()`。 5. **组件注解用 `@Component`**,不要用 `@Service` / `@Repository`。 6. **示例默认目标版本 4.0.3**(除非用户指定其它版本)。 7. **Parent POM** 为 `solon-parent`(`groupId=org.noear`)。 8. **中文支持。** 用户使用中文时,回复与代码注释使用中文。 9. **不确定的 API 不要臆造。** 优先查本 skill 的 reference;仍不确定时查官网/源码,禁止用 Spring 习惯补全。 ## 执行流程 1. **判定场景** → 只 `read` 下表中对应的 1~2 个 reference(**禁止一次加载全部**)。 2. **生成代码前**核对 Critical Rules(尤其:`app.yml`、`@Component`、`@Inject`、无 Spring 依赖)。 3. **数据访问**优先读 `references/data_access.md`。 4. **AI 场景分流**: - Chat/Tool/MCP/基础 RAG → `references/ai_chat_rag_mcp.md` - Loader/向量库/搜索插件表 → `references/ai_rag_plugins.md` - Agent/Talent/Loop → `references/ai_agent.md` - HarnessEngine/工具权限 → `references/ai_harness.md` - AI UI/ACP/A2A → `references/ai_protocol_ui.md` 5. **Cloud 分流...

Details

Author
opensolon
Repository
opensolon/soloncode
Created
5 months ago
Last Updated
today
Language
Java
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category

Code & Development Solid

spring-to-solon-skill

Expert guidance for migrating Java projects from Spring Boot / Spring Cloud to the Solon framework. Provides annotation mapping, dependency replacement, architecture differences, and step-by-step migration for IoC, Web, Data, Security, Scheduling, Validation, Cloud, and Testing. Use when migrating Spring Boot/Cloud projects to Solon, replacing Spring annotations/dependencies, rewriting application.yml → app.yml, Feign→Nami, @SpringBootTest→@SolonTest, Spring Security→solon-security-auth, validation→solon-security-validation, or when the user says 迁移/Spring转Solon/替换starter/去Spring依赖. Not for greenfield Solon apps (use solon-development-skill).

155 Updated today
opensolon
Web & Frontend Solid

soloncode-skin-skill

Generate installable SolonCode Web UI skin zip packages from natural-language design requests. Use when the user asks to create/make/customize a skin, theme, 皮肤, 换肤, settings panel background, welcome-page look, accent color theme, or produce a .zip skin for SolonCode (settings → general → skin).

155 Updated today
opensolon
AI & Automation Listed

sol-skill

Conventions and tooling for ASU's Sol supercomputer, built around the `solx` CLI. Use whenever a task is happening on Sol - the user mentions Sol or ASU Research Computing, or is clearly on their Sol account (a Sol /scratch path, an sbatch/interactive job, a login/compute node). It covers renewing /scratch files Sol has flagged for deletion (purge/inactivity warnings) via `solx keep` and where to store datasets and model caches; requesting and managing SLURM jobs (the `solx job` interactive-allocation lifecycle, sbatch for batch, GPU and partition/QOS choice, why a job is pending, fairshare-aware and time-aware job management); installing software without sudo (module load, uv for Python, tinytex for LaTeX); reaching a Sol compute-node service like Jupyter from a laptop browser; detecting login-vs-compute nodes and choosing where to run heavy I/O (the DTN, a compute node, or a batch job); and transferring data to and from Sol. Not for generic SLURM/HPC on other clusters (Phoenix, NERSC, ...), cloud GPUs, or p

3 Updated 1 weeks ago
Shu-Wan