This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
A portable, reproducible terminal development environment (devkit). Not a software project with build/test/lint cycles -- it's a collection of dotfiles, shell scripts, Homebrew package manifests, tool configs, and optionally AI agent/assistant configs. The goal is to replicate the same workflow on any machine: clone, install, symlink, and go. All tools are installed via Homebrew.
brewfile-- Homebrew package manifest (install withbrew bundle --file=brewfile)opencode/aig_agents/-- OpenCode agent persona definitions (planning, engineer, coder, frontend, QA, reviewer, security, docs, Linear, pickle agents)skills/rules/-- Always-on coding standards and personal preferences (code quality, engineering principles, security, workflow, personal profile)skills/commands/-- On-demand slash commands (refactor-challenge, trace-debug, explain-code, etc.)skills/plane/-- Plane.so project management commands.claude/rules/-- Symlinked fromskills/rules/(single source of truth).cursor/rules/-- Cursor rules (same standards,.mdcformat).config/-- Tool configs: Ghostty terminal, git-delta, Starship prompt, shell enhancements (zoxide, fzf, eza aliases)sounds/-- Notification sounds for Claude Code hooks (Navi "Hey! Listen!" from Zelda)AGENTS.md-- Repo-local defaults for Codex and other coding agentsopencode.json-- OpenCode configuration (model routing, MCP servers, plugins)scripts/-- Utility scripts (killport.sh, brew-update.sh, dev-cleanup.sh, opencode-setup.sh)
# Install/update tools
brew bundle --file=brewfile
# Utilities
./scripts/killport.sh <port>
./scripts/brew-update.sh
./scripts/dev-cleanup.sh
./scripts/opencode-setup.sh # Set up OpenCode + Copilot Pro
# OpenCode
oc # Launch OpenCode (alias)Configs are symlinked from this repo to ~/.config/ and ~/:
.config/ghostty/config->~/.config/ghostty/config.config/git/delta.gitconfig-> included viagit config --global include.path.config/shell/enhancements.zsh-> sourced from.zshrc.claude/settings.json->~/.claude/settings.jsonopencode/aig_agents/->~/.config/opencode/agents/(viascripts/opencode-setup.sh)opencode.json->~/.config/opencode/opencode.json(viascripts/opencode-setup.sh)
./scripts/opencode-setup.shThis symlinks OpenCode agents and config, and installs the Copilot CLI extension. See opencode/aig_agents/README.md for the full agent reference and model routing strategy.
ln -sf /path/to/devkit/.claude/settings.json ~/.claude/settings.jsonThe settings include hooks that play Navi's "Hey! Listen!" sound (from The Legend of Zelda) when Claude finishes a task or sends a notification. Uses afplay on macOS and aplay on Linux.
The sound path defaults to ~/personal-workspace/devkit/sounds/. Override by setting DEVKIT_PATH in your shell if you cloned the repo elsewhere:
export DEVKIT_PATH="$HOME/path/to/devkit"AI agent and assistant configs are included but optional -- the core workflow (tools, layouts, shell configs) works without them.
- OpenCode + Zen (~$90/mo) -- Heavy agentic work: architecture, multi-file refactors, autonomous coding, code review pipelines
- Copilot Pro ($10/mo) -- Lightweight: inline completions (unlimited), quick chat (300 reqs), PR review (free), CLI agents
- Claude Code -- Kept for work use; devkit includes Claude rules and settings for both tools
14 specialized agents in opencode/aig_agents/, invoked with @agent-name syntax inside OpenCode:
@planning-agent-- architecture, task breakdown, and plan review (Gemini 3.1 Pro)buildmode inopencode.json-- default MiniMax build lane (MiniMax M2.5)@engineer-- execution-oriented OpenAI implementation lane (GPT 5.3 Codex)@shipwright-- unique primary Codex build lane (GPT 5.3 Codex)@principal-engineer-- deep engineering thinking, architecture, and major tradeoffs (Gemini 3.1 Pro)@coder-- autonomous test-fix loops when the spec and tests are clear (GPT 5.3 Codex)@frontend-- UI specialist and visual-recreation fallback lane (Kimi K2.5)@reviewer-- code review and fresh second-pass QA for Codex-built changes (GPT 5.4 Mini, cross-model)@senior-reviewer-- GPT-family backup review lane (GPT-5 mini)@security-- security audit for higher-risk flows (Gemini 3.1 Pro)@qa-- test generation, execution, and BDD flows (GPT 5.4 Mini)@docs_generator-- documentation (MiniMax M2.5 Free)@linear-- Linear project management (MiniMax M2.5)@pickle-think-- free triage and rough planning (Big Pickle)@pickle-implement-- free low-risk code changes (Big Pickle)
Recommended fallback chain:
@pickle-think-> cheap triage / rough brainstorming@planning-agent-> architecture and decision-heavy planning@principal-engineer-> deep engineering thinking and technical direction- default
build-> cheap routine implementation on MiniMax M2.5 @shipwright-> named Codex primary when you want the stronger build lane@coder/@engineer-> narrower execution lanes@qa-> tests and verification@reviewer-> fresh second-pass review@senior-reviewer-> GPT-family backup review@security-> auth, secrets, public API, and user-input risk
Always-on rules in skills/rules/ are symlinked into .claude/rules/ -- they apply to every conversation automatically. Personal preferences live in skills/rules/personal-profile.md.
On-demand commands in skills/commands/ are invoked as slash commands:
/refactor-challengeand/trace-debug-- Socratic tutors (guide, don't fix)/explain-codeand/why-this-way-- analyze without modifying/generate-flow-- Mermaid diagrams from code/complexity-check-- performance reasoning/pr-automation-- PR creation
Plane commands in skills/plane/ manage project work:
/plane-work,/plane-triage,/plane-standup,/plane-sprint-run,/plane-close,/plane-review
Frontend design skills (/audit, /polish, /critique, /animate, etc.) are provided by Impeccable -- install separately into ~/.claude/skills/.
- Agent configs are markdown files with persona/behavior instructions
- Shell scripts should use
set -eand follow existing patterns inscripts/ skills/rules/is the single source of truth for always-on rules --.claude/rules/files are symlinks. Edit files inskills/rules/, not.claude/rules/opencode/aig_agents/is the single source of truth for OpenCode agents --~/.config/opencode/agents/is a symlink- Agent model IDs use the
opencode/prefix for Zen models (e.g.,opencode/gpt-5.3-codex,opencode/gemini-3.1-pro) skills/commands/andskills/plane/are slash commands symlinked into~/.claude/skills/.cursor/rules/is maintained separately in.mdcformat -- update when modifying standards inskills/