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/templates/rules/story-narrative.md
View on GitHub---
paths:
- "**/设定/**"
---
# Story Narrative Rules
以下规则用于新增或修改设定。
## Rules
1. **世界观规则边界明确**:力量体系、社会规则等"可能"和"不可能"的事必须明确记录在设定文件中,且在正文中一致遵守(设定变更的交叉 grep 与追踪事务提交按 `story-consistency.md` 执行)。
2. **悬念必须有文档记录的"真实答案"**:设置的每个悬念/谜团,须在追踪/或设定/中记录真实答案。
3. **角色动机和关系内部自洽**:角色的行为必须符合其设定的动机,角色关系的变化必须有合理的触发事件。
## Examples
### Correct — 悬念有文档记录的真实答案
```
正文第15章写到:密室中的古镜映出一个陌生人的脸。
本章事务登记:`foreshadow_changes` 埋下 F012(古镜陌生人,第15章埋、计划第38章回收);
作者侧真相「是主角前世记忆的残留投影」写进 `timeline_events.objective_fact`(自动写入 时间线/作者真相.md),
或长期设定写进 `设定/`。伏笔.md 是工具渲染的当前状态视图,没有「真实答案」列,不手写。
```
创作悬念在作者侧材料中留有真实答案及回收计划。
### Wrong — 悬念无文档记录
```
正文第15章写到:密室中的古镜映出一个陌生人的脸。
追踪/伏笔.md 中无任何记录。
写作到第40章时,后续正文遗忘这个悬念,或给出与既有追踪记录矛盾的解释。
```
悬念没有文档记录,容易遗忘或自相矛盾。
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: 323k | 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: 323k | 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: 323k | Updated | Claude CodeCodex | Verified | Install |