zjs105910/workbuddy-market / bundled/novel-writing-suite/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/generic/AGENTS.md.tmpl
View on GitHub# {项目名} — 网文写作工具集(通用 Agent / Web AI)
本项目按通用文件方式接入 oh-story skills。若当前平台没有 Claude Code / OpenCode / Codex / Antigravity / ZCode / OpenClaw 的 hooks 或 custom agents,仍可直接让 Agent 读取 `skills/*/SKILL.md` 和 `skills/*/references/` 执行;只是运行时硬拦截和多 agent 自动协作不会自动生效。
## Skill 路由表
优先用自然语言点名 skill;如果平台支持自定义命令,也可以把下表映射成命令。
| 意图 | Skill | 说明 |
|------|-------|------|
| 写长篇 / 开书 / 续写 | story-long-write | 长篇网文写作(逐章推进) |
| 写短篇 | story-short-write | 短篇网文写作(情绪驱动) |
| 长篇拆文 | story-long-analyze | 长篇小说深度拆解 |
| 短篇拆文 | story-short-analyze | 短篇小说拆文分析 |
| 长篇扫榜 | story-long-scan | 长篇小说榜单与市场趋势 |
| 短篇扫榜 | story-short-scan | 短篇小说榜单与情绪风口 |
| 去 AI 味 | story-deslop | 去除 AI 写作痕迹 |
| 封面 | story-cover | 生成封面图 |
| 审查 | story-review | 多视角审查;无 custom agents 时降级为单线程审查 |
| 导入 | story-import | 逆向导入已有小说到项目结构 |
| 网文工具箱 | story | 模糊意图自动分发 |
| 准备写书 / 部署 | story-setup | 通用项目结构与 skill 使用入口 |
| 浏览器登录态 / 抓取 | browser-cdp | 浏览器 CDP 工具;需平台允许本地脚本/浏览器控制 |
## 文件结构
- `skills/` — 项目本地 skills;Agent 应先读对应 `SKILL.md`,再按需读取 `references/`
- `拆文库/` — 拆文分析结果存放目录
- `{书名}/正文/` — 长篇小说正文章节
- `{书名}/正文.md` — 短篇小说正文
- `{书名}/设定/` — 角色设定、世界设定
- `{书名}/大纲/` — 卷纲、细纲
- `{书名}/追踪/` — `_tracking-state.json` 唯一结构化权威、固定 7 栏 `上下文.md` 续写状态卡、逐章紧凑记录、核心角色独立派生快照、伏笔当前视图、作者与读者双时间线;全部通过追踪工具生成
- `{书名}/对标/` — 对标作品分析
## 通用使用约定
- 写正文前先有大纲:长篇需要 `大纲/细纲_第N章*.md`,短篇需要 `小节大纲.md`。
- 无 hooks 的平台不会自动拦截越权写正文,Agent 必须在执行写作 skill 时自行检查大纲、上下文和追踪文件。
- 无 custom agents 的平台按 solo/direct 执行;遇到 skill 要求调用 story-architect、narrative-writer 等 agent 时,改由当前 Agent 直接完成,并在结果里说明降级。
- **去AI味自锁**(无 hook 平台此条是唯一防线):每章正文落盘后,同一轮内立即按写作 skill 的检测器和禁用词表自检并清零(能运行 node 时跑 `check-ai-patterns.js --check --fail-on=blocking`);写下一章前先复查上一章无欠账。唯一豁免=用户显式说"本章不去味",豁免章在标题行下加 `<!-- 去味:跳过 -->`。
- Compact / 新会话后优先读取 `{书名}/追踪/上下文.md` 恢复当前写作状态。
## 与作者协作
- 回复和报告用写书的话说(书、章、大纲、设定),不向作者抛脚本名、字段名或状态名;只有报错时才附原始报错。skill 里标着 `<!-- author-report -->` 的模板块只是格式参考,回复时直接输出其中的文字,不带代码块围栏。
- 作者要求记住、忘掉或确认一条写作习惯/偏好时(如「记住:这本书对话用直角引号」),走 story skill 的「作者记忆」,由它的脚本写入 `.story/作者记忆/`;不要存进编程工具自带的记忆。一次性要求直接照做,不记录。
- 不修改项目里已安装的 skill 文件(`SKILL.md`、`references/`、`scripts/`;story-setup 重新部署时覆盖除外)。skill 脚本报错时停下,把报错和所执行的命令告诉作者,不自行修补绕过。
## Compact 后恢复上下文
写作中的关键上下文:
1. 当前写作项目名称和进度
2. 最近讨论的角色设定变更
3. 未完成的伏笔列表
4. 当前章节的情绪/节奏目标
如果存在 `{书名}/追踪/上下文.md`,compact 后首先读取该文件恢复上下文。
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 | Verified | 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 |