|
10 | 10 |
|
11 | 11 |  |
12 | 12 |
|
13 | | -| Component | Tool | Config | |
14 | | -| ---------------------------------------- | --------------------------------------------------------- | ------------------------------------------------------------------------- | |
15 | | -| Installation | [Dotbot](https://github.com/anishathalye/dotbot) | [install.conf.yaml](./install.conf.yaml) | |
16 | | -| Terminal | [Ghostty](https://ghostty.org) | [config](./ghostty/config) | |
17 | | -| Prompt | [Powerlevel10k](https://github.com/romkatv/powerlevel10k) | [customizations](./zsh/p10k.customizations.zsh), [config](./zsh/p10k.zsh) | |
18 | | -| .zshrc | [oh-my-zsh](https://github.com/robbyrussell/oh-my-zsh) | [.zshrc](./zsh/zshrc.zsh) | |
19 | | -| Global Key Rebinds, Hyper Key, App Focus | [Karabiner](https://karabiner-elements.pqrs.org/) | [karabiner.ts](./karabiner/karabiner.ts) | |
| 13 | +| Component | Tool | Config | |
| 14 | +| ---------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------------------- | |
| 15 | +| Installation | [Dotbot](https://github.com/anishathalye/dotbot) | [install.conf.yaml](./install.conf.yaml) | |
| 16 | +| Terminal | [Ghostty](https://ghostty.org) | [config](./ghostty/config) | |
| 17 | +| Prompt | [Powerlevel10k](https://github.com/romkatv/powerlevel10k) | [customizations](./zsh/p10k.customizations.zsh), [config](./zsh/p10k.zsh) | |
| 18 | +| .zshrc | [oh-my-zsh](https://github.com/robbyrussell/oh-my-zsh) | [.zshrc](./zsh/zshrc.zsh) | |
| 19 | +| Global Key Rebinds, Hyper Key, App Focus | [Karabiner](https://karabiner-elements.pqrs.org/) | [karabiner.ts](./karabiner/karabiner.ts) | |
| 20 | +| AI Coding Assistant | [Claude Code](https://docs.anthropic.com/en/docs/claude-code) | [claude/](./claude/) | |
20 | 21 |
|
21 | 22 | ## [Makefile](./Makefile) |
22 | 23 |
|
|
26 | 27 | - Karabiner config compilation |
27 | 28 | - Install MacOS defaults |
28 | 29 |
|
| 30 | +## Claude Code |
| 31 | + |
| 32 | +Configuration: [`claude/`](./claude/). |
| 33 | + |
| 34 | +### Project Instructions ([CLAUDE.md](./claude/CLAUDE.md)) |
| 35 | + |
| 36 | +- **Critical partner mindset** - Question assumptions, prioritize truth over agreement |
| 37 | +- **Superpowers plan workflow** - Plans in `~/.claude/plans/{timestamp}-{task}/` (`1-TASK.md`, `2-DESIGN.md`, `3-PLAN.md`) |
| 38 | +- **TypeScript patterns** - Single object params, types over interfaces, functions over classes, pure functions |
| 39 | +- **Bash permission matching** - Never use `git -C`, always `cd /path && git <cmd>` |
| 40 | + |
| 41 | +### Slash Commands |
| 42 | + |
| 43 | +| Command | Description | |
| 44 | +| ----------------- | ------------------------------------------------------------------------------------------------ | |
| 45 | +| `/task` | Create task file for feature development, uses `superpowers:brainstorming` to create `DESIGN.md` | |
| 46 | +| `/implement-plan` | Execute a `PLAN.md` with subagent-driven dev, uses `superpowers:subagent-driven-development` | |
| 47 | +| `/pr-description` | Generate PR description | |
| 48 | + |
| 49 | +### Hooks (TypeScript) |
| 50 | + |
| 51 | +| Hook | Purpose | |
| 52 | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------------- | |
| 53 | +| [git-guardrails.ts](./claude/hooks/git-guardrails.ts) | Blocks `git add -A/.`, prompts for `--amend` and `--no-verify` | |
| 54 | +| [statusline-wrapper.ts](./claude/hooks/statusline-wrapper.ts) | Custom statusline mirroring Powerlevel10k (dir, branch, PR#, model, context%) | |
| 55 | +| [pure-md-prompt-rewriter.ts](./claude/hooks/pure-md-prompt-rewriter.ts) | Rewrites prompts for Pure.md integration | |
| 56 | + |
| 57 | +### Skills |
| 58 | + |
| 59 | +- **markdown-formatting** - Format/lint markdown files with markdownlint |
| 60 | + |
| 61 | +### Custom Statusline ([statusline-command.sh](./claude/statusline-command.sh)) |
| 62 | + |
| 63 | +Mirrors Powerlevel10k prompt style with: directory, git branch, PR#, staged/modified/untracked counts, model name, context %. |
| 64 | + |
29 | 65 | ## Keyboard Mappings |
30 | 66 |
|
31 | 67 | ### Hyper Key modifier |
|
0 commit comments