Files
skill-template/toutiao-publisher/README.md
2026-04-04 10:35:02 +08:00

41 lines
1.2 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 头条号批量发布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 且需同步
```