[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M731ZVYME2HSFJ3PNATTYDH8":3,"skill-same:01M731ZVYME2HSFJ3PNATTYDH8":47},{"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":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":30,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M731ZVYME2HSFJ3PNATTYDH8","hookify-rules",null,"当用户要求创建hookify规则、编写hook规则、配置hookify、添加hookify规则或需要关于hookify规则语法和模式的指导时，应使用此技能。","SriramGandhiS\u002FSkills","SriramGandhiS","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F211849986?v=4","01M72WQCW12BYX71C6WN584TTA","Sriram S","01M72WQCWTJ2RD0ET1X31AF1RC",1,"MIT","https:\u002F\u002Fgithub.com\u002FSriramGandhiS\u002FSkills\u002Fblob\u002Fmaster\u002Fweb-assets\u002Fdocs\u002Fzh-CN\u002Fskills\u002Fhookify-rules\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"---\nname: hookify-rules\ndescription: 当用户要求创建hookify规则、编写hook规则、配置hookify、添加hookify规则或需要关于hookify规则语法和模式的指导时，应使用此技能。\n---\n\n# 编写 Hookify 规则\n\n## 概述\n\nHookify 规则是带有 YAML 前置元数据的 Markdown 文件，用于定义要监控的模式以及匹配时显示的消息。规则存储在 `.claude\u002Fhookify.{rule-name}.local.md` 文件中。\n\n## 规则文件格式\n\n### 基本结构\n\n```markdown\n---\nname: rule-identifier\nenabled: true\nevent: bash|file|stop|prompt|all\npattern: regex-pattern-here\n---\n\n当此规则触发时向 Claude 显示的消息。\n可包含 Markdown 格式、警告、建议等内容。\n```\n\n### 前置元数据字段\n\n| 字段 | 必填 | 值 | 描述 |\n|-------|----------|--------|-------------|\n| name | 是 | kebab-case 字符串 | 唯一标识符（动词优先：warn-*、block-*、require-*） |\n| enabled | 是 | true\u002Ffalse | 无需删除即可切换 |\n| event | 是 | bash\u002Ffile\u002Fstop\u002Fprompt\u002Fall | 触发规则的钩子事件 |\n| action | 否 | warn\u002Fblock | warn（默认）显示消息；block 阻止操作 |\n| pattern | 是* | 正则表达式字符串 | 要匹配的模式（\\*或使用 conditions 实现复杂规则） |\n\n### 高级格式（多条件）\n\n```markdown\n---\nname: warn-env-api-keys\nenabled: true\nevent: file\nconditions:\n  - field: file_path\n    operator: regex_match\n    pattern: \\.env$\n  - field: new_text\n    operator: contains\n    pattern: API_KEY\n---\n\n你正在向 .env 文件中添加 API 密钥。请确保该文件已包含在 .gitignore 中！\n```\n\n**按事件划分的条件字段：**\n\n* bash：`command`\n* file：`file_path`、`new_text`、`old_text`、`content`\n* prompt：`user_prompt`\n\n**运算符：** `regex_match`、`contains`、`equals`、`not_contains`、`starts_with `、`ends_with`\n\n所有条件必须同时满足才能触发规则。\n\n## 事件类型指南\n\n### bash 事件\n\n匹配 Bash 命令模式：\n\n* 危险命令：`rm\\s+-rf`、`dd\\s+if=`、`mkfs`\n* 权限提升：`sudo\\s+`、`su\\s+`\n* 权限问题：`chmod\\s+777`\n\n### file 事件\n\n匹配编辑\u002F写入\u002F多重编辑操作：\n\n* 调试代码：`console\\.log\\(`、`debugger`\n* 安全风险：`eval\\(`、`innerHTML\\s*=`\n* 敏感文件：`\\.env$`、`credentials`、`\\.pem$`\n\n### stop 事件\n\n完成检查与提醒。模式 `.*` 始终匹配。\n\n### prompt 事件\n\n匹配用户提示内容以强制执行工作流程。\n\n## 模式编写技巧\n\n### 正则表达式基础\n\n* 转义特殊字符：`.`转义为`\\.`，`(`转义为`\\(`\n* `\\s`空白字符，`\\d`数字，`\\w` 单词字符\n* `+`一个或多个，`*`零个或多个，`?` 可选\n* `|` 或运算符\n\n### 常见陷阱\n\n* **过于宽泛**：`log`会匹配 \"login\"、\"dialog\"——请使用`console\\.log\\(`\n* **过于具体**：`rm -rf \u002Ftmp`——请使用`rm\\s+-rf`\n* **YAML 转义**：使用无引号模式；带引号的字符串需要 `\\\\s`\n\n### 测试\n\n```bash\npython3 -c \"import re; print(re.search(r'your_pattern', 'test text'))\"\n```\n\n## 文件组织\n\n* **位置**：项目根目录下的 `.claude\u002F` 目录\n* **命名**：`.claude\u002Fhookify.{descriptive-name}.local.md`\n* **Gitignore**：将 `.claude\u002F*.local.md`添加到`.gitignore`\n\n## 命令\n\n* `\u002Fhookify [description]` - 创建新规则（无参数时自动分析对话）\n* `\u002Fhookify-list` - 以表格形式查看所有规则\n* `\u002Fhookify-configure` - 交互式切换规则开关\n* `\u002Fhookify-help` - 完整文档\n\n## 快速参考\n\n最小可行规则：\n\n```markdown\n---\nname: my-rule\nenabled: true\nevent: bash\npattern: dangerous_command\n---\n此处显示警告信息\n```\n","# 编写 Hookify 规则\n\n## 概述\n\nHookify 规则是带有 YAML 前置元数据的 Markdown 文件，用于定义要监控的模式以及匹配时显示的消息。规则存储在 `.claude\u002Fhookify.{rule-name}.local.md` 文件中。\n\n## 规则文件格式\n\n### 基本结构\n\n```markdown\n---\nname: rule-identifier\nenabled: true\nevent: bash|file|stop|prompt|all\npattern: regex-pattern-here\n---\n\n当此规则触发时向 Claude 显示的消息。\n可包含 Markdown 格式、警告、建议等内容。\n```\n\n### 前置元数据字段\n\n| 字段 | 必填 | 值 | 描述 |\n|-------|----------|--------|-------------|\n| name | 是 | kebab-case 字符串 | 唯一标识符（动词优先：warn-*、block-*、require-*） |\n| enabled | 是 | true\u002Ffalse | 无需删除即可切换 |\n| event | 是 | bash\u002Ffile\u002Fstop\u002Fprompt\u002Fall | 触发规则的钩子事件 |\n| action | 否 | warn\u002Fblock | warn（默认）显示消息；block 阻止操作 |\n| pattern | 是* | 正则表达式字符串 | 要匹配的模式（\\*或使用 conditions 实现复杂规则） |\n\n### 高级格式（多条件）\n\n```markdown\n---\nname: warn-env-api-keys\nenabled: true\nevent: file\nconditions:\n  - field: file_path\n    operator: regex_match\n    pattern: \\.env$\n  - field: new_text\n    operator: contains\n    pattern: API_KEY\n---\n\n你正在向 .env 文件中添加 API 密钥。请确保该文件已包含在 .gitignore 中！\n```\n\n**按事件划分的条件字段：**\n\n* bash：`command`\n* file：`file_path`、`new_text`、`old_text`、`content`\n* prompt：`user_prompt`\n\n**运算符：** `regex_match`、`contains`、`equals`、`not_contains`、`starts_with `、`ends_with`\n\n所有条件必须同时满足才能触发规则。\n\n## 事件类型指南\n\n### bash 事件\n\n匹配 Bash 命令模式：\n\n* 危险命令：`rm\\s+-rf`、`dd\\s+if=`、`mkfs`\n* 权限提升：`sudo\\s+`、`su\\s+`\n* 权限问题：`chmod\\s+777`\n\n### file 事件\n\n匹配编辑\u002F写入\u002F多重编辑操作：\n\n* 调试代码：`console\\.log\\(`、`debugger`\n* 安全风险：`eval\\(`、`innerHTML\\s*=`\n* 敏感文件：`\\.env$`、`credentials`、`\\.pem$`\n\n### stop 事件\n\n完成检查与提醒。模式 `.*` 始终匹配。\n\n### prompt 事件\n\n匹配用户提示内容以强制执行工作流程。\n\n## 模式编写技巧\n\n### 正则表达式基础\n\n* 转义特殊字符：`.`转义为`\\.`，`(`转义为`\\(`\n* `\\s`空白字符，`\\d`数字，`\\w` 单词字符\n* `+`一个或多个，`*`零个或多个，`?` 可选\n* `|` 或运算符\n\n### 常见陷阱\n\n* **过于宽泛**：`log`会匹配 \"login\"、\"dialog\"——请使用`console\\.log\\(`\n* **过于具体**：`rm -rf \u002Ftmp`——请使用`rm\\s+-rf`\n* **YAML 转义**：使用无引号模式；带引号的字符串需要 `\\\\s`\n\n### 测试\n\n```bash\npython3 -c \"import re; print(re.search(r'your_pattern', 'test text'))\"\n```\n\n## 文件组织\n\n* **位置**：项目根目录下的 `.claude\u002F` 目录\n* **命名**：`.claude\u002Fhookify.{descriptive-name}.local.md`\n* **Gitignore**：将 `.claude\u002F*.local.md`添加到`.gitignore`\n\n## 命令\n\n* `\u002Fhookify [description]` - 创建新规则（无参数时自动分析对话）\n* `\u002Fhookify-list` - 以表格形式查看所有规则\n* `\u002Fhookify-configure` - 交互式切换规则开关\n* `\u002Fhookify-help` - 完整文档\n\n## 快速参考\n\n最小可行规则：\n\n```markdown\n---\nname: my-rule\nenabled: true\nevent: bash\npattern: dangerous_command\n---\n此处显示警告信息\n```\n",{"name":5,"description":7},"master","d6ca01da0f24a3b0e26e4a8b7b66cbd25d429f5d","web-assets\u002Fdocs\u002Fzh-CN\u002Fskills\u002Fhookify-rules",0,"https:\u002F\u002Fgithub.com\u002FSriramGandhiS\u002FSkills","https:\u002F\u002Fgithub.com\u002FSriramGandhiS","https:\u002F\u002Fsriram.website\u002F","Curious guy who keeps tinkering until something works","2026-05-20 16:21:34",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add SriramGandhiS\u002FSkills --skill hookify-rules",{"tool":39,"command":40},"bunx","bunx skills add SriramGandhiS\u002FSkills --skill hookify-rules",{"tool":42,"command":43},"pnpm","pnpm dlx skills add SriramGandhiS\u002FSkills --skill hookify-rules","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FSriramGandhiS\u002FSkills\u002Fblob\u002Fmaster\u002Fweb-assets\u002Fdocs\u002Fzh-CN\u002Fskills\u002Fhookify-rules\u002FSKILL.md",true,[],[48,55,60,66,73,80],{"skillNo":49,"name":50,"nameZh":6,"description":51,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":52,"categories":53,"keywords":54,"publishedAt":19},"01M732609EPJWV13PVTX3GT4TM","webgpu-threejs-tsl","Comprehensive guide for developing WebGPU-enabled Three.js applications using TSL (Three.js Shading Language). Covers WebGPU renderer setup, TSL syntax and node materials, compute shaders, post-processing effects, and WGSL integration. Use this skill when working with Three.js WebGPU, TSL shaders, node materials, or GPU compute in Three.js.","https:\u002F\u002Fgithub.com\u002FSriramGandhiS\u002FSkills\u002Fblob\u002Fmaster\u002Fwebgpu-threejs-tsl\u002Fskills\u002Fwebgpu-threejs-tsl\u002FSKILL.md",[],[],{"skillNo":56,"name":50,"nameZh":6,"description":51,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":57,"categories":58,"keywords":59,"publishedAt":19},"01M7325XM47AGWB6K6C4VXKE6B","https:\u002F\u002Fgithub.com\u002FSriramGandhiS\u002FSkills\u002Fblob\u002Fmaster\u002Fwebgpu-threejs-tsl\u002FSKILL.md",[],[],{"skillNo":61,"name":62,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":19},"01M7325WP6DES69JKC840VMFEP","verification-loop","https:\u002F\u002Fgithub.com\u002FSriramGandhiS\u002FSkills\u002Fblob\u002Fmaster\u002Fweb-assets\u002Fdocs\u002Fzh-TW\u002Fskills\u002Fverification-loop\u002FSKILL.md",[],[],{"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":19},"01M7325TFQF1DZTQ6J3WGQQ1VR","tdd-workflow","Use this skill when writing new features, fixing bugs, or refactoring code. Enforces test-driven development with 80%+ coverage including unit, integration, and E2E tests.","https:\u002F\u002Fgithub.com\u002FSriramGandhiS\u002FSkills\u002Fblob\u002Fmaster\u002Fweb-assets\u002Fdocs\u002Fzh-TW\u002Fskills\u002Ftdd-workflow\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M7325RGV9AY9PK92D2V8KKPW","strategic-compact","Suggests manual context compaction at logical intervals to preserve context through task phases rather than arbitrary auto-compaction.","https:\u002F\u002Fgithub.com\u002FSriramGandhiS\u002FSkills\u002Fblob\u002Fmaster\u002Fweb-assets\u002Fdocs\u002Fzh-TW\u002Fskills\u002Fstrategic-compact\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":19},"01M7325MZC28SE86E7NMCNEFS4","security-review","Use this skill when adding authentication, handling user input, working with secrets, creating API endpoints, or implementing payment\u002Fsensitive features. Provides comprehensive security checklist and patterns.","https:\u002F\u002Fgithub.com\u002FSriramGandhiS\u002FSkills\u002Fblob\u002Fmaster\u002Fweb-assets\u002Fdocs\u002Fzh-TW\u002Fskills\u002Fsecurity-review\u002FSKILL.md",[],[]]