aiblueprint-cli 1.4.23 → 1.4.25
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.
- package/claude-code-config/skills/git-commit/SKILL.md +42 -0
- package/claude-code-config/{commands/git/create-pr.md → skills/git-create-pr/SKILL.md} +12 -18
- package/claude-code-config/skills/git-fix-pr-comments/SKILL.md +51 -0
- package/claude-code-config/skills/git-merge/SKILL.md +68 -0
- package/claude-code-config/skills/{claude-memory → meta-claude-memory}/SKILL.md +7 -2
- package/claude-code-config/skills/meta-claude-memory/references/rules-directory-guide.md +298 -0
- package/claude-code-config/skills/meta-prompt-creator/SKILL.md +285 -0
- package/claude-code-config/skills/meta-prompt-creator/references/anthropic-best-practices.md +126 -0
- package/claude-code-config/skills/meta-prompt-creator/references/anti-patterns.md +57 -0
- package/claude-code-config/skills/meta-prompt-creator/references/clarity-principles.md +54 -0
- package/claude-code-config/skills/meta-prompt-creator/references/context-management.md +389 -0
- package/claude-code-config/skills/meta-prompt-creator/references/few-shot-patterns.md +47 -0
- package/claude-code-config/skills/meta-prompt-creator/references/openai-best-practices.md +50 -0
- package/claude-code-config/skills/meta-prompt-creator/references/prompt-templates.md +110 -0
- package/claude-code-config/skills/meta-prompt-creator/references/reasoning-techniques.md +52 -0
- package/claude-code-config/skills/meta-prompt-creator/references/system-prompt-patterns.md +48 -0
- package/claude-code-config/skills/meta-prompt-creator/references/xml-structure.md +36 -0
- package/claude-code-config/skills/meta-skill-creator/LICENSE.txt +202 -0
- package/claude-code-config/skills/meta-skill-creator/SKILL.md +421 -0
- package/claude-code-config/skills/meta-skill-creator/package.json +5 -0
- package/claude-code-config/skills/meta-skill-creator/references/output-patterns.md +82 -0
- package/claude-code-config/skills/meta-skill-creator/references/progressive-disclosure-patterns.md +374 -0
- package/claude-code-config/skills/meta-skill-creator/references/prompting-integration.md +363 -0
- package/claude-code-config/skills/meta-skill-creator/references/real-world-examples.md +513 -0
- package/claude-code-config/skills/meta-skill-creator/references/script-patterns.md +385 -0
- package/claude-code-config/skills/meta-skill-creator/references/workflows.md +28 -0
- package/claude-code-config/skills/meta-skill-creator/references/xml-tag-guide.md +606 -0
- package/claude-code-config/skills/meta-skill-creator/scripts/init-skill.ts +214 -0
- package/claude-code-config/skills/meta-skill-creator/scripts/package-skill.ts +146 -0
- package/claude-code-config/skills/meta-skill-creator/scripts/validate.ts +138 -0
- package/claude-code-config/skills/{create-subagents → meta-subagent-creator}/SKILL.md +41 -15
- package/claude-code-config/skills/{setup-ralph → ralph-loop}/steps/step-00-init.md +2 -3
- package/claude-code-config/skills/utils-fix-errors/SKILL.md +61 -0
- package/claude-code-config/skills/utils-fix-grammar/SKILL.md +59 -0
- package/claude-code-config/skills/utils-oneshot/SKILL.md +56 -0
- package/claude-code-config/skills/workflow-apex/SKILL.md +303 -0
- package/claude-code-config/skills/workflow-apex/scripts/setup-templates.sh +134 -0
- package/claude-code-config/skills/workflow-apex/scripts/update-progress.sh +80 -0
- package/claude-code-config/skills/workflow-apex/steps/step-00-init.md +288 -0
- package/claude-code-config/skills/workflow-apex/steps/step-00b-branch.md +126 -0
- package/claude-code-config/skills/workflow-apex/steps/step-00b-economy.md +244 -0
- package/claude-code-config/skills/workflow-apex/steps/step-00b-interactive.md +153 -0
- package/claude-code-config/skills/workflow-apex/steps/step-01-analyze.md +361 -0
- package/claude-code-config/skills/workflow-apex/steps/step-02-plan.md +264 -0
- package/claude-code-config/skills/workflow-apex/steps/step-03-execute.md +239 -0
- package/claude-code-config/skills/workflow-apex/steps/step-04-validate.md +264 -0
- package/claude-code-config/skills/workflow-apex/steps/step-05-examine.md +294 -0
- package/claude-code-config/skills/workflow-apex/steps/step-06-resolve.md +237 -0
- package/claude-code-config/skills/workflow-apex/steps/step-07-tests.md +250 -0
- package/claude-code-config/skills/workflow-apex/steps/step-08-run-tests.md +308 -0
- package/claude-code-config/skills/workflow-apex/steps/step-09-finish.md +193 -0
- package/claude-code-config/skills/workflow-apex/templates/00-context.md +51 -0
- package/claude-code-config/skills/workflow-apex/templates/01-analyze.md +10 -0
- package/claude-code-config/skills/workflow-apex/templates/02-plan.md +10 -0
- package/claude-code-config/skills/workflow-apex/templates/03-execute.md +10 -0
- package/claude-code-config/skills/workflow-apex/templates/04-validate.md +10 -0
- package/claude-code-config/skills/workflow-apex/templates/05-examine.md +10 -0
- package/claude-code-config/skills/workflow-apex/templates/06-resolve.md +10 -0
- package/claude-code-config/skills/workflow-apex/templates/07-tests.md +10 -0
- package/claude-code-config/skills/workflow-apex/templates/08-run-tests.md +10 -0
- package/claude-code-config/skills/workflow-apex/templates/09-finish.md +10 -0
- package/claude-code-config/skills/workflow-apex/templates/README.md +195 -0
- package/claude-code-config/skills/workflow-apex/templates/step-complete.md +7 -0
- package/claude-code-config/skills/workflow-apex-free/SKILL.md +261 -0
- package/claude-code-config/skills/workflow-apex-free/scripts/setup-templates.sh +100 -0
- package/claude-code-config/skills/workflow-apex-free/scripts/update-progress.sh +80 -0
- package/claude-code-config/skills/workflow-apex-free/steps/step-00-init.md +267 -0
- package/claude-code-config/skills/workflow-apex-free/steps/step-00b-branch.md +126 -0
- package/claude-code-config/skills/workflow-apex-free/steps/step-00b-economy.md +244 -0
- package/claude-code-config/skills/workflow-apex-free/steps/step-00b-interactive.md +153 -0
- package/claude-code-config/skills/workflow-apex-free/steps/step-01-analyze.md +361 -0
- package/claude-code-config/skills/workflow-apex-free/steps/step-02-plan.md +264 -0
- package/claude-code-config/skills/workflow-apex-free/steps/step-03-execute.md +239 -0
- package/claude-code-config/skills/workflow-apex-free/steps/step-04-validate.md +251 -0
- package/claude-code-config/skills/workflow-apex-free/templates/00-context.md +43 -0
- package/claude-code-config/skills/workflow-apex-free/templates/01-analyze.md +10 -0
- package/claude-code-config/skills/workflow-apex-free/templates/02-plan.md +10 -0
- package/claude-code-config/skills/workflow-apex-free/templates/03-execute.md +10 -0
- package/claude-code-config/skills/workflow-apex-free/templates/04-validate.md +10 -0
- package/claude-code-config/skills/workflow-apex-free/templates/README.md +176 -0
- package/claude-code-config/skills/workflow-apex-free/templates/step-complete.md +7 -0
- package/dist/cli.js +146 -9
- package/package.json +1 -1
- package/claude-code-config/commands/explore.md +0 -90
- package/claude-code-config/commands/git/commit.md +0 -60
- package/claude-code-config/commands/git/fix-pr-comments.md +0 -59
- package/claude-code-config/commands/oneshot.md +0 -57
- package/claude-code-config/skills/create-slash-commands/SKILL.md +0 -1110
- package/claude-code-config/skills/create-slash-commands/references/arguments.md +0 -273
- package/claude-code-config/skills/create-slash-commands/references/patterns.md +0 -947
- package/claude-code-config/skills/create-slash-commands/references/prompt-examples.md +0 -656
- package/claude-code-config/skills/create-slash-commands/references/tool-restrictions.md +0 -389
- /package/claude-code-config/skills/{claude-memory → meta-claude-memory}/references/comprehensive-example.md +0 -0
- /package/claude-code-config/skills/{claude-memory → meta-claude-memory}/references/project-patterns.md +0 -0
- /package/claude-code-config/skills/{claude-memory → meta-claude-memory}/references/prompting-techniques.md +0 -0
- /package/claude-code-config/skills/{claude-memory → meta-claude-memory}/references/section-templates.md +0 -0
- /package/claude-code-config/skills/{create-subagents → meta-subagent-creator}/references/context-management.md +0 -0
- /package/claude-code-config/skills/{create-subagents → meta-subagent-creator}/references/debugging-agents.md +0 -0
- /package/claude-code-config/skills/{create-subagents → meta-subagent-creator}/references/error-handling-and-recovery.md +0 -0
- /package/claude-code-config/skills/{create-subagents → meta-subagent-creator}/references/evaluation-and-testing.md +0 -0
- /package/claude-code-config/skills/{create-subagents → meta-subagent-creator}/references/orchestration-patterns.md +0 -0
- /package/claude-code-config/skills/{create-subagents → meta-subagent-creator}/references/subagents.md +0 -0
- /package/claude-code-config/skills/{create-subagents → meta-subagent-creator}/references/writing-subagent-prompts.md +0 -0
- /package/claude-code-config/skills/{setup-ralph → ralph-loop}/SKILL.md +0 -0
- /package/claude-code-config/skills/{setup-ralph → ralph-loop}/scripts/setup.sh +0 -0
- /package/claude-code-config/skills/{setup-ralph → ralph-loop}/steps/step-01-interactive-prd.md +0 -0
- /package/claude-code-config/skills/{setup-ralph → ralph-loop}/steps/step-02-create-stories.md +0 -0
- /package/claude-code-config/skills/{setup-ralph → ralph-loop}/steps/step-03-finish.md +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
name:
|
|
2
|
+
name: skill-workflow-creator
|
|
3
3
|
description: Expert guidance for creating, building, and using Claude Code subagents and the Task tool. Use when working with subagents, setting up agent configurations, understanding how agents work, or using the Task tool to launch specialized agents.
|
|
4
4
|
---
|
|
5
5
|
|
|
@@ -11,6 +11,7 @@ Subagents enable delegation of complex tasks to specialized agents that operate
|
|
|
11
11
|
|
|
12
12
|
<quick_start>
|
|
13
13
|
<workflow>
|
|
14
|
+
|
|
14
15
|
1. Run `/agents` command
|
|
15
16
|
2. Select "Create New Agent"
|
|
16
17
|
3. Choose project-level (`.claude/agents/`) or user-level (`~/.claude/agents/`)
|
|
@@ -20,7 +21,7 @@ Subagents enable delegation of complex tasks to specialized agents that operate
|
|
|
20
21
|
- **tools**: Optional comma-separated list (inherits all if omitted)
|
|
21
22
|
- **model**: Optional (`sonnet`, `opus`, `haiku`, or `inherit`)
|
|
22
23
|
5. Write the system prompt (the subagent's instructions)
|
|
23
|
-
</workflow>
|
|
24
|
+
</workflow>
|
|
24
25
|
|
|
25
26
|
<example>
|
|
26
27
|
```markdown
|
|
@@ -36,15 +37,17 @@ You are a senior code reviewer focused on quality, security, and best practices.
|
|
|
36
37
|
</role>
|
|
37
38
|
|
|
38
39
|
<focus_areas>
|
|
40
|
+
|
|
39
41
|
- Code quality and maintainability
|
|
40
42
|
- Security vulnerabilities
|
|
41
43
|
- Performance issues
|
|
42
44
|
- Best practices adherence
|
|
43
|
-
</focus_areas>
|
|
45
|
+
</focus_areas>
|
|
44
46
|
|
|
45
47
|
<output_format>
|
|
46
48
|
Provide specific, actionable feedback with file:line references.
|
|
47
49
|
</output_format>
|
|
50
|
+
|
|
48
51
|
```
|
|
49
52
|
</example>
|
|
50
53
|
</quick_start>
|
|
@@ -115,16 +118,18 @@ Use **subagents** for:
|
|
|
115
118
|
|
|
116
119
|
**Example workflow pattern:**
|
|
117
120
|
```
|
|
121
|
+
|
|
118
122
|
Main Chat: Ask user for requirements (AskUserQuestion)
|
|
119
|
-
|
|
123
|
+
↓
|
|
120
124
|
Subagent: Research API and create documentation (no user interaction)
|
|
121
|
-
|
|
125
|
+
↓
|
|
122
126
|
Main Chat: Review research with user, confirm approach
|
|
123
|
-
|
|
127
|
+
↓
|
|
124
128
|
Subagent: Generate code based on confirmed plan
|
|
125
|
-
|
|
129
|
+
↓
|
|
126
130
|
Main Chat: Present results, handle testing/deployment
|
|
127
|
-
|
|
131
|
+
|
|
132
|
+
````
|
|
128
133
|
</workflow_design>
|
|
129
134
|
</execution_model>
|
|
130
135
|
|
|
@@ -161,7 +166,8 @@ You are a senior code reviewer specializing in security.
|
|
|
161
166
|
3. Provide specific remediation steps
|
|
162
167
|
4. Rate severity (Critical/High/Medium/Low)
|
|
163
168
|
</workflow>
|
|
164
|
-
|
|
169
|
+
````
|
|
170
|
+
|
|
165
171
|
</principle>
|
|
166
172
|
|
|
167
173
|
<principle name="task_specific">
|
|
@@ -185,21 +191,24 @@ Common tags for subagent structure:
|
|
|
185
191
|
- `<output_format>` - How to structure deliverables
|
|
186
192
|
- `<success_criteria>` - Completion criteria
|
|
187
193
|
- `<validation>` - How to verify work
|
|
188
|
-
</recommended_tags>
|
|
194
|
+
</recommended_tags>
|
|
189
195
|
|
|
190
196
|
<intelligence_rules>
|
|
191
197
|
**Simple subagents** (single focused task):
|
|
198
|
+
|
|
192
199
|
- Use role + constraints + workflow minimum
|
|
193
200
|
- Example: code-reviewer, test-runner
|
|
194
201
|
|
|
195
202
|
**Medium subagents** (multi-step process):
|
|
203
|
+
|
|
196
204
|
- Add workflow steps, output_format, success_criteria
|
|
197
205
|
- Example: api-researcher, documentation-generator
|
|
198
206
|
|
|
199
207
|
**Complex subagents** (research + generation + validation):
|
|
208
|
+
|
|
200
209
|
- Add all tags as appropriate including validation, examples
|
|
201
210
|
- Example: mcp-api-researcher, comprehensive-auditor
|
|
202
|
-
</intelligence_rules>
|
|
211
|
+
</intelligence_rules>
|
|
203
212
|
|
|
204
213
|
<critical_rule>
|
|
205
214
|
**Remove ALL markdown headings (##, ###) from subagent body.** Use semantic XML tags instead.
|
|
@@ -225,6 +234,7 @@ You can explicitly invoke a subagent:
|
|
|
225
234
|
```
|
|
226
235
|
> Have the test-writer subagent create tests for the new API endpoints
|
|
227
236
|
```
|
|
237
|
+
|
|
228
238
|
</explicit>
|
|
229
239
|
</invocation>
|
|
230
240
|
|
|
@@ -266,11 +276,13 @@ TaskOutput tool call:
|
|
|
266
276
|
|
|
267
277
|
**Non-blocking check:**
|
|
268
278
|
Set `block: false` to check status without waiting:
|
|
279
|
+
|
|
269
280
|
```
|
|
270
281
|
TaskOutput tool call:
|
|
271
282
|
- task_id: "agent-12345"
|
|
272
283
|
- block: false
|
|
273
284
|
```
|
|
285
|
+
|
|
274
286
|
Returns current status: running, completed, or the final result.
|
|
275
287
|
</retrieving_results>
|
|
276
288
|
|
|
@@ -302,31 +314,37 @@ Task 3:
|
|
|
302
314
|
```
|
|
303
315
|
|
|
304
316
|
Then retrieve all results:
|
|
317
|
+
|
|
305
318
|
```
|
|
306
319
|
TaskOutput calls for each agent_id
|
|
307
320
|
```
|
|
321
|
+
|
|
308
322
|
</parallel_agents>
|
|
309
323
|
|
|
310
324
|
<when_to_use_background>
|
|
311
325
|
**Use background agents for:**
|
|
326
|
+
|
|
312
327
|
- Long-running analysis (security review, comprehensive code analysis)
|
|
313
328
|
- Multiple independent tasks that can run in parallel
|
|
314
329
|
- Tasks where you want to continue working while waiting
|
|
315
330
|
- Research tasks that may take significant time
|
|
316
331
|
|
|
317
332
|
**Don't use background for:**
|
|
333
|
+
|
|
318
334
|
- Quick operations (< 10 seconds)
|
|
319
335
|
- Tasks that depend on each other sequentially
|
|
320
336
|
- Tasks where immediate results are needed for next step
|
|
321
337
|
- Simple single-file operations
|
|
322
338
|
|
|
323
339
|
**Pattern: Parallel Analysis Pipeline**
|
|
340
|
+
|
|
324
341
|
```
|
|
325
342
|
1. Launch multiple analysis agents in background
|
|
326
343
|
2. Continue with other work or wait
|
|
327
344
|
3. Collect all results
|
|
328
345
|
4. Synthesize findings in main conversation
|
|
329
346
|
```
|
|
347
|
+
|
|
330
348
|
</when_to_use_background>
|
|
331
349
|
|
|
332
350
|
<resuming_agents>
|
|
@@ -356,15 +374,17 @@ Run `/agents` for an interactive interface to:
|
|
|
356
374
|
|
|
357
375
|
<manual_editing>
|
|
358
376
|
You can also edit subagent files directly:
|
|
377
|
+
|
|
359
378
|
- Project: `.claude/agents/subagent-name.md`
|
|
360
379
|
- User: `~/.claude/agents/subagent-name.md`
|
|
361
|
-
</manual_editing>
|
|
362
|
-
</management>
|
|
380
|
+
</manual_editing>
|
|
381
|
+
</management>
|
|
363
382
|
|
|
364
383
|
<reference>
|
|
365
384
|
**Core references**:
|
|
366
385
|
|
|
367
386
|
**Subagent usage and configuration**: [references/subagents.md](references/subagents.md)
|
|
387
|
+
|
|
368
388
|
- File format and configuration
|
|
369
389
|
- Model selection (Sonnet 4.5 + Haiku 4.5 orchestration)
|
|
370
390
|
- Tool security and least privilege
|
|
@@ -373,6 +393,7 @@ You can also edit subagent files directly:
|
|
|
373
393
|
- Complete examples
|
|
374
394
|
|
|
375
395
|
**Writing effective prompts**: [references/writing-subagent-prompts.md](references/writing-subagent-prompts.md)
|
|
396
|
+
|
|
376
397
|
- Core principles and XML structure
|
|
377
398
|
- Description field optimization for routing
|
|
378
399
|
- Extended thinking for complex reasoning
|
|
@@ -382,35 +403,40 @@ You can also edit subagent files directly:
|
|
|
382
403
|
**Advanced topics**:
|
|
383
404
|
|
|
384
405
|
**Evaluation and testing**: [references/evaluation-and-testing.md](references/evaluation-and-testing.md)
|
|
406
|
+
|
|
385
407
|
- Evaluation metrics (task completion, tool correctness, robustness)
|
|
386
408
|
- Testing strategies (offline, simulation, online monitoring)
|
|
387
409
|
- Evaluation-driven development
|
|
388
410
|
- G-Eval for custom criteria
|
|
389
411
|
|
|
390
412
|
**Error handling and recovery**: [references/error-handling-and-recovery.md](references/error-handling-and-recovery.md)
|
|
413
|
+
|
|
391
414
|
- Common failure modes and causes
|
|
392
415
|
- Recovery strategies (graceful degradation, retry, circuit breakers)
|
|
393
416
|
- Structured communication and observability
|
|
394
417
|
- Anti-patterns to avoid
|
|
395
418
|
|
|
396
419
|
**Context management**: [references/context-management.md](references/context-management.md)
|
|
420
|
+
|
|
397
421
|
- Memory architecture (STM, LTM, working memory)
|
|
398
422
|
- Context strategies (summarization, sliding window, scratchpads)
|
|
399
423
|
- Managing long-running tasks
|
|
400
424
|
- Prompt caching interaction
|
|
401
425
|
|
|
402
426
|
**Orchestration patterns**: [references/orchestration-patterns.md](references/orchestration-patterns.md)
|
|
427
|
+
|
|
403
428
|
- Sequential, parallel, hierarchical, coordinator patterns
|
|
404
429
|
- Sonnet + Haiku orchestration for cost/performance
|
|
405
430
|
- Multi-agent coordination
|
|
406
431
|
- Pattern selection guidance
|
|
407
432
|
|
|
408
433
|
**Debugging and troubleshooting**: [references/debugging-agents.md](references/debugging-agents.md)
|
|
434
|
+
|
|
409
435
|
- Logging, tracing, and correlation IDs
|
|
410
436
|
- Common failure types (hallucinations, format errors, tool misuse)
|
|
411
437
|
- Diagnostic procedures
|
|
412
438
|
- Continuous monitoring
|
|
413
|
-
</reference>
|
|
439
|
+
</reference>
|
|
414
440
|
|
|
415
441
|
<success_criteria>
|
|
416
442
|
A well-configured subagent has:
|
|
@@ -422,4 +448,4 @@ A well-configured subagent has:
|
|
|
422
448
|
- Description field optimized for automatic routing
|
|
423
449
|
- Successfully tested on representative tasks
|
|
424
450
|
- Model selection appropriate for task complexity (Sonnet for reasoning, Haiku for simple tasks)
|
|
425
|
-
</success_criteria>
|
|
451
|
+
</success_criteria>
|
|
@@ -134,9 +134,8 @@ fi
|
|
|
134
134
|
|
|
135
135
|
```bash
|
|
136
136
|
# Make script executable and run it
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
{skill_dir}/scripts/setup.sh "{project_path}" "{feature_name}"
|
|
137
|
+
chmod +x /Users/melvynx/.claude/skills/setup-ralph/scripts/setup.sh
|
|
138
|
+
/Users/melvynx/.claude/skills/setup-ralph/scripts/setup.sh "{project_path}" "{feature_name}"
|
|
140
139
|
```
|
|
141
140
|
|
|
142
141
|
The setup script creates:
|
|
@@ -0,0 +1,61 @@
|
|
|
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
|
|
@@ -0,0 +1,59 @@
|
|
|
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
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: oneshot
|
|
3
|
+
description: Ultra-fast feature implementation using Explore → Code → Test workflow. Use when implementing focused features, single tasks, or when speed over completeness is priority.
|
|
4
|
+
argument-hint: <feature-description>
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# OneShot
|
|
8
|
+
|
|
9
|
+
Implement `$ARGUMENTS` at maximum speed. Ship fast, iterate later.
|
|
10
|
+
|
|
11
|
+
## Workflow
|
|
12
|
+
|
|
13
|
+
### 1. EXPLORE (minimal)
|
|
14
|
+
|
|
15
|
+
Gather minimum viable context:
|
|
16
|
+
- Use `Glob` to find 2-3 key files by pattern
|
|
17
|
+
- Use `Grep` to search for specific patterns
|
|
18
|
+
- Quick `WebSearch` only if library-specific API knowledge needed
|
|
19
|
+
- NO exploration tours - find examples/edit targets and move on
|
|
20
|
+
|
|
21
|
+
### 2. CODE (main phase)
|
|
22
|
+
|
|
23
|
+
Execute changes immediately:
|
|
24
|
+
- Follow existing codebase patterns exactly
|
|
25
|
+
- Clear variable/method names over comments
|
|
26
|
+
- Stay STRICTLY in scope - change only what's needed
|
|
27
|
+
- NO comments unless genuinely complex
|
|
28
|
+
- NO refactoring beyond requirements
|
|
29
|
+
- Run formatters if available (`npm run format`)
|
|
30
|
+
|
|
31
|
+
### 3. TEST (validate)
|
|
32
|
+
|
|
33
|
+
Check quality:
|
|
34
|
+
- Run: `npm run lint && npm run typecheck` (or equivalent)
|
|
35
|
+
- If fails: fix only what you broke, re-run
|
|
36
|
+
- NO full test suite unless explicitly requested
|
|
37
|
+
|
|
38
|
+
## Output
|
|
39
|
+
|
|
40
|
+
When complete, return:
|
|
41
|
+
|
|
42
|
+
```
|
|
43
|
+
## Done
|
|
44
|
+
|
|
45
|
+
**Task:** {what was implemented}
|
|
46
|
+
**Files changed:** {list}
|
|
47
|
+
**Validation:** ✓ lint ✓ typecheck
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
## Constraints
|
|
51
|
+
|
|
52
|
+
- ONE task only - no tangential improvements
|
|
53
|
+
- NO documentation files unless requested
|
|
54
|
+
- NO refactoring outside immediate scope
|
|
55
|
+
- NO "while I'm here" additions
|
|
56
|
+
- If stuck >2 attempts: report blocker and stop
|