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,82 @@
1
+ ## Ship to Dev
2
+
3
+ Full deployment pipeline — test, lint, build, commit, push, create PR, deploy to dev environment, and monitor until healthy. Does not stop until the deployment is verified and logs are clean.
4
+
5
+ **Do NOT delegate this command to a subagent.** This is an orchestration command — Opus runs it directly.
6
+
7
+ ### Input
8
+ $ARGUMENTS - optional description of what's being shipped. If omitted, infers from recent commits and uncommitted changes.
9
+
10
+ ### Instructions
11
+
12
+ 1. **Gather deployment context:**
13
+ - Read project CLAUDE.md and `docs/context/` for deployment workflow
14
+ - Detect deployment method:
15
+ - Check for `.github/workflows/` → GitHub Actions CI/CD
16
+ - Check for `Dockerfile` / `docker-compose.yml` → Docker/Compose
17
+ - Check for `k8s/`, `manifests/`, `Chart.yaml` → Kubernetes/Helm
18
+ - Check for `terraform/` → Terraform
19
+ - Check for `appspec.yml`, `taskdef.json`, `ecs-params.yml` → AWS ECS
20
+ - Check for `Procfile` / `app.json` → Heroku/PaaS
21
+ - Detect if deployment is automatic on PR merge or requires manual dispatch
22
+ - Identify the dev/staging environment target
23
+
24
+ 2. **Pre-flight verification** (run in parallel):
25
+ - Run full test suite — ALL must pass
26
+ - Run linter — zero errors
27
+ - Run build — must succeed
28
+ - `git status` — check for uncommitted changes
29
+ - Check current branch is synced with remote
30
+
31
+ 3. **If any pre-flight fails:** diagnose, fix, re-verify. Do not proceed until everything passes.
32
+
33
+ 4. **Commit and push:**
34
+ - Stage relevant changes (not .env, credentials, etc.)
35
+ - Commit with conventional commit message
36
+ - Ensure branch is rebased on main/master (pull latest, rebase if needed)
37
+ - Push to remote with `-u` flag
38
+
39
+ 5. **Create PR:**
40
+ - Use `gh pr create` with clear title and description
41
+ - Include Summary and Test Plan sections
42
+ - Link any related issues
43
+
44
+ 6. **Deploy to dev:**
45
+ - **If CI/CD auto-deploys on PR:** Monitor the CI pipeline:
46
+ - `gh pr checks --watch` or poll `gh run list` until deployment workflow completes
47
+ - If the deploy workflow fails, read logs with `gh run view --log-failed`, diagnose, fix, and re-push
48
+ - **If manual dispatch needed:**
49
+ - `gh workflow run <deploy-workflow> --ref <branch>` or the appropriate trigger
50
+ - Monitor until the workflow completes
51
+ - **If Docker Compose:** Run `docker compose up -d` on the target (via SSH if remote)
52
+ - **If K8s:** Apply manifests with `kubectl apply --dry-run=client` first, then apply. Watch rollout: `kubectl rollout status deployment/<name>`
53
+ - **If ECS:** Check service update: `aws ecs describe-services` and wait for running count to match desired
54
+
55
+ 7. **Post-deploy monitoring:**
56
+ - **Container/pod logs:** Tail logs for 30-60 seconds looking for errors:
57
+ - K8s: `kubectl logs -f deployment/<name> --tail=50 --timeout=60s`
58
+ - ECS: `aws logs tail <log-group> --since 5m`
59
+ - Docker: `docker compose logs --tail=50 -f` (with timeout)
60
+ - **Health checks:** Hit health endpoints if available (from docs/context)
61
+ - **Error scanning:** Look for ERROR, FATAL, panic, unhandled, exception in logs
62
+ - **Resource checks:** Pod/container status, restart counts, memory/CPU if available
63
+
64
+ 8. **If monitoring finds issues:**
65
+ - Diagnose from logs
66
+ - Fix the code
67
+ - Re-run pre-flight verification
68
+ - Push the fix
69
+ - Re-monitor
70
+ - Do NOT mark as done until logs are clean
71
+
72
+ 9. **Report:**
73
+ ```
74
+ ## Ship Report
75
+ - **PR:** <URL>
76
+ - **CI Status:** passing
77
+ - **Deployed to:** <dev environment>
78
+ - **Deployment method:** <CI/CD auto / manual dispatch / kubectl / etc.>
79
+ - **Health check:** passing
80
+ - **Logs:** clean (monitored for N seconds)
81
+ - **Status:** Healthy and verified
82
+ ```
@@ -0,0 +1,42 @@
1
+ ## Code Simplifier
2
+
3
+ **Before delegating, gather project context:**
4
+ 1. Check if `docs/context/` has a context snapshot — if so, read the most recent one and extract the Patterns & Conventions and Architecture sections
5
+ 2. Read the project CLAUDE.md if it exists — extract Conventions section
6
+ 3. Pass this context to the subagent below so it knows which patterns to preserve
7
+
8
+ **Then delegate this task to a subagent using the Agent tool with `model: "sonnet"` and `subagent_type: "general-purpose"`.** Pass the full prompt below (with context injected) to the subagent and relay its result.
9
+
10
+ ### Input
11
+ $ARGUMENTS - file path or "all" for all recently changed files
12
+
13
+ ### Subagent prompt
14
+
15
+ You are simplifying code without changing behavior. Target: $ARGUMENTS
16
+
17
+ **Project Context:**
18
+ [Inject Patterns & Conventions, Architecture from docs/context if available]
19
+ [Inject Conventions from project CLAUDE.md if available]
20
+ If no project context is available, infer conventions from the codebase before simplifying.
21
+
22
+ 1. If "all", run `git diff --name-only` to get changed files. Otherwise use the specified file(s).
23
+
24
+ 2. Read each file and look for:
25
+ - Dead code, unused imports, unused variables
26
+ - Overly complex conditionals that can be simplified
27
+ - Duplicated logic that can be extracted (only if used 3+ times)
28
+ - Unnecessary abstractions or over-engineering
29
+ - Verbose patterns that have simpler equivalents
30
+
31
+ 3. Apply simplifications. Do NOT:
32
+ - Change public APIs or function signatures
33
+ - Alter behavior or logic
34
+ - Add new features or "improvements"
35
+ - Remove meaningful comments
36
+ - Break established project conventions (use project context to know what these are)
37
+
38
+ 4. Run the relevant test suite to verify nothing broke:
39
+ - TypeScript: `npx jest` or `npm test`
40
+ - Python: `pytest -v`
41
+
42
+ 5. Show a summary of simplifications made with before/after for each change.
@@ -0,0 +1,110 @@
1
+ ## Technical Spike — Timeboxed Investigation with Decision Artifact
2
+
3
+ Explore whether something is feasible, compare approaches, or answer a technical question. Produces a persistent decision artifact that future `/prep` and `/plans` agents can reference so the same question never gets investigated twice.
4
+
5
+ Different from `/research` (which understands what exists) — a spike proves what's possible by writing throwaway code, benchmarking, testing integrations, and producing a go/no-go decision.
6
+
7
+ **Do NOT delegate this command to a subagent.** This is an orchestration command — Opus runs it directly.
8
+
9
+ ### Input
10
+ $ARGUMENTS - optional: the question or hypothesis to investigate (e.g., "can we use WebSockets instead of polling?", "is Redis worth adding for caching?"). If omitted, check for IN PROGRESS spikes to resume.
11
+
12
+ ### Instructions
13
+
14
+ 1. **Check for existing spikes:**
15
+ - If `$ARGUMENTS` is empty, scan `docs/spikes/` for `_Status: IN PROGRESS_` — resume the most recent one
16
+ - If no in-progress spikes exist and no arguments given, tell the user to provide a question
17
+ - If `$ARGUMENTS` is provided, check `docs/spikes/` for existing spikes on the same topic — don't duplicate work
18
+ - If a completed spike already answers the question, report its findings and decision instead of re-investigating
19
+
20
+ 2. **Load context and frame the investigation:**
21
+ - Read `docs/context/` for the most recent context snapshot — understand the current architecture
22
+ - Read project CLAUDE.md if it exists — understand conventions and constraints
23
+ - Read `docs/research/` for any relevant research on the topic area
24
+ - Read `docs/spikes/` for related past investigations — build on prior work
25
+ - Read `docs/incidents/` for past incidents in this area — what has broken before?
26
+
27
+ 3. **Frame the investigation** (informed by the context above):
28
+ - State the **Question** — what are we trying to answer?
29
+ - State the **Hypothesis** — what do we think the answer is and why?
30
+ - Define **Success Criteria** — what evidence would confirm or deny the hypothesis?
31
+ - Define **Scope Boundary** — what are we NOT investigating? (prevents scope creep)
32
+
33
+ 4. **Create the spike document** at `docs/spikes/YYYY-MM-DD-<topic-slug>.md`:
34
+
35
+ ```markdown
36
+ # Spike: <Question>
37
+ _Status: IN PROGRESS_
38
+ _Started: YYYY-MM-DD_
39
+ _Phase: Investigation_
40
+
41
+ ## Question
42
+ What we're trying to answer.
43
+
44
+ ## Hypothesis
45
+ What we think the answer is and why.
46
+
47
+ ## Success Criteria
48
+ - [ ] Criterion 1
49
+ - [ ] Criterion 2
50
+
51
+ ## Scope Boundary
52
+ What we're NOT investigating.
53
+
54
+ ## Investigation Log
55
+
56
+ ### Attempt 1: [Approach]
57
+ **What:** What was tried
58
+ **Result:** What happened
59
+ **Evidence:** Command output, benchmarks, code snippets
60
+
61
+ ## Evidence Summary
62
+
63
+ | Approach | Feasible? | Effort | Trade-offs |
64
+ |----------|-----------|--------|------------|
65
+
66
+ ## Decision
67
+ _Pending investigation completion_
68
+
69
+ ## Recommendation
70
+ _Pending_
71
+
72
+ ## Next Steps
73
+ _Pending_
74
+ ```
75
+
76
+ 5. **Investigate:**
77
+ - Try the most promising approach first
78
+ - Write throwaway code if needed — don't over-engineer, just prove feasibility
79
+ - Run benchmarks, test integrations, check compatibility
80
+ - Log each attempt in the Investigation Log with actual evidence (command output, measurements, code)
81
+ - Update `_Phase_` as you progress: `Investigation` → `Evidence Gathering` → `Decision`
82
+ - If an approach fails, log why and try the next one
83
+ - Update the Evidence Summary table after each approach tested
84
+
85
+ 6. **Reach a decision:**
86
+ - Review all evidence against the Success Criteria
87
+ - Fill in the **Decision** section with one of:
88
+ - **GO** — feasible and recommended. Proceed to implementation.
89
+ - **NO-GO** — not feasible or not worth it. Document why.
90
+ - **CONDITIONAL** — feasible under certain conditions. Document the conditions.
91
+ - Fill in **Recommendation** — what should be done next based on this decision
92
+ - Fill in **Next Steps** — concrete actions (e.g., "create a `/plans` for X", "add to backlog", "needs further spike on Y")
93
+
94
+ 7. **Finalize:**
95
+ - Check all Success Criteria boxes (met or not met)
96
+ - Update `_Status: COMPLETED_` (or `_Status: ABANDONED_` if the question became irrelevant)
97
+ - Add `_Completed: YYYY-MM-DD_`
98
+ - Add `_Decision: GO/NO-GO/CONDITIONAL_`
99
+ - Clean up any throwaway code created during investigation
100
+ - If the spike changes understanding of the architecture, update `docs/context/`
101
+
102
+ 8. **Report:** The question, the decision, key evidence, and recommended next steps.
103
+
104
+ ### Critical Rules
105
+
106
+ - **Evidence over opinion.** Every claim in the Decision must be backed by actual output, measurements, or tested code.
107
+ - **Log everything.** Even failed approaches are valuable — they prevent future agents from re-trying dead ends.
108
+ - **Don't implement.** A spike proves feasibility. Implementation comes after via `/plans` and `/go`.
109
+ - **Don't scope-creep.** Stick to the Scope Boundary. If new questions emerge, note them in Next Steps as separate spikes.
110
+ - **Update status faithfully.** If interrupted, leave `_Status: IN PROGRESS_` with `_Phase_` so the next agent knows exactly where to pick up.
@@ -0,0 +1,37 @@
1
+ ## Project Status
2
+
3
+ For a richer dashboard including PRs, plans, and handoff state, use `/dash`.
4
+
5
+ **IMPORTANT: Immediately delegate this entire task to a subagent using the Agent tool with `model: "haiku"` and `subagent_type: "general-purpose"`.** Do not run any commands yourself. Pass the full prompt below to the subagent and relay its result.
6
+
7
+ ### Subagent prompt
8
+
9
+ You are generating a quick situational report for the current project.
10
+
11
+ Run all of these in parallel:
12
+ - `git branch --show-current`
13
+ - `git status --short`
14
+ - `git log --oneline -10`
15
+ - `git stash list`
16
+ - `git diff --stat`
17
+ - `git diff --staged --stat`
18
+
19
+ Then format a concise report:
20
+
21
+ ```
22
+ Branch: <current branch>
23
+ Tracking: <ahead/behind remote status>
24
+
25
+ Staged: <N files>
26
+ Modified: <N files>
27
+ Untracked: <N files>
28
+ Stashes: <N>
29
+
30
+ Recent commits:
31
+ <last 5 commits, one line each>
32
+
33
+ Uncommitted changes:
34
+ <file list with status indicators (M/A/D/?)>
35
+ ```
36
+
37
+ Keep it short and scannable. No commentary — just the facts.
@@ -0,0 +1,72 @@
1
+ ## Multi-Machine Config Sync
2
+
3
+ Commit, push, then deploy configs to target machines via SSH. One command to sync your configs repo across all machines (or specific ones).
4
+
5
+ **IMPORTANT: Immediately delegate this entire task to a subagent using the Agent tool with `model: "haiku"` and `subagent_type: "general-purpose"`.** Do not perform operations yourself. Pass the full prompt below to the subagent and relay its result.
6
+
7
+ ### Input
8
+ $ARGUMENTS - optional: space-separated machine names (e.g., "mikpc", "mikpc duplo"). If omitted, syncs to ALL configured machines.
9
+
10
+ ### Subagent prompt
11
+
12
+ You are syncing the configs repo across machines. Target machines: $ARGUMENTS (if empty, sync to all).
13
+
14
+ **Machine registry** (from MEMORY.md — verify with SSH before attempting):
15
+
16
+ | Machine | SSH Host | Dropbox Path | Notes |
17
+ |---------|----------|-------------|-------|
18
+ | mikpc | `mikpc` | `~/Dropbox/mikpc/dev/configs` | WSL, NTFS quirks with mcp.json |
19
+ | duplo | `duplo` | `~/Dropbox/duplo/dev/chiefmikey/configs` | Work Mac |
20
+ | mikbook | `mikbook` | `~/Dropbox/mikbook/dev/configs` | MacBook |
21
+
22
+ 1. **Pre-sync checks** on the local machine:
23
+ - `git status` — check for uncommitted changes
24
+ - If uncommitted changes exist: stage, commit with a conventional commit message, push
25
+ - If already committed but not pushed: push
26
+ - If clean and pushed: proceed to sync
27
+
28
+ 2. **For each target machine** (run sequentially — SSH sessions can't overlap safely):
29
+
30
+ a. **Verify connectivity:** `ssh -o ConnectTimeout=5 -o BatchMode=yes <host> echo ok`
31
+ - If unreachable (timeout, refused, DNS failure), log a warning and skip this machine entirely
32
+ - Don't fail the whole run — continue to the next machine
33
+ - Record reason for skip (timeout, connection refused, auth failed, etc.)
34
+
35
+ b. **Pull latest on the remote:**
36
+ ```bash
37
+ ssh <host> "cd <dropbox-path> && git pull --ff-only"
38
+ ```
39
+ - If pull fails (merge conflict, dirty working tree, etc.), log the error and skip deploy. Don't force.
40
+
41
+ c. **Deploy configs on the remote:**
42
+ ```bash
43
+ ssh <host> "cd <dropbox-path> && ./scripts/sync/push-configs.zsh"
44
+ ```
45
+ - Capture output. Check for `[SUCCESS]` and `[ERROR]` lines.
46
+
47
+ d. **Record the deployed commit:**
48
+ ```bash
49
+ ssh <host> "cd <dropbox-path> && git log --oneline -1"
50
+ ```
51
+
52
+ e. **Verify critical paths** (quick smoke test):
53
+ ```bash
54
+ ssh <host> "git config user.email && echo 'git: ok'"
55
+ ssh <host> "command -v zsh && echo 'zsh: ok'"
56
+ ```
57
+
58
+ 3. **Report:**
59
+ ```
60
+ ## Sync Report
61
+ Local commit: abc1234 feat: latest change
62
+
63
+ | Machine | Status | Commit | Details |
64
+ |---------|--------|--------|---------|
65
+ | mikpc | synced | abc1234 | push-configs: ok (3 warnings) |
66
+ | duplo | synced | abc1234 | push-configs: ok |
67
+ | mikbook | skipped | — | unreachable (connection timed out) |
68
+
69
+ **Successfully synced:** 2/3 machines
70
+ **Skipped:** mikbook (unreachable)
71
+ **Warnings:** [any warnings from push-configs on synced machines]
72
+ ```
@@ -0,0 +1,29 @@
1
+ ## Run Tests
2
+
3
+ **IMPORTANT: Immediately delegate this entire task to a subagent using the Agent tool with `model: "haiku"` and `subagent_type: "general-purpose"`.** Do not run any commands yourself. Pass the full prompt below to the subagent and relay its result.
4
+
5
+ ### Input
6
+ $ARGUMENTS - optional: specific test file, directory, or test name to run
7
+
8
+ ### Subagent prompt
9
+
10
+ You are running the test suite and reporting results. Target: $ARGUMENTS
11
+
12
+ 1. Detect the project type and test framework:
13
+ - `jest.config*` or `package.json` with jest → `npx jest`
14
+ - `vitest.config*` → `npx vitest run`
15
+ - `pytest.ini` / `conftest.py` / `pyproject.toml` with pytest → `pytest -v`
16
+ - `cypress.config*` → `npx cypress run`
17
+ - `playwright.config*` → `npx playwright test`
18
+ - `angular.json` → `npx ng test --watch=false`
19
+
20
+ 2. Run the tests:
21
+ - If a specific target was given, run only that
22
+ - Otherwise run the full suite
23
+
24
+ 3. Parse the output and report:
25
+ - Total tests: passed / failed / skipped
26
+ - For any failures: test name, file:line, and the error message
27
+ - Overall verdict: **ALL PASSING** or **X FAILURES**
28
+
29
+ 4. If there are failures, briefly suggest likely causes based on the error messages
@@ -0,0 +1,72 @@
1
+ ## Smart Triage
2
+
3
+ Analyze an error, bug report, stack trace, or issue and route it to the right command with full context. Stops you from being the router — Claude figures out what tool to use.
4
+
5
+ ### Input
6
+ $ARGUMENTS - optional: error message, stack trace, GitHub issue URL, bug description, or Slack message. If omitted, proactively scans for issues to triage.
7
+
8
+ ### Instructions
9
+
10
+ 0. **If no arguments provided — scan for issues:**
11
+ - Run tests and check for failures
12
+ - Run lint/build and check for errors
13
+ - Check `docs/incidents/` for `_Status: ACTIVE_` or `_Status: MITIGATED_` incidents
14
+ - Check for open GitHub issues if `gh` CLI is available: `gh issue list --assignee @me --limit 10`
15
+ - Check `git stash list` for abandoned work
16
+ - Check `docs/plans/` for stalled `_Status: IN PROGRESS_` plans (no Execution Journal update in 24h+)
17
+ - If issues found: triage the most severe one first, then list remaining issues with recommended commands
18
+ - If no issues found: report "No issues detected. Tests pass, build clean, no active incidents."
19
+
20
+ 1. **Gather project context:**
21
+ - Read project CLAUDE.md if it exists
22
+ - Read the most recent `docs/context/` snapshot if it exists
23
+ - Check `docs/incidents/` for related past incidents — has this happened before?
24
+ - Check `docs/spikes/` for related decisions — was this area already investigated?
25
+ - This informs the diagnosis with architecture awareness and institutional memory
26
+
27
+ 2. **Analyze the input:**
28
+ - What type of problem is this? (runtime error, build failure, test failure, deployment issue, performance, security, feature request, config issue)
29
+ - What area of the codebase does it affect? (Use project context to map error to component)
30
+ - What's the likely root cause? (Trace from the error message/stack trace)
31
+ - What's the severity? (blocking, degraded, cosmetic, enhancement)
32
+ - What's the estimated complexity? (quick fix, moderate, complex refactor)
33
+
34
+ 3. **If a GitHub issue URL was provided,** fetch it with `gh issue view <number>` to get full details, comments, and labels.
35
+
36
+ 4. **Route to the right command:**
37
+
38
+ | Diagnosis | Recommended Command | Reasoning |
39
+ |-----------|-------------------|-----------|
40
+ | Clear bug with known location | `/fix-and-test` | Direct diagnosis and fix |
41
+ | Complex bug needing investigation | `/research` then `/fix-and-test` | Need to understand the area first |
42
+ | Test failure | `/fix-and-test` | Diagnose and fix the test |
43
+ | Build/lint failure | `/lint` or `/fix-and-test` | Depends on the error type |
44
+ | K8s/infrastructure issue | `/k8s-debug` | Specialized debugging |
45
+ | Production outage / active incident | `/incident` | Structured incident response — mitigate first |
46
+ | Security vulnerability | `/guard` then `/fix-and-test` | Audit scope, then fix |
47
+ | Feature request / new functionality | `/prep` or `/partymode` | Needs planning before implementation |
48
+ | Feasibility question / approach decision | `/spike` | Prove feasibility before planning |
49
+ | Config/deployment issue | `/deploy-check` | Check deployment health |
50
+ | Performance issue | `/research` | Need to understand before optimizing |
51
+ | External PR needs review | `/review-pr` | Full context-aware PR review |
52
+ | Multiple related issues | `/plans` | Plan a coordinated fix |
53
+ | Unknown / ambiguous | `/research` | Understand before acting |
54
+
55
+ 5. **Output the triage report:**
56
+
57
+ ```
58
+ ## Triage: [Brief title]
59
+
60
+ **Type:** [runtime error / build failure / test failure / etc.]
61
+ **Severity:** [blocking / degraded / cosmetic / enhancement]
62
+ **Complexity:** [quick fix / moderate / complex]
63
+ **Affected area:** [component/file/service based on project context]
64
+ **Likely root cause:** [1-2 sentences]
65
+
66
+ **Recommended action:** `/command-name <specific arguments>`
67
+ **Reasoning:** [Why this command, what it will do]
68
+
69
+ **Alternative:** `/other-command` if [condition]
70
+ ```
71
+
72
+ 6. **Automatically invoke the recommended command above.** Do not ask — just run it directly.
@@ -0,0 +1,9 @@
1
+ {
2
+ "preferences": {
3
+ "menuBarEnabled": true,
4
+ "quickEntryShortcut": "off",
5
+ "coworkScheduledTasksEnabled": false,
6
+ "sidebarMode": "code",
7
+ "coworkWebSearchEnabled": true
8
+ }
9
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "hooks": {
3
+ "PostToolUse": [
4
+ {
5
+ "matcher": "Edit|Write",
6
+ "hooks": [
7
+ {
8
+ "type": "command",
9
+ "command": "filepath=\"$CLAUDE_FILE_PATH\"; if [ -z \"$filepath\" ]; then exit 0; fi; case \"$filepath\" in *.ts|*.tsx|*.js|*.jsx|*.json|*.css|*.scss|*.html) npx prettier --write \"$filepath\" 2>/dev/null;; *.py) if command -v ruff &>/dev/null; then ruff format \"$filepath\" 2>/dev/null; ruff check --fix \"$filepath\" 2>/dev/null; elif python3 -m ruff --version &>/dev/null; then python3 -m ruff format \"$filepath\" 2>/dev/null; python3 -m ruff check --fix \"$filepath\" 2>/dev/null; elif command -v black &>/dev/null; then black \"$filepath\" 2>/dev/null; fi;; *.yaml|*.yml) if command -v prettier &>/dev/null; then prettier --write \"$filepath\" 2>/dev/null; fi;; esac; exit 0"
10
+ }
11
+ ]
12
+ }
13
+ ]
14
+ }
15
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "duplo": {
3
+ "type": "stdio",
4
+ "command": "bash",
5
+ "args": ["__CONFIG_DIR__/scripts/mcp/duplo-mcp-wrapper.sh"],
6
+ "env": {}
7
+ }
8
+ }
@@ -0,0 +1,62 @@
1
+ {
2
+ "kubernetes": {
3
+ "type": "stdio",
4
+ "command": "npx",
5
+ "args": ["-y", "kubernetes-mcp-server"],
6
+ "env": {}
7
+ },
8
+ "docker": {
9
+ "type": "stdio",
10
+ "command": "uvx",
11
+ "args": ["docker-mcp"],
12
+ "env": {}
13
+ },
14
+ "memory": {
15
+ "type": "stdio",
16
+ "command": "npx",
17
+ "args": ["-y", "@modelcontextprotocol/server-memory"],
18
+ "env": {}
19
+ },
20
+ "github": {
21
+ "type": "stdio",
22
+ "command": "__CONFIG_DIR__/scripts/mcp/github-mcp-wrapper.sh",
23
+ "args": [],
24
+ "env": {}
25
+ },
26
+ "context7": {
27
+ "type": "stdio",
28
+ "command": "npx",
29
+ "args": ["-y", "@upstash/context7-mcp@latest"],
30
+ "env": {}
31
+ },
32
+ "mongodb": {
33
+ "type": "stdio",
34
+ "command": "npx",
35
+ "args": ["-y", "mongodb-mcp-server"],
36
+ "env": {}
37
+ },
38
+ "playwright": {
39
+ "type": "stdio",
40
+ "command": "npx",
41
+ "args": ["-y", "@playwright/mcp@latest"],
42
+ "env": {}
43
+ },
44
+ "terraform": {
45
+ "type": "stdio",
46
+ "command": "npx",
47
+ "args": ["-y", "@anthropic/terraform-mcp-server@latest"],
48
+ "env": {}
49
+ },
50
+ "notion": {
51
+ "type": "stdio",
52
+ "command": "npx",
53
+ "args": ["-y", "@notionhq/notion-mcp-server"],
54
+ "env": {}
55
+ },
56
+ "aws": {
57
+ "type": "stdio",
58
+ "command": "uvx",
59
+ "args": ["awslabs.core-mcp-server@latest"],
60
+ "env": {}
61
+ }
62
+ }
@@ -0,0 +1,7 @@
1
+ # psdebug.ps1 — Wrapper to run debug helper functions from non-interactive shells
2
+ # Usage: powershell -NoProfile -ExecutionPolicy Bypass -File psdebug.ps1 <FunctionName> [args...]
3
+ # Example: powershell -NoProfile -ExecutionPolicy Bypass -File psdebug.ps1 Get-GameCrashLogs -Hours 2
4
+
5
+ $env:PSDEBUG_QUIET = '1'
6
+ . 'C:\Users\wolfe\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1' 2>$null
7
+ Invoke-Expression ($args -join ' ')
@@ -0,0 +1,38 @@
1
+ {
2
+ "includeCoAuthoredBy": false,
3
+ "permissions": {
4
+ "deny": [
5
+ "Bash(git push --force *)",
6
+ "Bash(git push * --force*)",
7
+ "Bash(git push --force-with-lease *)",
8
+ "Bash(git reset --hard *)",
9
+ "Bash(git clean *)",
10
+ "Bash(git branch -D *)",
11
+ "Bash(rm -rf *)",
12
+ "Bash(rm -r *)",
13
+ "Bash(sudo rm -rf *)",
14
+ "Bash(sudo rm -r *)",
15
+ "Bash(terraform apply *)",
16
+ "Bash(terraform destroy *)",
17
+ "Bash(kubectl delete namespace *)",
18
+ "Bash(docker system prune *)",
19
+ "Bash(pkill *)",
20
+ "Bash(sudo pkill *)",
21
+ "Bash(kill -9 *)",
22
+ "Bash(sudo kill -9 *)",
23
+ "Bash(killall *)",
24
+ "Bash(sudo killall *)",
25
+ "Bash(ssh-keygen *)"
26
+ ],
27
+ "defaultMode": "bypassPermissions"
28
+ },
29
+ "model": "opus",
30
+ "statusLine": {
31
+ "type": "command",
32
+ "command": "bash ~/.claude/statusline-command.sh"
33
+ },
34
+ "enabledPlugins": {
35
+ "superpowers@claude-plugins-official": true
36
+ },
37
+ "skipDangerousModePermissionPrompt": true
38
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "outputStyle": "default",
3
+ "prefersReducedMotion": false
4
+ }