zenstory-ai/oh-story-claudecode / skills/story-setup
story-setup
Flagged网文写作工具集基础设施部署与检查。为 Claude Code / OpenCode / Codex / Google Antigravity / ZCode / OpenClaw / Reasonix 提供内置适配;Web AI / 通用 Agent 可走 skills + AGENTS.md 文件模式。触发方式:/story-setup、$story-setup、「准备写书」「帮我搭一下环境」「配置写作项目」「检查写作环境」。
references/opencode/AGENTS.md.tmpl
View on GitHub# {项目名} — 网文写作工具集
## Skill 路由表
| 命令 | Skill | 说明 |
|------|-------|------|
| `/story-long-write`、`/写长篇` | story-long-write | 长篇网文写作(逐章推进) |
| `/story-short-write`、`/写短篇` | story-short-write | 短篇网文写作(情绪驱动) |
| `/story-long-analyze`、`/长篇拆文` | story-long-analyze | 长篇小说深度拆解 |
| `/story-short-analyze`、`/短篇拆文` | story-short-analyze | 短篇小说拆文分析 |
| `/story-long-scan`、`/长篇扫榜` | story-long-scan | 长篇小说榜单与市场趋势 |
| `/story-short-scan`、`/短篇扫榜` | story-short-scan | 短篇小说榜单与情绪风口 |
| `/story-deslop`、`/去AI味` | story-deslop | 去除 AI 写作痕迹 |
| `/story-cover`、`/封面` | story-cover | 生成封面图 |
| `/story-publish`、`/发布资料` | story-publish | 发布准备:整理并核对平台书籍资料 |
| `/story-review`、`/审查` | story-review | 多视角对抗式审查 |
| `/story-import`、`/导入` | story-import | 逆向导入已有小说到项目结构 |
| `/story`、`/网文` | story | 工具箱路由 · 模糊意图自动分发 |
| `/story-setup`、`/准备写书` | story-setup | 环境部署 · hooks/rules/agents 一键部署 |
| `/browser-cdp` | browser-cdp | 浏览器 CDP 工具 |
## 文件结构
- `拆文库/` — 拆文分析结果存放目录
- `{书名}/正文/` — 长篇小说正文章节
- `{书名}/正文.md` — 短篇小说正文
- `{书名}/设定/` — 角色设定、世界设定
- `{书名}/大纲/` — 卷纲、细纲
- `{书名}/追踪/` — 以 `_tracking-state.json` 为唯一底账,自动生成固定 7 栏 `上下文.md`、逐章记录、核心角色状态卡、伏笔清单和作者/读者双时间线
- `{书名}/对标/` — 对标作品分析
## 与作者协作
- 回复用作者说话的语言,等后台助手时的进度说明也一样;主体用写书的话说(书、章、大纲、设定),不抛脚本名、字段名或状态名;报错时附原始报错。skill 里标着 `<!-- author-report -->` 的模板块只是格式参考,回复时直接输出其中的文字,不带代码块围栏。
- 作者要求记住、改掉或忘掉一条写作习惯/偏好时(如「记住:这本书对话用直角引号」),按用户明确类型或当前书类型走 story-long-write / story-short-write 的「作者记忆管理」;无当前书的通用习惯默认交长篇入口,限定本书却无法定位时问哪本书,不要求先建书,写入相应工作区或书目录的 `.story/作者记忆/`;不要存进编程工具自带的记忆。一次性要求直接照做,不记录。
- 不修改项目里已安装的 skill 文件(`SKILL.md`、`references/`、`scripts/`;story-setup 重新部署时覆盖除外)。skill 脚本报错时停下,把报错和所执行的命令告诉作者,不自行修补绕过。
## Compact 后恢复上下文
Compact 后会重新加载 AGENTS.md,需恢复以下写作信息:
1. 当前写作项目名称和进度
2. 最近讨论的角色设定变更
3. 未完成的伏笔列表
4. 当前章节的情绪/节奏目标
长篇先读 `{书名}/追踪/上下文.md`;短篇先读 `{书名}/设定.md` 和 `{书名}/小节大纲.md`。
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis. | Stars: 472k | Updated | Claude CodeCodex | Unverified | Install |
| diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness. | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |