[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7APHE1TFHNR7NE6CCHG9C7C":3,"skill-same:01M7APHE1TFHNR7NE6CCHG9C7C":56},{"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":27,"commitSha":28,"skillDirectory":29,"forksCount":30,"repositoryHtmlUrl":31,"repositoryHomepageUrl":6,"ownerHtmlUrl":32,"ownerBlogUrl":33,"ownerDescription":34,"updatedAt":35,"install":36,"resources":49},"01M7APHE1TFHNR7NE6CCHG9C7C","delivery-gate",null,"Stop hook that blocks Claude from finishing until quality checks pass. Detects rationalization patterns (surface text heuristics), stale learning logs (filesystem mtime), and low disk space. Complements self-audit by mechanically enforcing learning capture habits. Use when Claude should be mechanically blocked from declaring work finished before quality checks and learning capture actually pass.","Cyrilthetecchieee\u002Fcyril-code-","Cyrilthetecchieee","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F219787998?v=4","01M7AF0MMMKRAA0H61XMJPV92H","Julian Cyril D ","01M7AF0MQ10AVG6QJQ1C2BC0F5",2,"MIT","https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-\u002Fblob\u002Fmain\u002Fsrc\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Fskills\u002Fdelivery-gate\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: delivery-gate\ndescription: Stop hook that blocks Claude from finishing until quality checks pass. Detects rationalization patterns (surface text heuristics), stale learning logs (filesystem mtime), and low disk space. Complements self-audit by mechanically enforcing learning capture habits. Use when Claude should be mechanically blocked from declaring work finished before quality checks and learning capture actually pass.\nmetadata:\n  version: 1.1.1\n  origin: ECC\n---\n\n# Delivery Gate — Mechanical Quality Gate for Claude Code\n\nA **Stop hook** that checks three things before Claude can finish a session, using only **deterministic checks** — file modification timestamps, disk usage, and regex patterns on the transcript text. No AI inference.\n\nThis is distinct from reasoning gates (like `self-audit`): delivery-gate checks machine-verifiable facts; self-audit checks output quality across four reasoning dimensions. Together they form defense in depth:\n- **delivery-gate**: \"Was the learning library touched today? Is disk space safe?\"\n- **self-audit**: \"Is the file content correct, complete, and honest?\"\n\nThis is the same pattern as CI pipeline gates — automated, deterministic checks that verify machine-readable facts rather than trusting self-reported status.\n\n## What It Checks\n\n| Check | Mechanism | On Hit |\n|-------|-----------|--------|\n| Rationalization patterns | Regex on transcript tail | **Warning only** (never blocks) |\n| Stale learning libraries | mtime on 5 configurable paths | Warning if some stale; **Block** if >=3 stale OR growth-log stale + complex task |\n| Disk space \u003C 50GB | `shutil.disk_usage` | Warning |\n| Disk space \u003C 15GB | `shutil.disk_usage` | **Block** (exit 2) |\n\nRationalization detection warns about patterns like \"skip tests for now\" and \"pre-existing bug\" — surface signals that thinking may have been cut short. It never blocks on its own, because regex heuristics can false-positive. The blocking conditions are: disk critical, `>=3 learning libs stale`, OR `growth-log` specifically stale (all require complex task >=3 edits).\n\n## Why\n\nClaude Code's built-in checks cover code quality (build → type → lint → test). But there's a different failure mode: the agent produces working code while the **session hygiene was neglected** — learning not captured, rationalized shortcuts, disk running out silently.\n\nOver many sessions of \"ship and forget,\" the human hasn't grown. This hook enforces the habit: complex task → must touch learning libraries.\n\n## Install\n\n```bash\ncp quality-gate.py ~\u002F.claude\u002Fscripts\u002F\n```\n\nAdd to `~\u002F.claude\u002Fsettings.json`:\n```json\n{\n  \"hooks\": {\n    \"Stop\": [{\n      \"hooks\": [{\n        \"type\": \"command\",\n        \"command\": \"python3 ~\u002F.claude\u002Fscripts\u002Fquality-gate.py\",\n        \"timeout\": 5000\n      }]\n    }]\n  }\n}\n```\n\n## Learning Libraries\n\nCreate these files in your project's memory directory. The hook checks if at least one was updated today:\n\n```\nmemory\u002F\n├── growth-log\u002F          # Daily learning entries (directory)\n├── decisions\u002Flog.md     # Decision log\n├── output-index.md      # Index of session outputs\n├── ratings-tracker.md   # Skill ratings over time\n└── tooling_capabilities.md  # Known tools inventory\n```\n\nCustomize the `LIBS` dict to match your own file structure.\n\n## Configuration\n\nEdit `quality-gate.py`:\n\n| Variable | Default | Purpose |\n|----------|---------|---------|\n| `RATIONALIZE` | 4 patterns | Regex patterns for rationalization detection |\n| `LIBS` | 5 libraries | Files\u002Fdirs to check for today's updates |\n| `COMPLEX_THRESHOLD` | 3 | Edit\u002FWrite calls to classify as complex |\n| `DISK_WARN_GB` | 50 | Warn below this |\n| `DISK_CRIT_GB` | 15 | Block below this |\n\n## Examples\n\n**Simple session — allowed:**\n```\nedit_count=1 (\u003C 3, not complex) → exit 0\n```\n\n**Complex task, learning captured — allowed:**\n```\nedit_count=5 (complex) → checks LIBS → growth-log updated today → exit 0\n```\n\n**Complex task, no learning — BLOCKED:**\n```\nedit_count=4 (complex) → checks LIBS → all 5 stale → exit 2\nstderr: \"Blocked: complex task completed but no learning captured today.\"\n```\n\n**Low disk space — BLOCKED:**\n```\ndisk_free=12GB \u003C 15GB critical → exit 2\nstderr: \"Blocked: disk space at 12GB (threshold: 15GB).\"\n```\n\n## Limitations\n\nThe hook enforces the **habit** of touching learning libraries, not the **quality** of what was recorded. If `output-index.md` is updated but `growth-log` is skipped, the hook passes (1 of 5 libraries touched). This is by design: mechanical gates check machine-verifiable facts. For content quality verification, pair with `self-audit`.\n\n## Compatibility\n\n- Python 3.8+ (uses `from __future__ import annotations`)\n- Cross-platform: Windows, macOS, Linux\n- Zero dependencies beyond stdlib\n\n## Quality\n\nThis code went through 4 rounds of automated code review (CodeRabbit + Greptile) with 9 real bugs found and fixed.\n\n## See Also\n\n- `self-audit` — Reasoning quality gate (completeness\u002Fconsistency\u002Fgroundedness\u002Fhonesty)\n- `verification-loop` — Code quality checks (build\u002Ftype\u002Flint\u002Ftest)\n- `gateguard` — PreToolUse safety gate\n","# Delivery Gate — Mechanical Quality Gate for Claude Code\n\nA **Stop hook** that checks three things before Claude can finish a session, using only **deterministic checks** — file modification timestamps, disk usage, and regex patterns on the transcript text. No AI inference.\n\nThis is distinct from reasoning gates (like `self-audit`): delivery-gate checks machine-verifiable facts; self-audit checks output quality across four reasoning dimensions. Together they form defense in depth:\n- **delivery-gate**: \"Was the learning library touched today? Is disk space safe?\"\n- **self-audit**: \"Is the file content correct, complete, and honest?\"\n\nThis is the same pattern as CI pipeline gates — automated, deterministic checks that verify machine-readable facts rather than trusting self-reported status.\n\n## What It Checks\n\n| Check | Mechanism | On Hit |\n|-------|-----------|--------|\n| Rationalization patterns | Regex on transcript tail | **Warning only** (never blocks) |\n| Stale learning libraries | mtime on 5 configurable paths | Warning if some stale; **Block** if >=3 stale OR growth-log stale + complex task |\n| Disk space \u003C 50GB | `shutil.disk_usage` | Warning |\n| Disk space \u003C 15GB | `shutil.disk_usage` | **Block** (exit 2) |\n\nRationalization detection warns about patterns like \"skip tests for now\" and \"pre-existing bug\" — surface signals that thinking may have been cut short. It never blocks on its own, because regex heuristics can false-positive. The blocking conditions are: disk critical, `>=3 learning libs stale`, OR `growth-log` specifically stale (all require complex task >=3 edits).\n\n## Why\n\nClaude Code's built-in checks cover code quality (build → type → lint → test). But there's a different failure mode: the agent produces working code while the **session hygiene was neglected** — learning not captured, rationalized shortcuts, disk running out silently.\n\nOver many sessions of \"ship and forget,\" the human hasn't grown. This hook enforces the habit: complex task → must touch learning libraries.\n\n## Install\n\n```bash\ncp quality-gate.py ~\u002F.claude\u002Fscripts\u002F\n```\n\nAdd to `~\u002F.claude\u002Fsettings.json`:\n```json\n{\n  \"hooks\": {\n    \"Stop\": [{\n      \"hooks\": [{\n        \"type\": \"command\",\n        \"command\": \"python3 ~\u002F.claude\u002Fscripts\u002Fquality-gate.py\",\n        \"timeout\": 5000\n      }]\n    }]\n  }\n}\n```\n\n## Learning Libraries\n\nCreate these files in your project's memory directory. The hook checks if at least one was updated today:\n\n```\nmemory\u002F\n├── growth-log\u002F          # Daily learning entries (directory)\n├── decisions\u002Flog.md     # Decision log\n├── output-index.md      # Index of session outputs\n├── ratings-tracker.md   # Skill ratings over time\n└── tooling_capabilities.md  # Known tools inventory\n```\n\nCustomize the `LIBS` dict to match your own file structure.\n\n## Configuration\n\nEdit `quality-gate.py`:\n\n| Variable | Default | Purpose |\n|----------|---------|---------|\n| `RATIONALIZE` | 4 patterns | Regex patterns for rationalization detection |\n| `LIBS` | 5 libraries | Files\u002Fdirs to check for today's updates |\n| `COMPLEX_THRESHOLD` | 3 | Edit\u002FWrite calls to classify as complex |\n| `DISK_WARN_GB` | 50 | Warn below this |\n| `DISK_CRIT_GB` | 15 | Block below this |\n\n## Examples\n\n**Simple session — allowed:**\n```\nedit_count=1 (\u003C 3, not complex) → exit 0\n```\n\n**Complex task, learning captured — allowed:**\n```\nedit_count=5 (complex) → checks LIBS → growth-log updated today → exit 0\n```\n\n**Complex task, no learning — BLOCKED:**\n```\nedit_count=4 (complex) → checks LIBS → all 5 stale → exit 2\nstderr: \"Blocked: complex task completed but no learning captured today.\"\n```\n\n**Low disk space — BLOCKED:**\n```\ndisk_free=12GB \u003C 15GB critical → exit 2\nstderr: \"Blocked: disk space at 12GB (threshold: 15GB).\"\n```\n\n## Limitations\n\nThe hook enforces the **habit** of touching learning libraries, not the **quality** of what was recorded. If `output-index.md` is updated but `growth-log` is skipped, the hook passes (1 of 5 libraries touched). This is by design: mechanical gates check machine-verifiable facts. For content quality verification, pair with `self-audit`.\n\n## Compatibility\n\n- Python 3.8+ (uses `from __future__ import annotations`)\n- Cross-platform: Windows, macOS, Linux\n- Zero dependencies beyond stdlib\n\n## Quality\n\nThis code went through 4 rounds of automated code review (CodeRabbit + Greptile) with 9 real bugs found and fixed.\n\n## See Also\n\n- `self-audit` — Reasoning quality gate (completeness\u002Fconsistency\u002Fgroundedness\u002Fhonesty)\n- `verification-loop` — Code quality checks (build\u002Ftype\u002Flint\u002Ftest)\n- `gateguard` — PreToolUse safety gate\n",{"name":5,"metadata":24,"description":7},{"origin":25,"version":26},"ECC","1.1.1","main","57e7aa6b6e03bce1a7d7862ba9c2ec312f7f19b5","src\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Fskills\u002Fdelivery-gate",0,"https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-","https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee","https:\u002F\u002Fwithcyril.me\u002F","Hi, I’m Julian Cyril D, a Computer Science and Business Systems student at PSNACET.\r\nI’m passionate about full-stack development, UI\u002FUX design, and building sma","2026-11-04 23:28:50",{"source":8,"skillName":5,"commands":37,"prompt":47,"zipAvailable":48},[38,41,44],{"tool":39,"command":40},"npx","npx skills add Cyrilthetecchieee\u002Fcyril-code- --skill delivery-gate",{"tool":42,"command":43},"bunx","bunx skills add Cyrilthetecchieee\u002Fcyril-code- --skill delivery-gate",{"tool":45,"command":46},"pnpm","pnpm dlx skills add Cyrilthetecchieee\u002Fcyril-code- --skill delivery-gate","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-\u002Fblob\u002Fmain\u002Fsrc\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Fskills\u002Fdelivery-gate\u002FSKILL.md",true,[50],{"path":51,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":54,"sourceHtmlUrl":55},"hooks\u002Fquality-gate.py.txt","REFERENCE","参考文档",7826,"https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-\u002Fblob\u002Fmain\u002Fsrc\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Fskills\u002Fdelivery-gate\u002Fhooks\u002Fquality-gate.py.txt",[57,66,73,81,88,95],{"skillNo":58,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":61,"licenseFileUrl":62,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":19},"01M7AQV6CYX8RMC78420V9WZ62","webapp-testing","Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.","Apache-2.0","https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-\u002Fblob\u002Fmain\u002Fsrc\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-\u002Fblob\u002Fmain\u002Fsrc\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Fwebapp-testing\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},"01M7AQV2895N3S1MEX6K76G6G2","youtube-downloader","Download YouTube videos with customizable quality and format options. Use this skill when the user asks to download, save, or grab YouTube videos. Supports various quality settings (best, 1080p, 720p, 480p, 360p), multiple formats (mp4, webm, mkv), and audio-only downloads as MP3.","https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-\u002Fblob\u002Fmain\u002Fsrc\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Fvideo-downloader\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":61,"licenseFileUrl":77,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":19},"01M7AQTRNX62DNKVZ5GXEHRBKB","theme-factory","Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with colors\u002Ffonts that you can apply to any artifact that has been creating, or can generate a new theme on-the-fly.","https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-\u002Fblob\u002Fmain\u002Fsrc\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Ftheme-factory\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-\u002Fblob\u002Fmain\u002Fsrc\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Ftheme-factory\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":19},"01M7AQTNNVHAAN9H6DA8T6ZVE0","template-skill","Replace with description of the skill and when Claude should use it.","https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-\u002Fblob\u002Fmain\u002Fsrc\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Ftemplate-skill\u002FSKILL.md",[],[],{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":19},"01M7AQTJ3MQ6AKX152MEX2MYCC","tailored-resume-generator","Analyzes job descriptions and generates tailored resumes that highlight relevant experience, skills, and achievements to maximize interview chances","https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-\u002Fblob\u002Fmain\u002Fsrc\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Ftailored-resume-generator\u002FSKILL.md",[],[],{"skillNo":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":61,"licenseFileUrl":99,"sourceHtmlUrl":100,"categories":101,"keywords":102,"publishedAt":19},"01M7AQTD7D5MYET2YWG7HG9WM3","slack-gif-creator","Toolkit for creating animated GIFs optimized for Slack, with validators for size constraints and composable animation primitives. This skill applies when users request animated GIFs or emoji animations for Slack from descriptions like \"make me a GIF for Slack of X doing Y\".","https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-\u002Fblob\u002Fmain\u002Fsrc\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Fslack-gif-creator\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-\u002Fblob\u002Fmain\u002Fsrc\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Fslack-gif-creator\u002FSKILL.md",[],[]]