Skip to content

Commit 321372d

Browse files
committed
chore(claude): update README with Claude section
1 parent 6fb89a1 commit 321372d

File tree

1 file changed

+43
-7
lines changed

1 file changed

+43
-7
lines changed

README.md

Lines changed: 43 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,14 @@
1010
1111
![Image](preview.png)
1212

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/) |
2021

2122
## [Makefile](./Makefile)
2223

@@ -26,6 +27,41 @@
2627
- Karabiner config compilation
2728
- Install MacOS defaults
2829

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+
2965
## Keyboard Mappings
3066

3167
### Hyper Key modifier

0 commit comments

Comments
 (0)