Sandbox
@jarrodwatts/claude-code-config

Claude Code config bundle for rules, agents, skills, and hooks

This repo packages a full Claude Code setup: global instructions, path-scoped rules, custom agents, slash commands, skills, and event hooks. The pieces are meant to be cloned into `~/.claude` or copied in selectively, so Claude Code follows the same working style across sessions and projects.

1,064 stars121 forksJavaScriptUpdated 7mo ago
Who it's for

Builders who use Claude Code and want shared instructions and automation across projects.

What it delivers

You can give Claude Code the same rules, helpers, and guardrails every time instead of repeating setup by hand.

What it does

Global session instructions

`CLAUDE.md` provides personal instructions that load into every session.

Path-scoped rules

`rules/typescript.md`, `rules/testing.md`, `rules/comments.md`, and `rules/forge.md` apply to matching files automatically.

Custom subagents

`agents/codebase-search.md`, `agents/media-interpreter.md`, `agents/open-source-librarian.md`, and `agents/tech-docs-writer.md` define specialized agent behavior.

Slash command

`commands/interview.md` adds an interactive planning and spec-fleshing command.

Hooks for guardrails

`hooks/check-comments.py`, `hooks/keyword-detector.py`, `hooks/skill-reminder.sh`, and `hooks/todo-enforcer.sh` run around Claude Code events.

Skills pack

`skills/planning-with-files`, `skills/react-useeffect`, `skills/rigorous-coding`, `skills/vercel-react-best-practices`, and `skills/web-design-guidelines` add reusable Claude skills.

How to get it

  1. 1Run
    git clone https://github.com/jarrodwatts/claude-code-config.git ~/.claude
  2. 2Run
    # Clone elsewhere first
    git clone https://github.com/jarrodwatts/claude-code-config.git /tmp/claude-config
    
    # Copy what you need
    cp -r /tmp/claude-config/rules/* ~/.claude/rules/
    cp -r /tmp/claude-config/skills/* ~/.claude/skills/
    cp -r /tmp/claude-config/agents/* ~/.claude/agents/

README

Claude Code Config

my personal claude code configuration - mostly not created by me, but sourced from many talented people in the community.

Installation

Option 1: Copy-Paste into Claude Code (No Git Required)

Copy the prompt from INSTALL.md and paste it into Claude Code. Claude will fetch and install all config files automatically.

Option 2: Git Clone

git clone https://github.com/jarrodwatts/claude-code-config.git ~/.claude

Option 3: Selective Install

# Clone elsewhere first
git clone https://github.com/jarrodwatts/claude-code-config.git /tmp/claude-config

# Copy what you need
cp -r /tmp/claude-config/rules/* ~/.claude/rules/
cp -r /tmp/claude-config/skills/* ~/.claude/skills/
cp -r /tmp/claude-config/agents/* ~/.claude/agents/

Contents

Rules (.claude/rules/)

Path-scoped instructions loaded automatically when working with matching files.

FileScopeDescription
typescript.md**/*.{ts,tsx}TypeScript conventions
testing.md**/*.{test,spec}.tsTesting patterns
comments.mdAll filesComment policy
forge.md**/*.solFoundry/ZKsync rules

Skills (.claude/skills/)

Model-invoked capabilities Claude applies automatically.

SkillDescription
planning-with-filesManus-style persistent markdown planning

Agents (.claude/agents/)

Custom subagents for specialized tasks.

AgentDescription
codebase-searchFind files and implementations
media-interpreterExtract info from PDFs/images
open-source-librarianResearch OSS with citations
tech-docs-writerCreate technical documentation

Commands (.claude/commands/)

Custom slash commands.

CommandDescription
interviewInteractive planning/spec fleshing

Hooks (.claude/hooks/)

Scripts triggered by Claude Code events.

HookEventDescription
keyword-detector.pyUserPromptSubmitDetects keywords in prompts
check-comments.pyPostToolUse (Write/Edit)Validates comment policy
todo-enforcer.shStopEnsures todos are tracked

CLAUDE.md

Personal global instructions loaded into every session.

Recommended Plugins

Plugins I use alongside this config. Install via CLI:

Official Plugins

claude plugin install frontend-design
claude plugin install code-review
claude plugin install typescript-lsp
claude plugin install plugin-dev
claude plugin install ralph-loop

claude-hud (status line)

Add the marketplace first, then install:

claude plugin marketplace add jarrodwatts/claude-hud
claude plugin install claude-hud@claude-hud

Files in the repo

Repository payload9 top-level entries
  • agents
  • commands
  • hooks
  • rules
  • skills
  • .gitignore
  • CLAUDE.md
  • INSTALL.md
  • README.md

Discussion (0)

Ask about usage, or say what you built with it

Sign in to join the discussion.

No comments yet. Be the first to say what this is good for.

More plugins

Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.

138k
1 add

Graphs that teach > graphs that impress. Turn any code into an interactive knowledge graph you can explore, search, and ask questions about. Works with Claude Code, Codex, Cursor, Copilot, Gemini CLI, and more.

82k
code-yeongyu/
oh-my-openagent

OmO: Just type "mass ulw" keyword with your prompt. Now you are the master of graph engineering.

69k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

94k

Opinionated Oxlint rules for rejecting low-evidence TypeScript and JavaScript patterns

4.3k