[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6PVB0VP6ADJCE56S5V1JE2F":3,"skill-same:01M6PVB0VP6ADJCE56S5V1JE2F":70},{"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":36,"linkOnly":37,"markdownContent":38,"markdownBody":39,"frontMatter":40,"refName":44,"commitSha":45,"skillDirectory":46,"forksCount":43,"repositoryHtmlUrl":47,"repositoryHomepageUrl":6,"ownerHtmlUrl":48,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":49,"install":50,"resources":63},"01M6PVB0VP6ADJCE56S5V1JE2F","ticket-id-gate",null,"Pre-commit gate refusing a tracker id in staged library prose. Use when composing a role that authors the shipped library (the `ai-hats-dev` trait), or when diagnosing why the ticket-ids hook blocked a commit.","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\u002Fai-hats-dev\u002Fskills\u002Fticket-id-gate\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35],"gate","ticket id gate","ticket","id","pre-commit","why","hats","use","commit","tracker","prose","ids","library","hook","role","staged","dev","2026-11-10 10:12:30",false,"---\nname: ticket-id-gate\ndescription: >-\n  Pre-commit gate refusing a tracker id in staged library prose. Use when\n  composing a role that authors the shipped library (the `ai-hats-dev`\n  trait), or when diagnosing why the ticket-ids hook blocked a commit.\nai_hats:\n  schema_version: 1\n  type: skill\n  # hook-carrier skill. The assembler installs the script below into\n  # `.githooks\u002Fpre-commit.d\u002F` at composition time. Over STAGED library\n  # `.md`\u002F`.yaml`\u002F`.yml` (excluding `hooks\u002F` and `git_hooks\u002F`) it refuses a\n  # `\u003CPREFIX>-\u003Cdigits>` tracker id, where the prefix is learned from the\n  # project's own card ids. Per-commit override AI_HATS_TICKET_IDS_ACK=1.\nlicense: MIT\n---\n\n# Ticket ID Gate\n\nPure-infrastructure hook-carrier skill. It contributes one git pre-commit hook\nand carries no agent-side decision logic — the value is delivered entirely\nthrough composition.\n\n## What it gates\n\nA tracker id in prose the library **ships**. The library installs into other\npeople's projects, where `PROJ-1430` is a link into a tracker the reader does\nnot have, and it costs context on every load. `git log -S '\u003Cphrase>'` finds the\ncommit that introduced a line for anyone holding the repository; a tracker id\ntravels nowhere.\n\nScope is **staged files only**, so the gate never retro-blocks a backlog it did\nnot create.\n\n## The prefix is learned, never written down here\n\nThis script is itself shipped library content. Hardcoding one project's prefix\nin it would reproduce the exact leak it refuses. So it reads the prefix from the\nproject's own card ids (shortest `\u003Cprefix>-\u003Cdigit>` run, so `MY-PROJ-42` yields\n`MY-PROJ`, matching how rack routes). `AI_HATS_TICKET_PREFIX` overrides it. No\ntracker and no override is a loud no-op: a project with no ids has none to leak.\n\n## What it does not judge\n\n| not judged                   | why                                                                      |\n| ---------------------------- | ------------------------------------------------------------------------ |\n| `\u003CPREFIX>-NNN` placeholders  | digits are required, so a CLI template teaching the shape is not a match |\n| `hooks\u002F`, `git_hooks\u002F`, code | a bare id there is often the whole comment — removing it is a rewrite    |\n| anything unstaged            | changed-files scope; the gate fires only on what this commit touches     |\n| another project's prefix     | only the ids this project mints are judged                               |\n\n## When an id belongs\n\nWhen prose names a string a machine **prints**, so the reader can recognise what\nappears on screen. Prefer quoting the message itself — a reader can grep that,\nand cannot grep a number. When the id really is the identifier, say so on the\nsame line:\n\n```markdown\na wall of PROJ-1242 tripwire errors \u003C!-- ticket-ids: allow the guard prints it -->\n```\n\nThe reason is not decoration: the hook prints it back, and a marker without one\nis reported as `(no reason given)`.\n\n## Relationship to the `ticket-ids` CI stage\n\nSame invariant, two ranges. The hook is per-commit and staged-scope, so it\ncatches an id at the keystroke. `scripts\u002Fcheck_no_ticket_ids.py` sweeps a wider\ncorpus than the hook — the library, the docs a reader opens, and the project's\nown code — and runs inside `merge-gate` and `push-gate`, which is the one\nnothing lands on the base branch without. The hook shortens the loop; the stage\nis the boundary.\n\n## Override\n\nAfter confirming the id belongs and the marker is wrong for the case, ask the\nsupervisor for `AI_HATS_TICKET_IDS_ACK=1`, exported in the shell that runs the\ncommit. Writing it onto your own command line is refused — see **safety-guard**.\n\nThe bypass is journalled, not merely printed to stderr.\n","# Ticket ID Gate\n\nPure-infrastructure hook-carrier skill. It contributes one git pre-commit hook\nand carries no agent-side decision logic — the value is delivered entirely\nthrough composition.\n\n## What it gates\n\nA tracker id in prose the library **ships**. The library installs into other\npeople's projects, where `PROJ-1430` is a link into a tracker the reader does\nnot have, and it costs context on every load. `git log -S '\u003Cphrase>'` finds the\ncommit that introduced a line for anyone holding the repository; a tracker id\ntravels nowhere.\n\nScope is **staged files only**, so the gate never retro-blocks a backlog it did\nnot create.\n\n## The prefix is learned, never written down here\n\nThis script is itself shipped library content. Hardcoding one project's prefix\nin it would reproduce the exact leak it refuses. So it reads the prefix from the\nproject's own card ids (shortest `\u003Cprefix>-\u003Cdigit>` run, so `MY-PROJ-42` yields\n`MY-PROJ`, matching how rack routes). `AI_HATS_TICKET_PREFIX` overrides it. No\ntracker and no override is a loud no-op: a project with no ids has none to leak.\n\n## What it does not judge\n\n| not judged                   | why                                                                      |\n| ---------------------------- | ------------------------------------------------------------------------ |\n| `\u003CPREFIX>-NNN` placeholders  | digits are required, so a CLI template teaching the shape is not a match |\n| `hooks\u002F`, `git_hooks\u002F`, code | a bare id there is often the whole comment — removing it is a rewrite    |\n| anything unstaged            | changed-files scope; the gate fires only on what this commit touches     |\n| another project's prefix     | only the ids this project mints are judged                               |\n\n## When an id belongs\n\nWhen prose names a string a machine **prints**, so the reader can recognise what\nappears on screen. Prefer quoting the message itself — a reader can grep that,\nand cannot grep a number. When the id really is the identifier, say so on the\nsame line:\n\n```markdown\na wall of PROJ-1242 tripwire errors \u003C!-- ticket-ids: allow the guard prints it -->\n```\n\nThe reason is not decoration: the hook prints it back, and a marker without one\nis reported as `(no reason given)`.\n\n## Relationship to the `ticket-ids` CI stage\n\nSame invariant, two ranges. The hook is per-commit and staged-scope, so it\ncatches an id at the keystroke. `scripts\u002Fcheck_no_ticket_ids.py` sweeps a wider\ncorpus than the hook — the library, the docs a reader opens, and the project's\nown code — and runs inside `merge-gate` and `push-gate`, which is the one\nnothing lands on the base branch without. The hook shortens the loop; the stage\nis the boundary.\n\n## Override\n\nAfter confirming the id belongs and the marker is wrong for the case, ask the\nsupervisor for `AI_HATS_TICKET_IDS_ACK=1`, exported in the shell that runs the\ncommit. Writing it onto your own command line is refused — see **safety-guard**.\n\nThe bypass is journalled, not merely printed to stderr.\n",{"name":5,"ai_hats":41,"license":15,"description":7},{"type":42,"schema_version":43},"skill",1,"master","f922a7f627276366873d546942d9ad899a86f71a","packages\u002Fai-hats-library\u002Fsrc\u002Fai_hats_library\u002Fexperimental\u002Fai-hats-dev\u002Fskills\u002Fticket-id-gate","https:\u002F\u002Fgithub.com\u002Fmuratovv\u002Fai-hats","https:\u002F\u002Fgithub.com\u002Fmuratovv","2026-11-05 20:59:10",{"source":8,"skillName":5,"commands":51,"prompt":61,"zipAvailable":62},[52,55,58],{"tool":53,"command":54},"npx","npx skills add muratovv\u002Fai-hats --skill ticket-id-gate",{"tool":56,"command":57},"bunx","bunx skills add muratovv\u002Fai-hats --skill ticket-id-gate",{"tool":59,"command":60},"pnpm","pnpm dlx skills add muratovv\u002Fai-hats --skill ticket-id-gate","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmuratovv\u002Fai-hats\u002Fblob\u002Fmaster\u002Fpackages\u002Fai-hats-library\u002Fsrc\u002Fai_hats_library\u002Fexperimental\u002Fai-hats-dev\u002Fskills\u002Fticket-id-gate\u002FSKILL.md",true,[64],{"path":65,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":68,"sourceHtmlUrl":69},"git_hooks\u002Fpre-commit-ticket-ids.sh","SCRIPT","脚本",4438,"https:\u002F\u002Fgithub.com\u002Fmuratovv\u002Fai-hats\u002Fblob\u002Fmaster\u002Fpackages\u002Fai-hats-library\u002Fsrc\u002Fai_hats_library\u002Fexperimental\u002Fai-hats-dev\u002Fskills\u002Fticket-id-gate\u002Fgit_hooks\u002Fpre-commit-ticket-ids.sh",[71,97,122,144,166,178],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":36},"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",[],[78,79,80,81,82,83,84,85,86,87,26,88,89,90,91,92,93,94,95,96],"protocol","Evaluation","tool","tool evaluation protocol","testing","ml","libraries","adoption","methodology","Tools","dependency","up","frameworks","time","project","recommendation","for","bounded","candidate",{"skillNo":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":36},"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",[],[104,105,106,107,78,108,109,110,111,112,26,113,114,115,116,117,118,119,120,121],"systematic debugging","debugging","systematic","test","monitoring","hypothesis","verify","behavior","fix","evidence","bug","reports","pattern","users","error","with","bug-fix","phase",{"skillNo":123,"name":124,"nameZh":6,"description":125,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":126,"categories":127,"keywords":133,"publishedAt":36},"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",[128],{"categoryNo":129,"categoryName":130,"taxonomyType":131,"taxonomyTypeDesc":132},"01JBSEEDCAT000000000000023","Skill与智能体开发","SCENARIO","使用场景",[134,135,136,137,25,111,138,26,139,116,140,141,142,94,143],"template","skill template","validation","compliance","guide","new skill","structural","canonical","which","Existing",{"skillNo":145,"name":146,"nameZh":6,"description":147,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":148,"categories":149,"keywords":151,"publishedAt":36},"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",[150],{"categoryNo":129,"categoryName":130,"taxonomyType":131,"taxonomyTypeDesc":132},[152,153,154,155,156,31,157,158,159,160,26,161,162,163,164,33,165],"Optimization","skill optimization","components","component","issues","audit","refactor","Budget","Rules","periodic","maintenance","token","token budget","high",{"skillNo":167,"name":168,"nameZh":6,"description":169,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":170,"categories":171,"keywords":172,"publishedAt":36},"01M6PVEXM9717016T9MW82HDCT","silent-fallback-gate","PreToolUse hook — refuses an Edit or Write that adds an inert broad except. Use when a Python edit was blocked for a silent fallback.","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,173,174,175,176,177,26,32,94],"fallback","silent fallback gate","python","write","edit",{"skillNo":179,"name":180,"nameZh":6,"description":181,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":182,"categories":183,"keywords":185,"publishedAt":36},"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",[184],{"categoryNo":129,"categoryName":130,"taxonomyType":131,"taxonomyTypeDesc":132},[186,187,188,189,155,190,191,192,160,111,26,193,194,92,195,196,197,198,199,200],"framework","retro","retro to framework","change","retrospective","projects","convert","incident","across","problem","about","more","skill update","single","generic"]