agentic-loop 3.9.0 → 3.10.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.
- package/.claude/commands/tour.md +56 -4
- package/.claude/skills/explain/SKILL.md +114 -0
- package/.claude/skills/idea/SKILL.md +216 -0
- package/.claude/skills/my-dna/SKILL.md +122 -0
- package/.claude/skills/prd/SKILL.md +770 -0
- package/.claude/skills/review/SKILL.md +167 -0
- package/.claude/skills/sign/SKILL.md +32 -0
- package/.claude/skills/styleguide/SKILL.md +450 -0
- package/.claude/skills/tour/SKILL.md +353 -0
- package/.claude/skills/vibe-check/SKILL.md +116 -0
- package/.claude/skills/vibe-help/SKILL.md +47 -0
- package/.claude/skills/vibe-list/SKILL.md +203 -0
- package/package.json +1 -1
- package/ralph/setup.sh +10 -3
|
@@ -0,0 +1,203 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Show complete reference for all agentic-loop commands (slash commands, Ralph CLI, vibe CLI).
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# Vibe & Thrive - Complete Reference
|
|
6
|
+
|
|
7
|
+
Print this complete reference for the user. Do not add any commentary.
|
|
8
|
+
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
## Slash Commands (in Claude Code)
|
|
12
|
+
|
|
13
|
+
| Command | Description |
|
|
14
|
+
|---------|-------------|
|
|
15
|
+
| `/idea [feature]` | Brainstorm in plan mode, generate PRD for Ralph |
|
|
16
|
+
| `/sign` | Add a learned pattern for Ralph to remember |
|
|
17
|
+
| `/my-dna` | Set up your personal style preferences |
|
|
18
|
+
| `/vibe-check` | Audit code quality before shipping |
|
|
19
|
+
| `/review` | Code review with OWASP security checks |
|
|
20
|
+
| `/explain` | Explain code line by line |
|
|
21
|
+
| `/styleguide` | Generate UI component design system |
|
|
22
|
+
| `/tour` | Interactive walkthrough of agentic-loop |
|
|
23
|
+
| `/vibe-help` | Quick reference cheatsheet |
|
|
24
|
+
| `/vibe-list` | This complete reference |
|
|
25
|
+
|
|
26
|
+
---
|
|
27
|
+
|
|
28
|
+
## Ralph CLI (in terminal)
|
|
29
|
+
|
|
30
|
+
### Setup & Status
|
|
31
|
+
| Command | Description |
|
|
32
|
+
|---------|-------------|
|
|
33
|
+
| `npx ralph init` | Initialize `.ralph/` in current directory |
|
|
34
|
+
| `npx ralph status` | Show feature, stories, pass/fail counts |
|
|
35
|
+
| `npx ralph progress` | Show last 50 lines of progress log |
|
|
36
|
+
| `npx ralph version` | Show version info |
|
|
37
|
+
| `npx ralph help` | Show built-in help |
|
|
38
|
+
|
|
39
|
+
### PRD Generation
|
|
40
|
+
| Command | Description |
|
|
41
|
+
|---------|-------------|
|
|
42
|
+
| `npx ralph prd "notes"` | Generate PRD interactively from description |
|
|
43
|
+
| `npx ralph prd --file spec.md` | Generate PRD from a file |
|
|
44
|
+
| `npx ralph prd --accept` | Save generated PRD to `.ralph/prd.json` |
|
|
45
|
+
|
|
46
|
+
### Autonomous Loop
|
|
47
|
+
| Command | Description |
|
|
48
|
+
|---------|-------------|
|
|
49
|
+
| `npx ralph run` | Run loop until all stories pass |
|
|
50
|
+
| `npx ralph run --max 10` | Limit to N iterations (default: 20) |
|
|
51
|
+
| `npx ralph run --story TASK-001` | Run for specific task only |
|
|
52
|
+
| `npx ralph stop` | Stop after current story completes |
|
|
53
|
+
|
|
54
|
+
### Verification
|
|
55
|
+
| Command | Description |
|
|
56
|
+
|---------|-------------|
|
|
57
|
+
| `npx ralph check` | Run all configured checks |
|
|
58
|
+
| `npx ralph verify TASK-001` | Verify a specific task |
|
|
59
|
+
|
|
60
|
+
### Signs (Learned Patterns)
|
|
61
|
+
| Command | Description |
|
|
62
|
+
|---------|-------------|
|
|
63
|
+
| `npx ralph signs` | List all learned patterns |
|
|
64
|
+
| `npx ralph sign "pattern" [cat]` | Add pattern with optional category |
|
|
65
|
+
| `npx ralph unsign <id or text>` | Remove a sign by ID or text match |
|
|
66
|
+
|
|
67
|
+
---
|
|
68
|
+
|
|
69
|
+
## Vibe CLI (in terminal)
|
|
70
|
+
|
|
71
|
+
| Command | Description |
|
|
72
|
+
|---------|-------------|
|
|
73
|
+
| `vibe help` | Show terminal quick reference |
|
|
74
|
+
|
|
75
|
+
---
|
|
76
|
+
|
|
77
|
+
## The Loop
|
|
78
|
+
|
|
79
|
+
```
|
|
80
|
+
/idea [feature] Brainstorm → PRD
|
|
81
|
+
npx ralph run Autonomous coding
|
|
82
|
+
npx ralph status Check progress
|
|
83
|
+
npx ralph stop Stop after current story
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
---
|
|
87
|
+
|
|
88
|
+
## Slash Command Details
|
|
89
|
+
|
|
90
|
+
### /idea [feature description]
|
|
91
|
+
Brainstorm in plan mode, explore codebase, ask clarifying questions.
|
|
92
|
+
- Writes idea to `docs/ideas/{feature}.md`
|
|
93
|
+
- On approval, splits into PRD stories
|
|
94
|
+
- Writes to `.ralph/prd.json`
|
|
95
|
+
|
|
96
|
+
### /review [file or selection]
|
|
97
|
+
Code review with security focus (OWASP Top 10):
|
|
98
|
+
- **Quick review** - Critical/high issues only
|
|
99
|
+
- **Full review** - Everything
|
|
100
|
+
- **Security review** - Deep dive on vulnerabilities
|
|
101
|
+
- **Performance review** - Focus on speed
|
|
102
|
+
|
|
103
|
+
### /explain [file or code]
|
|
104
|
+
Line-by-line explanation:
|
|
105
|
+
- High-level overview
|
|
106
|
+
- Walk through each section
|
|
107
|
+
- Highlight key concepts
|
|
108
|
+
- Summarize takeaways
|
|
109
|
+
|
|
110
|
+
### /styleguide
|
|
111
|
+
Generate design system page at `/styleguide`:
|
|
112
|
+
- Discovers your tech stack
|
|
113
|
+
- Asks about vibe (minimal, bold, dark, etc.)
|
|
114
|
+
- Asks about colors, border radius, components
|
|
115
|
+
- Generates tokens, buttons, forms, cards, feedback
|
|
116
|
+
|
|
117
|
+
### /vibe-check
|
|
118
|
+
Audit code for AI-introduced patterns:
|
|
119
|
+
- Debug statements
|
|
120
|
+
- TODO/FIXME comments
|
|
121
|
+
- Empty catch blocks
|
|
122
|
+
- Hardcoded URLs
|
|
123
|
+
- Potential secrets
|
|
124
|
+
- DRY violations
|
|
125
|
+
|
|
126
|
+
### /my-dna
|
|
127
|
+
Interactive wizard to set up your personal style:
|
|
128
|
+
- Core values (simplicity, speed, correctness, etc.)
|
|
129
|
+
- Communication preferences (brief vs detailed, tone)
|
|
130
|
+
- Working style (ask first vs try solutions)
|
|
131
|
+
- Learning preferences (show alternatives, explain why)
|
|
132
|
+
|
|
133
|
+
Creates `~/.claude/DNA.md` - applies to all your projects.
|
|
134
|
+
|
|
135
|
+
---
|
|
136
|
+
|
|
137
|
+
## Signs Examples
|
|
138
|
+
|
|
139
|
+
```bash
|
|
140
|
+
# Add patterns Ralph should follow
|
|
141
|
+
npx ralph sign "Always use camelCase in WebSocket responses" frontend
|
|
142
|
+
npx ralph sign "Run migrations before seeding" backend
|
|
143
|
+
npx ralph sign "Check for null before accessing nested props" general
|
|
144
|
+
|
|
145
|
+
# List learned patterns
|
|
146
|
+
npx ralph signs
|
|
147
|
+
|
|
148
|
+
# Remove a sign
|
|
149
|
+
npx ralph unsign sign-001
|
|
150
|
+
npx ralph unsign "camelCase"
|
|
151
|
+
```
|
|
152
|
+
|
|
153
|
+
---
|
|
154
|
+
|
|
155
|
+
## Environment Variables
|
|
156
|
+
|
|
157
|
+
| Variable | Default | Description |
|
|
158
|
+
|----------|---------|-------------|
|
|
159
|
+
| `RALPH_DIR` | `.ralph` | Override ralph directory |
|
|
160
|
+
| `PROMPT_FILE` | `PROMPT.md` | Override prompt file |
|
|
161
|
+
|
|
162
|
+
---
|
|
163
|
+
|
|
164
|
+
## Config (.ralph/config.json)
|
|
165
|
+
|
|
166
|
+
```json
|
|
167
|
+
{
|
|
168
|
+
"checks": {
|
|
169
|
+
"lint": "npm run lint",
|
|
170
|
+
"test": "npm test",
|
|
171
|
+
"build": "npm run build"
|
|
172
|
+
},
|
|
173
|
+
"testUrlBase": "http://localhost:3000",
|
|
174
|
+
"maxSessionSeconds": 600
|
|
175
|
+
}
|
|
176
|
+
```
|
|
177
|
+
|
|
178
|
+
---
|
|
179
|
+
|
|
180
|
+
## File Structure
|
|
181
|
+
|
|
182
|
+
```
|
|
183
|
+
# Project files
|
|
184
|
+
.ralph/
|
|
185
|
+
├── config.json # Verification checks, settings
|
|
186
|
+
├── prd.json # Current feature PRD
|
|
187
|
+
├── signs.json # Learned patterns
|
|
188
|
+
├── progress.txt # Activity log
|
|
189
|
+
├── archive/ # Completed PRDs
|
|
190
|
+
└── screenshots/ # Browser verification captures
|
|
191
|
+
|
|
192
|
+
CLAUDE.md # Project standards (shared with team)
|
|
193
|
+
PROMPT.md # Base prompt for Ralph sessions
|
|
194
|
+
docs/ideas/ # Brainstorm outputs from /idea
|
|
195
|
+
|
|
196
|
+
# Global files (your home directory)
|
|
197
|
+
~/.claude/
|
|
198
|
+
└── DNA.md # Your DNA - personal preferences (from /my-dna)
|
|
199
|
+
```
|
|
200
|
+
|
|
201
|
+
---
|
|
202
|
+
|
|
203
|
+
*https://github.com/allierays/agentic-loop*
|
package/package.json
CHANGED
package/ralph/setup.sh
CHANGED
|
@@ -371,15 +371,22 @@ EOF
|
|
|
371
371
|
echo " Configured .claude/settings.json"
|
|
372
372
|
}
|
|
373
373
|
|
|
374
|
-
# Copy slash commands
|
|
374
|
+
# Copy slash commands (skills format for Claude Code)
|
|
375
375
|
setup_slash_commands() {
|
|
376
376
|
local pkg_root="$1"
|
|
377
377
|
|
|
378
|
-
|
|
378
|
+
# New skills format (.claude/skills/<name>/SKILL.md)
|
|
379
|
+
if [[ -d "$pkg_root/.claude/skills" ]]; then
|
|
379
380
|
echo "Installing slash commands..."
|
|
381
|
+
mkdir -p .claude/skills
|
|
382
|
+
cp -r "$pkg_root/.claude/skills/"* .claude/skills/ 2>/dev/null || true
|
|
383
|
+
echo " Copied skills to .claude/skills/"
|
|
384
|
+
fi
|
|
385
|
+
|
|
386
|
+
# Legacy commands format (for backward compatibility)
|
|
387
|
+
if [[ -d "$pkg_root/.claude/commands" ]]; then
|
|
380
388
|
mkdir -p .claude/commands
|
|
381
389
|
cp -r "$pkg_root/.claude/commands/"* .claude/commands/ 2>/dev/null || true
|
|
382
|
-
echo " Copied commands to .claude/commands/"
|
|
383
390
|
fi
|
|
384
391
|
}
|
|
385
392
|
|