[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6JGHNWH4NJ5Z859QJ0CAZ60":3,"skill-same:01M6JGHNWH4NJ5Z859QJ0CAZ60":65},{"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":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":44,"commitSha":45,"skillDirectory":46,"forksCount":47,"repositoryHtmlUrl":48,"repositoryHomepageUrl":6,"ownerHtmlUrl":49,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":50,"install":51,"resources":64},"01M6JGHNWH4NJ5Z859QJ0CAZ60","role-coherence-protocol",null,"Audit a composed role against the user's project context for contradictions and interference, producing free-form findings with proposed fixes. Use when launched as a role-auditing role (role-auditor, role-judge, or sibling) whose first user message contains the target role's composed text plus the project context to audit against it.","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\u002Fcore\u002Fskills\u002Frole-coherence-protocol\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"role coherence protocol","role","coherence","protocol","free","fixes","for","auditor","with","judge","it","form","as","project","message","project context","use","text","first","audit","2026-11-10 10:12:30",false,"---\nname: role-coherence-protocol\ndescription: >-\n  Audit a composed role against the user's project context for\n  contradictions and interference, producing free-form findings with\n  proposed fixes. Use when launched as a role-auditing role (role-auditor,\n  role-judge, or sibling) whose first user message contains the target\n  role's composed text plus the project context to audit against it.\nlicense: MIT\n---\n\n# Role Coherence Protocol\n\nAudit method for any role-auditing role (`role-auditor`,\n`role-judge`, and future role-audit family). Verifies that a target\nrole's composed instructions are internally consistent and do not\ninterfere with the user's project files (`.\u002FCLAUDE.md`,\n`.agent\u002Fai-hats\u002Fuser-rules\u002F*.md`). Run by `ai-hats reflect role \u003Cname>`\nand `ai-hats reflect roles`.\n\nThe skill defines *what to audit and how to structure findings*.\nMutation policy and dialogue contract are set by the composing role's\nbase trait — `base-auditor` (no CLI \u002F no dialogue) vs `base-judge`\n(CLI ops + HITL dialogue, governed by **judge-role-protocol**).\n\n## When to Use\n\nYou were launched as a role-auditing role (`role-auditor`,\n`role-judge`, or sibling). The first user message contains the\ntarget role's composed text plus the project context that should be\naudited against it. Apply this protocol end-to-end and deliver the\nreport per §Step 3 — the delivery branch (markers vs Write tool) is\nchosen by your composing base trait.\n\n## Inputs\n\nThe first user message points at three groups of files on disk. Read\nthem via the **Read** \u002F **Glob** tools — do not ask the user to paste\ncontent; the harness has already materialized everything.\n\n### 1. Target role composition (layered)\n\nPath: provided to you in the supervisor's first message via the\n`{composed_dir}` interpolation — use that path verbatim. Do not\nreconstruct it. Typical shape (per-session):\n`\u003Cproject>\u002F\u003Cai_hats_dir>\u002Fsessions\u002Fruns\u002Fpipeline_runs\u002Freflect-role\u002F\u003Csession_id>\u002Fcomposed\u002F\u003Ctarget_role>\u002F`.\nLayout:\n\n- `manifest.yaml` — start here. Contains `name`, `identity` (the\n  expression composed, e.g. `maintainer + leader`), `priorities`, the\n  names of bundled `traits` \u002F `rules` \u002F `skills`, and `trace`: one row\n  per term with `brought_by` — the role, the trait, or an override layer\n  (`overrides::global` from `~\u002F.ai-hats\u002Fcustomizations.yaml`,\n  `overrides::project` from the project's `ai-hats.yaml`) — and\n  `removed_by` for a term an override dropped. Attribution is a chain:\n  a rule's row names the trait that declares it, and the trait's row\n  names who brought the trait — follow `brought_by` until it reaches\n  the role or an override layer.\n- `role-injection.md` — the role's own injection text (if non-empty).\n- `overlay-injection.md` — each override layer's `injection_append`,\n  global then project (if any).\n- `traits\u002F\u003Cname>.md` — per-trait injection text (deduped: a trait\n  whose text already appeared elsewhere is omitted but still listed\n  in the manifest).\n- `rules\u002F\u003Cname>.md` — full body of each bundled `rule.md`.\n- `skills\u002F\u003Cname>.md` — full body of each bundled `SKILL.md`.\n\nThis is the composition the user's session runs — the built-in role\nwith the user's overrides applied, the same thing `ai-hats config\nshow-prompt --role \u003Cname>` renders — broken down by source so every\ninstruction traces back to the component and the layer that brought it.\n\n### 2. Project CLAUDE.md\n\nPath: `\u003Cproject_dir>\u002FCLAUDE.md` — user-owned root prompt. May not\nexist on fresh projects.\n\n### 3. User rules overlay\n\nPath: `\u003Cproject_dir>\u002F.agent\u002Fai-hats\u002Fuser-rules\u002F*.md` — project-specific\noverrides. Use `Glob` to enumerate. Directory may be empty or absent.\n\nIf a group is empty \u002F missing, note it and continue (a missing\nuser-rules layer is normal for fresh projects).\n\n## Procedure\n\n### Step 1 — Read the manifest, then walk components\n\nRead `\u003Ccomposed_dir>\u002Fmanifest.yaml` first to get the structure\n(priorities + component names). Then:\n\n- Read `role-injection.md` (and `overlay-injection.md` if present) for\n  the role's intent.\n- For every name in `composition.traits`, read `traits\u002F\u003Cname>.md`.\n- For every name in `composition.rules`, read `rules\u002F\u003Cname>.md`.\n- For every name in `composition.skills`, read `skills\u002F\u003Cname>.md`.\n- Read `\u003Cproject_dir>\u002FCLAUDE.md` if it exists.\n- `Glob` `\u003Cproject_dir>\u002F.agent\u002Fai-hats\u002Fuser-rules\u002F*.md` and read each.\n\nExtract concrete instructions \u002F forbidden patterns \u002F required\nbehaviours from each component. Track them by source name — you'll\ncite the source in every finding.\n\n### Step 2 — Find conflicts\n\nWalk the audit view component-by-component (use the manifest as the\nchecklist). For each pair of components, ask: do their instructions\nagree? Categories of conflict to flag:\n\n- **Forbidden-token conflicts.** A trait or skill recommends a tool\n  that a bundled rule forbids (canonical example: a `## SHELL` trait\n  recommends `rg`\u002F`fd` while `dev_rule_tool_call_hygiene` forbids\n  them).\n- **Internal contradictions.** Two instructions inside the role\n  contradict each other (e.g. one trait says \"be terse\", another says\n  \"always include rationale\").\n- **User-context interference.** A role instruction conflicts with\n  something the user wrote in their CLAUDE.md or user-rules overlay, or\n  with a term whose `trace` chain ends in `overrides::global` \u002F\n  `overrides::project` — those are the user's context too. Route the\n  fix by where the chain ends: at the role, a library fix; at an\n  override layer, a change to the customization.\n- **Off-purpose components.** A bundled trait\u002Frule\u002Fskill is unrelated\n  to the role's stated purpose (priorities + role injection). Flag as\n  a finding so the role author can drop it or justify it.\n\nFor each conflict capture:\n\n- **Source** — name the component(s) involved (e.g. `trait: dev::shell`,\n  `rule: dev_rule_tool_call_hygiene`, `skill: judge-protocol`,\n  `role injection`, `user-rules:\u003Cfilename>`).\n- **Location** — section heading or short quote of each side.\n- **Nature** — what contradicts what, in one sentence.\n- **Recommendation** — concrete fix proposal (rephrase, drop,\n  override, split into role variant, etc.).\n\n### Step 3 — Write the report\n\n**Delivery decision (read first, then template):**\n\n```\nComposed with `base-auditor`? → emit between BEGIN_REFLECT \u002F END_REFLECT.\nComposed with `base-judge`?    → Write tool to declared report path. No markers.\n```\n\nPick the branch matching your composition and follow only that branch\nbelow. The wrong branch ships markers the pipeline does not extract\n(or vice versa).\n\nReport template (used by both branches):\n\n```\n# Role coherence report — \u003Ctarget_role> · \u003CUTC ts>\n\n## Findings\n1. **\u003Cshort label>** — \u003CSource(s)>. \u003CLocation>. \u003CNature>.\n   **Fix:** \u003Crecommendation>.\n2. ...\n\n## Notes\n\u003Cfree-form observations, structural smell, anything outside finding scope>\n```\n\nEmpty findings are valid — write `(none)` under `## Findings` and\nexplain why in `## Notes` (e.g. \"role contains only `trait-analyst-base`,\nnothing to conflict with\").\n\n**Branch A — `base-auditor` (batch, no pipeline interaction):**\nemit the report between `BEGIN_REFLECT` \u002F `END_REFLECT` markers in your\noutput. The pipeline's `extract_marker` + `save_artifact` steps capture\nand persist it. Used by future batch QA gates; **no current pipeline\nrelies on this path**.\n\n**Branch B — `base-judge` (HITL pipeline \u002F manual interactive):** use\nthe **Write** tool to save the report directly to the path declared in\nyour role injection (typically\n`\u003Cai_hats_dir>\u002Fsessions\u002Fretros\u002Frole-coherence\u002F\u003CUTC-ISO-ts>-\u003Ctarget>.md`). Do\nNOT emit `BEGIN_REFLECT` \u002F `END_REFLECT` markers — the pipeline does\nnot extract them on this path. Entered through `ai-hats reflect role`\nor manual `ai-hats execute --role role-judge`.\n\n## Edge Cases\n\n- **Empty user context.** If both `.\u002FCLAUDE.md` and `user-rules\u002F` are\n  empty, audit the role for self-consistency only and note in `## Notes`\n  that no project context was available.\n- **Same recommendation surfaces multiple places.** Group by Fix in\n  `## Findings`; do not list duplicates.\n- **Missing target role.** If the target-role block is empty, fail\n  loudly: write a single `## Findings` entry pointing to the empty\n  composition and exit.\n\n## Scope\n\nMutation policy is defined by your composing base trait, not by this\nskill. See the level declared there for what is allowed:\n\n- `base-auditor` → **L0** (audit only): no CLI, no dialogue, single\n  report artifact. Source-file edits unavailable.\n- `base-judge` → **L1** (analysis + ack'd mutations): CLI verbs per\n  `judge-role-protocol` whitelist, HITL dialogue, file tasks via\n  `rack create`. Source-file edits gated by L2 activation\n  (supervisor-authorized; see `base-judge` §L2).\n\nThis skill defines the audit method and report shape only. For default\nL0 \u002F L1 behaviour, defer to the base trait. For L2 source-file edits,\ndefer to `base-judge` §L2.\n\nThe pipeline's `save_artifact` step persists your report (Branch A) or\nyour direct Write lands it (Branch B) — emitting clean markdown is\nyour primary deliverable.\n","# Role Coherence Protocol\n\nAudit method for any role-auditing role (`role-auditor`,\n`role-judge`, and future role-audit family). Verifies that a target\nrole's composed instructions are internally consistent and do not\ninterfere with the user's project files (`.\u002FCLAUDE.md`,\n`.agent\u002Fai-hats\u002Fuser-rules\u002F*.md`). Run by `ai-hats reflect role \u003Cname>`\nand `ai-hats reflect roles`.\n\nThe skill defines *what to audit and how to structure findings*.\nMutation policy and dialogue contract are set by the composing role's\nbase trait — `base-auditor` (no CLI \u002F no dialogue) vs `base-judge`\n(CLI ops + HITL dialogue, governed by **judge-role-protocol**).\n\n## When to Use\n\nYou were launched as a role-auditing role (`role-auditor`,\n`role-judge`, or sibling). The first user message contains the\ntarget role's composed text plus the project context that should be\naudited against it. Apply this protocol end-to-end and deliver the\nreport per §Step 3 — the delivery branch (markers vs Write tool) is\nchosen by your composing base trait.\n\n## Inputs\n\nThe first user message points at three groups of files on disk. Read\nthem via the **Read** \u002F **Glob** tools — do not ask the user to paste\ncontent; the harness has already materialized everything.\n\n### 1. Target role composition (layered)\n\nPath: provided to you in the supervisor's first message via the\n`{composed_dir}` interpolation — use that path verbatim. Do not\nreconstruct it. Typical shape (per-session):\n`\u003Cproject>\u002F\u003Cai_hats_dir>\u002Fsessions\u002Fruns\u002Fpipeline_runs\u002Freflect-role\u002F\u003Csession_id>\u002Fcomposed\u002F\u003Ctarget_role>\u002F`.\nLayout:\n\n- `manifest.yaml` — start here. Contains `name`, `identity` (the\n  expression composed, e.g. `maintainer + leader`), `priorities`, the\n  names of bundled `traits` \u002F `rules` \u002F `skills`, and `trace`: one row\n  per term with `brought_by` — the role, the trait, or an override layer\n  (`overrides::global` from `~\u002F.ai-hats\u002Fcustomizations.yaml`,\n  `overrides::project` from the project's `ai-hats.yaml`) — and\n  `removed_by` for a term an override dropped. Attribution is a chain:\n  a rule's row names the trait that declares it, and the trait's row\n  names who brought the trait — follow `brought_by` until it reaches\n  the role or an override layer.\n- `role-injection.md` — the role's own injection text (if non-empty).\n- `overlay-injection.md` — each override layer's `injection_append`,\n  global then project (if any).\n- `traits\u002F\u003Cname>.md` — per-trait injection text (deduped: a trait\n  whose text already appeared elsewhere is omitted but still listed\n  in the manifest).\n- `rules\u002F\u003Cname>.md` — full body of each bundled `rule.md`.\n- `skills\u002F\u003Cname>.md` — full body of each bundled `SKILL.md`.\n\nThis is the composition the user's session runs — the built-in role\nwith the user's overrides applied, the same thing `ai-hats config\nshow-prompt --role \u003Cname>` renders — broken down by source so every\ninstruction traces back to the component and the layer that brought it.\n\n### 2. Project CLAUDE.md\n\nPath: `\u003Cproject_dir>\u002FCLAUDE.md` — user-owned root prompt. May not\nexist on fresh projects.\n\n### 3. User rules overlay\n\nPath: `\u003Cproject_dir>\u002F.agent\u002Fai-hats\u002Fuser-rules\u002F*.md` — project-specific\noverrides. Use `Glob` to enumerate. Directory may be empty or absent.\n\nIf a group is empty \u002F missing, note it and continue (a missing\nuser-rules layer is normal for fresh projects).\n\n## Procedure\n\n### Step 1 — Read the manifest, then walk components\n\nRead `\u003Ccomposed_dir>\u002Fmanifest.yaml` first to get the structure\n(priorities + component names). Then:\n\n- Read `role-injection.md` (and `overlay-injection.md` if present) for\n  the role's intent.\n- For every name in `composition.traits`, read `traits\u002F\u003Cname>.md`.\n- For every name in `composition.rules`, read `rules\u002F\u003Cname>.md`.\n- For every name in `composition.skills`, read `skills\u002F\u003Cname>.md`.\n- Read `\u003Cproject_dir>\u002FCLAUDE.md` if it exists.\n- `Glob` `\u003Cproject_dir>\u002F.agent\u002Fai-hats\u002Fuser-rules\u002F*.md` and read each.\n\nExtract concrete instructions \u002F forbidden patterns \u002F required\nbehaviours from each component. Track them by source name — you'll\ncite the source in every finding.\n\n### Step 2 — Find conflicts\n\nWalk the audit view component-by-component (use the manifest as the\nchecklist). For each pair of components, ask: do their instructions\nagree? Categories of conflict to flag:\n\n- **Forbidden-token conflicts.** A trait or skill recommends a tool\n  that a bundled rule forbids (canonical example: a `## SHELL` trait\n  recommends `rg`\u002F`fd` while `dev_rule_tool_call_hygiene` forbids\n  them).\n- **Internal contradictions.** Two instructions inside the role\n  contradict each other (e.g. one trait says \"be terse\", another says\n  \"always include rationale\").\n- **User-context interference.** A role instruction conflicts with\n  something the user wrote in their CLAUDE.md or user-rules overlay, or\n  with a term whose `trace` chain ends in `overrides::global` \u002F\n  `overrides::project` — those are the user's context too. Route the\n  fix by where the chain ends: at the role, a library fix; at an\n  override layer, a change to the customization.\n- **Off-purpose components.** A bundled trait\u002Frule\u002Fskill is unrelated\n  to the role's stated purpose (priorities + role injection). Flag as\n  a finding so the role author can drop it or justify it.\n\nFor each conflict capture:\n\n- **Source** — name the component(s) involved (e.g. `trait: dev::shell`,\n  `rule: dev_rule_tool_call_hygiene`, `skill: judge-protocol`,\n  `role injection`, `user-rules:\u003Cfilename>`).\n- **Location** — section heading or short quote of each side.\n- **Nature** — what contradicts what, in one sentence.\n- **Recommendation** — concrete fix proposal (rephrase, drop,\n  override, split into role variant, etc.).\n\n### Step 3 — Write the report\n\n**Delivery decision (read first, then template):**\n\n```\nComposed with `base-auditor`? → emit between BEGIN_REFLECT \u002F END_REFLECT.\nComposed with `base-judge`?    → Write tool to declared report path. No markers.\n```\n\nPick the branch matching your composition and follow only that branch\nbelow. The wrong branch ships markers the pipeline does not extract\n(or vice versa).\n\nReport template (used by both branches):\n\n```\n# Role coherence report — \u003Ctarget_role> · \u003CUTC ts>\n\n## Findings\n1. **\u003Cshort label>** — \u003CSource(s)>. \u003CLocation>. \u003CNature>.\n   **Fix:** \u003Crecommendation>.\n2. ...\n\n## Notes\n\u003Cfree-form observations, structural smell, anything outside finding scope>\n```\n\nEmpty findings are valid — write `(none)` under `## Findings` and\nexplain why in `## Notes` (e.g. \"role contains only `trait-analyst-base`,\nnothing to conflict with\").\n\n**Branch A — `base-auditor` (batch, no pipeline interaction):**\nemit the report between `BEGIN_REFLECT` \u002F `END_REFLECT` markers in your\noutput. The pipeline's `extract_marker` + `save_artifact` steps capture\nand persist it. Used by future batch QA gates; **no current pipeline\nrelies on this path**.\n\n**Branch B — `base-judge` (HITL pipeline \u002F manual interactive):** use\nthe **Write** tool to save the report directly to the path declared in\nyour role injection (typically\n`\u003Cai_hats_dir>\u002Fsessions\u002Fretros\u002Frole-coherence\u002F\u003CUTC-ISO-ts>-\u003Ctarget>.md`). Do\nNOT emit `BEGIN_REFLECT` \u002F `END_REFLECT` markers — the pipeline does\nnot extract them on this path. Entered through `ai-hats reflect role`\nor manual `ai-hats execute --role role-judge`.\n\n## Edge Cases\n\n- **Empty user context.** If both `.\u002FCLAUDE.md` and `user-rules\u002F` are\n  empty, audit the role for self-consistency only and note in `## Notes`\n  that no project context was available.\n- **Same recommendation surfaces multiple places.** Group by Fix in\n  `## Findings`; do not list duplicates.\n- **Missing target role.** If the target-role block is empty, fail\n  loudly: write a single `## Findings` entry pointing to the empty\n  composition and exit.\n\n## Scope\n\nMutation policy is defined by your composing base trait, not by this\nskill. See the level declared there for what is allowed:\n\n- `base-auditor` → **L0** (audit only): no CLI, no dialogue, single\n  report artifact. Source-file edits unavailable.\n- `base-judge` → **L1** (analysis + ack'd mutations): CLI verbs per\n  `judge-role-protocol` whitelist, HITL dialogue, file tasks via\n  `rack create`. Source-file edits gated by L2 activation\n  (supervisor-authorized; see `base-judge` §L2).\n\nThis skill defines the audit method and report shape only. For default\nL0 \u002F L1 behaviour, defer to the base trait. For L2 source-file edits,\ndefer to `base-judge` §L2.\n\nThe pipeline's `save_artifact` step persists your report (Branch A) or\nyour direct Write lands it (Branch B) — emitting clean markdown is\nyour primary deliverable.\n",{"name":5,"license":15,"description":7},"master","b4819add93efbaf4d80627118ec34680406b309b","packages\u002Fai-hats-library\u002Fsrc\u002Fai_hats_library\u002Fcore\u002Fskills\u002Frole-coherence-protocol",1,"https:\u002F\u002Fgithub.com\u002Fmuratovv\u002Fai-hats","https:\u002F\u002Fgithub.com\u002Fmuratovv","2026-11-05 20:59:10",{"source":8,"skillName":5,"commands":52,"prompt":62,"zipAvailable":63},[53,56,59],{"tool":54,"command":55},"npx","npx skills add muratovv\u002Fai-hats --skill role-coherence-protocol",{"tool":57,"command":58},"bunx","bunx skills add muratovv\u002Fai-hats --skill role-coherence-protocol",{"tool":60,"command":61},"pnpm","pnpm dlx skills add muratovv\u002Fai-hats --skill role-coherence-protocol","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmuratovv\u002Fai-hats\u002Fblob\u002Fmaster\u002Fpackages\u002Fai-hats-library\u002Fsrc\u002Fai_hats_library\u002Fcore\u002Fskills\u002Frole-coherence-protocol\u002FSKILL.md",true,[],[66,89,113,131,152,166],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":39},"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",[],[22,73,74,75,76,77,78,79,80,81,35,82,83,84,85,32,86,25,87,88],"Evaluation","tool","tool evaluation protocol","testing","ml","libraries","adoption","methodology","Tools","dependency","up","frameworks","time","recommendation","bounded","candidate",{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":39},"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",[],[96,97,98,99,22,100,101,102,103,104,35,105,106,107,108,109,110,27,111,112],"systematic debugging","debugging","systematic","test","monitoring","hypothesis","verify","behavior","fix","evidence","bug","reports","pattern","users","error","bug-fix","phase",{"skillNo":114,"name":115,"nameZh":6,"description":116,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":117,"categories":118,"keywords":119,"publishedAt":39},"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",[],[120,121,122,123,124,103,125,35,126,108,127,128,129,25,130],"template","skill template","validation","compliance","hats","guide","new skill","structural","canonical","which","Existing",{"skillNo":132,"name":133,"nameZh":6,"description":134,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":135,"categories":136,"keywords":137,"publishedAt":39},"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",[],[138,139,140,141,142,143,38,144,145,146,35,147,148,149,150,20,151],"Optimization","skill optimization","components","component","issues","library","refactor","Budget","Rules","periodic","maintenance","token","token budget","high",{"skillNo":153,"name":154,"nameZh":6,"description":155,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":156,"categories":157,"keywords":158,"publishedAt":39},"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",[],[159,160,161,162,163,164,35,165,25],"gate","fallback","silent fallback gate","python","write","edit","hook",{"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":39},"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",[],[173,174,175,176,141,177,178,179,146,103,35,180,181,32,182,183,184,185,186,187],"framework","retro","retro to framework","change","retrospective","projects","convert","incident","across","problem","about","more","skill update","single","generic"]