[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6C25XNREAFZWD7Q4ZNF0TTK":3,"skill-same:01M6C25XNREAFZWD7Q4ZNF0TTK":50},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":24,"linkOnly":25,"markdownContent":26,"markdownBody":27,"frontMatter":28,"refName":29,"commitSha":30,"skillDirectory":31,"forksCount":32,"repositoryHtmlUrl":33,"repositoryHomepageUrl":6,"ownerHtmlUrl":34,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":35,"install":36,"resources":49},"01M6C25XNREAFZWD7Q4ZNF0TTK","harness-guardrails",null,"Harness guardrails derived from recent bug classes and regressions in the WorldArchitect engine.","jleechanorg\u002Fjleechan-skills","jleechanorg","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F221404966?v=4","01M6C1VJ99XG950X1DWPEBCBGX","01M6C1VJDK5YVDNT3362RT5WSB",6,"MIT","https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fharness-guardrails\u002FSKILL.md",[],[18,19,20,21,22,23],"harness","Guardrails","harness guardrails","engine","bug","worldarchitect","2026-11-10 10:12:30",false,"---\nname: harness-guardrails\ndescription: Harness guardrails derived from recent bug classes and regressions in the WorldArchitect engine.\n---\n\n# Harness Guardrails (Added from Bug Analysis)\n\nThese guardrails are derived from recent bug classes and regressions in the WorldArchitect engine.\n\n- **Vanilla JS Event Listeners:** Do not use `.bind(this)` inline within `addEventListener` or `removeEventListener`. Always store the bound function reference in the class constructor or initialization block to ensure proper removal and avoid memory leaks or dangling listeners (e.g. `this.boundHandleClick = this.handleClick.bind(this)`).\n- **Administrative State Poisoning:** Any administrative override feature (e.g., God Mode, Pre-populated Templates) that bypasses standard LLM state-transition flows MUST explicitly enforce cleanup for orthogonal game states (like `in_combat=False` or `character_creation_in_progress=False`). \n- **DRY Constant Extraction:** When modifying logic that relies on hardcoded lists or tuples (like stripping cooldown fields), you MUST search the repository for duplicates and extract them to a canonical constant to prevent `NameError` hazards during rebases.\n\n- **ZFC Pre-flight Before Any Server-Side Choice Injection:** Before adding ANY `_inject_*`, `_fallback_*`, `_ensure_*`, or `_repair_*` function that touches model output (planning_block, choices, rewards_box), answer all 3 questions: (1) Does the model have explicit instructions for this output in the agent prompt\u002Fsystem instruction? (2) Can a prompt fix this? (3) If yes, fix the prompt FIRST. Only add backend logic after prompt fix fails with evidence. PR #6908: 61 commits from skipping this — root was a missing JSON example in LevelUpAgent prompt.\n\n- **PR Commit Count Alarm:** If a PR accumulates >15 commits on a single behavioral theme (e.g., \"planning_block\", \"finish choices\", \"level-up state\"), STOP before the next backend commit and run the product plugin's leveling alignment check, if one is installed. A commit count spike on a stable theme reliably indicates symptom-patching rather than root-cause repair. At 30+ commits: require human review of root-cause hypothesis. PR #6908 was the incident: 61 commits before the 5-line root-cause fix was written.\n\n- **Server CANNOT inject planning choices:** The server may persist, normalize, and validate model output. It MUST NOT infer, inject, or synthesize planning choices. `server_generated: True` on a `planning_block` is always a bug signal, not an acceptable state. Any code path that sets `server_generated=True` and then RETURNS that block to the caller is a ZFC violation.\n\n- **Opaque handles are not semantic contracts:** Choice IDs and other transport handles are for lookup, persistence, and migration compatibility only. Legacy IDs such as `level_up_now`, `finish_level_up_return_to_game`, and `custom_action` may remain exact compatibility handles, but new code MUST NOT infer domain, modal ownership, stage, allowed\u002Fscrubbed status, or execution behavior from ID names, prefixes, labels, CSS classes, or enum strings. Resolve a submitted handle against the persisted structured choice, then use explicit schema-owned fields such as `intent.domain`, `intent.operation`, or `execution.freeze_time`. If those fields are missing, fix the model prompt\u002Fschema or fail closed; do not expand allowlists as the primary repair.\n\n- **Playwright UI Testing & Pre-Push Validation:** When introducing any new browser, selenium, or Playwright tests for Gate 6 evidence:\n  1. *Pytest Integration:* Never use standalone `.py` scripts with `sys.exit()`. Always wrap browser checks in standard pytest classes\u002Fmethods (`test_*`).\n  2. *Dynamic Path Resolution:* Always resolve local files using absolute paths via `os.path.dirname(os.path.abspath(__file__))`. Never use relative `..\u002F` or `file:\u002F\u002F.\u002F` URLs which fail on CI runners.\n  3. *Error visibility and skip paths:* Import-skip when Playwright is unavailable using `pytest.importorskip(\"playwright.sync_api\")`. Do not use broad exception suppressions that hide actual navigation timeouts or setup errors.\n  4. *Pre-Push Verification:* Eagerly run the specific targeted test locally via `.\u002Fvpython -m pytest \u003Cpath_to_new_test>` and verify it passes before pushing.\n","# Harness Guardrails (Added from Bug Analysis)\n\nThese guardrails are derived from recent bug classes and regressions in the WorldArchitect engine.\n\n- **Vanilla JS Event Listeners:** Do not use `.bind(this)` inline within `addEventListener` or `removeEventListener`. Always store the bound function reference in the class constructor or initialization block to ensure proper removal and avoid memory leaks or dangling listeners (e.g. `this.boundHandleClick = this.handleClick.bind(this)`).\n- **Administrative State Poisoning:** Any administrative override feature (e.g., God Mode, Pre-populated Templates) that bypasses standard LLM state-transition flows MUST explicitly enforce cleanup for orthogonal game states (like `in_combat=False` or `character_creation_in_progress=False`). \n- **DRY Constant Extraction:** When modifying logic that relies on hardcoded lists or tuples (like stripping cooldown fields), you MUST search the repository for duplicates and extract them to a canonical constant to prevent `NameError` hazards during rebases.\n\n- **ZFC Pre-flight Before Any Server-Side Choice Injection:** Before adding ANY `_inject_*`, `_fallback_*`, `_ensure_*`, or `_repair_*` function that touches model output (planning_block, choices, rewards_box), answer all 3 questions: (1) Does the model have explicit instructions for this output in the agent prompt\u002Fsystem instruction? (2) Can a prompt fix this? (3) If yes, fix the prompt FIRST. Only add backend logic after prompt fix fails with evidence. PR #6908: 61 commits from skipping this — root was a missing JSON example in LevelUpAgent prompt.\n\n- **PR Commit Count Alarm:** If a PR accumulates >15 commits on a single behavioral theme (e.g., \"planning_block\", \"finish choices\", \"level-up state\"), STOP before the next backend commit and run the product plugin's leveling alignment check, if one is installed. A commit count spike on a stable theme reliably indicates symptom-patching rather than root-cause repair. At 30+ commits: require human review of root-cause hypothesis. PR #6908 was the incident: 61 commits before the 5-line root-cause fix was written.\n\n- **Server CANNOT inject planning choices:** The server may persist, normalize, and validate model output. It MUST NOT infer, inject, or synthesize planning choices. `server_generated: True` on a `planning_block` is always a bug signal, not an acceptable state. Any code path that sets `server_generated=True` and then RETURNS that block to the caller is a ZFC violation.\n\n- **Opaque handles are not semantic contracts:** Choice IDs and other transport handles are for lookup, persistence, and migration compatibility only. Legacy IDs such as `level_up_now`, `finish_level_up_return_to_game`, and `custom_action` may remain exact compatibility handles, but new code MUST NOT infer domain, modal ownership, stage, allowed\u002Fscrubbed status, or execution behavior from ID names, prefixes, labels, CSS classes, or enum strings. Resolve a submitted handle against the persisted structured choice, then use explicit schema-owned fields such as `intent.domain`, `intent.operation`, or `execution.freeze_time`. If those fields are missing, fix the model prompt\u002Fschema or fail closed; do not expand allowlists as the primary repair.\n\n- **Playwright UI Testing & Pre-Push Validation:** When introducing any new browser, selenium, or Playwright tests for Gate 6 evidence:\n  1. *Pytest Integration:* Never use standalone `.py` scripts with `sys.exit()`. Always wrap browser checks in standard pytest classes\u002Fmethods (`test_*`).\n  2. *Dynamic Path Resolution:* Always resolve local files using absolute paths via `os.path.dirname(os.path.abspath(__file__))`. Never use relative `..\u002F` or `file:\u002F\u002F.\u002F` URLs which fail on CI runners.\n  3. *Error visibility and skip paths:* Import-skip when Playwright is unavailable using `pytest.importorskip(\"playwright.sync_api\")`. Do not use broad exception suppressions that hide actual navigation timeouts or setup errors.\n  4. *Pre-Push Verification:* Eagerly run the specific targeted test locally via `.\u002Fvpython -m pytest \u003Cpath_to_new_test>` and verify it passes before pushing.\n",{"name":5,"description":7},"main","8144f00ebafc4306264c63239e4b9fa42e48a90e",".claude\u002Fskills\u002Fharness-guardrails",0,"https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills","https:\u002F\u002Fgithub.com\u002Fjleechanorg","2026-11-14 14:55:35",{"source":8,"skillName":5,"commands":37,"prompt":47,"zipAvailable":48},[38,41,44],{"tool":39,"command":40},"npx","npx skills add jleechanorg\u002Fjleechan-skills --skill harness-guardrails",{"tool":42,"command":43},"bunx","bunx skills add jleechanorg\u002Fjleechan-skills --skill harness-guardrails",{"tool":45,"command":46},"pnpm","pnpm dlx skills add jleechanorg\u002Fjleechan-skills --skill harness-guardrails","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fharness-guardrails\u002FSKILL.md",true,[],[51,59,66,74,82,91],{"skillNo":52,"name":53,"nameZh":6,"description":54,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":55,"categories":56,"keywords":57,"publishedAt":58},"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":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":58},"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":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":73},"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":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":81},"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":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":86,"licenseFileUrl":87,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":81},"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":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":81},"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",[],[]]