~ / rigs / chagui / dotfiles

chagui/dotfiles

🏡 Collection of customization files for *nix systems

↗ GitHub ★ 5 no license updated 2d ago personal setup Claude Code
stack: LuaShell
share on X
ARCHETYPE
Orchestrator
A bench of specialised subagents. The main agent mostly delegates.
CONTEXT TAX · EVERY TURN
~3.6k tokens
Moderate · median rig: 2.3k · breakdown
GUARDRAILS
2/5
Blocks destructive commands · No YOLO mode · details
Quality 34/100 Guardrails v2

Copy this rig

# review before running: this installs third-party code
$ npx degit chagui/dotfiles/dot_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 chagui/dotfiles/dot_claude/skills/commit .claude/skills/commit
$ npx degit chagui/dotfiles/dot_claude/skills/gh-pr .claude/skills/gh-pr
$ npx degit chagui/dotfiles/dot_claude/skills/gt-stack .claude/skills/gt-stack
$ npx degit chagui/dotfiles/dot_claude/skills/gt-sync .claude/skills/gt-sync
$ npx degit chagui/dotfiles/dot_claude/skills/test-nvim-config .claude/skills/test-nvim-config
$ curl -fsSL --create-dirs -o .claude/agents/api-designer.md https://raw.githubusercontent.com/chagui/dotfiles/main/dot_claude/agents/api-designer.md
$ curl -fsSL --create-dirs -o .claude/agents/build-engineer.md https://raw.githubusercontent.com/chagui/dotfiles/main/dot_claude/agents/build-engineer.md
$ curl -fsSL --create-dirs -o .claude/agents/code-reviewer.md https://raw.githubusercontent.com/chagui/dotfiles/main/dot_claude/agents/code-reviewer.md
$ curl -fsSL --create-dirs -o .claude/agents/devops-engineer.md https://raw.githubusercontent.com/chagui/dotfiles/main/dot_claude/agents/devops-engineer.md
$ curl -fsSL --create-dirs -o .claude/agents/documentation-engineer.md https://raw.githubusercontent.com/chagui/dotfiles/main/dot_claude/agents/documentation-engineer.md
$ curl -fsSL --create-dirs -o .claude/agents/go-bug-hunter-diff.md https://raw.githubusercontent.com/chagui/dotfiles/main/dot_claude/agents/go-bug-hunter-diff.md
$ curl -fsSL --create-dirs -o .claude/agents/go-bug-hunter-repo.md https://raw.githubusercontent.com/chagui/dotfiles/main/dot_claude/agents/go-bug-hunter-repo.md
$ curl -fsSL --create-dirs -o .claude/agents/go-pro.md https://raw.githubusercontent.com/chagui/dotfiles/main/dot_claude/agents/go-pro.md
$ curl -fsSL --create-dirs -o .claude/agents/python-bug-hunter-diff.md https://raw.githubusercontent.com/chagui/dotfiles/main/dot_claude/agents/python-bug-hunter-diff.md
$ curl -fsSL --create-dirs -o .claude/agents/python-bug-hunter-repo.md https://raw.githubusercontent.com/chagui/dotfiles/main/dot_claude/agents/python-bug-hunter-repo.md
$ curl -fsSL --create-dirs -o .claude/agents/python-pro.md https://raw.githubusercontent.com/chagui/dotfiles/main/dot_claude/agents/python-pro.md
$ curl -fsSL --create-dirs -o .claude/agents/qa-strategist.md https://raw.githubusercontent.com/chagui/dotfiles/main/dot_claude/agents/qa-strategist.md
$ curl -fsSL --create-dirs -o .claude/agents/research-analyst.md https://raw.githubusercontent.com/chagui/dotfiles/main/dot_claude/agents/research-analyst.md
$ curl -fsSL --create-dirs -o .claude/agents/review-lead.md https://raw.githubusercontent.com/chagui/dotfiles/main/dot_claude/agents/review-lead.md
$ curl -fsSL --create-dirs -o .claude/agents/rust-pro.md https://raw.githubusercontent.com/chagui/dotfiles/main/dot_claude/agents/rust-pro.md
$ curl -fsSL --create-dirs -o .claude/agents/tech-lead.md https://raw.githubusercontent.com/chagui/dotfiles/main/dot_claude/agents/tech-lead.md
$ curl -fsSL --create-dirs -o .claude/agents/test-automator.md https://raw.githubusercontent.com/chagui/dotfiles/main/dot_claude/agents/test-automator.md

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(chezmoi apply*)",
      "Bash(git branch -D*)",
      "Bash(git clean*)",
      "Bash(git reset --hard*)",
      "Bash(gt land*)",
      "Bash(gt merge*)",
      "Bash(gt sync*)",
      "Bash(rm *)",
      "Bash(sudo *)"
    ]
  }
}

Skills (5)

Subagents (17)

api-designer
model: opus
Designs and sketches public API surfaces — HTTP contracts, library interfaces, CLI flag layouts, plugin extension points. Produces design docs and OpenAPI/JSON-Schema/protobuf/stub-file sketches that
build-engineer
model: opus
Senior build-system engineer for monorepo build tools (Pants, Bazel, Buck2, Cargo workspaces, Go workspaces, JS/TS monorepos), command runners (Make, Just), and package build-system config (`pyproject
code-reviewer
model: opus
Rigorous pre-merge code reviewer. Operates read-only on a diff (branch vs `main`, or a supplied range), reads the changed files in full plus their immediate dependencies, and emits severity-tagged fin
devops-engineer
model: opus
Senior DevOps engineer for CI/CD pipelines, container images, and deploy manifests. Detects and matches the project's existing provider and conventions (GitHub Actions / CircleCI / GitLab / Buildkite
documentation-engineer
model: opus
Code-writer for project documentation — READMEs, ADRs, docs/ trees, contributor guides. Detects and matches the project's existing voice, structure, and doc generator (MkDocs, Sphinx, Docusaurus, mdbo
go-bug-hunter-diff
model: opus
Read-only Go bug hunter scoped to the current branch's diff vs `main`. Runs golangci-lint, govulncheck, and Go fuzzing on touched packages, then performs an LLM semantic pass for bugs static analysis
go-bug-hunter-repo
model: opus
Read-only Go bug hunter that audits the entire repository. Runs golangci-lint, govulncheck, the seed-corpus regression suite, prioritized active fuzzing, and an LLM semantic pass. Reports a harness-ga
go-pro
model: opus
Senior Go developer for backend services, libraries, and CLIs. Detects and matches the project's existing toolchain (go modules/workspaces, golangci-lint config, gofumpt/goimports/gofmt, stdlib testin
python-bug-hunter-diff
model: opus
Read-only Python bug hunter scoped to the current branch's diff vs `main`. Detects the project's toolchain (uv/poetry/pdm, ruff/black, pyright/mypy, pytest), runs lint, type-check, security, vulnerabi
python-bug-hunter-repo
model: opus
Read-only Python bug hunter that audits the entire repository. Detects the project's toolchain (uv/poetry/pdm, ruff/black, pyright/mypy, pytest), runs lint, type-check, security, vulnerability scan, t
python-pro
model: opus
Senior Python developer for backend services, libraries, and CLIs. Detects and matches the project's existing toolchain (uv/poetry/pdm/pip-tools, ruff/black, pyright/mypy, pytest) rather than imposing
qa-strategist
model: opus
Read-only test-strategy advisor. Produces test plans — what to test, why, how, mocking strategy, edge-case enumeration, coverage gaps — grounded in the project's existing test framework and convention
research-analyst
model: opus
Read-only analyst that answers concrete research questions by gathering and citing evidence from the web, project docs, and source code. Output is a structured brief with explicit confidence levels an
review-lead
model: opus
Orchestrates parallel audit sweeps across a codebase or diff. Spawns language-specific bug-hunters (`*-bug-hunter-diff` / `*-bug-hunter-repo`), the diff-scoped `code-reviewer` (and optionally the `cla
rust-pro
model: opus
Senior Rust developer for backend services, libraries, and CLIs. Detects and matches the project's existing toolchain (rust-toolchain.toml, edition, workspace layout, lints, async runtime, error stack
tech-lead
model: opus
Orchestrates a team of specialist agents to build a new project or ship a feature. Runs sequential, stage-gated workflows (discovery → design → implementation → build/CI → tests → review → docs), spaw
test-automator
model: opus
Code-writer for tests across languages (Python, Go, Rust, JS/TS). Implements the test plan produced by qa-strategist (or a behaviour list directly from the user) in the project's existing framework an

Hooks (1)

eventmatcherruns
Notification*afplay /System/Library/Sounds/Glass.aiff

Plugins (4)

rust-analyzer-lsp@claude-plugins-officiallua-lsp@claude-plugins-officialswift-lsp@claude-plugins-officialslack@claude-plugins-official

Permissions

deny (9)
Bash(chezmoi apply*)
Bash(git branch -D*)
Bash(git clean*)
Bash(git reset --hard*)
Bash(gt land*)
Bash(gt merge*)
Bash(gt sync*)
Bash(rm *)
Bash(sudo *)
ask (0)
—
allow (120)
Bash(awk:*)
Bash(cat:*)
Bash(date:*)
Bash(fd:*)
Bash(file:*)
Bash(find:*)
Bash(grep:*)
Bash(head:*)
Bash(ls:*)
Bash(mkdir:*)
Bash(pwd:*)
Bash(rg:*)
Bash(sort:*)
Bash(tail:*)
Bash(tree:*)
Bash(wc:*)
Bash(which:*)
Bash(brew info:*)
Bash(brew list:*)
Bash(brew tap-pin:*)
Bash(git add:*)
Bash(git bisect:*)
Bash(git blame:*)
Bash(git commit:*)
Bash(git diff:*)
Bash(git fetch:*)
Bash(git grep:*)
Bash(git log:*)
Bash(git ls-remote:*)
Bash(git merge:*)
Bash(git pull:*)
Bash(git push:*)
Bash(git remote show:*)
Bash(git restore --staged:*)
Bash(git show:*)
Bash(git status:*)
Bash(gh issue list:*)
Bash(gh issue view:*)
Bash(gh pr checks:*)
Bash(gh pr create:*)
Bash(gh pr diff:*)
Bash(gh pr edit:*)
Bash(gh pr list:*)
Bash(gh pr view:*)
Bash(gh repo list:*)
Bash(gh repo view:*)
Bash(gh search:*)
Bash(gh status:*)
Bash(gt submit:*)
Bash(bzl run //:gazelle)
Bash(bzl test:*)
Bash(rapid test:*)
Bash(go build:*)
Bash(go fmt:*)
Bash(go install:*)
Bash(go mod:*)
Bash(go test:*)
Bash(go vet:*)
Bash(cargo build:*)
Bash(cargo check:*)

Similar rigs

copied ✓