demo-create

demo-create is a skill for Claude Code from southliu/south-admin-react. It costs 99 tokens per session (2,767 once invoked), scanned A, original, MIT.

A code generator for standard CRUD screens. CRUD means creating, viewing, editing, and deleting records in an administration panel.

In plain words
What is it for?
Use it to create a modal-based or standalone management page from a module name, API path, fields, permissions, and display settings.
Why use it?
It removes the repeated work of building list pages, forms, data models, and API files for each business module.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: reads .claude/ paths.

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /Users/south/Desktop/case/react-admin.

Install

Getting it into your agent

There is no command for this one: it runs only inside a plugin, and the catalogue could not identify which plugin ships it. The source is linked below.

Made for: Claude Code.

Wrote 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.

agentmods badge for demo-create

README.md
[![agentmods](https://agentmods.dev/badge/skills/southliu/south-admin-react/demo-create.svg)](https://agentmods.dev/skills/southliu/south-admin-react/demo-create)
Your own site
<a href="https://agentmods.dev/skills/southliu/south-admin-react/demo-create"><img src="https://agentmods.dev/badge/skills/southliu/south-admin-react/demo-create.svg" alt="Measured on agentmods" height="20"></a>
Per session 99 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,767 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00099 $0.02767
Opus 5 $0.00049 $0.01384
Sonnet 5 $0.00020 $0.00553
Haiku 4.5 $0.00010 $0.00277

Measured 6d ago against content hash 8dca7fe87dce, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

demo-create 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 6d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/generate.py, scripts/run.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

.claude/skills/demo-create/SKILL.md · 236 lines

How it starts

The opening of the file, as written. The whole thing — 236 lines — stays where its author put it; the contents beside it link to each section on GitHub.

demo-create

Description

基于项目中 .vscode/south.code-snippets 定义的 CRUD 模板,快速生成后台管理系统的标准 CRUD 页面代码。根据用户提供的业务模块信息(模块名称、API路径、字段配置等),自动生成完整的页面文件(Page)、数据模型文件(Model)和 API 接口文件(Api),支持弹窗模式(demoPage)和独立页面模式(demoOptionPage)两种。

Instructions

1. 收集必要信息

在生成代码前,向用户确认以下信息(未提供则主动询问,一个一个询问):

  • moduleName:模块名称(英文 PascalCase),如 UserArticle
  • apiPath:API 路径前缀,如 /system/user
  • permissionPrefix:权限前缀路径,如 /system/user
  • pageModemodal(弹窗模式)或 page(独立页面模式)
  • enableI18n:是否开启国际化(true/false),开启时使用 t() 函数包裹标签文本
  • fatherPath:父路径(仅 page 模式),如 /system/user
  • zhTitle / enTitle:中英文标题(仅 page 模式),如 用户 / User
  • fields:业务字段列表,每个字段包含:
    • dataIndex(字段名)
    • label(标签)
    • component(组件类型:Input/InputNumber/Select/DatePicker/RangePicker/TextArea/Switch/Upload
    • search(是否搜索项)
    • table(是否表格列)
    • form(是否表单字段)
    • required(是否必填)
    • width(表格列宽度,默认200)

2. 生成文件结构

Modal 模式
src/pages/{modulePath}/
├── index.tsx # 主页面(demoPage 模板)
└── model.ts # 数据模型(demoModel 模板)
src/servers/{modulePath}.ts # API 接口(demoApi 模板)
Page 模式
src/pages/{modulePath}/
├── index.tsx # 列表页(demoPage 模板,新增/编辑改为路由跳转)
├── model.ts # 数据模型(demoModel 模板)
└── option.tsx # 操作页(demoOptionPage 模板)
src/servers/{modulePath}.ts # API 接口(demoApi 模板)

3. 代码生成规则

3.1 通用替换规则

所有模板中进行以下替换:

  • getXXXPageget{ModuleName}Page
  • getXXXByIdget{ModuleName}ById
  • createXXXcreate{ModuleName}
  • updateXXXupdate{ModuleName}
  • deleteXXXdelete{ModuleName}
  • batchDeleteXXXbatchDelete{ModuleName}
  • API.URL = '/xxx' → 实际 apiPath
  • @/servers/xxx@/servers/{实际模块路径}
  • permissionPrefix = '/xxx' → 实际权限前缀
  • fatherPath = '/xxx' → 实际父路径(page 模式)
3.2 API 文件(基于 south.code-snippets 中 demoApi 模板)

参照 .vscode/south.code-snippetsdemoApibody 内容生成,替换所有 XXX/xxx 为对应模块名称和路径。保持所有函数签名、类型定义和注释不变。

3.3 Model 文件(基于 south.code-snippets 中 demoModel 模板)

参照 .vscode/south.code-snippetsdemoModelbody 内容生成:

  • searchList:仅包含 search: true 的字段,wrapperWidth 默认 200
    • enableI18n = true:label 使用 t('moduleName.fieldName') 格式
    • enableI18n = false:label 使用中文字符串
  • tableColumns:仅包含 table: true 的字段,始终保留 operate 操作列,width 默认 200
    • enableI18n = true:title 使用 t('moduleName.fieldName') 格式,保留 createdAt/updatedAt 使用 t('public.creationTime')/t('public.updateTime')
    • enableI18n = false:title 使用中文字符串
  • createList:仅包含 form: true 的字段,必填字段添加 rules: FORM_REQUIRED
    • enableI18n = true:label 使用 t('moduleName.fieldName') 格式
    • enableI18n = false:label 使用中文字符串

Read the full file on GitHub · 236 lines

Files

What ships with it

4 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.

Changes

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.

  1. 6d ago First seen · 236 lines · 99 tokens per session scan A 8dca7fe87dce

Subscribe to this mod's changes

demo-create is a skill published in the GitHub repository southliu/south-admin-react (577 stars, last pushed 3d ago), licensed MIT. It adds 99 tokens to every session and 2,767 once invoked, about $0.0005 per session on Opus 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.

Related

Other skills, from other repositories

v3-create-crud

创建增删改查(CRUD)页面,基于 Element Plus 组件库,包含表格、搜索、分页、新增/编辑弹窗、删除确认等功能。当用户提到以下任何场景时都应触发:创建管理页面、创建列表页、创建表格页。即使用户没有明确说 CRUD,只要意图是创建带表格和表单操作的后台页面就应该使用此 Skill。使用时需提供模块名称和字段信息。.

un-pany/v3-admin-vite · 108 tokens

v3-upsert-route

根据用户提供的路由信息,在 src/router/index.ts 中生成或更新路由配置。.

un-pany/v3-admin-vite · 88 tokens

v3-upsert-store

创建或更新全局状态(Store)。当用户提到以下任何场景时都应触发:新建状态管理、新增 Pinia Store、给 Store 加字段。即使用户没有明确说 Store,只要意图是和状态管理器有关就应该使用此 Skill。使用时需提供 Store 名称、State 字段和 Actions 描述。.

un-pany/v3-admin-vite · 83 tokens

v3-use-composables

项目内置组合式函数使用教程,涵盖设备检测、异步下拉、全屏加载、分页、路由监听、主题切换、动态标题、水印等组合式函数。当用户提到以下任何场景时都应触发:使用组合式函数、调用 Composables、判断设备类型、异步加载下拉选项、全屏 Loading、分页逻辑、监听路由变化、切换主题、设置页面标题、添加水印。即使用户没有明确说 Composables,只要意图是使用项目内置的组合式函数就应该使用此 Skill。.

un-pany/v3-admin-vite · 137 tokens

v3-use-utils

项目内置工具函数使用教程,涵盖验证、日期格式化、CSS 变量、权限判断、本地存储等工具。当用户提到以下任何场景时都应触发:使用工具函数、调用 utils、格式化日期、判断权限、操作 localStorage、获取/设置 CSS 变量、验证数据类型、判断外链、获取/存储 Token。即使用户没有明确说 Utils,只要意图是使用项目内置的通用工具函数就应该使用此 Skill。.

un-pany/v3-admin-vite · 113 tokens

component-doc

为 @skyroc/web-ui 组件编写文档。当用户说出组件名(如 Button、Accordion、AlertDialog)时触发。自动定位组件源码、playground demo、已有文档,按照项目文档规范生成或更新 MDX 文档。.

Ohh-889/skyroc · 60 tokens