aiblueprint-cli 1.4.59 → 1.4.60

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 (179) hide show
  1. package/README.md +16 -36
  2. package/agents-config/agents/action.md +1 -1
  3. package/agents-config/agents/explore-codebase.md +53 -53
  4. package/agents-config/agents/explore-docs.md +50 -69
  5. package/agents-config/agents/websearch.md +36 -40
  6. package/agents-config/claude-config/scripts/.claude/skills/fix-on-my-computer/SKILL.md +81 -0
  7. package/agents-config/claude-config/scripts/CLAUDE.md +10 -4
  8. package/agents-config/claude-config/scripts/bun.lockb +0 -0
  9. package/agents-config/claude-config/scripts/package.json +22 -30
  10. package/agents-config/claude-config/scripts/statusline/CLAUDE.md +37 -155
  11. package/agents-config/claude-config/scripts/statusline/README.md +18 -94
  12. package/agents-config/claude-config/scripts/statusline/defaults.json +13 -10
  13. package/agents-config/claude-config/scripts/statusline/fixtures/mock-transcript.jsonl +4 -4
  14. package/agents-config/claude-config/scripts/statusline/fixtures/test-input.json +4 -4
  15. package/agents-config/claude-config/scripts/statusline/src/commands/interactive-config.ts +403 -0
  16. package/agents-config/claude-config/scripts/statusline/src/index.ts +33 -82
  17. package/agents-config/claude-config/scripts/statusline/src/lib/config-types.ts +7 -1
  18. package/agents-config/claude-config/scripts/statusline/src/lib/formatters.ts +40 -0
  19. package/agents-config/claude-config/scripts/statusline/src/lib/presets.ts +13 -13
  20. package/agents-config/claude-config/scripts/statusline/src/lib/render-pure.ts +24 -5
  21. package/agents-config/claude-config/scripts/statusline/statusline.config.free.json +79 -0
  22. package/agents-config/claude-config/scripts/statusline/statusline.config.json +77 -77
  23. package/agents-config/commands/prompts/create-vitejs-app.md +272 -0
  24. package/agents-config/commands/prompts/nextjs-add-prisma-db.md +136 -0
  25. package/agents-config/commands/prompts/nextjs-setup-better-auth.md +173 -0
  26. package/agents-config/commands/prompts/nextjs-setup-project.md +200 -0
  27. package/agents-config/commands/prompts/prompt.md +55 -0
  28. package/agents-config/commands/prompts/saas-challenge-idea.md +135 -0
  29. package/agents-config/commands/prompts/saas-create-architecture.md +242 -0
  30. package/agents-config/commands/prompts/saas-create-headline.md +132 -0
  31. package/agents-config/commands/prompts/saas-create-landing-copywritting.md +267 -0
  32. package/agents-config/commands/prompts/saas-create-legals-docs.md +176 -0
  33. package/agents-config/commands/prompts/saas-create-logos.md +240 -0
  34. package/agents-config/commands/prompts/saas-create-prd.md +195 -0
  35. package/agents-config/commands/prompts/saas-create-tasks.md +240 -0
  36. package/agents-config/commands/prompts/saas-define-pricing.md +293 -0
  37. package/agents-config/commands/prompts/saas-find-domain-name.md +190 -0
  38. package/agents-config/commands/prompts/saas-implement-landing-page.md +257 -0
  39. package/agents-config/commands/prompts/setup-tmux.md +160 -0
  40. package/agents-config/commands/prompts/tools.md +148 -0
  41. package/agents-config/scripts/.claude/skills/fix-on-my-computer/SKILL.md +81 -0
  42. package/agents-config/scripts/CLAUDE.md +37 -0
  43. package/agents-config/scripts/biome.json +37 -0
  44. package/agents-config/scripts/bun.lockb +0 -0
  45. package/agents-config/scripts/package.json +24 -0
  46. package/agents-config/scripts/statusline/CLAUDE.md +87 -0
  47. package/agents-config/scripts/statusline/README.md +117 -0
  48. package/agents-config/scripts/statusline/__tests__/context.test.ts +229 -0
  49. package/agents-config/scripts/statusline/__tests__/formatters.test.ts +108 -0
  50. package/agents-config/scripts/statusline/__tests__/statusline.test.ts +309 -0
  51. package/agents-config/scripts/statusline/defaults.json +82 -0
  52. package/agents-config/scripts/statusline/fixtures/mock-transcript.jsonl +4 -0
  53. package/agents-config/scripts/statusline/fixtures/test-input.json +35 -0
  54. package/agents-config/scripts/statusline/src/commands/interactive-config.ts +403 -0
  55. package/agents-config/scripts/statusline/src/index.ts +141 -0
  56. package/agents-config/scripts/statusline/src/lib/config-types.ts +110 -0
  57. package/agents-config/scripts/statusline/src/lib/config.ts +21 -0
  58. package/agents-config/scripts/statusline/src/lib/context.ts +103 -0
  59. package/agents-config/scripts/statusline/src/lib/formatters.ts +426 -0
  60. package/agents-config/scripts/statusline/src/lib/git.ts +100 -0
  61. package/agents-config/scripts/statusline/src/lib/menu-factories.ts +224 -0
  62. package/agents-config/scripts/statusline/src/lib/presets.ts +177 -0
  63. package/agents-config/scripts/statusline/src/lib/render-pure.ts +516 -0
  64. package/agents-config/scripts/statusline/src/lib/types.ts +36 -0
  65. package/agents-config/scripts/statusline/src/lib/utils.ts +15 -0
  66. package/agents-config/scripts/statusline/statusline.config.free.json +79 -0
  67. package/agents-config/scripts/statusline/statusline.config.json +79 -0
  68. package/agents-config/scripts/statusline/test-with-fixtures.ts +37 -0
  69. package/agents-config/scripts/statusline/test.ts +20 -0
  70. package/agents-config/scripts/statusline/tsconfig.json +27 -0
  71. package/agents-config/scripts/tsconfig.json +27 -0
  72. package/agents-config/skills/{subagent-creator → agents-managers}/SKILL.md +47 -47
  73. package/agents-config/skills/{subagent-creator/references/subagents.md → agents-managers/references/agents.md} +45 -45
  74. package/agents-config/skills/{subagent-creator → agents-managers}/references/context-management.md +20 -20
  75. package/agents-config/skills/{subagent-creator → agents-managers}/references/debugging-agents.md +27 -27
  76. package/agents-config/skills/{subagent-creator → agents-managers}/references/error-handling-and-recovery.md +19 -19
  77. package/agents-config/skills/{subagent-creator → agents-managers}/references/evaluation-and-testing.md +29 -29
  78. package/agents-config/skills/{subagent-creator → agents-managers}/references/orchestration-patterns.md +5 -5
  79. package/agents-config/skills/{subagent-creator/references/writing-subagent-prompts.md → agents-managers/references/writing-agent-prompts.md} +23 -23
  80. package/agents-config/skills/codex-environment/SKILL.md +2 -0
  81. package/agents-config/skills/commit/SKILL.md +2 -0
  82. package/agents-config/skills/create-pr/SKILL.md +2 -0
  83. package/agents-config/skills/environments-manager/SKILL.md +271 -0
  84. package/agents-config/skills/environments-manager/examples/claude/.worktreeinclude +3 -0
  85. package/agents-config/skills/environments-manager/examples/claude/commands/dev.md +5 -0
  86. package/agents-config/skills/environments-manager/examples/claude/commands/lint.md +5 -0
  87. package/agents-config/skills/environments-manager/examples/claude/commands/test.md +5 -0
  88. package/agents-config/skills/environments-manager/examples/claude/commands/typecheck.md +5 -0
  89. package/agents-config/skills/environments-manager/examples/claude/settings.json +24 -0
  90. package/agents-config/skills/environments-manager/examples/codex/environments/environment.toml +29 -0
  91. package/agents-config/skills/environments-manager/examples/cursor/worktrees.json +3 -0
  92. package/agents-config/skills/environments-manager/examples/scripts/claude-worktree-create.sh +96 -0
  93. package/agents-config/skills/environments-manager/examples/scripts/claude-worktree-remove.sh +66 -0
  94. package/agents-config/skills/environments-manager/examples/scripts/dev.sh +15 -0
  95. package/agents-config/skills/environments-manager/examples/scripts/worktree-down.sh +22 -0
  96. package/agents-config/skills/environments-manager/examples/scripts/worktree-up.sh +50 -0
  97. package/agents-config/skills/environments-manager/references/claude.md +156 -0
  98. package/agents-config/skills/environments-manager/references/codex.md +97 -0
  99. package/agents-config/skills/environments-manager/references/cursor.md +88 -0
  100. package/agents-config/skills/fix-pr-comments/SKILL.md +2 -0
  101. package/agents-config/skills/grill-me/SKILL.md +10 -0
  102. package/agents-config/skills/merge/SKILL.md +2 -0
  103. package/agents-config/skills/rules-manager/SKILL.md +191 -0
  104. package/agents-config/skills/rules-manager/references/agents-vs-claude.md +66 -0
  105. package/agents-config/skills/rules-manager/references/examples.md +117 -0
  106. package/agents-config/skills/skill-manager/SKILL.md +83 -0
  107. package/agents-config/skills/skill-manager/references/claude-code.md +81 -0
  108. package/agents-config/skills/skill-manager/references/codex.md +288 -0
  109. package/agents-config/skills/skill-manager/references/cursor.md +125 -0
  110. package/agents-config/skills/ultrathink/SKILL.md +2 -0
  111. package/package.json +1 -1
  112. package/agents-config/claude-config/scripts/statusline/data/.gitignore +0 -8
  113. package/agents-config/claude-config/scripts/statusline/data/.gitkeep +0 -0
  114. package/agents-config/claude-config/scripts/statusline/docs/ARCHITECTURE.md +0 -166
  115. package/agents-config/claude-config/scripts/statusline/src/tests/spend-v2.test.ts +0 -306
  116. package/agents-config/skills/apex/SKILL.md +0 -261
  117. package/agents-config/skills/apex/scripts/setup-templates.sh +0 -100
  118. package/agents-config/skills/apex/scripts/update-progress.sh +0 -80
  119. package/agents-config/skills/apex/steps/step-00-init.md +0 -267
  120. package/agents-config/skills/apex/steps/step-00b-branch.md +0 -126
  121. package/agents-config/skills/apex/steps/step-00b-economy.md +0 -244
  122. package/agents-config/skills/apex/steps/step-00b-interactive.md +0 -153
  123. package/agents-config/skills/apex/steps/step-01-analyze.md +0 -361
  124. package/agents-config/skills/apex/steps/step-02-plan.md +0 -264
  125. package/agents-config/skills/apex/steps/step-03-execute.md +0 -239
  126. package/agents-config/skills/apex/steps/step-04-validate.md +0 -251
  127. package/agents-config/skills/apex/templates/00-context.md +0 -43
  128. package/agents-config/skills/apex/templates/01-analyze.md +0 -10
  129. package/agents-config/skills/apex/templates/02-plan.md +0 -10
  130. package/agents-config/skills/apex/templates/03-execute.md +0 -10
  131. package/agents-config/skills/apex/templates/04-validate.md +0 -10
  132. package/agents-config/skills/apex/templates/README.md +0 -176
  133. package/agents-config/skills/apex/templates/step-complete.md +0 -7
  134. package/agents-config/skills/claude-memory/SKILL.md +0 -293
  135. package/agents-config/skills/claude-memory/references/comprehensive-example.md +0 -175
  136. package/agents-config/skills/claude-memory/references/optimize-guide.md +0 -300
  137. package/agents-config/skills/claude-memory/references/project-patterns.md +0 -334
  138. package/agents-config/skills/claude-memory/references/prompting-techniques.md +0 -411
  139. package/agents-config/skills/claude-memory/references/rules-directory-guide.md +0 -298
  140. package/agents-config/skills/claude-memory/references/section-templates.md +0 -347
  141. package/agents-config/skills/fix-errors/SKILL.md +0 -61
  142. package/agents-config/skills/fix-grammar/SKILL.md +0 -59
  143. package/agents-config/skills/ralph-loop/SKILL.md +0 -117
  144. package/agents-config/skills/ralph-loop/scripts/setup.sh +0 -278
  145. package/agents-config/skills/ralph-loop/steps/step-00-init.md +0 -215
  146. package/agents-config/skills/ralph-loop/steps/step-01-interactive-prd.md +0 -366
  147. package/agents-config/skills/ralph-loop/steps/step-02-create-stories.md +0 -273
  148. package/agents-config/skills/ralph-loop/steps/step-03-finish.md +0 -245
  149. package/agents-config/skills/skill-creator/LICENSE.txt +0 -202
  150. package/agents-config/skills/skill-creator/SKILL.md +0 -421
  151. package/agents-config/skills/skill-creator/package.json +0 -5
  152. package/agents-config/skills/skill-creator/references/output-patterns.md +0 -82
  153. package/agents-config/skills/skill-creator/references/progressive-disclosure-patterns.md +0 -374
  154. package/agents-config/skills/skill-creator/references/prompting-integration.md +0 -363
  155. package/agents-config/skills/skill-creator/references/real-world-examples.md +0 -513
  156. package/agents-config/skills/skill-creator/references/script-patterns.md +0 -385
  157. package/agents-config/skills/skill-creator/references/workflows.md +0 -28
  158. package/agents-config/skills/skill-creator/references/xml-tag-guide.md +0 -606
  159. package/agents-config/skills/skill-creator/scripts/init-skill.ts +0 -214
  160. package/agents-config/skills/skill-creator/scripts/package-skill.ts +0 -146
  161. package/agents-config/skills/skill-creator/scripts/validate.ts +0 -138
  162. package/agents-config/skills/workflow-apex-free/SKILL.md +0 -261
  163. package/agents-config/skills/workflow-apex-free/scripts/setup-templates.sh +0 -100
  164. package/agents-config/skills/workflow-apex-free/scripts/update-progress.sh +0 -80
  165. package/agents-config/skills/workflow-apex-free/steps/step-00-init.md +0 -267
  166. package/agents-config/skills/workflow-apex-free/steps/step-00b-branch.md +0 -126
  167. package/agents-config/skills/workflow-apex-free/steps/step-00b-economy.md +0 -244
  168. package/agents-config/skills/workflow-apex-free/steps/step-00b-interactive.md +0 -153
  169. package/agents-config/skills/workflow-apex-free/steps/step-01-analyze.md +0 -361
  170. package/agents-config/skills/workflow-apex-free/steps/step-02-plan.md +0 -264
  171. package/agents-config/skills/workflow-apex-free/steps/step-03-execute.md +0 -239
  172. package/agents-config/skills/workflow-apex-free/steps/step-04-validate.md +0 -251
  173. package/agents-config/skills/workflow-apex-free/templates/00-context.md +0 -43
  174. package/agents-config/skills/workflow-apex-free/templates/01-analyze.md +0 -10
  175. package/agents-config/skills/workflow-apex-free/templates/02-plan.md +0 -10
  176. package/agents-config/skills/workflow-apex-free/templates/03-execute.md +0 -10
  177. package/agents-config/skills/workflow-apex-free/templates/04-validate.md +0 -10
  178. package/agents-config/skills/workflow-apex-free/templates/README.md +0 -176
  179. package/agents-config/skills/workflow-apex-free/templates/step-complete.md +0 -7
@@ -1,347 +0,0 @@
1
- <section_templates>
2
- Copy and adapt these section templates for your CLAUDE.md file.
3
-
4
- <tech_stack_templates>
5
- <minimal>
6
- ```markdown
7
- ## Tech Stack
8
- - Next.js 15 + TypeScript
9
- - PostgreSQL via Prisma
10
- - TailwindCSS
11
- ```
12
- </minimal>
13
-
14
- <detailed>
15
- ```markdown
16
- ## Tech Stack
17
- - **Framework**: Next.js 15 with App Router
18
- - **Language**: TypeScript (strict mode)
19
- - **Styling**: TailwindCSS v4 + shadcn/ui
20
- - **Database**: PostgreSQL with Prisma ORM
21
- - **Auth**: [Auth solution]
22
- - **Testing**: Vitest (unit), Playwright (e2e)
23
- - **Package Manager**: pnpm
24
- ```
25
- </detailed>
26
-
27
- <with_infrastructure>
28
- ```markdown
29
- ## Tech Stack
30
-
31
- ### Application
32
- - Next.js 15 + TypeScript
33
- - PostgreSQL via Prisma
34
- - Redis for caching/queues
35
-
36
- ### Infrastructure
37
- - Vercel (hosting)
38
- - Neon (database)
39
- - Upstash (Redis)
40
-
41
- ### Monitoring
42
- - Sentry (errors)
43
- - Vercel Analytics
44
- ```
45
- </with_infrastructure>
46
- </tech_stack_templates>
47
-
48
- <commands_templates>
49
- <minimal>
50
- ```markdown
51
- ## Commands
52
- - `pnpm dev` - Development
53
- - `pnpm test` - Run tests
54
- - `pnpm build` - Production build
55
- ```
56
- </minimal>
57
-
58
- <categorized>
59
- ```markdown
60
- ## Commands
61
-
62
- ### Development
63
- - `pnpm dev` - Start dev server
64
- - `pnpm build` - Production build
65
- - `pnpm start` - Start production
66
-
67
- ### Quality
68
- - `pnpm lint` - ESLint
69
- - `pnpm ts` - Type check
70
- - `pnpm format` - Prettier
71
-
72
- ### Testing
73
- - `pnpm test:ci` - Unit tests
74
- - `pnpm test:e2e:ci` - E2E tests
75
-
76
- ### Database
77
- - `pnpm db:push` - Push schema
78
- - `pnpm db:seed` - Seed data
79
- ```
80
- </categorized>
81
-
82
- <with_warnings>
83
- ```markdown
84
- ## Commands
85
-
86
- ### Development
87
- - `pnpm dev` - Start dev server
88
- - `pnpm build` - Production build
89
-
90
- ### Testing
91
- **CRITICAL - Use CI commands only:**
92
- - `pnpm test:ci` - Unit tests (non-interactive)
93
- - `pnpm test:e2e:ci` - E2E tests (headless)
94
-
95
- **NEVER use:**
96
- - ~~`pnpm test`~~ - Interactive mode
97
- - ~~`pnpm test:e2e`~~ - Interactive mode
98
- ```
99
- </with_warnings>
100
- </commands_templates>
101
-
102
- <directory_structure_templates>
103
- <simple>
104
- ```markdown
105
- ## Directory Structure
106
- ```
107
- src/
108
- ├── components/ # UI components
109
- ├── lib/ # Utilities
110
- ├── hooks/ # React hooks
111
- └── styles/ # CSS
112
- ```
113
- ```
114
- </simple>
115
-
116
- <feature_based>
117
- ```markdown
118
- ## Directory Structure
119
- ```
120
- src/
121
- ├── features/
122
- │ ├── auth/ # Authentication
123
- │ ├── dashboard/ # Dashboard views
124
- │ └── settings/ # User settings
125
- ├── components/
126
- │ ├── ui/ # shadcn components
127
- │ └── shared/ # Shared components
128
- ├── lib/ # Utilities
129
- └── hooks/ # React hooks
130
- ```
131
- ```
132
- </feature_based>
133
-
134
- <monorepo>
135
- ```markdown
136
- ## Directory Structure
137
- ```
138
- apps/
139
- ├── web/ # Next.js frontend
140
- ├── api/ # Node.js backend
141
- └── admin/ # Admin dashboard
142
- packages/
143
- ├── ui/ # Shared components
144
- ├── config/ # Shared config
145
- └── types/ # Shared types
146
- ```
147
- ```
148
- </monorepo>
149
- </directory_structure_templates>
150
-
151
- <conventions_templates>
152
- <minimal>
153
- ```markdown
154
- ## Conventions
155
- - TypeScript strict mode
156
- - ESLint + Prettier configured
157
- - Conventional commits
158
- ```
159
- </minimal>
160
-
161
- <detailed>
162
- ```markdown
163
- ## Code Conventions
164
-
165
- ### TypeScript
166
- - Use `type` over `interface`
167
- - No `any` types
168
- - Strict mode enabled
169
-
170
- ### React
171
- - Prefer Server Components
172
- - Client components only for interactivity
173
- - Components under 300 lines
174
-
175
- ### Naming
176
- - camelCase for variables/functions
177
- - PascalCase for components/types
178
- - kebab-case for files
179
- ```
180
- </detailed>
181
-
182
- <with_critical_rules>
183
- ```markdown
184
- ## Code Conventions
185
-
186
- ### TypeScript
187
- - Strict mode enabled
188
- - No `any` types
189
-
190
- ### Forms
191
- **CRITICAL**: Use TanStack Form for ALL forms
192
- - Import from `@/features/form/tanstack-form`
193
- - **NEVER** use React Hook Form directly
194
-
195
- ### Server Actions
196
- - All actions use `safe-actions.ts`
197
- - Suffix files with `.action.ts`
198
- ```
199
- </with_critical_rules>
200
- </conventions_templates>
201
-
202
- <git_workflow_templates>
203
- <simple>
204
- ```markdown
205
- ## Git Workflow
206
- - Branch: `feature/name` or `fix/name`
207
- - Conventional commits (feat:, fix:, refactor:)
208
- - PRs required for all changes
209
- ```
210
- </simple>
211
-
212
- <detailed>
213
- ```markdown
214
- ## Git Workflow
215
-
216
- ### Branches
217
- - `main` - Production
218
- - `develop` - Integration
219
- - `feature/*` - New features
220
- - `fix/*` - Bug fixes
221
- - `hotfix/*` - Production fixes
222
-
223
- ### Commits
224
- Format: `type(scope): description`
225
- - `feat`: New feature
226
- - `fix`: Bug fix
227
- - `refactor`: Code change
228
- - `docs`: Documentation
229
- - `test`: Tests
230
-
231
- ### Pull Requests
232
- - Create from feature branch to develop
233
- - Require 1 approval
234
- - Must pass CI checks
235
- - Squash merge preferred
236
- ```
237
- </detailed>
238
- </git_workflow_templates>
239
-
240
- <important_files_templates>
241
- <simple>
242
- ```markdown
243
- ## Key Files
244
- - `src/lib/auth.ts` - Auth config
245
- - `src/lib/db.ts` - Database client
246
- - `prisma/schema.prisma` - DB schema
247
- ```
248
- </simple>
249
-
250
- <with_descriptions>
251
- ```markdown
252
- ## Important Files
253
-
254
- ### Configuration
255
- - `src/lib/auth.ts` - Authentication setup
256
- - `src/lib/db.ts` - Prisma client
257
- - `src/site-config.ts` - Site metadata
258
-
259
- ### Patterns
260
- - `src/features/form/tanstack-form.tsx` - Form utilities (**use for all forms**)
261
- - `src/lib/actions/safe-actions.ts` - Server action wrapper
262
-
263
- ### Database
264
- - `prisma/schema.prisma` - Main schema
265
- - `prisma/seed.ts` - Seed data
266
- ```
267
- </with_descriptions>
268
- </important_files_templates>
269
-
270
- <testing_templates>
271
- <minimal>
272
- ```markdown
273
- ## Testing
274
- - Run `pnpm test` before committing
275
- - Write tests for new features
276
- ```
277
- </minimal>
278
-
279
- <detailed>
280
- ```markdown
281
- ## Testing
282
-
283
- ### Unit Tests
284
- - Location: `__tests__/`
285
- - Framework: Vitest + Testing Library
286
- - Run: `pnpm test:ci`
287
-
288
- ### E2E Tests
289
- - Location: `e2e/`
290
- - Framework: Playwright
291
- - Run: `pnpm test:e2e:ci`
292
-
293
- ### Requirements
294
- - All new features require tests
295
- - Target 80% coverage
296
- - Run tests before pushing
297
- ```
298
- </detailed>
299
- </testing_templates>
300
-
301
- <security_templates>
302
- ```markdown
303
- ## Security
304
-
305
- **NEVER commit:**
306
- - `.env` files
307
- - API keys or secrets
308
- - Database credentials
309
- - Private tokens
310
-
311
- **Always:**
312
- - Use environment variables
313
- - Store secrets in `.env.local`
314
- - Check `.gitignore` before committing
315
- ```
316
- </security_templates>
317
- </section_templates>
318
-
319
- <combination_tips>
320
- <minimal_project>
321
- For small projects, combine into fewer sections:
322
-
323
- ```markdown
324
- # Project Name
325
-
326
- ## Stack & Commands
327
- - Next.js + TypeScript
328
- - `pnpm dev` / `pnpm test` / `pnpm build`
329
-
330
- ## Conventions
331
- - ESLint/Prettier configured
332
- - Run tests before pushing
333
- - Never commit .env files
334
- ```
335
- </minimal_project>
336
-
337
- <large_project>
338
- For large projects, use all relevant sections but keep each concise. Link to external docs for details:
339
-
340
- ```markdown
341
- ## Detailed Guides
342
- - Architecture: See [docs/architecture.md](docs/architecture.md)
343
- - API patterns: See [docs/api.md](docs/api.md)
344
- - Testing: See [docs/testing.md](docs/testing.md)
345
- ```
346
- </large_project>
347
- </combination_tips>
@@ -1,61 +0,0 @@
1
- ---
2
- name: fix-errors
3
- description: Fix all ESLint and TypeScript errors with parallel processing using snipper agents
4
- allowed-tools: Bash(pnpm :*), Bash(tsc :*), Bash(npm :*), Read, Task, Grep
5
- ---
6
-
7
- # Fix Errors
8
-
9
- Fix all ESLint and TypeScript errors by breaking them into areas and processing in parallel.
10
-
11
- ## Workflow
12
-
13
- 1. **DISCOVER COMMANDS**: Check `package.json` for exact script names
14
- - Look for: `lint`, `typecheck`, `type-check`, `tsc`, `eslint`, `prettier`, `format`
15
-
16
- 2. **RUN DIAGNOSTICS**:
17
- - Run `pnpm run lint` (or equivalent)
18
- - Run `pnpm run typecheck` or `tsc --noEmit`
19
- - Capture all error output
20
-
21
- 3. **ANALYZE ERRORS**:
22
- - Extract file paths from error messages
23
- - Group errors by file location
24
- - Count total errors and affected files
25
-
26
- 4. **CREATE ERROR AREAS**:
27
- - **MAX 5 FILES PER AREA**
28
- - Group related files together (same directory/feature)
29
- - Example: `Area 1: [file1, file2, file3, file4, file5]`
30
-
31
- 5. **PARALLEL PROCESSING**: Launch snipper agents for each area
32
- - Use Task tool with multiple agents simultaneously
33
- - Each agent processes one area (max 5 files)
34
- - Provide specific error details for each file
35
-
36
- 6. **VERIFICATION**: Re-run diagnostics after fixes
37
- - Wait for all agents to complete
38
- - Re-run lint and typecheck
39
- - Report remaining errors
40
-
41
- 7. **FORMAT CODE**: Apply Prettier (if available)
42
- - Run `pnpm run format` or equivalent
43
-
44
- ## Snipper Agent Instructions
45
-
46
- ```
47
- Fix all ESLint and TypeScript errors in these files:
48
- [list of files with their specific errors]
49
-
50
- Focus only on these files. Make minimal changes to fix errors while preserving functionality.
51
- ```
52
-
53
- ## Rules
54
-
55
- - ALWAYS check package.json first for correct commands
56
- - ONLY fix linting and TypeScript errors
57
- - NO feature additions - minimal fixes only
58
- - PARALLEL ONLY - use Task tool for concurrent processing
59
- - Every error must be assigned to an area
60
-
61
- User: $ARGUMENTS
@@ -1,59 +0,0 @@
1
- ---
2
- name: fix-grammar
3
- description: Fix grammar and spelling errors in one or multiple files while preserving formatting
4
- allowed-tools: Read, Edit, Write, MultiEdit, Task
5
- argument-hint: <file-path> [additional-files...]
6
- ---
7
-
8
- # Fix Grammar
9
-
10
- Fix grammar and spelling errors in files while preserving formatting and meaning.
11
-
12
- ## Workflow
13
-
14
- 1. **PARSE FILES**: Split arguments into individual file paths
15
- - **STOP** if no files specified - ask user for file paths
16
-
17
- 2. **DETERMINE STRATEGY**:
18
- - **Single file**: Process directly
19
- - **Multiple files**: Launch parallel fix-grammar agents
20
-
21
- 3. **SINGLE FILE MODE**:
22
- - `Read` the file completely
23
- - Apply grammar and spelling corrections
24
- - `Edit` to update file with corrections
25
-
26
- 4. **MULTIPLE FILES MODE**:
27
- - Use Task tool to launch fix-grammar agent for each file
28
- - Process all files simultaneously
29
- - Wait for all agents to complete
30
-
31
- 5. **REPORT**: Show files processed and confirm corrections
32
-
33
- ## Correction Rules
34
-
35
- - Fix ONLY spelling and grammar errors
36
- - **DO NOT** change meaning or word order
37
- - **DO NOT** translate anything
38
- - **DO NOT** modify special tags (MDX, custom syntax, code blocks)
39
- - **PRESERVE**: All formatting, structure, technical terms
40
- - Remove any `"""` markers if present
41
- - Keep the same language used in each sentence
42
- - Handle multilingual content (keep anglicisms, technical terms)
43
-
44
- ## Output Format
45
-
46
- ```
47
- ✓ Fixed grammar in [filename]
48
- - [number] corrections made
49
- ```
50
-
51
- ## Rules
52
-
53
- - ONLY spelling and grammar corrections
54
- - PARALLEL processing for multiple files
55
- - PRESERVE everything: formatting, structure, technical terms
56
- - MINIMAL changes - corrections only, no improvements
57
- - Never add explanations or commentary to file content
58
-
59
- User: $ARGUMENTS
@@ -1,117 +0,0 @@
1
- ---
2
- name: ralph-loop
3
- description: Setup the Ralph autonomous AI coding loop - ships features while you sleep
4
- argument-hint: "<project-path> [-i/--interactive] [-f/--feature <name>]"
5
- ---
6
-
7
- <objective>
8
- Set up the Ralph autonomous coding loop in any project. Ralph runs AI agents in a loop, picking tasks from a PRD, implementing one at a time, committing after each, and accumulating learnings until all tasks are complete.
9
-
10
- **This skill ONLY sets up Ralph - you run the commands yourself.**
11
- </objective>
12
-
13
- <quick_start>
14
- **Setup Ralph interactively (recommended):**
15
- ```bash
16
- /setup-ralph -i
17
- ```
18
-
19
- **Setup for specific feature:**
20
- ```bash
21
- /setup-ralph -f 01-add-authentication
22
- ```
23
-
24
- **What this does:**
25
- 1. Creates `.claude/ralph/` structure in your project
26
- 2. Runs setup script to create all Ralph files
27
- 3. (If -i): Brainstorms PRD with you interactively
28
- 4. Transforms PRD into user stories (prd.json)
29
- 5. Shows you the command to run Ralph (you run it yourself)
30
-
31
- **After setup, you run:**
32
- ```bash
33
- bun run .claude/ralph/ralph.sh -f <feature-name>
34
- ```
35
- </quick_start>
36
-
37
- <critical_rule>
38
- 🛑 NEVER run ralph.sh or any execution commands automatically
39
- 🛑 NEVER execute the loop - only set up files and show instructions
40
- ✅ ALWAYS let the user copy and run commands themselves
41
- ✅ ALWAYS end by showing the exact command to run
42
- </critical_rule>
43
-
44
- <when_to_use>
45
- **Use this skill when:**
46
- - Starting a new feature that can be broken into small stories
47
- - Setting up Ralph in a new project
48
- - Creating a new feature PRD interactively
49
-
50
- **Don't use for:**
51
- - Simple single-file changes
52
- - Exploratory work without clear requirements
53
- - Major refactors without acceptance criteria
54
- </when_to_use>
55
-
56
- <parameters>
57
- | Flag | Description |
58
- |------|-------------|
59
- | `<project-path>` | Path to the project (defaults to current directory) |
60
- | `-i, --interactive` | Interactive mode: brainstorm PRD with AI assistance |
61
- | `-f, --feature <name>` | Feature folder name (e.g., `01-add-auth`) |
62
-
63
- **Examples:**
64
- ```bash
65
- /setup-ralph /path/to/project -i # Interactive PRD creation
66
- /setup-ralph . -f 01-add-auth # Setup for specific feature
67
- /setup-ralph -i -f 02-user-dashboard # Interactive with specific name
68
- ```
69
- </parameters>
70
-
71
- <state_variables>
72
- | Variable | Type | Description |
73
- |----------|------|-------------|
74
- | `{project_path}` | string | Absolute path to target project |
75
- | `{ralph_dir}` | string | Path to .claude/ralph in project |
76
- | `{feature_name}` | string | Feature folder name (e.g., `01-add-auth`) |
77
- | `{feature_dir}` | string | Path to task folder |
78
- | `{interactive_mode}` | boolean | Whether to brainstorm PRD interactively |
79
- | `{prd_content}` | string | PRD markdown content |
80
- | `{user_stories}` | array | User stories extracted from PRD |
81
- | `{branch_name}` | string | Git branch for the feature |
82
- </state_variables>
83
-
84
- <entry_point>
85
- Load `steps/step-00-init.md`
86
- </entry_point>
87
-
88
- <step_files>
89
- | Step | File | Purpose |
90
- |------|------|---------|
91
- | 00 | `step-00-init.md` | Parse flags, run setup script, create structure |
92
- | 01 | `step-01-interactive-prd.md` | Interactive PRD brainstorming and creation |
93
- | 02 | `step-02-create-stories.md` | Transform PRD into user stories (prd.json) |
94
- | 03 | `step-03-finish.md` | Show run command (user runs it themselves) |
95
- </step_files>
96
-
97
- <scripts>
98
- | Script | Purpose |
99
- |--------|---------|
100
- | `scripts/setup.sh` | Creates all Ralph files in the project |
101
- </scripts>
102
-
103
- <execution_rules>
104
- 1. **Progressive Loading**: Load one step at a time
105
- 2. **Script Execution**: Use scripts/setup.sh to create files atomically
106
- 3. **Interactive Mode**: If -i flag, run brainstorming conversation
107
- 4. **State Persistence**: Track progress in feature_dir/progress.txt
108
- 5. **Resume Support**: Detect existing PRD.md and resume from there
109
- 6. **NEVER RUN RALPH**: Only setup and show commands - user runs them
110
- </execution_rules>
111
-
112
- <success_criteria>
113
- ✅ Ralph structure created at {project_path}/.claude/ralph
114
- ✅ Feature folder created with PRD.md, prd.json, progress.txt
115
- ✅ User stories properly formatted in prd.json
116
- ✅ Clear run command provided to user (they run it themselves)
117
- </success_criteria>