[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M70G7EYRBT3WBR8Y06J9CY44":3,"skill-same:01M70G7EYRBT3WBR8Y06J9CY44":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":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":50,"updatedAt":51,"install":52,"resources":65},"01M70G7EYRBT3WBR8Y06J9CY44","hookify-rules",null,"Create and configure hookify rules — markdown files with YAML frontmatter that match bash, file, prompt, or stop events by regex or conditions and show warn\u002Fblock messages to the agent. Use when creating a hookify rule, writing hook rule syntax, configuring hookify, or adding pattern guardrails such as blocking dangerous commands, .env edits, or debug code.","mdnaimul22\u002Fhuman-skills","mdnaimul22","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F64520358?v=4","01M70FH95MH2H796Q01TYSFZ03","Naimul","01M70FH96798CQR4YHA13F17GA",3,"MIT","https:\u002F\u002Fgithub.com\u002Fmdnaimul22\u002Fhuman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fstorage\u002Faffaan-m_ECC\u002Fhookify-rules\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"Rules","hookify rules","hookify","events","frontmatter","hook","syntax","pattern","commands","markdown","create","code","Bash","configure","when","writing","files","Guardrails","messages","show","2026-11-10 10:12:30",false,"---\nname: hookify-rules\ndescription: Create and configure hookify rules — markdown files with YAML frontmatter that match bash, file, prompt, or stop events by regex or conditions and show warn\u002Fblock messages to the agent. Use when creating a hookify rule, writing hook rule syntax, configuring hookify, or adding pattern guardrails such as blocking dangerous commands, .env edits, or debug code.\n---\n\n# Writing Hookify Rules\n\n## Overview\n\nECC evaluates project-local Hookify rules with its built-in Node runtime. No\nseparate Hookify plugin or Python installation is required when ECC hooks are\nenabled.\n\nHookify rules are markdown files with YAML frontmatter that define patterns to watch for and messages to show when those patterns match. Rules are stored in `.claude\u002Fhookify.{rule-name}.local.md` files.\n\n## Rule File Format\n\n### Basic Structure\n\n```markdown\n---\nname: rule-identifier\nenabled: true\nevent: bash|file|stop|prompt|all\npattern: regex-pattern-here\n---\n\nMessage to show Claude when this rule triggers.\nCan include markdown formatting, warnings, suggestions, etc.\n```\n\n### Frontmatter Fields\n\n| Field | Required | Values | Description |\n|-------|----------|--------|-------------|\n| name | Yes | kebab-case string | Unique identifier (verb-first: warn-*, block-*, require-*) |\n| enabled | Yes | true\u002Ffalse | Toggle without deleting |\n| event | Yes | bash\u002Ffile\u002Fstop\u002Fprompt\u002Fall | Which hook event triggers this |\n| action | No | warn\u002Fblock | warn (default) shows message; block prevents operation |\n| pattern | Yes* | regex string | Pattern to match (*or use conditions for complex rules) |\n\n### Advanced Format (Multiple Conditions)\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\nYou're adding an API key to a .env file. Ensure this file is in .gitignore!\n```\n\n**Condition fields by event:**\n- bash: `command`\n- file: `file_path`, `new_text`, `old_text`, `content`\n- prompt: `user_prompt`\n\n**Operators:** `regex_match`, `contains`, `equals`, `not_contains`, `starts_with`, `ends_with`\n\nAll conditions must match for rule to trigger.\n\n## Event Type Guide\n\n### bash Events\nMatch Bash command patterns:\n- Dangerous commands: `rm\\s+-rf`, `dd\\s+if=`, `mkfs`\n- Privilege escalation: `sudo\\s+`, `su\\s+`\n- Permission issues: `chmod\\s+777`\n\n### file Events\nMatch Edit\u002FWrite\u002FMultiEdit operations:\n- Debug code: `console\\.log\\(`, `debugger`\n- Security risks: `eval\\(`, `innerHTML\\s*=`\n- Sensitive files: `\\.env$`, `credentials`, `\\.pem$`\n\n### stop Events\nCompletion checks and reminders. Pattern `.*` matches always.\n\n### prompt Events\nMatch user prompt content for workflow enforcement.\n\n## Pattern Writing Tips\n\n### Regex Basics\n- Escape special chars: `.` to `\\.`, `(` to `\\(`\n- `\\s` whitespace, `\\d` digit, `\\w` word char\n- `+` one or more, `*` zero or more, `?` optional\n- `|` OR operator\n\n### Common Pitfalls\n- **Too broad**: `log` matches \"login\", \"dialog\" — use `console\\.log\\(`\n- **Too specific**: `rm -rf \u002Ftmp` — use `rm\\s+-rf`\n- **YAML escaping**: Use unquoted patterns; quoted strings need `\\\\s`\n\n### Testing\n```bash\npython3 -c \"import re; print(re.search(r'your_pattern', 'test text'))\"\n```\n\nAvoid nested quantifiers such as `(a+)+`. The runtime rejects patterns with\ncommon catastrophic-backtracking shapes because rules run synchronously in the\nhook path, and every regex evaluation has a 25 ms hard timeout. Invalid,\nsymlinked, or oversized local rules fail open and emit a\ndiagnostic without disabling other Hookify rules.\n\nGit-tracked local rules are disabled by default. Set\n`ECC_HOOKIFY_ALLOW_TRACKED=1` only after reviewing those files; ordinary\ngitignored rules created locally remain active without that override.\n\n## Runtime Behavior\n\n- `warn` injects the message as event-specific additional context and does not block.\n- `block` denies matching Bash, PowerShell, Write, Edit, or MultiEdit calls before execution.\n- On prompt, post-tool, and stop events, `block` uses Claude Code's structured block decision.\n- Stop rules skip recursive `stop_hook_active` events to prevent infinite continuation loops.\n\n## File Organization\n\n- **Location**: `.claude\u002F` directory in project root\n- **Naming**: `.claude\u002Fhookify.{descriptive-name}.local.md`\n- **Gitignore**: Add `.claude\u002F*.local.md` to `.gitignore`\n\n## Commands\n\n- `\u002Fhookify [description]` - Create new rules (auto-analyzes conversation if no args)\n- `\u002Fhookify-list` - View all rules in table format\n- `\u002Fhookify-configure` - Toggle rules on\u002Foff interactively\n- `\u002Fhookify-help` - Full documentation\n\n## Quick Reference\n\nMinimum viable rule:\n```markdown\n---\nname: my-rule\nenabled: true\nevent: bash\npattern: dangerous_command\n---\nWarning message here\n```\n","# Writing Hookify Rules\n\n## Overview\n\nECC evaluates project-local Hookify rules with its built-in Node runtime. No\nseparate Hookify plugin or Python installation is required when ECC hooks are\nenabled.\n\nHookify rules are markdown files with YAML frontmatter that define patterns to watch for and messages to show when those patterns match. Rules are stored in `.claude\u002Fhookify.{rule-name}.local.md` files.\n\n## Rule File Format\n\n### Basic Structure\n\n```markdown\n---\nname: rule-identifier\nenabled: true\nevent: bash|file|stop|prompt|all\npattern: regex-pattern-here\n---\n\nMessage to show Claude when this rule triggers.\nCan include markdown formatting, warnings, suggestions, etc.\n```\n\n### Frontmatter Fields\n\n| Field | Required | Values | Description |\n|-------|----------|--------|-------------|\n| name | Yes | kebab-case string | Unique identifier (verb-first: warn-*, block-*, require-*) |\n| enabled | Yes | true\u002Ffalse | Toggle without deleting |\n| event | Yes | bash\u002Ffile\u002Fstop\u002Fprompt\u002Fall | Which hook event triggers this |\n| action | No | warn\u002Fblock | warn (default) shows message; block prevents operation |\n| pattern | Yes* | regex string | Pattern to match (*or use conditions for complex rules) |\n\n### Advanced Format (Multiple Conditions)\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\nYou're adding an API key to a .env file. Ensure this file is in .gitignore!\n```\n\n**Condition fields by event:**\n- bash: `command`\n- file: `file_path`, `new_text`, `old_text`, `content`\n- prompt: `user_prompt`\n\n**Operators:** `regex_match`, `contains`, `equals`, `not_contains`, `starts_with`, `ends_with`\n\nAll conditions must match for rule to trigger.\n\n## Event Type Guide\n\n### bash Events\nMatch Bash command patterns:\n- Dangerous commands: `rm\\s+-rf`, `dd\\s+if=`, `mkfs`\n- Privilege escalation: `sudo\\s+`, `su\\s+`\n- Permission issues: `chmod\\s+777`\n\n### file Events\nMatch Edit\u002FWrite\u002FMultiEdit operations:\n- Debug code: `console\\.log\\(`, `debugger`\n- Security risks: `eval\\(`, `innerHTML\\s*=`\n- Sensitive files: `\\.env$`, `credentials`, `\\.pem$`\n\n### stop Events\nCompletion checks and reminders. Pattern `.*` matches always.\n\n### prompt Events\nMatch user prompt content for workflow enforcement.\n\n## Pattern Writing Tips\n\n### Regex Basics\n- Escape special chars: `.` to `\\.`, `(` to `\\(`\n- `\\s` whitespace, `\\d` digit, `\\w` word char\n- `+` one or more, `*` zero or more, `?` optional\n- `|` OR operator\n\n### Common Pitfalls\n- **Too broad**: `log` matches \"login\", \"dialog\" — use `console\\.log\\(`\n- **Too specific**: `rm -rf \u002Ftmp` — use `rm\\s+-rf`\n- **YAML escaping**: Use unquoted patterns; quoted strings need `\\\\s`\n\n### Testing\n```bash\npython3 -c \"import re; print(re.search(r'your_pattern', 'test text'))\"\n```\n\nAvoid nested quantifiers such as `(a+)+`. The runtime rejects patterns with\ncommon catastrophic-backtracking shapes because rules run synchronously in the\nhook path, and every regex evaluation has a 25 ms hard timeout. Invalid,\nsymlinked, or oversized local rules fail open and emit a\ndiagnostic without disabling other Hookify rules.\n\nGit-tracked local rules are disabled by default. Set\n`ECC_HOOKIFY_ALLOW_TRACKED=1` only after reviewing those files; ordinary\ngitignored rules created locally remain active without that override.\n\n## Runtime Behavior\n\n- `warn` injects the message as event-specific additional context and does not block.\n- `block` denies matching Bash, PowerShell, Write, Edit, or MultiEdit calls before execution.\n- On prompt, post-tool, and stop events, `block` uses Claude Code's structured block decision.\n- Stop rules skip recursive `stop_hook_active` events to prevent infinite continuation loops.\n\n## File Organization\n\n- **Location**: `.claude\u002F` directory in project root\n- **Naming**: `.claude\u002Fhookify.{descriptive-name}.local.md`\n- **Gitignore**: Add `.claude\u002F*.local.md` to `.gitignore`\n\n## Commands\n\n- `\u002Fhookify [description]` - Create new rules (auto-analyzes conversation if no args)\n- `\u002Fhookify-list` - View all rules in table format\n- `\u002Fhookify-configure` - Toggle rules on\u002Foff interactively\n- `\u002Fhookify-help` - Full documentation\n\n## Quick Reference\n\nMinimum viable rule:\n```markdown\n---\nname: my-rule\nenabled: true\nevent: bash\npattern: dangerous_command\n---\nWarning message here\n```\n",{"name":5,"description":7},"main","74715deacdc69119d739f38916f8ee4f0f979ebf","skills\u002Fstorage\u002Faffaan-m_ECC\u002Fhookify-rules",0,"https:\u002F\u002Fgithub.com\u002Fmdnaimul22\u002Fhuman-skills","https:\u002F\u002Fgithub.com\u002Fmdnaimul22","AI Agents Workflows Automation | Specializing in Python, FastAPI, MCP Agents & Custom ERP.","2026-11-11 21:16:57",{"source":8,"skillName":5,"commands":53,"prompt":63,"zipAvailable":64},[54,57,60],{"tool":55,"command":56},"npx","npx skills add mdnaimul22\u002Fhuman-skills --skill hookify-rules",{"tool":58,"command":59},"bunx","bunx skills add mdnaimul22\u002Fhuman-skills --skill hookify-rules",{"tool":61,"command":62},"pnpm","pnpm dlx skills add mdnaimul22\u002Fhuman-skills --skill hookify-rules","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmdnaimul22\u002Fhuman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fstorage\u002Faffaan-m_ECC\u002Fhookify-rules\u002FSKILL.md",true,[],[67,75,83,90,97,104],{"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":74},"01M767791C1KRP2ZRW2Z73VZ5Q","system-lifecycle-designer","Universal architectural methodology for designing granular, atomic, and sub-atomic lifecycles and end-to-end workflows for single functionality integrations across any domain (daemons, batch jobs, request transactions, resource pools). Provides patterns for deterministic identity, pre-commit validation, differential reconciliation, sticky leasing, state machines, transactional persistence, and closed-loop feedback.","https:\u002F\u002Fgithub.com\u002Fmdnaimul22\u002Fhuman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fstorage\u002Fmy_skills\u002Fsystem-lifecycle-designer\u002FSKILL.md",[],[],"2026-11-12 13:55:43",{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":82},"01M748ABPN5F1FANHH6HKZQMXT","style-sampling","Make a new episode in a proven video style - Collage Explainer, Finance Explainer, Animated Science Explainer, 3D Brand Explainer, 3D True Crime - on the person's topic. Use for \"an episode of\", \"in the style of\", \"sample this style\", 「用这个风格做一集」. One video to copy is reverse-any-video.","https:\u002F\u002Fgithub.com\u002Fmdnaimul22\u002Fhuman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fstorage\u002Fheygen-com_hyperframes\u002Fstyle-sampling\u002FSKILL.md",[],[],"2026-11-11 15:11:14",{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":82},"01M748A59V04PKW4HA0XQ81FGP","reverse-any-video","Rebuild any video file as an editable HyperFrames project - motion graphics, talking heads, live action or AI-generated footage - checked against the original frame by frame. Use to reverse, recreate, remake, replicate or copy a video, or 「复刻这个视频」「照着这个视频做一个」.","https:\u002F\u002Fgithub.com\u002Fmdnaimul22\u002Fhuman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fstorage\u002Fheygen-com_hyperframes\u002Freverse-any-video\u002FSKILL.md",[],[],{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":82},"01M7487T50P55CSXMWXZ0G9KRG","typescript-patterns","TypeScript patterns for strict, type-safe, maintainable code in modern TypeScript and JavaScript applications. Covers strict compiler configuration, type design, narrowing, discriminated unions, generics, async and error handling, module boundaries, dependency hygiene, and type-level testing. Use when writing or reviewing TypeScript or JavaScript code.","https:\u002F\u002Fgithub.com\u002Fmdnaimul22\u002Fhuman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fstorage\u002Faffaan-m_ECC\u002Ftypescript-patterns\u002FSKILL.md",[],[],{"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":82},"01M7487ERZRGPC5NJ75077Y238","test-collaboration","Inventory and govern a project's test assets. Connect requirements, business rules, risks, bugs, and cross-boundary contracts to stable TEST-IDs and executable evidence in the repository's existing test registry or TESTS.md. Use for test inventory, test gap analysis, unit\u002Fintegration\u002Fcontract\u002FE2E\u002Fsmoke classification, bug-to-test regression protection, consumer\u002Fprovider contract testing, test-necessity review, and pre-delivery evidence review.","https:\u002F\u002Fgithub.com\u002Fmdnaimul22\u002Fhuman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fstorage\u002Faffaan-m_ECC\u002Ftest-collaboration\u002FSKILL.md",[],[],{"skillNo":105,"name":106,"nameZh":6,"description":107,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":108,"categories":109,"keywords":110,"publishedAt":82},"01M748721J3GKR2WS6K0QWFC35","story-lifecycle","Manage a file-based epic → story → sprint development loop without requiring an external project management tool. Creates and tracks epics, breaks them into user stories, assigns them to sprints, and drives implementation story by story. Use when starting a new feature initiative or when the team has no Jira\u002FLinear\u002FTaiga but needs structured delivery tracking.","https:\u002F\u002Fgithub.com\u002Fmdnaimul22\u002Fhuman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fstorage\u002Faffaan-m_ECC\u002Fstory-lifecycle\u002FSKILL.md",[],[]]