Claude Code Skill · built on eruptClaude Code 技能 · 基于 erupt

One sentence, and any tool becomes an admin panel

一句话,把任何工具
变成可视化后台

Talent, HR, CRM, game ops — even local tools like VSCode or Nginx. Login, CRUD, search, Excel & RBAC all included, at 1/20 the tokens of writing it from scratch.

招聘、HR、CRM、游戏运营,甚至 VSCode、Nginx 这类本机工具。登录、增删改查、搜索、Excel、权限全内置,token 仅为从零手写的 1/20。

$ Build an admin panel for my local VSCode ⏎ send发送
TOKEN BENCHMARKTOKEN 实测

Why so few tokens?

为什么 token 消耗极低?

The AI only writes entity classes — the UI, CRUD APIs, access control and Excel import/export are all carried by the erupt framework (72K lines of existing code, 0 tokens). Real numbers from the VSCode admin case:

AI 只需要写实体类——前端界面、CRUD 接口、权限体系、Excel 导入导出全部由 erupt 框架承载(7.2 万行现成代码,0 token)。以下是「VSCode 管理后台」的真实生成数据:

■ With erupt-skill■ 使用 erupt-skill

406 lines / ≈4K tokens行 / ≈4K token
  • 4 entities + 1 DataProxy + menu registration
  • UI / API / RBAC / import-export: built into the framework
  • Compiled on the first try, live in 5.6s
  • 4 个实体类 + 1 个 DataProxy + 菜单注册
  • 界面 / 接口 / 权限 / 导入导出:框架自带
  • 一次编译通过,启动 5.6 秒交付

□ Hand-written equivalent□ 从零手写同等功能

10,000+ lines / ≈100K+ tokens行 / ≈100K+ token
  • Frontend admin UI (tables / forms / routing / login)
  • Backend REST + auth + RBAC + Excel handling
  • Multiple debugging rounds, tokens keep burning
  • 前端管理界面(表格/表单/路由/登录)
  • 后端 REST + 鉴权 + RBAC + Excel 处理
  • 多轮调试迭代,token 持续消耗
20x+ fewer tokenstoken 消耗降低 20 倍以上

Methodology: the skill side is measured in this repo (vscode-admin case — AI actually produced 406 lines / 14,434 chars ≈ 4K output tokens). The hand-written side is a minimal full-stack estimate of equivalent features (CRUD for 4 modules + login + RBAC + import/export, frontend and backend) at ≥10,000 lines, debugging excluded. erupt itself contributes 58K lines of frontend + 14K lines of backend, reused at zero token cost.

测算方法:skill 侧为本仓库实测(vscode-admin 案例,AI 实际产出 406 行 / 14,434 字符 ≈ 4K 输出 token);手写侧按同等功能(4 模块 CRUD + 登录 + RBAC + 导入导出的前后端)最小实现 ≥10,000 行估算,不含调试返工。erupt 框架自身 58K 行前端 + 14K 行后端能力零 token 复用。

HOW IT WORKS工作原理

Three steps from a sentence to a working system

三步,从一句话到可用系统

1

Say one sentence说一句话

"Build an admin panel for my local VSCode" — the skill infers entities, fields and relations from domain knowledge. No follow-up questions.

「生成一个管理本机 VSCode 的后台」——skill 用领域常识推断实体、字段与关系,不追问细节。

2

Only entities get written只生成实体类

The AI writes only Java entities annotated with @Erupt, 50–80 lines each. The UI and APIs are rendered from annotations at runtime.

AI 仅编写带 @Erupt 注解的 Java 实体,每个实体 50~80 行。界面与接口由框架按注解实时渲染。

3

Auto build & launch自动启动交付

Ships with a jlink-trimmed JDK (46MB) and H2 database. run.sh builds and starts everything — zero setup, even for non-developers.

内置 jlink 裁剪版 JDK(46MB)与 H2 数据库,run.sh 一键构建启动,非开发人员零配置可用。

BATTERIES INCLUDED开箱即用

Everything one sentence buys you

说一句话就带上的能力

CRUD + SearchCreate / update / delete, compound queries, paging & sorting
Excel import/exportOne-click export, template-validated import
Access controlUser / role / menu / button-level RBAC
Zero-dependency runBundled JDK + H2, no environment setup
Real data hookupSeed from local files or external APIs
Keep iteratingSay another sentence to add modules or restyle
CRUD + 搜索增删改查、组合查询、分页排序
Excel 导入导出一键导出、模板导入校验
权限管理用户 / 角色 / 菜单 / 按钮级 RBAC
零依赖运行内置 JDK + H2,无需装环境
真实数据接入可扫描本机文件 / 调外部 API 初始化
持续迭代继续说一句话即可加模块、改外观
INSTALL安装

In Claude Code within 30 seconds

30 秒接入 Claude Code

# Clone into your skills directory (same for Codex / Cursor / Trae)
git clone https://github.com/plinian/erupt-skill.git ~/.claude/skills/erupt-admin

# Then tell Claude Code:
Build an admin panel for my local VSCode
# 克隆到 skills 目录(Codex / Cursor / Trae 等同理)
git clone https://gitee.com/erupt/erupt-skill.git ~/.claude/skills/erupt-admin

# 然后在 Claude Code 里说:
生成一个管理本机 VSCode 的后台