hooks-workflow

Community

Turn hook guidance into target-ready configs.

Authoryandy-r
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This skill turns existing rule-file hook guidance into real, target-appropriate hook configuration. It reads ycc/rules/<language>/hooks.md (plus ycc/rules/common/hooks.md when present), resolves which hook events the requested target actually supports by consulting the capability matrix, and invokes build-hook-config.sh to emit the correct artifact. Explicit per-target boundaries are enforced at every step: Claude receives a concrete JSON hooks settings fragment, Cursor receives rule-embedded advisory guidance where the matrix shows partial support, and Codex always receives an advisory-only config.toml fragment. The skill never claims parity across targets and never fabricates config for a target the matrix marks as unsupported.

Core Features & Use Cases

  • Resolve per-language hook recommendations from ycc/rules/<language>/hooks.md and ycc/rules/common/hooks.md.
  • Enforce per-target boundaries to produce Claude JSON, Cursor advisory fragments, and Codex advisory fragments.
  • Validate and verify emitted configurations with build-hook-config.sh and verify-hooks.sh to ensure parseability and compatibility.

Quick Start

Use the ycc hooks-workflow skill to generate a target-specific hooks fragment by language, target, and event.

Dependency Matrix

Required Modules

python3

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: hooks-workflow
Download link: https://github.com/yandy-r/claude-plugins/archive/main.zip#hooks-workflow

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.