~ / rigs / RyoK73 / dotfiles

RyoK73/dotfiles

This dotfiles repository provides the setup for Arch Linux and Mac.

↗ GitHub ★ 0 MIT updated 1d ago personal setup Claude Code
stack: LuaShell
share on X
ARCHETYPE
Fort Knox
Deny lists, pre-tool hooks, sandboxing. Nothing touches prod without a signature.
CONTEXT TAX · EVERY TURN
~560 tokens
Featherweight · median rig: 2.3k · breakdown
GUARDRAILS
5/5
Blocks destructive commands · Protects secrets · Pre-tool screening hook · No YOLO mode · Sandbox or ask-first rules · details
Quality 19/100 Guardrails v2

Copy this rig

# review before running: this installs third-party code
$ npx degit RyoK73/dotfiles/home-config/claude/.claude ./rig-dotfiles  # inspect, then merge into .claude/

MCP servers are added to Claude Code at local scope; env vars are shown as YOUR_… placeholders — we never store values. Files are fetched with degit into a separate folder so you can review before merging.

$ npx degit RyoK73/dotfiles/home-config/claude/.claude/skills/add-rule .claude/skills/add-rule
$ npx degit RyoK73/dotfiles/home-config/claude/.claude/skills/check-document-en .claude/skills/check-document-en
$ npx degit RyoK73/dotfiles/home-config/claude/.claude/skills/create-issue .claude/skills/create-issue
$ npx degit RyoK73/dotfiles/home-config/claude/.claude/skills/design-md .claude/skills/design-md
$ npx degit RyoK73/dotfiles/home-config/claude/.claude/skills/git-commit .claude/skills/git-commit
$ npx degit RyoK73/dotfiles/home-config/claude/.claude/skills/grill-tdd .claude/skills/grill-tdd
$ npx degit RyoK73/dotfiles/home-config/claude/.claude/skills/grill .claude/skills/grill
$ npx degit RyoK73/dotfiles/home-config/claude/.claude/skills/herdr-start .claude/skills/herdr-start
$ npx degit RyoK73/dotfiles/home-config/claude/.claude/skills/post-review .claude/skills/post-review
$ npx degit RyoK73/dotfiles/home-config/claude/.claude/skills/pr-review .claude/skills/pr-review

Merge into .claude/settings.json (project) or ~/.claude/settings.json (user). Hook commands reference scripts in the source repo — copy those too.

{
  "permissions": {
    "deny": [
      "Bash(gh issue delete*)",
      "Bash(gh pr merge*)",
      "Bash(gh repo delete*)",
      "Bash(gh secret *)",
      "Bash(gh release create*)",
      "Read(**/.env*)",
      "Bash(sudo *)",
      "Bash(cat*)"
    ],
    "ask": [
      "Bash(python3*)",
      "Bash(sed -i*)",
      "Bash(sh -c*)"
    ]
  },
  "hooks": {
    "PreToolUse": [
      {
        "matcher": "*",
        "hooks": [
          {
            "type": "command",
            "command": "~/.claude/hooks/pipe-stage-permission.sh"
          },
          {
            "type": "command",
            "command": "~/.claude/hooks/block-env.sh"
          }
        ]
      }
    ]
  }
}

Skills (10)

Hooks (5)

eventmatcherruns
Stop*paplay --volume=65000 $HOME/.claude/notification-sound/stop.mp3
Notificationpermission_promptpaplay --volume=65000 $HOME/.claude/notification-sound/notification.mp3
PreToolUse*~/.claude/hooks/pipe-stage-permission.sh
PreToolUse*~/.claude/hooks/block-env.sh
SessionStart^(startup|resume|clear|compact|fork)$bash '~/.claude/hooks/herdr-agent-state.sh' session

Plugins (9)

commit-commands@claude-plugins-officialfrontend-design@claude-plugins-officialtypescript-lsp@claude-plugins-officialsuperpowers@claude-plugins-officialcode-review@claude-plugins-officialskill-creator@claude-plugins-officialclaude-md-management@claude-plugins-officialsecurity-guidance@claude-plugins-officiallua-lsp@claude-plugins-official

Permissions

deny (8)
Bash(gh issue delete*)
Bash(gh pr merge*)
Bash(gh repo delete*)
Bash(gh secret *)
Bash(gh release create*)
Read(**/.env*)
Bash(sudo *)
Bash(cat*)
ask (3)
Bash(python3*)
Bash(sed -i*)
Bash(sh -c*)
allow (38)
Read(~/dev/**/*)
Read(~/.gitmessage)
Read(~/.config/*)
Read(~/.claude/*)
mcp__voicevox__speak
Bash(ls *)
Bash(grep *)
Bash(find *)
Bash(gh pr view*)
Bash(gh pr checks*)
Bash(gh pr diff*)
Bash(gh repo view*)
Bash(gh run list*)
Bash(gh run view*)
Bash(gh issue view*)
Bash(gh issue list*)
Bash(gh label list*)
Bash(gh release list*)
Bash(gh release view*)
Bash(gh pr create*)
Bash(gh pr comment*)
Bash(gh pr review*)
Bash(gh pr ready*)
Bash(gh issue create*)
Bash(gh issue edit*)
Bash(gh issue comment*)
Bash(gh issue close*)
Bash(gh issue reopen*)
Bash(gh label create*)
Bash(gh label edit*)
Bash(for *)
Edit($HOME/.claude/discussion-history)
Edit(~/**/*.worktree/brief/*.md)
Edit(~/**/*.worktree/grill-me/*.md)
Edit(~/**/*.worktree/pr-reviews/*.md)
Edit(~/dev/zkhub/**/*.md)
WebSearch
WebFetch(domain:github.com)

Similar rigs

copied ✓