configs-all 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (227) hide show
  1. package/.claude/settings.local.json +3 -0
  2. package/CLAUDE.md +94 -0
  3. package/README.md +424 -0
  4. package/TERMINAL_SHORTCUTS.md +96 -0
  5. package/WINDOWS_COMPATIBILITY.md +85 -0
  6. package/WINDOWS_MCP_SETUP.md +133 -0
  7. package/apps/RectangleConfig.plist +0 -0
  8. package/apps/Synergy +84 -0
  9. package/apps/iStat Menus Settings.ismp7 +0 -0
  10. package/claude/CLAUDE.md +228 -0
  11. package/claude/commands/changelog.md +36 -0
  12. package/claude/commands/commit.md +29 -0
  13. package/claude/commands/context.md +112 -0
  14. package/claude/commands/dash.md +37 -0
  15. package/claude/commands/deploy-check.md +37 -0
  16. package/claude/commands/deps.md +26 -0
  17. package/claude/commands/duplo.md +56 -0
  18. package/claude/commands/explain.md +43 -0
  19. package/claude/commands/fix-and-test.md +46 -0
  20. package/claude/commands/game-debug.md +66 -0
  21. package/claude/commands/games.md +53 -0
  22. package/claude/commands/go.md +147 -0
  23. package/claude/commands/guard.md +102 -0
  24. package/claude/commands/handoff.md +66 -0
  25. package/claude/commands/incident.md +144 -0
  26. package/claude/commands/init.md +78 -0
  27. package/claude/commands/k8s-debug.md +31 -0
  28. package/claude/commands/lint.md +27 -0
  29. package/claude/commands/merge-all.md +115 -0
  30. package/claude/commands/merge.md +129 -0
  31. package/claude/commands/mikpc.md +54 -0
  32. package/claude/commands/morning.md +72 -0
  33. package/claude/commands/partymode.md +105 -0
  34. package/claude/commands/plans.md +88 -0
  35. package/claude/commands/pr.md +41 -0
  36. package/claude/commands/prep.md +132 -0
  37. package/claude/commands/push-sync.md +82 -0
  38. package/claude/commands/push.md +34 -0
  39. package/claude/commands/research.md +73 -0
  40. package/claude/commands/retro.md +95 -0
  41. package/claude/commands/review-pr.md +96 -0
  42. package/claude/commands/review.md +41 -0
  43. package/claude/commands/scaffold-agent.md +45 -0
  44. package/claude/commands/setup.md +92 -0
  45. package/claude/commands/ship-prod.md +97 -0
  46. package/claude/commands/ship.md +82 -0
  47. package/claude/commands/simplify.md +42 -0
  48. package/claude/commands/spike.md +110 -0
  49. package/claude/commands/status.md +37 -0
  50. package/claude/commands/sync.md +72 -0
  51. package/claude/commands/test.md +29 -0
  52. package/claude/commands/triage.md +72 -0
  53. package/claude/desktop/claude_desktop_config.json +9 -0
  54. package/claude/hooks.json +15 -0
  55. package/claude/mcp-servers.duplo.json +8 -0
  56. package/claude/mcp-servers.json +62 -0
  57. package/claude/scripts/psdebug.ps1 +7 -0
  58. package/claude/settings.json +38 -0
  59. package/claude/settings.local.json +4 -0
  60. package/claude/statusline-command.sh +94 -0
  61. package/claude/templates/CLAUDE-k8s-devops.md +58 -0
  62. package/claude/templates/CLAUDE-python-agent.md +47 -0
  63. package/claude/templates/CLAUDE-typescript-frontend.md +50 -0
  64. package/docker/ai-stack/docker-compose.yml +76 -0
  65. package/docker/ai-stack/searxng/limiter.toml +3 -0
  66. package/docker/ai-stack/searxng/settings.yml +39 -0
  67. package/docker/cli/config.json.template +15 -0
  68. package/docker/cli/daemon.json +9 -0
  69. package/docker/cli/features.json +3 -0
  70. package/docker/mcp/catalog.json +9 -0
  71. package/docker/mcp/catalogs/docker-mcp.yaml +15107 -0
  72. package/docker/mcp/config.yaml +0 -0
  73. package/docker/mcp/registry.yaml +37 -0
  74. package/docker/mcp/tools.yaml +0 -0
  75. package/docs/context/.gitkeep +0 -0
  76. package/docs/context/2026-03-02-configs.md +142 -0
  77. package/docs/handoff/.gitkeep +0 -0
  78. package/docs/incidents/.gitkeep +0 -0
  79. package/docs/plans/2026-02-28-autonomous-command-suite-design.md +250 -0
  80. package/docs/plans/2026-02-28-autonomous-command-suite.md +682 -0
  81. package/docs/plans/2026-03-01-ai-stack-split-architecture.md +72 -0
  82. package/docs/plans/2026-03-02-ai-stack-expansion.md +33 -0
  83. package/docs/plans/2026-03-02-merge-commands-design.md +58 -0
  84. package/docs/plans/2026-03-02-merge-commands.md +354 -0
  85. package/docs/research/.gitkeep +0 -0
  86. package/docs/research/2026-03-02-configs-repo-architecture.md +152 -0
  87. package/docs/retros/.gitkeep +0 -0
  88. package/docs/retros/2026-03-01-ai-stack-split-architecture.md +38 -0
  89. package/docs/spikes/.gitkeep +0 -0
  90. package/gh/config.yml +16 -0
  91. package/gh/hosts.yml +5 -0
  92. package/gh/main.json +103 -0
  93. package/ghostty/config +90 -0
  94. package/git/config/base.gitconfig +46 -0
  95. package/git/config/chiefmikey.gitconfig +11 -0
  96. package/git/config/personal.gitconfig +10 -0
  97. package/git/config/work.gitconfig +14 -0
  98. package/ide/cursor/extensions.txt +111 -0
  99. package/ide/cursor/keybindings.json +307 -0
  100. package/ide/cursor/mcp.json +92 -0
  101. package/ide/cursor/settings.json +544 -0
  102. package/ide/vscode/extensions.txt +120 -0
  103. package/ide/vscode/insiders/extensions.txt +119 -0
  104. package/ide/vscode/insiders/keybindings.json +294 -0
  105. package/ide/vscode/insiders/settings.json +518 -0
  106. package/ide/vscode/keybindings.json +294 -0
  107. package/ide/vscode/settings.json +526 -0
  108. package/ide/vscode/vscode/extensions.txt +43 -0
  109. package/iterm/Mikey Pro.json +951 -0
  110. package/iterm/com.googlecode.iterm2.plist +5549 -0
  111. package/iterm/font/MesloLGS NF Bold Italic.ttf +0 -0
  112. package/iterm/font/MesloLGS NF Bold.ttf +0 -0
  113. package/iterm/font/MesloLGS NF Italic.ttf +0 -0
  114. package/iterm/font/MesloLGS NF Regular.ttf +0 -0
  115. package/package.json +15 -0
  116. package/scripts/ai/deploy-ai-stack.sh +119 -0
  117. package/scripts/ai/fix-ai-proxy.service +12 -0
  118. package/scripts/ai/fix-ai-proxy.sh +25 -0
  119. package/scripts/brew/search/brew-search-results.sh +19 -0
  120. package/scripts/brew/search/brew-search.sh +34 -0
  121. package/scripts/brew/upgrade/brew-upgrade-autoupdate.sh +5 -0
  122. package/scripts/brew/upgrade/brew-upgrade-full-auto.sh +89 -0
  123. package/scripts/brew/upgrade/brew-upgrade-full.sh +159 -0
  124. package/scripts/docker/cleanup/docker-cleanup-manage.sh +163 -0
  125. package/scripts/docker/cleanup/docker-cleanup.cron +12 -0
  126. package/scripts/docker/cleanup/docker-cleanup.sh +280 -0
  127. package/scripts/docker/install/README.md +23 -0
  128. package/scripts/docker/install/docker-al2.sh +7 -0
  129. package/scripts/docker/install/docker-compose-al2.sh +15 -0
  130. package/scripts/gh/auth/auth.sh +12 -0
  131. package/scripts/gh/config/gh-config.sh +3 -0
  132. package/scripts/gh/gist/gh-gist-create.sh +29 -0
  133. package/scripts/gh/gist/gh-gist-delete.sh +1 -0
  134. package/scripts/gh/gist/gh-gist-edit.sh +8 -0
  135. package/scripts/gh/gpg-key/gh-gpg-key-add.sh +3 -0
  136. package/scripts/gh/install/install.sh +7 -0
  137. package/scripts/gh/label/gh-label-clone.sh +0 -0
  138. package/scripts/gh/label/gh-label-create.sh +0 -0
  139. package/scripts/gh/label/gh-label-delete.sh +0 -0
  140. package/scripts/gh/label/gh-label-edit.sh +0 -0
  141. package/scripts/gh/label/gh-label-list.sh +0 -0
  142. package/scripts/gh/secret/gh-secret-delete.sh +24 -0
  143. package/scripts/gh/secret/gh-secret-set.sh +70 -0
  144. package/scripts/gh/ssh-key/gh-ssh-key-add.sh +8 -0
  145. package/scripts/git/add/git-add.sh +3 -0
  146. package/scripts/git/auth/README.md +11 -0
  147. package/scripts/git/auth/https.sh +20 -0
  148. package/scripts/git/auth/ssh-mac.sh +41 -0
  149. package/scripts/git/branch-delete/git-branch-delete.sh +16 -0
  150. package/scripts/git/checkout/git-checkout-stash.sh +32 -0
  151. package/scripts/git/temp/git-temp-pull.sh +6 -0
  152. package/scripts/git/temp/git-temp-push.sh +5 -0
  153. package/scripts/install/fresh.zsh +34 -0
  154. package/scripts/install/full-install.zsh +193 -0
  155. package/scripts/linux/codedeploy/README.md +19 -0
  156. package/scripts/linux/codedeploy/linux-codedeploy-al2.sh +13 -0
  157. package/scripts/linux/codedeploy/linux-codedeploy-index.sh +16 -0
  158. package/scripts/linux/codedeploy/linux-codedeploy-ubuntu.sh +14 -0
  159. package/scripts/linux/coredns/README.md +17 -0
  160. package/scripts/linux/coredns/linux-coredns-al2.sh +29 -0
  161. package/scripts/linux/wifi/01-netconf.yaml +21 -0
  162. package/scripts/linux/wifi/wifi-ubuntu.sh +17 -0
  163. package/scripts/mac/dock-sort/mac-dock-sort.sh +87 -0
  164. package/scripts/mac/dropbox-ignore/mac-dropbox-ignore.sh +12 -0
  165. package/scripts/mac/sudo-askpass/mac-sudo-askpass.sh +50 -0
  166. package/scripts/mac/sudo-askpass/setup-sudo-password.sh +49 -0
  167. package/scripts/mac/upgrade/mac-upgrade.sh +21 -0
  168. package/scripts/mac/vpn/mac-vpn.sh +4 -0
  169. package/scripts/mcp/aws-mcp-wrapper.ps1 +97 -0
  170. package/scripts/mcp/aws-mcp-wrapper.sh +53 -0
  171. package/scripts/mcp/duplo-mcp-wrapper.sh +31 -0
  172. package/scripts/mcp/filesystem-mcp-wrapper.ps1 +43 -0
  173. package/scripts/mcp/filesystem-mcp-wrapper.sh +34 -0
  174. package/scripts/mcp/git-mcp-wrapper.ps1 +42 -0
  175. package/scripts/mcp/git-mcp-wrapper.sh +33 -0
  176. package/scripts/mcp/github-mcp-wrapper.ps1 +43 -0
  177. package/scripts/mcp/github-mcp-wrapper.sh +19 -0
  178. package/scripts/mcp/kubernetes-mcp-wrapper.ps1 +22 -0
  179. package/scripts/mcp/kubernetes-mcp-wrapper.sh +16 -0
  180. package/scripts/mcp/mcp-launcher.ps1 +56 -0
  181. package/scripts/mcp/mcp-launcher.sh +71 -0
  182. package/scripts/mcp/mongodb-mcp-wrapper.ps1 +26 -0
  183. package/scripts/mcp/mongodb-mcp-wrapper.sh +17 -0
  184. package/scripts/mcp/notion-mcp-wrapper.ps1 +23 -0
  185. package/scripts/mcp/notion-mcp-wrapper.sh +14 -0
  186. package/scripts/mcp/postgres-mcp-wrapper.ps1 +23 -0
  187. package/scripts/mcp/postgres-mcp-wrapper.sh +16 -0
  188. package/scripts/npm/ncu/npm-ncu.sh +24 -0
  189. package/scripts/npm/upgrade/npm-upgrade.sh +51 -0
  190. package/scripts/qmk/build_reviung41.sh +28 -0
  191. package/scripts/qmk/sync_unicorne.sh +44 -0
  192. package/scripts/sync/README.md +64 -0
  193. package/scripts/sync/config-common.zsh +882 -0
  194. package/scripts/sync/pull-configs.ps1 +33 -0
  195. package/scripts/sync/pull-configs.zsh +278 -0
  196. package/scripts/sync/push-configs.ps1 +91 -0
  197. package/scripts/sync/push-configs.zsh +384 -0
  198. package/shell/alias/alias-d.zsh +333 -0
  199. package/shell/alias/alias.zsh +36 -0
  200. package/shell/alias/categories/development.zsh +157 -0
  201. package/shell/alias/categories/environment.zsh +13 -0
  202. package/shell/alias/categories/git.zsh +40 -0
  203. package/shell/alias/categories/github-functions.zsh +459 -0
  204. package/shell/alias/categories/network.zsh +46 -0
  205. package/shell/alias/categories/path.zsh +46 -0
  206. package/shell/alias/categories/system.zsh +78 -0
  207. package/shell/alias/categories/wolfe-server.zsh +11 -0
  208. package/shell/powershell/Microsoft.PowerShell_profile.ps1 +208 -0
  209. package/shell/zsh/.p10k.zsh +1832 -0
  210. package/shell/zsh/.zshrc +87 -0
  211. package/shell/zsh/config/completion.zsh +31 -0
  212. package/shell/zsh/config/functions.zsh +31 -0
  213. package/shell/zsh/config/keybindings.zsh +13 -0
  214. package/shell/zsh/config/options.zsh +56 -0
  215. package/shell/zsh/config/plugins.zsh +83 -0
  216. package/shell/zsh/config/variables.zsh +191 -0
  217. package/shell/zsh/powerlevel10k.zsh-theme +83 -0
  218. package/shell/zsh/zsh-autosuggestions.zsh +871 -0
  219. package/ssh/config +46 -0
  220. package/ssh/config.duplo +21 -0
  221. package/ssh/config.mikpc +35 -0
  222. package/ssh/personal_signing.pub +1 -0
  223. package/templates/.envrc.example +34 -0
  224. package/templates/.envrc.quickstart +17 -0
  225. package/wezterm/wezterm.lua +249 -0
  226. package/wsl/.wslconfig +3 -0
  227. package/wsl/wsl.conf +18 -0
@@ -0,0 +1,682 @@
1
+ # Autonomous Command Suite Implementation Plan
2
+
3
+ > **For Claude:** REQUIRED SUB-SKILL: Use superpowers:executing-plans to implement this plan task-by-task.
4
+
5
+ **Goal:** Create five new slash commands (`/context`, `/plans`, `/prep`, `/go`, `/partyon`) and update global CLAUDE.md to support maximum autonomous work with persistent documentation artifacts.
6
+
7
+ **Architecture:** Five `.md` command files in `claude/commands/` plus two new sections in `claude/CLAUDE.md`. Commands compose into a pipeline: `/research` → `/context` → `/plans` → execution. `/prep` orchestrates the first three, `/go` handles execution, `/partyon` chains both.
8
+
9
+ **Tech Stack:** Markdown command files, zsh syntax validation, Claude Code slash command conventions.
10
+
11
+ **Design doc:** `docs/plans/2026-02-28-autonomous-command-suite-design.md`
12
+
13
+ ---
14
+
15
+ ### Task 1: Create `/context` command
16
+
17
+ **Files:**
18
+ - Create: `claude/commands/context.md`
19
+
20
+ **Step 1: Write the command file**
21
+
22
+ ```markdown
23
+ ## Repo & Machine Context Snapshot
24
+
25
+ Build a comprehensive, persistent context document for the current repository. This is a knowledge snapshot that future Claude sessions read first to avoid redundant exploration and reduce token costs.
26
+
27
+ ### Input
28
+ $ARGUMENTS - optional focus area (e.g., "frontend", "deployment pipeline"). If omitted, builds full repo context.
29
+
30
+ ### Instructions
31
+
32
+ 1. **Read existing documentation first:**
33
+ - Read the project CLAUDE.md if it exists
34
+ - Read ALL files in `docs/research/` if the directory exists
35
+ - Read ALL files in `docs/context/` if the directory exists — if a context doc already exists for this repo, you will UPDATE it rather than creating a duplicate
36
+ - Read MEMORY.md if accessible
37
+
38
+ 2. **Gather comprehensive context** using parallel Explore subagents for independent areas:
39
+
40
+ **Project identity:**
41
+ - Tech stack (detect from package.json, requirements.txt, Makefile, Cargo.toml, go.mod, etc.)
42
+ - Project structure — key directories and their roles (not just a file listing)
43
+ - Entry points (main files, index files, CLI entry points)
44
+
45
+ **Architecture:**
46
+ - How the codebase is organized (monorepo? modular? layered?)
47
+ - Key abstractions and patterns used
48
+ - Data flow for the primary use case
49
+
50
+ **Development workflow:**
51
+ - How to build, test, lint, format (exact commands)
52
+ - CI/CD pipeline if present
53
+ - Deploy process if present
54
+ - Environment variables and configuration
55
+
56
+ **Testing infrastructure:**
57
+ - Test framework and how to run tests
58
+ - Test coverage and quality assessment
59
+ - Key test files and what they cover
60
+
61
+ **Dependencies:**
62
+ - Critical internal dependencies (what depends on what)
63
+ - External dependencies and their roles
64
+ - Version constraints that matter
65
+
66
+ **Environment:**
67
+ - Current machine/hostname and platform
68
+ - Available tools (node, python, docker, kubectl, etc.)
69
+ - Machine-specific quirks if known from MEMORY.md
70
+
71
+ **Recent trajectory:**
72
+ - Last 20-30 git commits to understand current direction
73
+ - Any in-progress branches or uncommitted work
74
+ - Recent patterns in what's being changed
75
+
76
+ **Gotchas:**
77
+ - Non-obvious behavior, implicit assumptions
78
+ - Tech debt or fragile areas
79
+ - Things that have broken before (from git history or docs)
80
+
81
+ 3. **Verify findings against actual code.** Do not trust documentation blindly — read key files to confirm claims. If an existing context doc says "tests use Jest" but you find Vitest in package.json, update accordingly.
82
+
83
+ 4. **Write or update** `docs/context/YYYY-MM-DD-<repo-name>.md`:
84
+
85
+ ```markdown
86
+ # Context: <Repo Name>
87
+ _Last updated: YYYY-MM-DD_
88
+ _Machine: <hostname>_
89
+ _Platform: <macOS/Linux/WSL>_
90
+
91
+ ## Overview
92
+ What this project does in 2-3 sentences.
93
+
94
+ ## Tech Stack
95
+ Languages, frameworks, key libraries with versions.
96
+
97
+ ## Project Structure
98
+ Key directories and their roles. Not a full file listing — focus on what matters.
99
+
100
+ ## Architecture
101
+ How the pieces fit together. Key patterns and conventions.
102
+
103
+ ## Development Workflow
104
+ Exact commands to build, test, lint, format, deploy.
105
+
106
+ ## Testing
107
+ Framework, how to run, coverage, key test files.
108
+
109
+ ## Dependencies
110
+ Critical internal and external dependencies.
111
+
112
+ ## Environment
113
+ Machine-specific context, available tools, quirks.
114
+
115
+ ## Recent Trajectory
116
+ What's been changing recently, current direction.
117
+
118
+ ## Gotchas
119
+ Non-obvious behavior, fragile areas, things that break.
120
+ ```
121
+
122
+ Omit sections that don't apply. Add sections if the repo warrants it.
123
+
124
+ 5. **If updating an existing context doc:** Preserve the original date in the filename but update the `_Last updated_` field. Only change sections where reality has diverged from what's documented.
125
+
126
+ 6. Report the file path and a brief summary of what was captured (or what changed if updating).
127
+ ```
128
+
129
+ **Step 2: Validate syntax**
130
+
131
+ Run: `cat claude/commands/context.md | head -1`
132
+ Expected: `## Repo & Machine Context Snapshot`
133
+
134
+ **Step 3: Commit**
135
+
136
+ ```bash
137
+ git add claude/commands/context.md
138
+ git commit -m "feat(claude): add /context command for repo knowledge snapshots"
139
+ ```
140
+
141
+ ---
142
+
143
+ ### Task 2: Create `/plans` command
144
+
145
+ **Files:**
146
+ - Create: `claude/commands/plans.md`
147
+
148
+ **Step 1: Write the command file**
149
+
150
+ ```markdown
151
+ ## Implementation Plan Generator
152
+
153
+ Generate a detailed, step-by-step implementation plan based on existing research, context, and codebase understanding. All architectural and implementation decisions are made autonomously with documented rationale.
154
+
155
+ ### Input
156
+ $ARGUMENTS - task description (e.g., "add webhook support to billing", "refactor sync for 5th machine")
157
+
158
+ ### Instructions
159
+
160
+ 1. **Read existing documentation first:**
161
+ - Read the project CLAUDE.md if it exists
162
+ - Read ALL files in `docs/context/` — this is your primary knowledge source
163
+ - Read ALL files in `docs/research/` — supplementary understanding
164
+ - Read ALL files in `docs/plans/` — check for existing or related plans
165
+
166
+ 2. **Targeted code exploration** for the specific area the task touches:
167
+ - Read function bodies, not just signatures
168
+ - Follow imports to understand real dependencies
169
+ - Check existing tests for the area being changed
170
+ - Look at recent git history on key files for "why" context
171
+ - Use parallel Explore subagents for independent areas
172
+
173
+ 3. **Make all decisions autonomously.** Choose libraries, patterns, file structure, naming, error handling — and document WHY for each non-obvious choice. Use current best practices and standards. Do not ask — decide and document.
174
+
175
+ 4. **Write the plan** to `docs/plans/YYYY-MM-DD-<task-slug>.md`:
176
+
177
+ ```markdown
178
+ # Plan: <Task>
179
+ _Date: YYYY-MM-DD_
180
+ _Context: docs/context/<file>.md_
181
+ _Research: docs/research/<file>.md (if applicable)_
182
+
183
+ ## Goal
184
+ What this plan accomplishes in 1-2 sentences.
185
+
186
+ ## Decisions & Rationale
187
+ Every non-obvious choice made, with reasoning. (Libraries, patterns, file structure, naming, error handling, approach.)
188
+
189
+ ## Steps
190
+
191
+ ### Step 1: [Title]
192
+ - **File:** `exact/path/to/file`
193
+ - **What:** Specific change description with enough detail for an agent with zero context
194
+ - **Why:** Reasoning if non-obvious
195
+ - **Code:** Complete code to write (not "add validation" — show the actual code)
196
+ - **Verify:** Exact command to confirm this step worked and expected output
197
+
198
+ ### Step 2: ...
199
+
200
+ ## Verification Plan
201
+ - [ ] Tests to run (unit, e2e, integration — exact commands)
202
+ - [ ] Lint/build commands (exact commands)
203
+ - [ ] Manual checks (browser, API, CLI — exact steps)
204
+ - [ ] Edge cases to validate
205
+
206
+ ## Risks
207
+ Known risks and mitigation for each.
208
+ ```
209
+
210
+ 5. **Plan granularity:** Each step should be 2-5 minutes of work. One action per step. If a step has substeps, break it into multiple steps.
211
+
212
+ 6. **Do NOT execute anything.** This command produces plans only.
213
+
214
+ 7. Report the file path and a brief summary of the plan (goal, number of steps, key decisions made).
215
+ ```
216
+
217
+ **Step 2: Validate syntax**
218
+
219
+ Run: `cat claude/commands/plans.md | head -1`
220
+ Expected: `## Implementation Plan Generator`
221
+
222
+ **Step 3: Commit**
223
+
224
+ ```bash
225
+ git add claude/commands/plans.md
226
+ git commit -m "feat(claude): add /plans command for autonomous implementation planning"
227
+ ```
228
+
229
+ ---
230
+
231
+ ### Task 3: Create `/prep` command
232
+
233
+ **Files:**
234
+ - Create: `claude/commands/prep.md`
235
+
236
+ **Step 1: Write the command file**
237
+
238
+ ```markdown
239
+ ## Full Preparation Pipeline
240
+
241
+ Orchestrate deep research, context validation, and implementation planning in a single session. This replaces built-in plan mode with unrestricted tool access and persistent documentation artifacts.
242
+
243
+ The goal is to set Claude up for maximum autonomous execution — thorough understanding, verified context, and a concrete plan with all decisions made and documented.
244
+
245
+ ### Input
246
+ $ARGUMENTS - task description (e.g., "add webhook support to billing", "refactor the sync system")
247
+
248
+ ### Instructions
249
+
250
+ Execute these three phases in order, carrying all context forward between phases.
251
+
252
+ #### Phase 1: Research
253
+
254
+ 1. **Read ALL existing documentation first:**
255
+ - Project CLAUDE.md
256
+ - ALL files in `docs/research/`
257
+ - ALL files in `docs/context/`
258
+ - ALL files in `docs/plans/` (for awareness of past/in-progress work)
259
+ - MEMORY.md if accessible
260
+
261
+ 2. **Deep codebase exploration** scoped to the task, using parallel Explore subagents:
262
+ - Trace data flow end-to-end for the area being changed
263
+ - Read function bodies, not just signatures
264
+ - Follow imports to understand real dependencies
265
+ - Check tests to understand intended behavior and edge cases
266
+ - Look at recent git history on key files for "why" context
267
+
268
+ 3. **Verify all findings against actual code.** Never trust documentation blindly. If a research doc says X but the code shows Y, the code is truth.
269
+
270
+ 4. **Write or update** `docs/research/YYYY-MM-DD-<topic>.md` with findings. If an existing research doc covers this area, update it rather than creating a duplicate. Use the same format as `/research`:
271
+
272
+ ```markdown
273
+ # Research: <Topic>
274
+ _Date: YYYY-MM-DD_
275
+
276
+ ## Overview
277
+ ## Architecture
278
+ ## Data Flow
279
+ ## Patterns & Conventions
280
+ ## Dependencies
281
+ ## Gotchas
282
+ ## Open Questions
283
+ ```
284
+
285
+ #### Phase 2: Context
286
+
287
+ 5. **Validate and update the repo context snapshot.** If `docs/context/` has an existing context doc:
288
+ - Read it fully
289
+ - Verify key claims against current repo state
290
+ - Update any stale sections
291
+ - Add task-specific context from Phase 1 that future agents will need
292
+
293
+ If no context doc exists, create one following the `/context` format:
294
+
295
+ ```markdown
296
+ # Context: <Repo Name>
297
+ _Last updated: YYYY-MM-DD_
298
+ _Machine: <hostname>_
299
+ _Platform: <macOS/Linux/WSL>_
300
+
301
+ ## Overview
302
+ ## Tech Stack
303
+ ## Project Structure
304
+ ## Architecture
305
+ ## Development Workflow
306
+ ## Testing
307
+ ## Dependencies
308
+ ## Environment
309
+ ## Recent Trajectory
310
+ ## Gotchas
311
+ ```
312
+
313
+ #### Phase 3: Plan
314
+
315
+ 6. **Generate the implementation plan** with the full benefit of freshly verified research and context. Make all architectural and implementation decisions autonomously. Document rationale for every non-obvious choice.
316
+
317
+ 7. **Write** `docs/plans/YYYY-MM-DD-<task-slug>.md`:
318
+
319
+ ```markdown
320
+ # Plan: <Task>
321
+ _Date: YYYY-MM-DD_
322
+ _Context: docs/context/<file>.md_
323
+ _Research: docs/research/<file>.md_
324
+
325
+ ## Goal
326
+ What this plan accomplishes in 1-2 sentences.
327
+
328
+ ## Decisions & Rationale
329
+ Every non-obvious choice, with reasoning.
330
+
331
+ ## Steps
332
+ ### Step 1: [Title]
333
+ - **File:** `exact/path/to/file`
334
+ - **What:** Specific change description
335
+ - **Why:** Reasoning if non-obvious
336
+ - **Code:** Complete code to write
337
+ - **Verify:** Exact command and expected output
338
+
339
+ ## Verification Plan
340
+ - [ ] Tests, lint, build, manual checks — exact commands
341
+
342
+ ## Risks
343
+ Known risks and mitigation.
344
+ ```
345
+
346
+ Each step: 2-5 minutes, one action, concrete enough for a zero-context subagent.
347
+
348
+ #### Report
349
+
350
+ 8. **Output all three file paths** and a summary:
351
+ - Research: what was learned or updated
352
+ - Context: what was captured or changed
353
+ - Plan: goal, number of steps, key decisions
354
+
355
+ The plan is now ready for `/go` to execute.
356
+ ```
357
+
358
+ **Step 2: Validate syntax**
359
+
360
+ Run: `cat claude/commands/prep.md | head -1`
361
+ Expected: `## Full Preparation Pipeline`
362
+
363
+ **Step 3: Commit**
364
+
365
+ ```bash
366
+ git add claude/commands/prep.md
367
+ git commit -m "feat(claude): add /prep command — orchestrates research, context, and planning"
368
+ ```
369
+
370
+ ---
371
+
372
+ ### Task 4: Create `/go` command
373
+
374
+ **Files:**
375
+ - Create: `claude/commands/go.md`
376
+
377
+ **Step 1: Write the command file**
378
+
379
+ ```markdown
380
+ ## Execute Plan to Completion
381
+
382
+ Read the latest implementation plan (or a specified one) and execute it autonomously to 100% completion. Every step is verified. Every claim is backed by evidence. Does not stop until the task is fully done and proven.
383
+
384
+ ### Input
385
+ $ARGUMENTS - optional path to a specific plan file. If omitted, finds the most recent file in `docs/plans/`.
386
+
387
+ ### Instructions
388
+
389
+ 1. **Load the plan:**
390
+ - If `$ARGUMENTS` specifies a file, read it
391
+ - Otherwise, find the most recent `.md` file in `docs/plans/` and read it
392
+ - If no plans exist, stop and tell the user to run `/prep` or `/plans` first
393
+
394
+ 2. **Load supporting context:**
395
+ - Read the `_Context:_` and `_Research:_` files referenced in the plan header
396
+ - Read the project CLAUDE.md if it exists
397
+ - This gives the executing agents full situational awareness
398
+
399
+ 3. **Review the plan critically** before starting:
400
+ - Are there any steps that seem wrong or outdated given current code?
401
+ - Are there missing dependencies between steps?
402
+ - If issues are found, fix the plan first, then execute the corrected version
403
+
404
+ 4. **Execute each step using subagent-driven development:**
405
+
406
+ For each step in the plan:
407
+
408
+ a. **Dispatch implementer subagent** (Agent tool, `subagent_type: "general-purpose"`):
409
+ - Provide the step details (file, what, why, code, verify)
410
+ - Provide relevant context from the loaded docs
411
+ - Implementer implements the change, runs the step's verify command, and commits
412
+
413
+ b. **Dispatch spec compliance reviewer** (Agent tool, `subagent_type: "general-purpose"`):
414
+ - Does the implementation match exactly what the plan specified?
415
+ - Are there deviations, missing pieces, or incorrect implementations?
416
+ - If issues: implementer fixes them before proceeding
417
+
418
+ c. **Dispatch code quality reviewer** (Agent tool, `subagent_type: "general-purpose"`):
419
+ - Does the code follow project conventions and patterns?
420
+ - Architecture, naming, error handling all sound?
421
+ - If issues: implementer fixes them before proceeding
422
+
423
+ d. **Verify the step** — run the step's verify command independently (don't trust the subagent's claim)
424
+
425
+ e. **Move to next step** only after current step is fully verified
426
+
427
+ 5. **Full verification after all steps complete:**
428
+
429
+ Run EVERY applicable verification from the plan's Verification Plan section:
430
+
431
+ - **Tests:** Run the full test suite (unit, integration, e2e — whatever exists). All must pass.
432
+ - **Lint/Format:** Run linter and formatter. Zero errors.
433
+ - **Build:** Run the build command. Must succeed.
434
+ - **Browser testing:** If frontend changes, use playwright or chrome MCP tools to verify rendering and behavior.
435
+ - **API testing:** If backend changes, test endpoints with curl/httpx against a running server.
436
+ - **Infrastructure:** If K8s/Terraform changes, run dry-run/plan commands.
437
+ - **Edge cases:** Test any edge cases listed in the Verification Plan.
438
+ - **Manual checks:** Execute any manual verification steps listed.
439
+
440
+ If ANY verification fails: diagnose, fix, re-verify. Do not skip failures.
441
+
442
+ 6. **Update artifacts after completion:**
443
+ - Update `docs/context/` if the implementation changed the architecture or introduced new patterns
444
+ - Mark the plan file as completed by adding to the top:
445
+ ```markdown
446
+ > **Status: COMPLETED** — _YYYY-MM-DD_
447
+ > **Summary:** [1-2 sentence summary of what was done]
448
+ ```
449
+ - Commit all remaining changes with conventional commit messages
450
+
451
+ 7. **Final step:** Invoke `superpowers:verification-before-completion` to confirm all claims. Then invoke `superpowers:finishing-a-development-branch` to handle branch completion (merge, PR, or cleanup).
452
+
453
+ 8. **Report:** Summary of what was implemented, all verification results, and any issues encountered and resolved.
454
+
455
+ ### Critical Rules
456
+
457
+ - **Never claim done without fresh verification output as evidence.**
458
+ - **Never skip a failing test.** Diagnose and fix it.
459
+ - **Never move to the next step with open issues.**
460
+ - **If blocked on a step,** try alternative approaches before asking for help.
461
+ - **One commit per logical change,** conventional commit format.
462
+ ```
463
+
464
+ **Step 2: Validate syntax**
465
+
466
+ Run: `cat claude/commands/go.md | head -1`
467
+ Expected: `## Execute Plan to Completion`
468
+
469
+ **Step 3: Commit**
470
+
471
+ ```bash
472
+ git add claude/commands/go.md
473
+ git commit -m "feat(claude): add /go command — executes plans to 100% verified completion"
474
+ ```
475
+
476
+ ---
477
+
478
+ ### Task 5: Create `/partyon` command
479
+
480
+ **Files:**
481
+ - Create: `claude/commands/partyon.md`
482
+
483
+ **Step 1: Write the command file**
484
+
485
+ ```markdown
486
+ ## Full Autopilot — Prep and Execute
487
+
488
+ The complete autonomous pipeline. Researches the codebase, builds context, creates an implementation plan, gets one approval, then executes to 100% verified completion.
489
+
490
+ Give it a task and walk away. Come back to done.
491
+
492
+ ### Input
493
+ $ARGUMENTS - task description (e.g., "add dark mode support", "refactor authentication to use JWT")
494
+
495
+ ### Instructions
496
+
497
+ #### Phase 1: Preparation
498
+
499
+ 1. **Run the full `/prep` pipeline:**
500
+
501
+ a. **Research** — deep codebase exploration scoped to the task:
502
+ - Read ALL existing `docs/research/`, `docs/context/`, `docs/plans/`, and project CLAUDE.md
503
+ - Verify findings against actual code (never trust docs blindly)
504
+ - Write/update `docs/research/YYYY-MM-DD-<topic>.md`
505
+
506
+ b. **Context** — validate and update the repo knowledge snapshot:
507
+ - Read existing context docs, verify against current state
508
+ - Update stale sections, add task-specific context
509
+ - Write/update `docs/context/YYYY-MM-DD-<repo-name>.md`
510
+
511
+ c. **Plan** — generate implementation plan with all decisions documented:
512
+ - Full benefit of freshly verified research + context
513
+ - All decisions autonomous with documented rationale
514
+ - Write `docs/plans/YYYY-MM-DD-<task-slug>.md`
515
+ - Each step: 2-5 minutes, exact file paths, complete code, verify commands
516
+
517
+ #### Phase 2: Checkpoint
518
+
519
+ 2. **Present the plan for approval.** This is the ONE moment of human input in the entire flow.
520
+
521
+ Output:
522
+ - The three artifact file paths (research, context, plan)
523
+ - A brief summary: goal, key decisions, number of steps, identified risks
524
+ - Ask: "Plan ready. Say 'go' to execute, or edit the plan file and tell me what changed."
525
+
526
+ **Skip checkpoint:** If `$ARGUMENTS` contains "no approval", "don't wait", "just do it", or "skip review" — skip this checkpoint and proceed directly to execution.
527
+
528
+ 3. **Wait for approval.** On any affirmative response ("go", "looks good", "yes", "ship it", etc.), proceed to Phase 3.
529
+
530
+ #### Phase 3: Execution
531
+
532
+ 4. **Execute the plan using the `/go` process:**
533
+
534
+ For each step:
535
+ a. Dispatch implementer subagent with step details + full context
536
+ b. Dispatch spec compliance reviewer — does implementation match plan?
537
+ c. Dispatch code quality reviewer — patterns, architecture, conventions
538
+ d. Fix any issues before moving to next step
539
+ e. Verify independently — run the step's verify command
540
+
541
+ 5. **Full verification after all steps:**
542
+ - Complete test suite (all must pass)
543
+ - Linter/formatter (zero errors)
544
+ - Build (must succeed)
545
+ - Browser testing if frontend (playwright/chrome MCP)
546
+ - API testing if backend
547
+ - Infrastructure dry-run if DevOps
548
+ - All edge cases and manual checks from the Verification Plan
549
+
550
+ If ANY verification fails: diagnose, fix, re-verify. Never skip.
551
+
552
+ 6. **Update artifacts:**
553
+ - Update `docs/context/` if architecture changed
554
+ - Mark plan as COMPLETED
555
+ - Commit all changes with conventional commit messages
556
+
557
+ 7. **Finish:** Invoke `superpowers:verification-before-completion`, then `superpowers:finishing-a-development-branch`.
558
+
559
+ 8. **Report:** Full summary of what was researched, decided, planned, implemented, and verified. Include all verification evidence.
560
+ ```
561
+
562
+ **Step 2: Validate syntax**
563
+
564
+ Run: `cat claude/commands/partyon.md | head -1`
565
+ Expected: `## Full Autopilot — Prep and Execute`
566
+
567
+ **Step 3: Commit**
568
+
569
+ ```bash
570
+ git add claude/commands/partyon.md
571
+ git commit -m "feat(claude): add /partyon command — full autopilot from task to verified completion"
572
+ ```
573
+
574
+ ---
575
+
576
+ ### Task 6: Update global CLAUDE.md with documentation leverage and autonomous execution sections
577
+
578
+ **Files:**
579
+ - Modify: `claude/CLAUDE.md` (the global `~/CLAUDE.md`)
580
+
581
+ **Step 1: Add "Leveraging Existing Documentation" section after "Core Principles" (after line 14)**
582
+
583
+ Insert after the Core Principles section:
584
+
585
+ ```markdown
586
+ ## Leveraging Existing Documentation
587
+
588
+ Before exploring any codebase, check for existing documentation artifacts:
589
+ 1. **`docs/context/`** — read the most recent context snapshot. This is your primary knowledge source.
590
+ 2. **`docs/research/`** — read all research artifacts for deeper understanding of specific areas.
591
+ 3. **`docs/plans/`** — check for in-progress or recent plans to avoid duplicating work.
592
+ 4. **Read the project CLAUDE.md** — conventions, commands, architecture specific to this repo.
593
+
594
+ These are trusted starting points. Verify against actual code for the specific area you're changing, but don't re-explore what's already documented. When you produce new understanding through your work, update the relevant doc so future sessions benefit.
595
+ ```
596
+
597
+ **Step 2: Strengthen "Core Principles" — update the "Plan first" bullet (line 10)**
598
+
599
+ Change:
600
+ ```markdown
601
+ - **Plan first, then one-shot.** Start complex tasks in plan mode. Iterate on the plan, then implement in one pass.
602
+ ```
603
+
604
+ To:
605
+ ```markdown
606
+ - **Plan first, then one-shot.** For complex tasks, use `/prep` to research, build context, and plan — then execute in one pass. Use `/partyon` for full autopilot. Avoid built-in plan mode (restricted tool access).
607
+ ```
608
+
609
+ **Step 3: Add "Autonomous Execution" section after "Leveraging Existing Documentation"**
610
+
611
+ ```markdown
612
+ ## Autonomous Execution
613
+
614
+ When given a task, the goal is maximum autonomous progress with minimum human input:
615
+ - Make best-practice decisions using current standards and document your rationale
616
+ - Don't ask about implementation details you can reasonably decide
617
+ - Use `docs/context/` and `docs/research/` to stay informed without re-exploring
618
+ - Verify your own work with actual command output, not assumptions
619
+ - When blocked, try alternative approaches before asking for help
620
+ - When a task is done, prove it's done with evidence — never claim success without verification output
621
+ ```
622
+
623
+ **Step 4: Verify the file is valid markdown**
624
+
625
+ Run: `head -20 claude/CLAUDE.md`
626
+ Expected: File starts with `# Global Claude Code Instructions` and has the new sections in place.
627
+
628
+ **Step 5: Commit**
629
+
630
+ ```bash
631
+ git add claude/CLAUDE.md
632
+ git commit -m "feat(claude): add documentation leverage and autonomous execution to global CLAUDE.md"
633
+ ```
634
+
635
+ ---
636
+
637
+ ### Task 7: Create `docs/context/` and `docs/research/` directories
638
+
639
+ **Files:**
640
+ - Create: `docs/context/.gitkeep`
641
+ - Create: `docs/research/.gitkeep`
642
+
643
+ **Step 1: Create directories with .gitkeep files**
644
+
645
+ ```bash
646
+ mkdir -p docs/context docs/research
647
+ touch docs/context/.gitkeep docs/research/.gitkeep
648
+ ```
649
+
650
+ **Step 2: Commit**
651
+
652
+ ```bash
653
+ git add docs/context/.gitkeep docs/research/.gitkeep
654
+ git commit -m "chore: add docs/context and docs/research directories for persistent artifacts"
655
+ ```
656
+
657
+ ---
658
+
659
+ ### Task 8: Sync commands to system
660
+
661
+ **Step 1: Verify all command files exist**
662
+
663
+ Run: `ls -la claude/commands/{context,plans,prep,go,partyon}.md`
664
+ Expected: All five files listed.
665
+
666
+ **Step 2: Run push-configs to deploy**
667
+
668
+ Run: `./scripts/sync/push-configs.zsh`
669
+ Expected: Script completes without errors. Claude commands are synced to `~/.claude/commands/`.
670
+
671
+ **Step 3: Verify commands are available**
672
+
673
+ Run: `ls -la ~/.claude/commands/{context,plans,prep,go,partyon}.md`
674
+ Expected: All five files present in the deployed location.
675
+
676
+ **Step 4: Commit any remaining changes**
677
+
678
+ If push-configs modified anything, commit it:
679
+ ```bash
680
+ git add -A
681
+ git commit -m "chore: sync autonomous command suite to system"
682
+ ```