[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6JGN1QZC6XF9CXS8RZSKAF0":3,"skill-same:01M6JGN1QZC6XF9CXS8RZSKAF0":64},{"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":32,"linkOnly":33,"markdownContent":34,"markdownBody":35,"frontMatter":36,"refName":37,"commitSha":38,"skillDirectory":39,"forksCount":40,"repositoryHtmlUrl":41,"repositoryHomepageUrl":6,"ownerHtmlUrl":42,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":43,"install":44,"resources":57},"01M6JGN1QZC6XF9CXS8RZSKAF0","go-trait-fit",null,"Match a Go role's `dev::go-*` traits to what the module actually requires, read from `go.mod`. Use when picking or customizing a role in a repository whose root carries a `go.mod`.","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\u002Fusage\u002Fskills\u002Fgo-trait-fit\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31],"go","fit","go trait fit","dev","repository","read","use","what the","module","traits","match","root","role","2026-11-10 10:12:30",false,"---\nname: go-trait-fit\ndescription: >-\n  Match a Go role's `dev::go-*` traits to what the module actually\n  requires, read from `go.mod`. Use when picking or customizing a role in\n  a repository whose root carries a `go.mod`.\nlicense: MIT\n---\n\n# go-trait-fit\n\n`go-dev` composes every Go domain, so the default is never under-equipped — a\nproject with `migrations\u002F` and pgx can no longer end up with no database trait.\nThe price of that default is paid per project: a pure CLI tool still carries the\ndatabase, gRPC and samber descriptions in every turn.\n\n`go.mod` is the one machine-readable statement of which domains a repository\nactually touches. This skill turns it into a concrete `config customize` line.\n\n## When to Use\n\n- A role has just been chosen or is being customized, and the project root has a `go.mod`.\n- Not for deciding *which* role to wear — that decision is made before this skill runs.\n- No `go.mod` in the root: there is no evidence either way. Say nothing, keep the full role.\n\n## Procedure\n\nRun the script from the project root, naming the role the line should target:\n\n```\npython \u003Cthis skill's directory>\u002Fscripts\u002Fsuggest.py --role go-dev\n```\n\nIt reads `.\u002Fgo.mod` (override with `--go-mod`), writes nothing, and prints one\nready-to-paste command. Show the output to the user **verbatim** and let them\ndecide — the removal is theirs to make, not yours.\n\nThe evidence rule the script applies, so you can explain a surprising result:\n\n- Only **direct** requires count. A `\u002F\u002F indirect` line means some dependency of\n  a dependency pulled it in, which says nothing about this repository.\n- A `replace` with no `require` behind it changes nothing in a Go build, so it\n  is not evidence either.\n- Module paths are prefix-matched, so `github.com\u002Fjackc\u002Fpgx\u002Fv5` satisfies `pgx`.\n\n## What it deliberately does not judge\n\nFour traits are checked: `dev::go-database`, `dev::go-grpc`, `dev::go-cli`,\n`dev::go-samber`. The rest are never suggested for removal because `go.mod`\ncarries no honest signal for them — `log\u002Fslog` and benchmarks are stdlib, and\nmanual constructor injection is the recommended default for a small graph. An\nabsent dependency there would not mean an absent domain, and a wrong \"drop this\"\ncosts more than the tokens it saves.\n\n## Completion\n\n- The script's output has been shown to the user, unedited.\n- Any removal was applied by the user's decision, through `ai-hats config customize`.\n- No `go.mod`: the full role stands and nothing was asked.\n\n## Anti-Patterns\n\n- Running `config customize --remove-trait` on the user's behalf — the script prints, the human applies.\n- Reading `go.mod` yourself and reasoning about the dependencies in prose — that is what the script exists to replace.\n- Suggesting a trait outside the four checked ones because the module \"looks like\" it does not need it.\n","# go-trait-fit\n\n`go-dev` composes every Go domain, so the default is never under-equipped — a\nproject with `migrations\u002F` and pgx can no longer end up with no database trait.\nThe price of that default is paid per project: a pure CLI tool still carries the\ndatabase, gRPC and samber descriptions in every turn.\n\n`go.mod` is the one machine-readable statement of which domains a repository\nactually touches. This skill turns it into a concrete `config customize` line.\n\n## When to Use\n\n- A role has just been chosen or is being customized, and the project root has a `go.mod`.\n- Not for deciding *which* role to wear — that decision is made before this skill runs.\n- No `go.mod` in the root: there is no evidence either way. Say nothing, keep the full role.\n\n## Procedure\n\nRun the script from the project root, naming the role the line should target:\n\n```\npython \u003Cthis skill's directory>\u002Fscripts\u002Fsuggest.py --role go-dev\n```\n\nIt reads `.\u002Fgo.mod` (override with `--go-mod`), writes nothing, and prints one\nready-to-paste command. Show the output to the user **verbatim** and let them\ndecide — the removal is theirs to make, not yours.\n\nThe evidence rule the script applies, so you can explain a surprising result:\n\n- Only **direct** requires count. A `\u002F\u002F indirect` line means some dependency of\n  a dependency pulled it in, which says nothing about this repository.\n- A `replace` with no `require` behind it changes nothing in a Go build, so it\n  is not evidence either.\n- Module paths are prefix-matched, so `github.com\u002Fjackc\u002Fpgx\u002Fv5` satisfies `pgx`.\n\n## What it deliberately does not judge\n\nFour traits are checked: `dev::go-database`, `dev::go-grpc`, `dev::go-cli`,\n`dev::go-samber`. The rest are never suggested for removal because `go.mod`\ncarries no honest signal for them — `log\u002Fslog` and benchmarks are stdlib, and\nmanual constructor injection is the recommended default for a small graph. An\nabsent dependency there would not mean an absent domain, and a wrong \"drop this\"\ncosts more than the tokens it saves.\n\n## Completion\n\n- The script's output has been shown to the user, unedited.\n- Any removal was applied by the user's decision, through `ai-hats config customize`.\n- No `go.mod`: the full role stands and nothing was asked.\n\n## Anti-Patterns\n\n- Running `config customize --remove-trait` on the user's behalf — the script prints, the human applies.\n- Reading `go.mod` yourself and reasoning about the dependencies in prose — that is what the script exists to replace.\n- Suggesting a trait outside the four checked ones because the module \"looks like\" it does not need it.\n",{"name":5,"license":15,"description":7},"master","b4819add93efbaf4d80627118ec34680406b309b","packages\u002Fai-hats-library\u002Fsrc\u002Fai_hats_library\u002Fusage\u002Fskills\u002Fgo-trait-fit",1,"https:\u002F\u002Fgithub.com\u002Fmuratovv\u002Fai-hats","https:\u002F\u002Fgithub.com\u002Fmuratovv","2026-11-05 20:59:10",{"source":8,"skillName":5,"commands":45,"prompt":55,"zipAvailable":56},[46,49,52],{"tool":47,"command":48},"npx","npx skills add muratovv\u002Fai-hats --skill go-trait-fit",{"tool":50,"command":51},"bunx","bunx skills add muratovv\u002Fai-hats --skill go-trait-fit",{"tool":53,"command":54},"pnpm","pnpm dlx skills add muratovv\u002Fai-hats --skill go-trait-fit","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmuratovv\u002Fai-hats\u002Fblob\u002Fmaster\u002Fpackages\u002Fai-hats-library\u002Fsrc\u002Fai_hats_library\u002Fusage\u002Fskills\u002Fgo-trait-fit\u002FSKILL.md",true,[58],{"path":59,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":62,"sourceHtmlUrl":63},"scripts\u002Fsuggest.py","SCRIPT","脚本",4837,"https:\u002F\u002Fgithub.com\u002Fmuratovv\u002Fai-hats\u002Fblob\u002Fmaster\u002Fpackages\u002Fai-hats-library\u002Fsrc\u002Fai_hats_library\u002Fusage\u002Fskills\u002Fgo-trait-fit\u002Fscripts\u002Fsuggest.py",[65,91,116,134,156,170],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":32},"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",[],[72,73,74,75,76,77,78,79,80,81,25,82,83,84,85,86,87,88,89,90],"protocol","Evaluation","tool","tool evaluation protocol","testing","ml","libraries","adoption","methodology","Tools","dependency","up","frameworks","time","project","recommendation","for","bounded","candidate",{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":32},"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",[],[98,99,100,101,72,102,103,104,105,106,25,107,108,109,110,111,112,113,114,115],"systematic debugging","debugging","systematic","test","monitoring","hypothesis","verify","behavior","fix","evidence","bug","reports","pattern","users","error","with","bug-fix","phase",{"skillNo":117,"name":118,"nameZh":6,"description":119,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":120,"categories":121,"keywords":122,"publishedAt":32},"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",[],[123,124,125,126,127,105,128,25,129,110,130,131,132,88,133],"template","skill template","validation","compliance","hats","guide","new skill","structural","canonical","which","Existing",{"skillNo":135,"name":136,"nameZh":6,"description":137,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":138,"categories":139,"keywords":140,"publishedAt":32},"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",[],[141,142,143,144,145,146,147,148,149,150,25,151,152,153,154,31,155],"Optimization","skill optimization","components","component","issues","library","audit","refactor","Budget","Rules","periodic","maintenance","token","token budget","high",{"skillNo":157,"name":158,"nameZh":6,"description":159,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":160,"categories":161,"keywords":162,"publishedAt":32},"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",[],[163,164,165,166,167,168,25,169,88],"gate","fallback","silent fallback gate","python","write","edit","hook",{"skillNo":171,"name":172,"nameZh":6,"description":173,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":174,"categories":175,"keywords":176,"publishedAt":32},"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",[],[177,178,179,180,144,181,182,183,150,105,25,184,185,86,186,187,188,189,190,191],"framework","retro","retro to framework","change","retrospective","projects","convert","incident","across","problem","about","more","skill update","single","generic"]