feat: 匠厂数据管理展示元数据规范——元数据表初始化/校验、display_order 契约、文档与测试
All checks were successful
技能自动化发布 / release (push) Successful in 5s

This commit is contained in:
2026-07-01 11:39:28 +08:00
parent d17804e45b
commit 707d97760f
12 changed files with 948 additions and 27 deletions

View File

@@ -82,6 +82,13 @@ python {baseDir}/scripts/main.py version
2. 按 `development/DEVELOPMENT.md` 完成开发与文档定制。
3. 用户市场说明写入根 `README.md`;Agent 调用契约见 `references/CLI.md`、`references/SCHEMA.md`。
4. 同步修改 `scripts/util/constants.py` 中的 `SKILL_SLUG` / `SKILL_VERSION`。
5. 本地 SQLite 的中文表名/字段名与字段顺序规范见 `references/SCHEMA.md`(元数据表 `_jiangchang_*` + `CREATE TABLE` 物理顺序)。
## 技能命名与 slug
- `name`(frontmatter):**用户可见的中文业务名称**;`description` 是说明,不是名称。
- `metadata.openclaw.slug`:**英文 kebab-case** 机器标识;目录名、默认 `{slug}.db` 使用 slug,不使用中文。
- 复制后全局替换 `your-skill-slug`;正式技能不得保留英文占位 `name` 或 slug。
## 平台元数据