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: