thrivekit 2.0.1 → 2.0.3
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/README.md +1 -1
- package/package.json +1 -1
- package/ralph/setup.sh +12 -29
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@ A toolkit for implementing [RALPH](https://ghuntley.com/ralph/) with [Claude Cod
|
|
|
6
6
|
|
|
7
7
|
> You focus on what matters: your ideas. Brainstorm with `/idea`, then let Ralph handle the rest - coding, testing, and committing in an iterative loop until everything passes.
|
|
8
8
|
|
|
9
|
-
### This repo
|
|
9
|
+
### This repo helps you customize your code output, run autonomous coding loops, and adds guardrails to ensure good code little and often:
|
|
10
10
|
#### Customize
|
|
11
11
|
- **`/my-dna`** - Add your own voice and values to your claude.md (This helps you personalize your experience and output)
|
|
12
12
|
- **`/styleguide`** - Generate a UI component reference for consistent design (Stop AI from generating everything in purple add your unique style in an html and then reference it)
|
package/package.json
CHANGED
package/ralph/setup.sh
CHANGED
|
@@ -7,31 +7,9 @@ ralph_setup() {
|
|
|
7
7
|
echo "Setting up thrivekit..."
|
|
8
8
|
echo ""
|
|
9
9
|
|
|
10
|
-
#
|
|
11
|
-
local pkg_root
|
|
12
|
-
|
|
13
|
-
# Check common locations
|
|
14
|
-
if [[ -d "node_modules/thrivekit" ]]; then
|
|
15
|
-
pkg_root="node_modules/thrivekit"
|
|
16
|
-
elif [[ -d "apps/web/node_modules/thrivekit" ]]; then
|
|
17
|
-
pkg_root="apps/web/node_modules/thrivekit"
|
|
18
|
-
elif [[ -d "apps/frontend/node_modules/thrivekit" ]]; then
|
|
19
|
-
pkg_root="apps/frontend/node_modules/thrivekit"
|
|
20
|
-
elif [[ -d "frontend/node_modules/thrivekit" ]]; then
|
|
21
|
-
pkg_root="frontend/node_modules/thrivekit"
|
|
22
|
-
else
|
|
23
|
-
# Search for it
|
|
24
|
-
pkg_root=$(find . -path "*/node_modules/thrivekit" -type d 2>/dev/null | head -1)
|
|
25
|
-
fi
|
|
26
|
-
|
|
27
|
-
if [[ -z "$pkg_root" || ! -d "$pkg_root" ]]; then
|
|
28
|
-
print_error "thrivekit not found in node_modules."
|
|
29
|
-
echo "Run: npm install thrivekit"
|
|
30
|
-
return 1
|
|
31
|
-
fi
|
|
32
|
-
|
|
33
|
-
# Convert to absolute path
|
|
34
|
-
pkg_root="$(cd "$pkg_root" && pwd)"
|
|
10
|
+
# Package root is relative to this script (works with npx and local installs)
|
|
11
|
+
local pkg_root
|
|
12
|
+
pkg_root="$(cd "$RALPH_LIB/.." && pwd)"
|
|
35
13
|
echo "Found package at: $pkg_root"
|
|
36
14
|
echo ""
|
|
37
15
|
|
|
@@ -47,11 +25,16 @@ ralph_setup() {
|
|
|
47
25
|
print_success "Setup complete!"
|
|
48
26
|
echo ""
|
|
49
27
|
echo "Next steps:"
|
|
50
|
-
echo " claude # Start Claude Code"
|
|
51
|
-
echo " /idea 'your feature' # Generate a PRD"
|
|
52
|
-
echo " npx thrivekit run # Execute autonomously"
|
|
53
28
|
echo ""
|
|
54
|
-
echo "
|
|
29
|
+
echo " 1. Start Claude Code:"
|
|
30
|
+
echo " claude --dangerously-skip-permissions"
|
|
31
|
+
echo ""
|
|
32
|
+
echo " 2. Inside Claude, try:"
|
|
33
|
+
echo " /tour # Guided walkthrough"
|
|
34
|
+
echo " /idea 'your feature' # Generate a PRD"
|
|
35
|
+
echo ""
|
|
36
|
+
echo " 3. Or run autonomously:"
|
|
37
|
+
echo " npx thrivekit run"
|
|
55
38
|
echo ""
|
|
56
39
|
}
|
|
57
40
|
|