---
id: wiki-2026-0508-productivity-hacks-for-devs
title: Productivity Hacks for Devs
category: 10_Wiki/Topics
status: verified
canonical_id: self
aliases: [Developer Productivity, Dev Workflow, Coding Speed]
duplicate_of: none
source_trust_level: A
confidence_score: 0.9
verification_status: applied
tags: [productivity, workflow, ai-coding, dotfiles, terminal]
raw_sources: []
last_reinforced: 2026-05-10
github_commit: pending
tech_stack:
  language: Shell/various
  framework: Claude-Code/Cursor/zsh
---

# Productivity Hacks for Devs

## 매 한 줄
> **"매 typing 의 줄임, 매 thinking 의 늘림"**. 2026 dev productivity 는 매 (a) AI pair (Claude Code, Cursor), (b) keyboard-first (vim/helix, tmux), (c) automation (dotfiles, scripts) 의 stack. 매 mouse-heavy IDE-only workflow 는 매 obsolete.

## 매 핵심

### 매 layer
- **AI**: Claude Code (CLI agent), Cursor (IDE), Copilot (autocomplete), aider.
- **Editor**: Neovim / Helix / VSCode + Vim mode.
- **Terminal**: Wezterm / Ghostty + tmux/zellij + zsh + starship.
- **Multiplexer**: tmux session per project.
- **Search**: ripgrep, fd, fzf — 매 grep/find 의 대체.
- **Nav**: zoxide (`z proj`), broot, eza.
- **Git**: lazygit, gh CLI, jj (Jujutsu).

### 매 AI workflow (2026)
1. **Plan**: Claude Code `/plan` 으로 high-level approach.
2. **Code**: 매 multi-file change 의 agent 의 위임.
3. **Review**: 매 git diff + Claude `/review`.
4. **Test**: AI-generated tests + property-based.
5. **Commit**: AI 의 message draft + human edit.

### 매 응용
1. Refactor 10k LOC in hours.
2. Onboard new repo via AI summary.
3. Bash one-liner 의 LLM 의 generate.
4. Docs writing automation.
5. Code review + PR description.

## 💻 패턴

### Claude Code session
```bash
# 매 project root 에서
claude
> /init    # CLAUDE.md generate
> /plan add user authentication with JWT
> /loop 5m /babysit-prs
```

### zsh aliases (essential)
```bash
# ~/.zshrc
alias g='git'
alias gs='git status -sb'
alias gco='git checkout'
alias gd='git diff'
alias gl='git log --oneline -20'
alias k='kubectl'
alias lg='lazygit'
alias ll='eza -la --git --icons'
alias cat='bat -p'
alias find='fd'
alias grep='rg'
alias cdp='cd $(fd -t d . ~/projects | fzf)'
```

### fzf-powered git checkout
```bash
gcb() {
  git branch | grep -v '^\*' | fzf | xargs git checkout
}
```

### tmux + project session
```bash
# ~/.local/bin/tx
#!/usr/bin/env bash
dir=$(zoxide query -i)
name=$(basename "$dir" | tr . _)
tmux has-session -t "$name" 2>/dev/null || \
  tmux new-session -d -s "$name" -c "$dir"
tmux switch-client -t "$name" 2>/dev/null || tmux attach -t "$name"
```

### Starship prompt (segments)
```toml
# ~/.config/starship.toml
format = "$directory$git_branch$git_status$python$nodejs$character"
[git_status]
ahead = "↑${count}"
behind = "↓${count}"
modified = "!${count}"
```

### Neovim AI integration
```lua
-- avante.nvim or codecompanion.nvim
require("codecompanion").setup({
  adapters = {
    anthropic = function()
      return require("codecompanion.adapters").extend("anthropic", {
        env = { api_key = "ANTHROPIC_API_KEY" },
        schema = { model = { default = "claude-opus-4-7" } },
      })
    end,
  },
})
vim.keymap.set({"n","v"}, "<leader>cc", "<cmd>CodeCompanionChat<cr>")
```

### Just (task runner) > Make for dev
```just
# justfile
default: test

test:
    pytest -xvs

fmt:
    ruff format . && ruff check --fix .

deploy env="staging":
    fly deploy --config fly.{{env}}.toml
```

### Direnv per-project env
```bash
# .envrc
export DATABASE_URL="postgres://localhost/myapp_dev"
layout python python3.12
use_node 22
```

### Dotfiles management (chezmoi)
```bash
chezmoi init --apply git@github.com:you/dotfiles.git
chezmoi edit ~/.zshrc
chezmoi apply
```

## 매 결정 기준
| 상황 | Approach |
|---|---|
| New feature, multi-file | **Claude Code agent** |
| Inline completion | Cursor or Copilot |
| Solo refactor | aider --architect |
| Quick shell question | `claude --print "..."` |
| Multiplex sessions | tmux + zellij (newer) |
| Search codebase | ripgrep + fzf |

**기본값**: Wezterm + tmux + zsh + Neovim + Claude Code agent.

## 🔗 Graph
- Adjacent: [[Claude-Code]] · [[Cursor]]

## 🤖 LLM 활용
**언제**: 매 boilerplate, 매 unfamiliar API, 매 repetitive refactor, 매 regex/awk one-liner.
**언제 X**: 매 architectural decision (매 human judgment), 매 security-critical code (매 review 필수), 매 5-line trivial change (매 type faster).

## ❌ 안티패턴
- **Mouse-heavy navigation**: 매 keyboard-first muscle memory 의 invest.
- **No dotfiles version**: 매 new machine 의 4시간 setup. chezmoi/yadm 의 사용.
- **AI without review**: 매 hallucinated API 의 production 의 break.
- **Tab switching everywhere**: 매 tmux/zellij session 의 organize.
- **Every project unique tooling**: 매 just/make standardize.

## 🧪 검증 / 중복
- Verified (Claude Code docs, popular 2026 dev surveys, dotfiles community).
- 신뢰도 A.

## 🕓 Changelog
| 날짜 | 변경 |
|---|---|
| 2026-05-08 | Phase 1 |
| 2026-05-10 | Manual cleanup — modern AI-augmented dev workflow. |
