Skip to content

smartwatermelon/claude-config

Repository files navigation

Claude Code Configuration

Personal Claude Code configuration for Andrew Rich.

Setup

When cloning this repository, you need to initialize the git submodules:

# Clone with submodules
git clone --recurse-submodules git@github.com:smartwatermelon/claude-config.git ~/.claude

# OR if already cloned, initialize submodules
cd ~/.claude
git submodule update --init --recursive

What Gets Initialized

  • plugins/marketplaces/superpowers-marketplace - The obra/superpowers-marketplace
  • skills/humanizer - The blader/humanizer skill

Installed Plugins

Plugins are sourced from four marketplaces. Enabled state is tracked in settings.json.

From superpowers-marketplace

  • superpowers ✓ — core skills library for TDD, debugging, collaboration, and development workflows

From claude-code-workflows

  • comprehensive-review ✓ — 3 agents: code-reviewer, architect-review, security-auditor
  • tdd-workflows ✓ — test-driven development workflows
  • debugging-toolkit ✓ — debugging and error analysis
  • frontend-mobile-development ✓ — React, Next.js, React Native patterns
  • git-pr-workflows, error-debugging, code-refactoring, dependency-management, code-documentation, backend-development, unit-testing, security-compliance, incident-response, team-collaboration (available, not enabled)

From smartwatermelon-marketplace

  • code-critic ✓ — adversarial code review agent
  • react-native-3d ✓ — 3D rendering with React Three Fiber, expo-gl, Three.js

From claude-code-plugins

  • frontend-design ✓ — production-grade frontend UI generation

Architecture

Plugin Loading

~/.claude/
├── plugins/
│   └── marketplaces/
│       ├── claude-code-workflows         # Plugin marketplace
│       ├── claude-code-plugins           # Plugin marketplace
│       ├── claude-plugins-official       # Plugin marketplace
│       ├── smartwatermelon-marketplace   # Personal marketplace (git submodule source)
│       └── superpowers-marketplace       # Git submodule → obra/superpowers-marketplace
├── skills/
│   └── humanizer                         # Git submodule → blader/humanizer
├── settings.json                         # enabledPlugins and hook configuration
├── plugins/installed_plugins.json        # Runtime state (not tracked)
└── plugins/known_marketplaces.json       # Runtime state (not tracked)

Runtime State

The following files are generated by Claude Code and are NOT tracked in git:

  • plugins/installed_plugins.json - Contains absolute install paths
  • plugins/known_marketplaces.json - Contains absolute marketplace locations

These files are regenerated based on the marketplace structure and the enabledPlugins map in settings.json.

Git Hooks

Automated code review and safety hooks are configured in hooks/ and scripts/:

  • hooks/pre-merge-review.sh — AI review gate before merging PRs
  • hooks/run-review.sh — per-commit AI code review runner
  • hooks/merge-lock.sh — merge authorization lock (30-min TTL)
  • scripts/hook-block-all.sh — dispatches all PreToolUse hook-block scripts
  • scripts/hook-block-api-merge.sh — blocks REST/GraphQL merge bypasses
  • scripts/hook-block-no-verify.sh — blocks --no-verify flag usage
  • scripts/hook-block-main-commit.sh — blocks commits directly to main
  • scripts/hook-session-start.sh — injects session context on startup
  • scripts/status-line.sh — custom Claude Code status line

See CLAUDE.md for protocol documentation.

Reference

About

Claude Code configuration with automated pre-commit AI review, merge safety guards, protocol enforcement hooks, and skill-based development workflows.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages