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/agent-references/style-resolution.md
View on GitHub# 文风与参考冲突裁决
写正文、改写、去 AI 味和审稿前,先确定本次生效的文风要求。主会话与子代理共用本次裁决。
## 句式、节奏与用词的优先级
表达选择按以下顺序取第一个明确、适用的要求:**当前请求 > 本书文风/设定 > 写作流程传入的适用偏好 > 主对标文风 > 题材包与通用 references 默认值**。传入偏好中,本书要求优先于题材、流程和全局要求;未声明的项才向下补齐。句长、视角、标点、对话落法、情绪直写、修辞、叙述者评论和收尾方式均按此顺序取舍;reference 中的默认规则与示例不压过作者的明确选择。
事实与表达分开裁决:文风不能改变细纲事件、已知事实、信息揭露边界、用户字数范围、改写范围、文件结构或追踪协议;有限全知允许换视角,不等于可提前揭底。转限知时可暂不叙述该人物无从得知的信息,不得补出“早已知道”“后来发现”或新观察经历来保全原文信息。审稿照常评价因果、可读性与情绪效果。
## 加载与传递
1. 从本次正文路径确定书目录(长篇为 `正文/` 的父目录,短篇为 `正文.md` 所在目录)。读该书 `设定/文风.md`;短篇同时读 `设定.md` 的文风约定。无文件就继续,不建占位文件、不猜其他书。一句可执行的偏好也有效,空白、纯标题、待补充不算。
2. `_文风摘要.md` 只辅助定位,不替代全文;摘要与全文不一致用全文。
3. 复用调用方传入的适用偏好与文风裁决,同一项写法由窄到宽取值;同范围冲突不明才问作者。独立调用无传入结果时,按当前请求与本书文风继续。
4. 在现有 prompt 填 `style_resolution`(本次生效的表达要求及来源、被覆盖的默认条款、必须保留的事实/信息边界;无冲突可写“按本书文风”),原样传给正文、去味和文字 reviewer,并传文风全文路径。
## 检测器如何服从裁决
检测器不理解作者意图。明确采用且有功能的命中,复用**书目录**下的 `.deslop-whitelist`:UTF-8,一行一个原文字面片段,空行和 `#` 开头注释行忽略,不支持正则或通配符,不向父目录找。
- 对话与面板内的 `……`、对话内 `——` 及有节制的旁白 `……` 默认保留;本书文风另许旁白破折号时可登记 `——`。具体修辞登记允许保留的完整原句,不得登记“不是”“没有”等泛词关闭整类检查。
- 每项用上一行 `# 来源:…;用途:…` 说明当前请求或文风依据。只为执行作者已明确的选择登记,不因脚本报警自动放行;当前请求禁止某写法时移除相冲突的豁免。
- 深扫、标点整理和写后/下一章检查读取同一白名单。豁免只影响对应字面片段的风格检查;同一行其他问题照报,事实、字数、占位、工程词、截断和文件结构检查不豁免。
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 |