Are you the author? Sign in to claim
Hooks, rules, skills, and instructions for use with Claude Code
My global Claude Code setup, mirrored from ~/.claude: the rules, the hook scripts that enforce them, and the global CLAUDE.md.
The global instruction file, loaded at the start of every session before any project context. Three parts: hard coding standards (no type casts, no any, no unknown, no "pre-existing issue" excuses), a prose style guide that bans recognizable LLM writing patterns (performative contrasts, dramatic fragments, empty intensifiers, filler vocabulary, dashes as clause separators), and context-efficiency rules for file reading, subagent delegation, and response length.
One standing instruction per file, loaded into every session alongside CLAUDE.md. They cover coding standards, git safety, planning and approval gates, agent delegation and team mechanics, prose style, and review discipline. To use one, copy it into your own ~/.claude/rules/.
These rules are broadly applicable regardless of setup or stack. The rest of the collection is more tied to my own tooling and workflows.
User-invocable workflow skills (/skill-name in a session). Each directory holds a SKILL.md that loads as the operating procedure for that workflow, plus any reference docs it needs:
Claude Code hook scripts that run before tool calls. The rules ask the model to behave; these make the load-bearing ones mechanical.
settings.json deny rule, names the exact rule that fired and the tool to use instead, so the agent self-corrects rather than guessing.--no-verify, -n, core.hooksPath overrides via flag or environment).yarn test from a monorepo root, where it would run every package's suite; subpackage runs pass.They register in ~/.claude/settings.json as PreToolUse hooks on Bash:
{
"hooks": {
"PreToolUse": [
{
"matcher": "Bash",
"hooks": [
{ "type": "command", "command": "node ~/.claude/hooks/deny-rule-redirect.js" },
{ "type": "command", "command": "node ~/.claude/hooks/yarn-test-root-block.js" },
{ "type": "command", "command": "node ~/.claude/hooks/git-no-verify-block.js" }
]
}
]
}
}
My setup also enforces LSP-first code navigation (the grep-banned rule): Grep, symbol-hunting Glob patterns, and shell grep on code symbols are blocked, and Reads of code files are gated behind language-server warmup. The hooks that do this come from claude-code-lsp-enforcement-kit (MIT) and aren't mirrored here; its installer copies the scripts into ~/.claude/hooks/ and merges their settings.json registration.
⚠️ Experimentelle Skill-Sammlung für deutsches Recht (Arbeits-, Gesellschafts-, Insolvenz-, Datenschutz-, Prozessrecht u
Manage multiple Claude Code agents from TUI or Web with tmux and git worktrees
Project management using GitHub Issues + Git worktrees for parallel agent execution
Core skills library for Claude Code with 20+ battle-tested skills including TDD, debugging, and brainstorming