[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6CACK1BFD9K7VJAAA2A34YE":3,"skill-same:01M6CACK1BFD9K7VJAAA2A34YE":99},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":13,"sourceHtmlUrl":17,"categories":18,"keywords":29,"publishedAt":59,"linkOnly":60,"markdownContent":61,"markdownBody":62,"frontMatter":63,"refName":72,"commitSha":73,"skillDirectory":74,"forksCount":75,"repositoryHtmlUrl":76,"repositoryHomepageUrl":13,"ownerHtmlUrl":77,"ownerBlogUrl":13,"ownerDescription":13,"updatedAt":78,"install":79,"resources":92},"01M6CACK1BFD9K7VJAAA2A34YE","llm-narration-format-clarifier","LLM 叙述格式纠偏","Fix LLM narration drift (LLM improvises formatting because a prompt line is\ntoo vague) by adding a worked example in the prompt, NOT by adding backend\nenforcement. Use when the user reports the LLM is dropping fields, abbreviating\nformats, or substituting its own template for an underspecified one.\n\nTriggers: \"the LLM dropped X\", \"show both\u002Fall Y\", \"the narrative is missing Z\",\n\"prompt is too vague\", \"LLM invents the format\", \"add a worked example\",\n\"make the LLM consistently format X\", \"narration drift\", \"format hint needed\",\n\"the LLM cited D&D 3.5e\u002FPathfinder\u002F\u003Cexternal system> when it shouldn't have\",\n\"we shouldn't reference \u003Cexternal system>\", \"build our own framework\",\n\"the LLM inherited math from \u003CX> without us defining it\".\n\nDoes NOT apply to: LLM judgment errors that need richer prompt context (use\nllm-prompt-engineering \u002F root-cause-first), backend state bugs (use root-cause-first),\nor LLM compliance with explicit instructions it already has (use systematic-debugging).","通过在提示词中添加完整示例来修复 LLM 叙述格式漂移（因某行提示过于模糊导致 LLM 自行编造格式），而不是添加后端强制约束。当用户反馈 LLM 遗漏字段、缩写格式，或用自有模板替换未明确指定的模板时使用。\n\n触发场景：\"LLM 漏掉了 X\"、\"同时展示全部 Y\"、\"叙述缺少 Z\"、\"提示词过于模糊\"、\"LLM 自行发明格式\"、\"添加完整示例\"、\"让 LLM 一致地格式化 X\"、\"叙述漂移\"、\"需要格式提示\"、\"LLM 引用了不该引用的 D&D 3.5e\u002FPathfinder\u002F\u003C外部系统>\"、\"我们不应引用 \u003C外部系统>\"、\"构建我们自己的框架\"、\"LLM 沿用了 \u003CX> 中的数学规则而我们并未定义\"。\n\n不适用于：需要更丰富提示词上下文的 LLM 判断错误（使用 llm-prompt-engineering \u002F root-cause-first）、后端状态缺陷（使用 root-cause-first），或 LLM 未遵守其已有的明确指令（使用 systematic-debugging）。","jleechanorg\u002Fjleechan-skills","jleechanorg","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F221404966?v=4","01M6C1VJ99XG950X1DWPEBCBGX",null,"01M6C1VJDK5YVDNT3362RT5WSB",6,"MIT","https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002Fhermes\u002Fskills\u002Fllm-narration-format-clarifier\u002FSKILL.md",[19,24],{"categoryNo":20,"categoryName":21,"taxonomyType":22,"taxonomyTypeDesc":23},"01M8BRZZF9D7PVFN5MXSPWWD61","AI 工程师","PROFESSION","适用职业",{"categoryNo":25,"categoryName":26,"taxonomyType":27,"taxonomyTypeDesc":28},"01M8C7GF33QZZR2SXBJQHRAFNN","提示词工程与优化","SCENARIO","使用场景",[30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58],"format","narration","llm narration format clarifier","context","send","vague","narrative","currency","systematic","project","show","prompt-engineering","files","reports","patch","fix","terminal","write","read","math","text","template","game","repository","search","framework","debugging","status","repos","2026-11-10 10:12:30",false,"---\nname: llm-narration-format-clarifier\ndescription: |\n  Fix LLM narration drift (LLM improvises formatting because a prompt line is\n  too vague) by adding a worked example in the prompt, NOT by adding backend\n  enforcement. Use when the user reports the LLM is dropping fields, abbreviating\n  formats, or substituting its own template for an underspecified one.\n\n  Triggers: \"the LLM dropped X\", \"show both\u002Fall Y\", \"the narrative is missing Z\",\n  \"prompt is too vague\", \"LLM invents the format\", \"add a worked example\",\n  \"make the LLM consistently format X\", \"narration drift\", \"format hint needed\",\n  \"the LLM cited D&D 3.5e\u002FPathfinder\u002F\u003Cexternal system> when it shouldn't have\",\n  \"we shouldn't reference \u003Cexternal system>\", \"build our own framework\",\n  \"the LLM inherited math from \u003CX> without us defining it\".\n\n  Does NOT apply to: LLM judgment errors that need richer prompt context (use\n  llm-prompt-engineering \u002F root-cause-first), backend state bugs (use root-cause-first),\n  or LLM compliance with explicit instructions it already has (use systematic-debugging).\nversion: 1.1.0\nallowed-tools:\n  - read_file\n  - search_files\n  - patch\n  - write_file\n  - terminal\n  - send_message\ncontext: |\n  Repos where the LLM is the formatter of player-facing narrative text:\n  your-project.com, $GITHUB_REPOSITORY, any RPG \u002F game \u002F story engine\n  that surfaces dice rolls \u002F currency \u002F status lines to the user.\n---\n\n# llm-narration-format-clarifier\n\n## The class of bug\n\nThe prompt has a one-line instruction like `**Advantage\u002FDisadvantage:** Show both dice, indicate which was used.` The LLM reads it, decides \"show both dice\" is a soft hint, and narrates the roll with only the kept die. The user complains: \"the LLM is dropping the second die.\"\n\nThe same shape recurs for currency, status lines, time deltas, name rendering, etc. The temptation is to add a backend formatter \u002F regex \u002F post-processor that scrubs the LLM output. **That is the wrong move** for two reasons:\n\n1. **It violates root-cause-first.** The LLM is the canonical author of the narrative. A backend post-processor silently rewrites it; the user sees \"corrected\" prose with no signal that something was overridden.\n2. **It drifts.** The post-processor handles the specific case the user complained about; the next case is a new post-processor; six months later the codebase has a forest of regex scrubbers, each handling a slightly different pattern, none of them tested together.\n\nThe correct fix is a **worked example** in the prompt — the same pattern the LLM already imitates successfully for the canonical case. Worked examples are what the LLM was trained on; they are the highest-fidelity format hint you can give it.\n\n## The 4-step recipe (verified 2026-06-13, dice adv\u002Fdisadv PR #7539)\n\n### Step 1 — Confirm the LLM controls the formatting, not the server\n\nGrep the prompt file for the format-relevant rule. Grep the server code for any\npost-processing that scrubs the LLM output for this format. If the server does\npost-process, you have a different bug (and a different skill).\n\nFor dice in your-project.com:\n- Prompt: `$PROJECT_ROOT\u002Fprompts\u002Fdice_system_instruction.md:44` — single ambiguous line.\n- Server: `$PROJECT_ROOT\u002Fdice.py` returns the raw server-rolled values via `tool_requests`; no post-processor scrubs the narrative.\n- **Verdict: LLM is the formatter. Prompt is the right surface.**\n\n### Step 2 — Find an existing worked example in the same prompt to mirror\n\nThe LLM reliably imitates the existing normal-roll format on line 42:\n```\n`Action: Stealth Check | Roll: 1d20+5 = [12]+5 = 17 | Result: Success`\n```\nThe adv\u002Fdisadv lines below it lacked a worked example — that's the gap. Find\nthe canonical line in your own prompt and mirror its structure. **Do not invent\na new format style**; the LLM imitates the dominant pattern, so the worked\nexample should be byte-similar to the line above it.\n\n### Step 3 — Replace the vague line with the worked example(s)\n\nBefore:\n```\n**Advantage\u002FDisadvantage:** Show both dice, indicate which was used.\n```\n\nAfter (one worked example per branch, plus a \"never abbreviate\" guard):\n```\n**Advantage\u002FDisadvantage:** The server rolls 2d20 (one kept, one dropped). Display BOTH raw d20 values, label which die was kept, then apply the modifier once. Format examples:\n\n- `Action: Stealth Check (Advantage) | Roll: 2d20+5 keep high = [8, 17]+5 = 22 | Kept: 17 | Result: Success`\n- `Action: Perception Check (Disadvantage) | Roll: 2d20+3 keep low = [4, 11]+3 = 14 | Kept: 4 | Result: Fail`\n\nThe \"kept\" die is the one that determined the total; always show the dropped one too for transparency. Never abbreviate to a single d20.\n```\n\nThree structural pieces, all required:\n1. The instruction (what to do).\n2. A worked example per branch (concrete template).\n3. A negative guard (\"never abbreviate to X\") — the LLM will paraphrase on edge cases; the durable rule is the negative guard.\n\n### Step 4 — Add a string-presence unit test\n\nThe test guards the worked example so a future prompt revision cannot silently\nregress to the vague line. Use string-presence assertions on the prompt file:\n\n```python\nPROMPT_PATH = \"$PROJECT_ROOT\u002Fprompts\u002Fdice_system_instruction.md\"\n\ndef _load_prompt() -> str:\n    with open(PROMPT_PATH, \"r\", encoding=\"utf-8\") as fh:\n        return fh.read()\n\n\nclass TestDicePromptAdvantageDisadvantage(unittest.TestCase):\n    def test_prompt_has_advantage_keep_high_example(self):\n        prompt = _load_prompt()\n        self.assertIn(\"2d20+5 keep high\", prompt)\n        self.assertIn(\"[8, 17]\", prompt)\n        self.assertIn(\"Kept: 17\", prompt)\n        self.assertIn(\"Advantage\", prompt)\n\n    def test_prompt_has_disadvantage_keep_low_example(self):\n        prompt = _load_prompt()\n        self.assertIn(\"2d20+3 keep low\", prompt)\n        self.assertIn(\"[4, 11]\", prompt)\n        self.assertIn(\"Kept: 4\", prompt)\n        self.assertIn(\"Disadvantage\", prompt)\n\n    def test_prompt_drops_old_vague_line(self):\n        prompt = _load_prompt()\n        self.assertNotIn(\"Show both dice, indicate which was used.\", prompt)\n\n    def test_prompt_explicitly_forbids_single_d20_abbreviation(self):\n        prompt = _load_prompt()\n        self.assertIn(\"Never abbreviate to a single d20\", prompt)\n```\n\nThree assertions per branch + one for the dropped-old-line + one for the\nnegative guard. The test file should live in `$PROJECT_ROOT\u002Ftests\u002F` per AGENTS.md\n\"Test File Placement\" rule (for your-project.com; adapt to your repo's test\ndir convention).\n\n## Sub-class: External-system heritage citation (verified 2026-07-21)\n\nThis is a **second class** of LLM improvisation bug, distinct from format drift\nbut sharing the same fix shape: the prompt cites an external system's heritage\n(\"inspired by D&D 3.5e Epic Levels\", \"per Pathfinder Mythic\", \"as in standard\n5e house-rules\") without anchoring the specific math, so the LLM fills in the\nspecific values from its prior-knowledge weights. The user sees improvisation;\nthe LLM sees a \"literature pointer.\"\n\n### Why this is a different sub-class\n\nFormat-drift (the original class) is the LLM *making up a presentation*. The\nexternal-system-heritage sub-class is the LLM *making up values from a citation*.\n\n**Example (verified 2026-07-21, $GITHUB_REPOSITORY issue #8510,\ncampaign `wc2BBcSgOljiU3vJ160A` \"bg3 nocturne murder god\"):**\n\n**Wrong prompt** (the bug):\n```markdown\nDivine power scales automatically with character level, inspired by D&D 3.5e\nEpic Levels and Deities & Demigods. No separate resource tracking — bonuses\nare derived from level.\n```\n\n**What the LLM did:** with no per-level cost anchored, the LLM invented a\n50,000 XP\u002Flevel flat rate from its 3.5e heritage memory, computed\n`3,249,500 \u002F 50,000 ≈ 65` levels beyond L20 → projected L77 for a character\nthat should be L50. When the user asked the LLM to explain, it self-confirmed:\n*\"You are correct that the 50,000 XP per level linear scaling is not\nexplicitly written in the system prompts provided.\"*\n\nUser mid-thread steer: *\"we shouldnt even reference 3e epic levels, just have\nour own custom leveling system\u002Fframework after level 20\"*. The citation was\nthe bug, the heritage was the bug, the improvisation was downstream.\n\n### Cluster trigger (when this is fleet-wide, not per-scene)\n\nThe external-system-heritage bug class is **fleet-wide by construction** —\nevery L21+ campaign the LLM has ever narrated will hit it, because the vague\nheritage citation is in `divine_leverage_system.md:42` (or wherever the cite\nlives). Per `convergent-bug-triage`, treat 3+ sibling reproductions across\ncampaigns as a fleet-wide prompt gap, not a per-campaign invention bug.\n\nDiagnostic heuristic:\n1. `grep -rn \"inspired by \u003Cexternal system>\\|per Pathfinder\\|as in \u003Csystem>\" $PROJECT_ROOT\u002Fprompts\u002F`\n2. For each hit, look at the surrounding context — does the prompt anchor a\n   specific value, or just cite the heritage?\n3. If cite-without-anchor, the LLM will improvise.\n\n### The recipe — owning the framework\n\nWhen a prompt cites an external-system heritage without anchored math, the fix\nis to **own the framework**, not to add a more specific citation. The fix shape\nmirrors the 4-step recipe above, but the worked example becomes a **canonical\nformula + authoritative table**:\n\n1. **Replace the citation with a self-description.** Drop \"inspired by D&D\n   3.5e Epic Levels\" entirely. Replace with \"WorldAI uses its own progression\n   framework for levels beyond the SRD table — see the *\u003CWorldAI Own Framework>*\n   section below for the canonical math.\" The single-source-of-truth marker\n   `### \u003CFramework Name> (canonical, custom)` self-identifies the math as\n   owned by the codebase, not a heritage pointer.\n\n2. **Anchor the formula.** Write a single `xp_needed_for_level(L)` (or equivalent)\n   formula with a closed-form expression. Worked example:\n   ```\n   xp_needed_for_level(L) =\n     SRD_table[L - 1]                       if 1 ≤ L ≤ 20\n     355_000 + (L − 20) × 50_000            if L ≥ 21\n   ```\n   The formula is the canonical source. The tier labels (`Mythic Mortal`,\n   `Ascendant`, `Divine Apex`) are **narrative flavor only** — math is\n   identical across all tiers, even when the table has multiple bands.\n\n3. **Provide a worked-examples table with explicit `× 50,000` math.** Not just\n   \"L77 = 3,205,000\" — show the arithmetic step `355,000 + 57 × 50,000 =\n   3,205,000`. This makes the formula visible in the prompt itself, so the LLM\n   can verify its own computation rather than improvising.\n\n4. **Add operational rules** with the never-re-derive guard:\n   ```\n   **Operational rules the LLM MUST follow when narrating L21+ advancement:**\n\n   1. Never re-derive the per-level cost. Do NOT compute it from any other\n      RPG system's heritage (3.5e, Pathfinder, etc.). The numbers above are\n      the ONLY correct values.\n   2. Use the cumulative XP formula directly when calculating current level\n      from XP, or when narrating how much XP remains to the next level.\n   3. Per-campaign overrides via custom_campaign_state.progression_overrides\n      replace the formula on a per-campaign basis.\n   ```\n\n5. **Mirror in any companion prompt** that touches the same domain. If\n   `divine_leverage_system.md` has a pacing-fractions system, mirror the\n   band anchors in that companion (`leveling_pace_contract.md` in this case):\n   `**Level 21 band = 405,000 − 355,000 = 50,000** (Mythic Mortal tier opens)`.\n   Keeps the cumulative-threshold and award-rate layers synchronized.\n\n6. **Add a test contract with the never-re-derive guard.** The test asserts:\n   - The framework section header is present (anchored by string match).\n   - The forbidden heritage citation (`inspired by D&D 3.5e`, `Inspired by D&D\n     3.5e`, etc.) is NOT present anywhere in the prompt.\n   - At least one of `Do NOT compute it from any other RPG` \u002F `any other RPG\n     system's heritage` \u002F similar never-re-derive markers is present.\n   - Worked-example numerical values are pinned (e.g. L21=405,000; L77=3,205,000)\n     so any drift becomes a CI failure.\n\n7. **Mirror in BQ check:** if there is an existing BQ payload log table\n   (`llm_forensics.llm_payloads` or equivalent), verify after merge that the\n   new framework section reaches the LLM for every agent that calls the\n   dispatcher:\n   ```sql\n   SELECT\n     agent,\n     COUNTIF(REGEXP_CONTAINS(CAST(request_json AS STRING), r'\u003CFramework Name>')) AS has_framework,\n     COUNTIF(REGEXP_CONTAINS(CAST(request_json AS STRING), r'\u003Ckey formula anchor>')) AS has_formula,\n     COUNT(*) AS calls\n   FROM `\u003Cproject>.llm_forensics.llm_payloads`\n   WHERE ingested_at >= TIMESTAMP_SUB(CURRENT_TIMESTAMP(), INTERVAL 7 DAY)\n     AND is_test = false\n   GROUP BY agent\n   ```\n\n### Pitfall for the owned-framework branch\n\n**Pitfall E — Hiding the math in the formula.** If your worked-examples table\nsays L77 = 3,205,000 but never mentions \"× 50,000\" or \"+ (L-20) × 50_000\"\nin the prompt itself, the LLM cannot verify its computation against the\ncanonical formula. Either show the arithmetic in the worked-examples column\n(`L77: 355,000 + 57 × 50,000 = 3,205,000`) or restate the formula immediately\nabove the table.\n\nVerified failure case (2026-07-21, PR #8511 first draft): the table said\n`L77 = 3,705,000` while the formula gave `3,205,000` — a `355,000` vs\n`705,000` ancestor-of-the-formula difference. A contract test\n(`test_l77_3_205_000_canonical`) would have caught this pre-merge if the\nformula had been stated above the table; as written, the test had to be\nadded separately and the prompt patched mid-review. **Mitigation:** always\nwrite the formula → worked-examples table → test contract in that order;\n**the test contract references the formula, never the table alone.**\n\n**Pitfall F — Pinning arithmetic in the test, not the prompt.** A test like\n`assertIn(\"3,205,000\", prompt)` allows a prompt rewrite to say \"L77 = 3,205,000\"\nwith no formula and the test still passes. Stronger contract: assert the\nformula string is present, plus the worked example, plus a marker that the\nframework section is the single source of truth. All three checks together.\n\n## Evidence policy (what counts as proof the worked example works)\n\n| Change scope | Evidence required | Why |\n|---|---|---|\n| `$PROJECT_ROOT\u002Fprompts\u002F**` only, no LLM call site change, no schema change, no server change | **String-presence unit test is sufficient** | The prompt is a static string; the test guards that string. A real-LLM replay does not test the prompt — it tests the LLM, which is non-deterministic and not the unit under test. |\n| Prompt change that coincides with a schema\u002Ftool\u002Fagent change | Real LLM full HTTP raw response evidence (`## Real LLM Evidence` section) | The change is no longer prompt-only; the schema is also a unit under test. |\n| Prompt change that claims to fix a specific user-visible failure | Replay the original failure scenario (existing test, real LLM, real campaign) | The test must be RED before the prompt fix, GREEN after. The \"Was the bug actually fixed?\" question is the test's question. |\n\nFor the dice adv\u002Fdisadv case (PR #7539), the change is prompt-only — string-presence test is the right evidence shape. The PR's `## Real LLM Evidence` is N\u002FA + explains why, not skipped.\n\nFor the external-system-heritage case (PR #8511), the change is also prompt-only — same string-presence evidence shape applies, but **plus** the BQ payload check from Step 7 above to confirm the framework reaches the LLM. The test asserts the prompt content; BQ asserts the on-wire delivery.\n\n## Pitfalls\n\n### Pitfall 1 — Stopping at \"PR open\" instead of driving to green\n\nThe prompt-only change takes 3 minutes to land. Watching the checks turn green\ntakes 15-30 minutes. The temptation is to declare done at PR-open. **Don't.**\nRe-trigger failed checks, fix anything fixable in the PR, post the in-thread\nupdate with the final state. PR-open is the *minimum* unit of done-ness; green\nCI is the *complete* unit.\n\nIf a CI failure is **infra-class** (runner stale refs, missing env var, OOM),\nship the infra fix in the same turn — the work for the user is \"PR is green\",\nnot \"PR exists with a known transient failure that I'll get to later.\" Verified\n2026-06-13: a self-hosted runner had 6 stale broken local refs (deleted\nbranches); the same runner failed every job in 6 seconds with\n`fatal: bad object refs\u002Fremotes\u002Forigin\u002F\u003Cbranch>`. Pruning the local refs\nrestored green. The PR diff was 0; the CI state went red→green.\n\n### Pitfall 2 — Marking the change N\u002FA on `## Real LLM Evidence` for a prompt-only change that touches user-visible behavior\n\nThe your-project.com PR template hard-requires `## Real LLM Evidence` whenever\n`$PROJECT_ROOT\u002Fprompts\u002F**` changed. For a pure prompt-text change with no schema \u002F\nagent \u002F call-site change, N\u002FA is correct — but the explanation must say *why*\nN\u002FA is correct (\"the prompt is a static string; the test guards that string;\na real-LLM replay tests the LLM, not the unit under test\"). N\u002FA + reason\npasses the gate; bare N\u002FA does not.\n\nFor the external-system-heritage branch, N\u002FA is also correct in shape — the\nprompt is a static string and the BQ payload check (Step 7 in the recipe)\ncovers the on-wire delivery question. State both in `## Real LLM Evidence`:\n\"N\u002FA on real LLM replay (prompt is the unit under test); BQ payload check\ncovers delivery; Postman `\u002Fapi\u002Fcampaigns\u002F\u003CCID>\u002Finteraction\u002Fstream` evidence\nsweep is required at \u002Fes time per AGENTS.md `## Evidence for mvp_site Production\nChanges`.\"\n\n### Pitfall 3 — Skipping the \"test the test\" step\n\nThe unit test guards the prompt. Run the test green in the worktree *before*\npushing the branch. A test that always passes is worse than no test — it\nsilences regressions.\n\n```bash\ncd \u003Cworktree>\n$HOME\u002Fyour-project.com\u002Fvenv\u002Fbin\u002Fpython3 -m unittest \\\n  mvp_site.tests.test_dice_prompt_advantage_disadvantage -v\n# Expect: Ran 5 tests in 0.000s \u002F OK\n```\n\nFor the Mythic Tier case, the test guards both the **prompt content** (string\npresence) AND the **arithmetic consistency** (worked-example values match the\nformula). Run both before pushing.\n\n### Pitfall 4 — Inventing a new format style instead of mirroring the existing one\n\nThe LLM imitates the dominant pattern. If your worked example uses\n`[d20_high, d20_low]+mod` but the surrounding prompt uses\n`1d20+5 = [12]+5 = 17`, the LLM will produce inconsistent output. **Mirror the\nexisting line byte-similar.** Same delimiters, same modifier-once math, same\n\"Result: X\" suffix.\n\n### Pitfall 5 — Keeping the heritage citation AND adding the framework\n\nA common half-fix: add a canonical section but leave \"inspired by 3.5e\" in\nplace for historical flavor. The LLM reads both — the framework AND the\nheritage — and improvises by averaging, by anchoring on whichever reads\nfirst, or by silently preferring the heritage. Strip the heritage\ncitation entirely; the framework's self-description\n(\"canonical, custom\") is the only anchor the LLM should see.\n\nVerified failure case (2026-07-21, PR #8511 first draft): the test file's\n`test_3e_3_5e_heritage_removed` correctly asserted the absence of\n`inspired by D&D 3.5e` (and 3 similar phrases) and would have caught a\nhalf-fix where the citation survived. **Mitigation:** the contract test\nMUST include an absence-assertion for the heritage. Without it, a\nhalf-fix slips through review.\n\n### Pitfall 6 — Editing the user's prompt without first reading their campaign state\n\nThe external-system-heritage bug class is reproducible on the campaign that\nprompted it (`wc2BBcSgOljiU3vJ160A` for the Mythic Tier case). Reading the\n*latest* entries from that campaign via `scripts\u002Fdownload_campaign.py`\nbefore editing the prompt surfaces:\n\n- What the LLM said (the improvisation product, useful as a \"negative example\").\n- What the user pushed back with (\"we shouldnt even reference 3e epic levels\").\n- The campaign's specific level\u002FXP state (to write a worked-examples table\n  that matches the user's actual data, not fabricated levels).\n\nFor $GITHUB_REPOSITORY specifically, the canonical recipe is\n`scripts\u002Fdownload_campaign.py --uid \u003Cuid> --campaign-id \u003Ccid> --output-dir \u002Ftmp\u002F...\u002F`.\nSkip the browser path entirely — Firebase auth blocks it.\n\n## Cross-references\n\n- `worldarchitect` skill — 7-green gate, evidence rules, design-decision heading requirement.\n- `root-cause-first` skill — when the LLM is the wrong layer to fix (rare for narration drift; common for state bugs).\n- `always-pr-never-local-edit` skill — worktree + GH issue + branch + PR + push, every time.\n- `drive-pr-to-green` skill — full bring-to-green workflow for the next session.\n- `convergent-bug-triage` skill — fleet-wide vs per-scene triage when a single campaign hits 3+ sibling bugs; triggers when the same LLM improvisation pattern crosses 3+ campaigns (this is the canonical signal for the external-system-heritage sub-class).\n- `llm-prompt-delivery-audit` — for the cross-check on whether the new framework section actually reaches the LLM on the wire (Step 7 in the recipe). When the prompt-edit PR claims \"fixed,\" BQ payload table is the verification.\n- `references\u002Fmythic-tier-3e-antipattern.md` — full diagnostic trail (issue #8510) showing the wrong prompt, the LLM's improvisation, the worked-examples table, and the test contract.\n","# llm-narration-format-clarifier\n\n## The class of bug\n\nThe prompt has a one-line instruction like `**Advantage\u002FDisadvantage:** Show both dice, indicate which was used.` The LLM reads it, decides \"show both dice\" is a soft hint, and narrates the roll with only the kept die. The user complains: \"the LLM is dropping the second die.\"\n\nThe same shape recurs for currency, status lines, time deltas, name rendering, etc. The temptation is to add a backend formatter \u002F regex \u002F post-processor that scrubs the LLM output. **That is the wrong move** for two reasons:\n\n1. **It violates root-cause-first.** The LLM is the canonical author of the narrative. A backend post-processor silently rewrites it; the user sees \"corrected\" prose with no signal that something was overridden.\n2. **It drifts.** The post-processor handles the specific case the user complained about; the next case is a new post-processor; six months later the codebase has a forest of regex scrubbers, each handling a slightly different pattern, none of them tested together.\n\nThe correct fix is a **worked example** in the prompt — the same pattern the LLM already imitates successfully for the canonical case. Worked examples are what the LLM was trained on; they are the highest-fidelity format hint you can give it.\n\n## The 4-step recipe (verified 2026-06-13, dice adv\u002Fdisadv PR #7539)\n\n### Step 1 — Confirm the LLM controls the formatting, not the server\n\nGrep the prompt file for the format-relevant rule. Grep the server code for any\npost-processing that scrubs the LLM output for this format. If the server does\npost-process, you have a different bug (and a different skill).\n\nFor dice in your-project.com:\n- Prompt: `$PROJECT_ROOT\u002Fprompts\u002Fdice_system_instruction.md:44` — single ambiguous line.\n- Server: `$PROJECT_ROOT\u002Fdice.py` returns the raw server-rolled values via `tool_requests`; no post-processor scrubs the narrative.\n- **Verdict: LLM is the formatter. Prompt is the right surface.**\n\n### Step 2 — Find an existing worked example in the same prompt to mirror\n\nThe LLM reliably imitates the existing normal-roll format on line 42:\n```\n`Action: Stealth Check | Roll: 1d20+5 = [12]+5 = 17 | Result: Success`\n```\nThe adv\u002Fdisadv lines below it lacked a worked example — that's the gap. Find\nthe canonical line in your own prompt and mirror its structure. **Do not invent\na new format style**; the LLM imitates the dominant pattern, so the worked\nexample should be byte-similar to the line above it.\n\n### Step 3 — Replace the vague line with the worked example(s)\n\nBefore:\n```\n**Advantage\u002FDisadvantage:** Show both dice, indicate which was used.\n```\n\nAfter (one worked example per branch, plus a \"never abbreviate\" guard):\n```\n**Advantage\u002FDisadvantage:** The server rolls 2d20 (one kept, one dropped). Display BOTH raw d20 values, label which die was kept, then apply the modifier once. Format examples:\n\n- `Action: Stealth Check (Advantage) | Roll: 2d20+5 keep high = [8, 17]+5 = 22 | Kept: 17 | Result: Success`\n- `Action: Perception Check (Disadvantage) | Roll: 2d20+3 keep low = [4, 11]+3 = 14 | Kept: 4 | Result: Fail`\n\nThe \"kept\" die is the one that determined the total; always show the dropped one too for transparency. Never abbreviate to a single d20.\n```\n\nThree structural pieces, all required:\n1. The instruction (what to do).\n2. A worked example per branch (concrete template).\n3. A negative guard (\"never abbreviate to X\") — the LLM will paraphrase on edge cases; the durable rule is the negative guard.\n\n### Step 4 — Add a string-presence unit test\n\nThe test guards the worked example so a future prompt revision cannot silently\nregress to the vague line. Use string-presence assertions on the prompt file:\n\n```python\nPROMPT_PATH = \"$PROJECT_ROOT\u002Fprompts\u002Fdice_system_instruction.md\"\n\ndef _load_prompt() -> str:\n    with open(PROMPT_PATH, \"r\", encoding=\"utf-8\") as fh:\n        return fh.read()\n\n\nclass TestDicePromptAdvantageDisadvantage(unittest.TestCase):\n    def test_prompt_has_advantage_keep_high_example(self):\n        prompt = _load_prompt()\n        self.assertIn(\"2d20+5 keep high\", prompt)\n        self.assertIn(\"[8, 17]\", prompt)\n        self.assertIn(\"Kept: 17\", prompt)\n        self.assertIn(\"Advantage\", prompt)\n\n    def test_prompt_has_disadvantage_keep_low_example(self):\n        prompt = _load_prompt()\n        self.assertIn(\"2d20+3 keep low\", prompt)\n        self.assertIn(\"[4, 11]\", prompt)\n        self.assertIn(\"Kept: 4\", prompt)\n        self.assertIn(\"Disadvantage\", prompt)\n\n    def test_prompt_drops_old_vague_line(self):\n        prompt = _load_prompt()\n        self.assertNotIn(\"Show both dice, indicate which was used.\", prompt)\n\n    def test_prompt_explicitly_forbids_single_d20_abbreviation(self):\n        prompt = _load_prompt()\n        self.assertIn(\"Never abbreviate to a single d20\", prompt)\n```\n\nThree assertions per branch + one for the dropped-old-line + one for the\nnegative guard. The test file should live in `$PROJECT_ROOT\u002Ftests\u002F` per AGENTS.md\n\"Test File Placement\" rule (for your-project.com; adapt to your repo's test\ndir convention).\n\n## Sub-class: External-system heritage citation (verified 2026-07-21)\n\nThis is a **second class** of LLM improvisation bug, distinct from format drift\nbut sharing the same fix shape: the prompt cites an external system's heritage\n(\"inspired by D&D 3.5e Epic Levels\", \"per Pathfinder Mythic\", \"as in standard\n5e house-rules\") without anchoring the specific math, so the LLM fills in the\nspecific values from its prior-knowledge weights. The user sees improvisation;\nthe LLM sees a \"literature pointer.\"\n\n### Why this is a different sub-class\n\nFormat-drift (the original class) is the LLM *making up a presentation*. The\nexternal-system-heritage sub-class is the LLM *making up values from a citation*.\n\n**Example (verified 2026-07-21, $GITHUB_REPOSITORY issue #8510,\ncampaign `wc2BBcSgOljiU3vJ160A` \"bg3 nocturne murder god\"):**\n\n**Wrong prompt** (the bug):\n```markdown\nDivine power scales automatically with character level, inspired by D&D 3.5e\nEpic Levels and Deities & Demigods. No separate resource tracking — bonuses\nare derived from level.\n```\n\n**What the LLM did:** with no per-level cost anchored, the LLM invented a\n50,000 XP\u002Flevel flat rate from its 3.5e heritage memory, computed\n`3,249,500 \u002F 50,000 ≈ 65` levels beyond L20 → projected L77 for a character\nthat should be L50. When the user asked the LLM to explain, it self-confirmed:\n*\"You are correct that the 50,000 XP per level linear scaling is not\nexplicitly written in the system prompts provided.\"*\n\nUser mid-thread steer: *\"we shouldnt even reference 3e epic levels, just have\nour own custom leveling system\u002Fframework after level 20\"*. The citation was\nthe bug, the heritage was the bug, the improvisation was downstream.\n\n### Cluster trigger (when this is fleet-wide, not per-scene)\n\nThe external-system-heritage bug class is **fleet-wide by construction** —\nevery L21+ campaign the LLM has ever narrated will hit it, because the vague\nheritage citation is in `divine_leverage_system.md:42` (or wherever the cite\nlives). Per `convergent-bug-triage`, treat 3+ sibling reproductions across\ncampaigns as a fleet-wide prompt gap, not a per-campaign invention bug.\n\nDiagnostic heuristic:\n1. `grep -rn \"inspired by \u003Cexternal system>\\|per Pathfinder\\|as in \u003Csystem>\" $PROJECT_ROOT\u002Fprompts\u002F`\n2. For each hit, look at the surrounding context — does the prompt anchor a\n   specific value, or just cite the heritage?\n3. If cite-without-anchor, the LLM will improvise.\n\n### The recipe — owning the framework\n\nWhen a prompt cites an external-system heritage without anchored math, the fix\nis to **own the framework**, not to add a more specific citation. The fix shape\nmirrors the 4-step recipe above, but the worked example becomes a **canonical\nformula + authoritative table**:\n\n1. **Replace the citation with a self-description.** Drop \"inspired by D&D\n   3.5e Epic Levels\" entirely. Replace with \"WorldAI uses its own progression\n   framework for levels beyond the SRD table — see the *\u003CWorldAI Own Framework>*\n   section below for the canonical math.\" The single-source-of-truth marker\n   `### \u003CFramework Name> (canonical, custom)` self-identifies the math as\n   owned by the codebase, not a heritage pointer.\n\n2. **Anchor the formula.** Write a single `xp_needed_for_level(L)` (or equivalent)\n   formula with a closed-form expression. Worked example:\n   ```\n   xp_needed_for_level(L) =\n     SRD_table[L - 1]                       if 1 ≤ L ≤ 20\n     355_000 + (L − 20) × 50_000            if L ≥ 21\n   ```\n   The formula is the canonical source. The tier labels (`Mythic Mortal`,\n   `Ascendant`, `Divine Apex`) are **narrative flavor only** — math is\n   identical across all tiers, even when the table has multiple bands.\n\n3. **Provide a worked-examples table with explicit `× 50,000` math.** Not just\n   \"L77 = 3,205,000\" — show the arithmetic step `355,000 + 57 × 50,000 =\n   3,205,000`. This makes the formula visible in the prompt itself, so the LLM\n   can verify its own computation rather than improvising.\n\n4. **Add operational rules** with the never-re-derive guard:\n   ```\n   **Operational rules the LLM MUST follow when narrating L21+ advancement:**\n\n   1. Never re-derive the per-level cost. Do NOT compute it from any other\n      RPG system's heritage (3.5e, Pathfinder, etc.). The numbers above are\n      the ONLY correct values.\n   2. Use the cumulative XP formula directly when calculating current level\n      from XP, or when narrating how much XP remains to the next level.\n   3. Per-campaign overrides via custom_campaign_state.progression_overrides\n      replace the formula on a per-campaign basis.\n   ```\n\n5. **Mirror in any companion prompt** that touches the same domain. If\n   `divine_leverage_system.md` has a pacing-fractions system, mirror the\n   band anchors in that companion (`leveling_pace_contract.md` in this case):\n   `**Level 21 band = 405,000 − 355,000 = 50,000** (Mythic Mortal tier opens)`.\n   Keeps the cumulative-threshold and award-rate layers synchronized.\n\n6. **Add a test contract with the never-re-derive guard.** The test asserts:\n   - The framework section header is present (anchored by string match).\n   - The forbidden heritage citation (`inspired by D&D 3.5e`, `Inspired by D&D\n     3.5e`, etc.) is NOT present anywhere in the prompt.\n   - At least one of `Do NOT compute it from any other RPG` \u002F `any other RPG\n     system's heritage` \u002F similar never-re-derive markers is present.\n   - Worked-example numerical values are pinned (e.g. L21=405,000; L77=3,205,000)\n     so any drift becomes a CI failure.\n\n7. **Mirror in BQ check:** if there is an existing BQ payload log table\n   (`llm_forensics.llm_payloads` or equivalent), verify after merge that the\n   new framework section reaches the LLM for every agent that calls the\n   dispatcher:\n   ```sql\n   SELECT\n     agent,\n     COUNTIF(REGEXP_CONTAINS(CAST(request_json AS STRING), r'\u003CFramework Name>')) AS has_framework,\n     COUNTIF(REGEXP_CONTAINS(CAST(request_json AS STRING), r'\u003Ckey formula anchor>')) AS has_formula,\n     COUNT(*) AS calls\n   FROM `\u003Cproject>.llm_forensics.llm_payloads`\n   WHERE ingested_at >= TIMESTAMP_SUB(CURRENT_TIMESTAMP(), INTERVAL 7 DAY)\n     AND is_test = false\n   GROUP BY agent\n   ```\n\n### Pitfall for the owned-framework branch\n\n**Pitfall E — Hiding the math in the formula.** If your worked-examples table\nsays L77 = 3,205,000 but never mentions \"× 50,000\" or \"+ (L-20) × 50_000\"\nin the prompt itself, the LLM cannot verify its computation against the\ncanonical formula. Either show the arithmetic in the worked-examples column\n(`L77: 355,000 + 57 × 50,000 = 3,205,000`) or restate the formula immediately\nabove the table.\n\nVerified failure case (2026-07-21, PR #8511 first draft): the table said\n`L77 = 3,705,000` while the formula gave `3,205,000` — a `355,000` vs\n`705,000` ancestor-of-the-formula difference. A contract test\n(`test_l77_3_205_000_canonical`) would have caught this pre-merge if the\nformula had been stated above the table; as written, the test had to be\nadded separately and the prompt patched mid-review. **Mitigation:** always\nwrite the formula → worked-examples table → test contract in that order;\n**the test contract references the formula, never the table alone.**\n\n**Pitfall F — Pinning arithmetic in the test, not the prompt.** A test like\n`assertIn(\"3,205,000\", prompt)` allows a prompt rewrite to say \"L77 = 3,205,000\"\nwith no formula and the test still passes. Stronger contract: assert the\nformula string is present, plus the worked example, plus a marker that the\nframework section is the single source of truth. All three checks together.\n\n## Evidence policy (what counts as proof the worked example works)\n\n| Change scope | Evidence required | Why |\n|---|---|---|\n| `$PROJECT_ROOT\u002Fprompts\u002F**` only, no LLM call site change, no schema change, no server change | **String-presence unit test is sufficient** | The prompt is a static string; the test guards that string. A real-LLM replay does not test the prompt — it tests the LLM, which is non-deterministic and not the unit under test. |\n| Prompt change that coincides with a schema\u002Ftool\u002Fagent change | Real LLM full HTTP raw response evidence (`## Real LLM Evidence` section) | The change is no longer prompt-only; the schema is also a unit under test. |\n| Prompt change that claims to fix a specific user-visible failure | Replay the original failure scenario (existing test, real LLM, real campaign) | The test must be RED before the prompt fix, GREEN after. The \"Was the bug actually fixed?\" question is the test's question. |\n\nFor the dice adv\u002Fdisadv case (PR #7539), the change is prompt-only — string-presence test is the right evidence shape. The PR's `## Real LLM Evidence` is N\u002FA + explains why, not skipped.\n\nFor the external-system-heritage case (PR #8511), the change is also prompt-only — same string-presence evidence shape applies, but **plus** the BQ payload check from Step 7 above to confirm the framework reaches the LLM. The test asserts the prompt content; BQ asserts the on-wire delivery.\n\n## Pitfalls\n\n### Pitfall 1 — Stopping at \"PR open\" instead of driving to green\n\nThe prompt-only change takes 3 minutes to land. Watching the checks turn green\ntakes 15-30 minutes. The temptation is to declare done at PR-open. **Don't.**\nRe-trigger failed checks, fix anything fixable in the PR, post the in-thread\nupdate with the final state. PR-open is the *minimum* unit of done-ness; green\nCI is the *complete* unit.\n\nIf a CI failure is **infra-class** (runner stale refs, missing env var, OOM),\nship the infra fix in the same turn — the work for the user is \"PR is green\",\nnot \"PR exists with a known transient failure that I'll get to later.\" Verified\n2026-06-13: a self-hosted runner had 6 stale broken local refs (deleted\nbranches); the same runner failed every job in 6 seconds with\n`fatal: bad object refs\u002Fremotes\u002Forigin\u002F\u003Cbranch>`. Pruning the local refs\nrestored green. The PR diff was 0; the CI state went red→green.\n\n### Pitfall 2 — Marking the change N\u002FA on `## Real LLM Evidence` for a prompt-only change that touches user-visible behavior\n\nThe your-project.com PR template hard-requires `## Real LLM Evidence` whenever\n`$PROJECT_ROOT\u002Fprompts\u002F**` changed. For a pure prompt-text change with no schema \u002F\nagent \u002F call-site change, N\u002FA is correct — but the explanation must say *why*\nN\u002FA is correct (\"the prompt is a static string; the test guards that string;\na real-LLM replay tests the LLM, not the unit under test\"). N\u002FA + reason\npasses the gate; bare N\u002FA does not.\n\nFor the external-system-heritage branch, N\u002FA is also correct in shape — the\nprompt is a static string and the BQ payload check (Step 7 in the recipe)\ncovers the on-wire delivery question. State both in `## Real LLM Evidence`:\n\"N\u002FA on real LLM replay (prompt is the unit under test); BQ payload check\ncovers delivery; Postman `\u002Fapi\u002Fcampaigns\u002F\u003CCID>\u002Finteraction\u002Fstream` evidence\nsweep is required at \u002Fes time per AGENTS.md `## Evidence for mvp_site Production\nChanges`.\"\n\n### Pitfall 3 — Skipping the \"test the test\" step\n\nThe unit test guards the prompt. Run the test green in the worktree *before*\npushing the branch. A test that always passes is worse than no test — it\nsilences regressions.\n\n```bash\ncd \u003Cworktree>\n$HOME\u002Fyour-project.com\u002Fvenv\u002Fbin\u002Fpython3 -m unittest \\\n  mvp_site.tests.test_dice_prompt_advantage_disadvantage -v\n# Expect: Ran 5 tests in 0.000s \u002F OK\n```\n\nFor the Mythic Tier case, the test guards both the **prompt content** (string\npresence) AND the **arithmetic consistency** (worked-example values match the\nformula). Run both before pushing.\n\n### Pitfall 4 — Inventing a new format style instead of mirroring the existing one\n\nThe LLM imitates the dominant pattern. If your worked example uses\n`[d20_high, d20_low]+mod` but the surrounding prompt uses\n`1d20+5 = [12]+5 = 17`, the LLM will produce inconsistent output. **Mirror the\nexisting line byte-similar.** Same delimiters, same modifier-once math, same\n\"Result: X\" suffix.\n\n### Pitfall 5 — Keeping the heritage citation AND adding the framework\n\nA common half-fix: add a canonical section but leave \"inspired by 3.5e\" in\nplace for historical flavor. The LLM reads both — the framework AND the\nheritage — and improvises by averaging, by anchoring on whichever reads\nfirst, or by silently preferring the heritage. Strip the heritage\ncitation entirely; the framework's self-description\n(\"canonical, custom\") is the only anchor the LLM should see.\n\nVerified failure case (2026-07-21, PR #8511 first draft): the test file's\n`test_3e_3_5e_heritage_removed` correctly asserted the absence of\n`inspired by D&D 3.5e` (and 3 similar phrases) and would have caught a\nhalf-fix where the citation survived. **Mitigation:** the contract test\nMUST include an absence-assertion for the heritage. Without it, a\nhalf-fix slips through review.\n\n### Pitfall 6 — Editing the user's prompt without first reading their campaign state\n\nThe external-system-heritage bug class is reproducible on the campaign that\nprompted it (`wc2BBcSgOljiU3vJ160A` for the Mythic Tier case). Reading the\n*latest* entries from that campaign via `scripts\u002Fdownload_campaign.py`\nbefore editing the prompt surfaces:\n\n- What the LLM said (the improvisation product, useful as a \"negative example\").\n- What the user pushed back with (\"we shouldnt even reference 3e epic levels\").\n- The campaign's specific level\u002FXP state (to write a worked-examples table\n  that matches the user's actual data, not fabricated levels).\n\nFor $GITHUB_REPOSITORY specifically, the canonical recipe is\n`scripts\u002Fdownload_campaign.py --uid \u003Cuid> --campaign-id \u003Ccid> --output-dir \u002Ftmp\u002F...\u002F`.\nSkip the browser path entirely — Firebase auth blocks it.\n\n## Cross-references\n\n- `worldarchitect` skill — 7-green gate, evidence rules, design-decision heading requirement.\n- `root-cause-first` skill — when the LLM is the wrong layer to fix (rare for narration drift; common for state bugs).\n- `always-pr-never-local-edit` skill — worktree + GH issue + branch + PR + push, every time.\n- `drive-pr-to-green` skill — full bring-to-green workflow for the next session.\n- `convergent-bug-triage` skill — fleet-wide vs per-scene triage when a single campaign hits 3+ sibling bugs; triggers when the same LLM improvisation pattern crosses 3+ campaigns (this is the canonical signal for the external-system-heritage sub-class).\n- `llm-prompt-delivery-audit` — for the cross-check on whether the new framework section actually reaches the LLM on the wire (Step 7 in the recipe). When the prompt-edit PR claims \"fixed,\" BQ payload table is the verification.\n- `references\u002Fmythic-tier-3e-antipattern.md` — full diagnostic trail (issue #8510) showing the wrong prompt, the LLM's improvisation, the worked-examples table, and the test contract.\n",{"name":5,"context":64,"version":65,"description":66,"allowed-tools":67},"Repos where the LLM is the formatter of player-facing narrative text:\nyour-project.com, $GITHUB_REPOSITORY, any RPG \u002F game \u002F story engine\nthat surfaces dice rolls \u002F currency \u002F status lines to the user.","1.1.0","Fix LLM narration drift (LLM improvises formatting because a prompt line is\ntoo vague) by adding a worked example in the prompt, NOT by adding backend\nenforcement. Use when the user reports the LLM is dropping fields, abbreviating\nformats, or substituting its own template for an underspecified one.\n\nTriggers: \"the LLM dropped X\", \"show both\u002Fall Y\", \"the narrative is missing Z\",\n\"prompt is too vague\", \"LLM invents the format\", \"add a worked example\",\n\"make the LLM consistently format X\", \"narration drift\", \"format hint needed\",\n\"the LLM cited D&D 3.5e\u002FPathfinder\u002F\u003Cexternal system> when it shouldn't have\",\n\"we shouldn't reference \u003Cexternal system>\", \"build our own framework\",\n\"the LLM inherited math from \u003CX> without us defining it\".\n\nDoes NOT apply to: LLM judgment errors that need richer prompt context (use\nllm-prompt-engineering \u002F root-cause-first), backend state bugs (use root-cause-first),\nor LLM compliance with explicit instructions it already has (use systematic-debugging).\n",[68,69,44,70,46,71],"read_file","search_files","write_file","send_message","main","05df7380981a2c4af868ce0fa57962ae0eea62a9","hermes\u002Fskills\u002Fllm-narration-format-clarifier",0,"https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills","https:\u002F\u002Fgithub.com\u002Fjleechanorg","2026-11-14 14:55:35",{"source":9,"skillName":5,"commands":80,"prompt":90,"zipAvailable":91},[81,84,87],{"tool":82,"command":83},"npx","npx skills add jleechanorg\u002Fjleechan-skills --skill llm-narration-format-clarifier",{"tool":85,"command":86},"bunx","bunx skills add jleechanorg\u002Fjleechan-skills --skill llm-narration-format-clarifier",{"tool":88,"command":89},"pnpm","pnpm dlx skills add jleechanorg\u002Fjleechan-skills --skill llm-narration-format-clarifier","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002Fhermes\u002Fskills\u002Fllm-narration-format-clarifier\u002FSKILL.md",true,[93],{"path":94,"resourceType":95,"resourceTypeDesc":96,"sizeBytes":97,"sourceHtmlUrl":98},"references\u002Fmythic-tier-3e-antipattern.md","REFERENCE","参考文档",16423,"https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002Fhermes\u002Fskills\u002Fllm-narration-format-clarifier\u002Freferences\u002Fmythic-tier-3e-antipattern.md",[100,108,115,123,131,140],{"skillNo":101,"name":102,"nameZh":13,"description":103,"descriptionZh":13,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":13,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":107},"01M7DRVZXXMGY4G81K5GVF4V20","disk-reclaim-playbook","Use Disk Magician to diagnose disk growth or qualify cleanup on macOS or Linux.","https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fdisk-reclaim-playbook\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":109,"name":110,"nameZh":13,"description":111,"descriptionZh":13,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":13,"sourceHtmlUrl":112,"categories":113,"keywords":114,"publishedAt":107},"01M7B63PNTT2TY78RFKHD8SP3X","claudea-bench","Compare `claudea` and normal `claude` on a fair split of comparable work by default; use `--strict` for duplicate runs of the exact same task.","https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fclaudea-bench\u002FSKILL.md",[],[],{"skillNo":116,"name":117,"nameZh":13,"description":118,"descriptionZh":13,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":13,"sourceHtmlUrl":119,"categories":120,"keywords":121,"publishedAt":122},"01M7622KQJ32AV4K5BXEMVSSEB","pr","Alias for the canonical pr-lifecycle PR workflow skill (\u002Fpr-workflow, \u002Fprw).","https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fpr\u002FSKILL.md",[],[],"2026-11-12 13:55:43",{"skillNo":124,"name":125,"nameZh":13,"description":126,"descriptionZh":13,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":13,"sourceHtmlUrl":127,"categories":128,"keywords":129,"publishedAt":130},"01M7432W92AKC4D1TKJ00VCMMT","whisper","OpenAI's general-purpose speech recognition model. Supports 99 languages, transcription, translation to English, and language identification. Six model sizes from tiny (39M params) to large (1550M params). Use for speech-to-text, podcast transcription, or multilingual audio processing. Best for robust, multilingual ASR.","https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002F.claude\u002Fskills_archive\u002F2026-11-09-no-usage-evidence\u002Fwhisper\u002FSKILL.md",[],[],"2026-11-11 15:11:14",{"skillNo":132,"name":133,"nameZh":13,"description":134,"descriptionZh":13,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":135,"licenseFileUrl":136,"sourceHtmlUrl":137,"categories":138,"keywords":139,"publishedAt":130},"01M7432T6BN1A9SHB8RBQR5EMP","webapp-testing","Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002F.claude\u002Fskills_archive\u002F2026-11-09-no-usage-evidence\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002F.claude\u002Fskills_archive\u002F2026-11-09-no-usage-evidence\u002Fwebapp-testing\u002FSKILL.md",[],[],{"skillNo":141,"name":142,"nameZh":13,"description":143,"descriptionZh":13,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":13,"sourceHtmlUrl":144,"categories":145,"keywords":146,"publishedAt":130},"01M7432NDC7S6C6MX7M6RW8CTT","pr-report","This skill should be used when the user asks for a PR report, PR audit, PR delta analysis, \u002Fpr-report, or wants per-PR summary with delta files\u002Flines. Generates a structured report for one or more open PRs covering purpose, files changed, +\u002F− line counts, \u002Fcode-standards + \u002Fthermo review findings, \u002Fponytail simplification opportunities, file-overlap combination candidates, and \u002Fgreen status per pr-green-definition. Output: machine-readable JSONL + human-readable markdown. Read-only by default; can apply simplifications if user opts in.","https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002F.claude\u002Fskills_archive\u002F2026-11-09-no-usage-evidence\u002Fpr-report\u002FSKILL.md",[],[]]