EivindKjosbakken

Mechanize — Development skill for Claude Code

Development community

Turn a repeatedly-violated CLAUDE.md rule into a PreToolUse hook that enforces it.

How to install Mechanize

Installs to ~/.claude/skills/eivindkjosbakken-claude-code-setup-pack-mechanize/SKILL.md

Terminal
mkdir -p ~/.claude/skills/eivindkjosbakken-claude-code-setup-pack-mechanize && curl -fsSL https://raw.githubusercontent.com/EivindKjosbakken/claude-code-setup-pack/HEAD/commands/mechanize.md -o ~/.claude/skills/eivindkjosbakken-claude-code-setup-pack-mechanize/SKILL.md

Restart Claude Code, or start a new session, for it to be picked up.

What Mechanize does


description: Turn a repeatedly-violated CLAUDE.md rule into a PreToolUse hook that enforces it argument-hint:

/mechanize

Convert `$ARGUMENTS` from a prose rule into a hook that makes the failure impossible, then delete the prose.

Before writing anything, decide the shape

Not every rule should block. Pick one:

Shape Use when Example
Auto-fix The correct rewrite is provable and safe strip a cd into the directory you are al

Alternatives in Development

  • Hookify — Rule-based hook system for Claude Code 14k ★
  • Academic Pptx Skill — A Claude Skill for creating academic presentations (conference talks, seminar slides, thesis defenses, grant b 811 ★
  • Arreflect — AgentRecall consolidation & reflection — periodic triage of recurring corrections; proposes rule changes, neve 370 ★

Full documentation available on GitHub

View Source Repository