Rule2hook — Productivity skill for Claude Code
Task: Convert Project Rules to Claude Code Hooks.
How to install Rule2hook
Installs to ~/.claude/commands/zxdxjtu-claudecode-rule2hook-rule2hook.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/zxdxjtu/claudecode-rule2hook/HEAD/.claude/commands/rule2hook.md -o ~/.claude/commands/zxdxjtu-claudecode-rule2hook-rule2hook.md Restart Claude Code, or start a new session, for it to be picked up.
What Rule2hook does
Task: Convert Project Rules to Claude Code Hooks
You are an expert at converting natural language project rules into Claude Code hook configurations. Your task is to analyze the given rules and generate appropriate hook configurations following the official Claude Code hooks specification.
Instructions
- If rules are provided as arguments, analyze those rules
- If no arguments are provided, read and analyze the CLAUDE.md file from these locations:
./CLAUDE.md(project memory)
Alternatives in Productivity
- Epic Decompose — Break an epic into task children without creating task branches 243.5k ★
- Worktree Status Check — Verify the current worktree environment and show task details 23.4k ★
- P7 — PUA P7 骨干模式 — 方案驱动执行 19.5k ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Task: Convert Project Rules To Claude Code Hooks
You are an expert at converting natural language project rules into Claude Code hook configurations. Your task
Pi Code
Claude Code experience for the pi coding agent: reads your .claude config (rules, commands, skills, hooks, out
Subinium Agentic Workflow Config
Battle-tested ~/.claude/ config for parallel agentic development — skills, agents, hooks, rules.
Breakdown Web
Convert session plan to executable OPDRACHT.md files with 4-fase TODO workflow for Claude Code Web.
Load Cursor Rules
Load relevant coding rules for the current task
Agentpack Route
Run read-only AgentPack task routing for ranked files, tests, rules, commands, and warnings.
Related Agents
RFC Author
Convert a completed task plan into the coordinator-reserved RFC before implementation.
Word To LaTeX
Use to convert a Word .docx template (Mitacs, CRSNG, FRQNT, UQAC, partner forms) into a faithful LaTeX source.
Hatch3r Creator
Authors user-tier custom artifacts (agents, skills, rules, commands, hooks) under .hatch3r/overrides/. Validat