narrative-tests
Help the author write narrative unit tests (rules/constraints) and interpret failures with a concrete fix roadmap.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Help the author write narrative unit tests (rules/constraints) and interpret failures with a concrete fix roadmap.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Govern canon changes: require explicit reason/impact/retroactive policy, and produce an actionable propagation plan.
Turn "AI draft -> author edits" diffs into structured deviation items, an author-intent prompt, and a concrete propagation plan.
Simulate multiple reader personas to score a chapter (爽点/困惑/信息负荷) and propose actionable alternatives.
Manage rewrite branches: when to branch, how to compare, and how to merge back with minimal chaos.
Maintain a structured Setup/Payoff ledger (promises, debts, payoffs) and generate a payoff roadmap.
Define what the Story Control Panel shows, how to compute signals, and how the author should act on alerts.
| name | narrative-tests |
| description | Help the author write narrative unit tests (rules/constraints) and interpret failures with a concrete fix roadmap. |
narrative_tests.md: test suite definition (author editable)narrative_test_report.md: run result (failures + location + fix options)当前实现(v1)支持在 narrative_tests.md 中嵌入一个 ```json 代码块:
{
"suiteId": "default",
"cases": [
{
"id": "no-spoiler-before-1",
"severity": "ERROR",
"type": "must_not_contain_before_chapter",
"untilChapter": 1,
"pattern": "SPOILER",
"message": "Chapter 1 must not contain SPOILER."
}
]
}
支持的 type(v1):
must_containmust_not_containmust_not_contain_before_chapterFor each failure, provide: