[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6PVEXM9717016T9MW82HDCT":3,"skill-same:01M6PVEXM9717016T9MW82HDCT":66},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":28,"linkOnly":29,"markdownContent":30,"markdownBody":31,"frontMatter":32,"refName":36,"commitSha":37,"skillDirectory":38,"forksCount":35,"repositoryHtmlUrl":39,"repositoryHomepageUrl":6,"ownerHtmlUrl":40,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":41,"install":42,"resources":55},"01M6PVEXM9717016T9MW82HDCT","silent-fallback-gate",null,"PreToolUse hook — refuses an Edit or Write that adds an inert broad except. Use when a Python edit was blocked for a silent fallback.","muratovv\u002Fai-hats","muratovv","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F7502801?v=4","01M6JGCBN4KEJX012GPJVSH04T","Fedor Muratov","01M6JGCBSNMN7CW3RGTPPE0MN2",3,"MIT","https:\u002F\u002Fgithub.com\u002Fmuratovv\u002Fai-hats\u002Fblob\u002Fmaster\u002Fpackages\u002Fai-hats-library\u002Fsrc\u002Fai_hats_library\u002Fexperimental\u002Fusage\u002Fskills\u002Fsilent-fallback-gate\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27],"gate","fallback","silent fallback gate","python","write","edit","use","hook","for","2026-11-10 10:12:30",false,"---\nname: silent-fallback-gate\ndescription: >-\n  PreToolUse hook — refuses an Edit or Write that adds an inert broad\n  except. Use when a Python edit was blocked for a silent fallback.\nai_hats:\n  schema_version: 1\n  type: skill\nlicense: MIT\n---\n\n# silent-fallback-gate\n\nThin registration for a PreToolUse hook. On an Edit, Write or MultiEdit of a\n`.py` file outside `tests\u002F`, the hook refuses when the edit adds a broad\n`except` whose body neither raises, calls, nor uses the bound exception.\n`# silent-ok: \u003Creason>` marks a deliberate one. The refusal names that choice.\n\nThe check is `violations()` in `hooks\u002Fsilent_fallback_gate.py`. CI walks the\ntree through `scripts\u002Fcheck_silent_fallback.py`, which calls the same function.\nAn edit that does not grow the set is silent, including a file that already\nhas one. A payload the hook cannot reconstruct is fail-open; the CI walk still\nsees the file. Kill switch `AI_HATS_SILENT_FALLBACK_OFF=1`, exported.\n\n## When to Use\n\nRead this when an edit was blocked and the next step in the refusal is unclear.\nNot a nudge: `py-security-lint` reports and lets the edit through.\n\n## Completion\n\nThe refusal names the line and one of: report it, re-raise it, or mark\n`# silent-ok: \u003Creason>`.\n\n**Validation scenario (RED).** An agent adds `except Exception: return []` to a\nmodule. Without this hook the standing rule asked it not to, and the edit\nlanded; CI caught it at review. With the hook the edit is refused and the\nreason names the mark.\n\n## Anti-Patterns\n\n- Refusing every edit of a file that already contains an inert handler.\n- A second copy of the check in the CI script.\n","# silent-fallback-gate\n\nThin registration for a PreToolUse hook. On an Edit, Write or MultiEdit of a\n`.py` file outside `tests\u002F`, the hook refuses when the edit adds a broad\n`except` whose body neither raises, calls, nor uses the bound exception.\n`# silent-ok: \u003Creason>` marks a deliberate one. The refusal names that choice.\n\nThe check is `violations()` in `hooks\u002Fsilent_fallback_gate.py`. CI walks the\ntree through `scripts\u002Fcheck_silent_fallback.py`, which calls the same function.\nAn edit that does not grow the set is silent, including a file that already\nhas one. A payload the hook cannot reconstruct is fail-open; the CI walk still\nsees the file. Kill switch `AI_HATS_SILENT_FALLBACK_OFF=1`, exported.\n\n## When to Use\n\nRead this when an edit was blocked and the next step in the refusal is unclear.\nNot a nudge: `py-security-lint` reports and lets the edit through.\n\n## Completion\n\nThe refusal names the line and one of: report it, re-raise it, or mark\n`# silent-ok: \u003Creason>`.\n\n**Validation scenario (RED).** An agent adds `except Exception: return []` to a\nmodule. Without this hook the standing rule asked it not to, and the edit\nlanded; CI caught it at review. With the hook the edit is refused and the\nreason names the mark.\n\n## Anti-Patterns\n\n- Refusing every edit of a file that already contains an inert handler.\n- A second copy of the check in the CI script.\n",{"name":5,"ai_hats":33,"license":15,"description":7},{"type":34,"schema_version":35},"skill",1,"master","f922a7f627276366873d546942d9ad899a86f71a","packages\u002Fai-hats-library\u002Fsrc\u002Fai_hats_library\u002Fexperimental\u002Fusage\u002Fskills\u002Fsilent-fallback-gate","https:\u002F\u002Fgithub.com\u002Fmuratovv\u002Fai-hats","https:\u002F\u002Fgithub.com\u002Fmuratovv","2026-11-05 20:59:10",{"source":8,"skillName":5,"commands":43,"prompt":53,"zipAvailable":54},[44,47,50],{"tool":45,"command":46},"npx","npx skills add muratovv\u002Fai-hats --skill silent-fallback-gate",{"tool":48,"command":49},"bunx","bunx skills add muratovv\u002Fai-hats --skill silent-fallback-gate",{"tool":51,"command":52},"pnpm","pnpm dlx skills add muratovv\u002Fai-hats --skill silent-fallback-gate","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmuratovv\u002Fai-hats\u002Fblob\u002Fmaster\u002Fpackages\u002Fai-hats-library\u002Fsrc\u002Fai_hats_library\u002Fexperimental\u002Fusage\u002Fskills\u002Fsilent-fallback-gate\u002FSKILL.md",true,[56,62],{"path":57,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":60,"sourceHtmlUrl":61},"hooks\u002Fbypass_journal.py","SCRIPT","脚本",35,"https:\u002F\u002Fgithub.com\u002Fmuratovv\u002Fai-hats\u002Fblob\u002Fmaster\u002Fpackages\u002Fai-hats-library\u002Fsrc\u002Fai_hats_library\u002Fexperimental\u002Fusage\u002Fskills\u002Fsilent-fallback-gate\u002Fhooks\u002Fbypass_journal.py",{"path":63,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":64,"sourceHtmlUrl":65},"hooks\u002Fsilent_fallback_gate.py",11729,"https:\u002F\u002Fgithub.com\u002Fmuratovv\u002Fai-hats\u002Fblob\u002Fmaster\u002Fpackages\u002Fai-hats-library\u002Fsrc\u002Fai_hats_library\u002Fexperimental\u002Fusage\u002Fskills\u002Fsilent-fallback-gate\u002Fhooks\u002Fsilent_fallback_gate.py",[67,92,117,135,158,180],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":28},"01M6PVFB1SM738R2SRSRSF7CY6","tool-evaluation-protocol","Time-bounded protocol for evaluating new tools, libraries, or methodologies before adoption. Use when evaluating a candidate dependency for the project, researching a methodology (e.g. ML\u002FLLM frameworks, testing approaches), or following up on a hype-driven recommendation.","https:\u002F\u002Fgithub.com\u002Fmuratovv\u002Fai-hats\u002Fblob\u002Fmaster\u002Fpackages\u002Fai-hats-library\u002Fsrc\u002Fai_hats_library\u002Fexperimental\u002Fusage\u002Fskills\u002Ftool-evaluation-protocol\u002FSKILL.md",[],[74,75,76,77,78,79,80,81,82,83,25,84,85,86,87,88,89,27,90,91],"protocol","Evaluation","tool","tool evaluation protocol","testing","ml","libraries","adoption","methodology","Tools","dependency","up","frameworks","time","project","recommendation","bounded","candidate",{"skillNo":93,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":28},"01M6PVF7HATBEX1G7N50E2QT57","systematic-debugging","4-phase bug-fix protocol (evidence, pattern, hypothesis, verify). Use when investigating any error, failure, or unexpected behavior, handling bug reports from users or monitoring, or diagnosing test failures with non-obvious causes.","https:\u002F\u002Fgithub.com\u002Fmuratovv\u002Fai-hats\u002Fblob\u002Fmaster\u002Fpackages\u002Fai-hats-library\u002Fsrc\u002Fai_hats_library\u002Fexperimental\u002Fusage\u002Fskills\u002Fsystematic-debugging\u002FSKILL.md",[],[99,100,101,102,74,103,104,105,106,107,25,108,109,110,111,112,113,114,115,116],"systematic debugging","debugging","systematic","test","monitoring","hypothesis","verify","behavior","fix","evidence","bug","reports","pattern","users","error","with","bug-fix","phase",{"skillNo":118,"name":119,"nameZh":6,"description":120,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":121,"categories":122,"keywords":123,"publishedAt":28},"01M6PVF3MTQN3RPF73AN34856J","skill-template","Canonical template and validation guide for ai-hats skills. Use when creating a new skill, reviewing an existing one for structural compliance, or deciding which pattern fits a new behavior.","https:\u002F\u002Fgithub.com\u002Fmuratovv\u002Fai-hats\u002Fblob\u002Fmaster\u002Fpackages\u002Fai-hats-library\u002Fsrc\u002Fai_hats_library\u002Fexperimental\u002Fusage\u002Fskills\u002Fskill-template\u002FSKILL.md",[],[124,125,126,127,128,106,129,25,130,111,131,132,133,27,134],"template","skill template","validation","compliance","hats","guide","new skill","structural","canonical","which","Existing",{"skillNo":136,"name":137,"nameZh":6,"description":138,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":139,"categories":140,"keywords":141,"publishedAt":28},"01M6PVF06SCV28QARM5MQPANC9","skill-optimization","Audit and refactor library components to eliminate redundancy and staleness. Use during periodic library maintenance, after adding multiple new skills or rules, when a role's token budget is too high, or after retrospectives identify component issues.","https:\u002F\u002Fgithub.com\u002Fmuratovv\u002Fai-hats\u002Fblob\u002Fmaster\u002Fpackages\u002Fai-hats-library\u002Fsrc\u002Fai_hats_library\u002Fexperimental\u002Fusage\u002Fskills\u002Fskill-optimization\u002FSKILL.md",[],[142,143,144,145,146,147,148,149,150,151,25,152,153,154,155,156,157],"Optimization","skill optimization","components","component","issues","library","audit","refactor","Budget","Rules","periodic","maintenance","token","token budget","role","high",{"skillNo":159,"name":160,"nameZh":6,"description":161,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":162,"categories":163,"keywords":164,"publishedAt":28},"01M6PVESM49C5NT7SB7N3F76VS","retro-to-framework","Convert an observation about agent behavior — from a retrospective or from a single incident — into a framework-level change (hook, rule, skill, skill update). Use after a retrospective identifies problems that are not project-specific, after an incident where an agent misapplied a component it had read, when CLAUDE.md band-aids accumulate (more than 3 per-project rules that could be generic), or when the same problem recurs across multiple projects.","https:\u002F\u002Fgithub.com\u002Fmuratovv\u002Fai-hats\u002Fblob\u002Fmaster\u002Fpackages\u002Fai-hats-library\u002Fsrc\u002Fai_hats_library\u002Fexperimental\u002Fusage\u002Fskills\u002Fretro-to-framework\u002FSKILL.md",[],[165,166,167,168,145,169,170,171,151,106,25,172,173,88,174,175,176,177,178,179],"framework","retro","retro to framework","change","retrospective","projects","convert","incident","across","problem","about","more","skill update","single","generic",{"skillNo":181,"name":182,"nameZh":6,"description":183,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":184,"categories":185,"keywords":186,"publishedAt":28},"01M6PVEQ05ETVVB2NX7FSYXRV2","py-security-lint","PostToolUse hook — reports the project's own ruff security (`S`) findings on every `.py` you Edit\u002FWrite, non-blockingly; fail-open, no manual invocation.","https:\u002F\u002Fgithub.com\u002Fmuratovv\u002Fai-hats\u002Fblob\u002Fmaster\u002Fpackages\u002Fai-hats-library\u002Fsrc\u002Fai_hats_library\u002Fexperimental\u002Fusage\u002Fskills\u002Fpy-security-lint\u002FSKILL.md",[],[187,188,189,190,23,24,110,191,88,26,192,193],"security","lint","py security lint","open","ruff","you","manual"]