Add OpenClaw skills, platform kit, and template docs
Made-with: Cursor
This commit is contained in:
40
toutiao-publisher/README.md
Normal file
40
toutiao-publisher/README.md
Normal file
@@ -0,0 +1,40 @@
|
||||
# 头条号批量发布(toutiao-publisher)
|
||||
|
||||
头条号批量发布技能仓库;当前为**占位阶段**,仅含 CLI 骨架与文档,**发布功能待后续迭代**。
|
||||
|
||||
## 目录一览
|
||||
|
||||
| 路径 | 作用 |
|
||||
|------|------|
|
||||
| `SKILL.md` | 技能清单(YAML 头 + Markdown 正文) |
|
||||
| `release.ps1` | 本地一键发布(依赖与 `jiangchang-platform-kit` 并列,见 `account-manager` 同款) |
|
||||
| `scripts/skill_main.py` | CLI 入口:`health` / `version` |
|
||||
| `docs/` | 运行时与可移植性说明 |
|
||||
| `optional/` | 可选片段(路径、SQLite 等),默认不引用 |
|
||||
|
||||
## 本地试跑
|
||||
|
||||
```bash
|
||||
python scripts/skill_main.py health
|
||||
python scripts/skill_main.py version
|
||||
```
|
||||
|
||||
## 版本
|
||||
|
||||
与 `SKILL.md` 中 `version` 字段对齐更新。
|
||||
|
||||
## Git 远程(避免推到模板仓)
|
||||
|
||||
从 `skill-template` 克隆的目录,默认 `origin` 仍指向模板仓库。本技能应使用独立仓库,例如:
|
||||
|
||||
```text
|
||||
http://120.25.191.12:3000/admin/toutiao-publisher.git
|
||||
```
|
||||
|
||||
在 Gitea 上**新建同名空仓库**后执行:
|
||||
|
||||
```bash
|
||||
git remote set-url origin http://120.25.191.12:3000/admin/toutiao-publisher.git
|
||||
git push -u origin main
|
||||
git push origin v1.0.1 # 若本地已有 tag 且需同步
|
||||
```
|
||||
Reference in New Issue
Block a user