@cloudstreamsoftware/claude-tools 1.2.3 → 1.2.5
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/bin/cloudstream-setup.js +21 -10
- package/commands/INDEX.md +171 -0
- package/commands/build-fix.md +44 -0
- package/commands/checkpoint.md +80 -0
- package/commands/client-switch.md +114 -0
- package/commands/code-review.md +45 -0
- package/commands/compliance-check.md +38 -0
- package/commands/create-branch.md +91 -0
- package/commands/deluge.md +72 -0
- package/commands/diagnose.md +99 -0
- package/commands/e2e.md +34 -0
- package/commands/eval.md +189 -0
- package/commands/evolve.md +170 -0
- package/commands/handoff.md +64 -0
- package/commands/health-check.md +88 -0
- package/commands/instinct-export.md +123 -0
- package/commands/instinct-import.md +150 -0
- package/commands/instinct-status.md +111 -0
- package/commands/learn.md +75 -0
- package/commands/onboard.md +133 -0
- package/commands/orchestrate.md +177 -0
- package/commands/plan.md +34 -0
- package/commands/pr-ready.md +130 -0
- package/commands/quarterly-review.md +154 -0
- package/commands/refactor-clean.md +54 -0
- package/commands/setup-pm.md +81 -0
- package/commands/skill-create.md +99 -0
- package/commands/skill-submit.md +121 -0
- package/commands/skill-sync.md +250 -0
- package/commands/tdd.md +59 -0
- package/commands/team-admin.md +179 -0
- package/commands/test-coverage.md +43 -0
- package/commands/tutorial.md +100 -0
- package/commands/update-codemaps.md +57 -0
- package/commands/update-docs.md +51 -0
- package/commands/verify-setup.md +98 -0
- package/commands/verify.md +75 -0
- package/commands/zoho-scaffold.md +159 -0
- package/package.json +2 -1
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Export instincts for sharing with teammates or other projects
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# /instinct-export - Export Learned Instincts
|
|
6
|
+
|
|
7
|
+
Exports instincts to a shareable format. Perfect for:
|
|
8
|
+
- Sharing with teammates
|
|
9
|
+
- Transferring to a new machine
|
|
10
|
+
- Contributing to project conventions
|
|
11
|
+
- Client knowledge handoff (sanitized)
|
|
12
|
+
|
|
13
|
+
## When to Use
|
|
14
|
+
|
|
15
|
+
- Before onboarding a new team member
|
|
16
|
+
- When setting up a new development machine
|
|
17
|
+
- To share learned patterns with the CloudStream team
|
|
18
|
+
- During client handoff to capture project-specific conventions
|
|
19
|
+
|
|
20
|
+
## Usage
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
/instinct-export # Export all personal instincts
|
|
24
|
+
/instinct-export --domain testing # Export only testing instincts
|
|
25
|
+
/instinct-export --min-confidence 0.7 # Only export high-confidence instincts
|
|
26
|
+
/instinct-export --output team-instincts.yaml
|
|
27
|
+
/instinct-export --format json # Export as JSON instead of YAML
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
## Process
|
|
31
|
+
|
|
32
|
+
1. Read instincts from `~/.claude/homunculus/instincts/personal/`
|
|
33
|
+
2. Filter based on flags
|
|
34
|
+
3. Strip sensitive information:
|
|
35
|
+
- Remove session IDs
|
|
36
|
+
- Remove file paths (keep only patterns)
|
|
37
|
+
- Remove timestamps older than "last week"
|
|
38
|
+
4. Generate export file
|
|
39
|
+
|
|
40
|
+
## Output Format
|
|
41
|
+
|
|
42
|
+
Creates a YAML file (default):
|
|
43
|
+
|
|
44
|
+
```yaml
|
|
45
|
+
# Instincts Export
|
|
46
|
+
# Generated: 2026-01-27
|
|
47
|
+
# Source: personal
|
|
48
|
+
# Count: 12 instincts
|
|
49
|
+
|
|
50
|
+
version: "2.0"
|
|
51
|
+
exported_by: "continuous-learning-v2"
|
|
52
|
+
export_date: "2026-01-27T10:30:00Z"
|
|
53
|
+
|
|
54
|
+
instincts:
|
|
55
|
+
- id: prefer-functional-style
|
|
56
|
+
trigger: "when writing new functions"
|
|
57
|
+
action: "Use functional patterns over classes"
|
|
58
|
+
confidence: 0.8
|
|
59
|
+
domain: code-style
|
|
60
|
+
observations: 8
|
|
61
|
+
|
|
62
|
+
- id: test-first-workflow
|
|
63
|
+
trigger: "when adding new functionality"
|
|
64
|
+
action: "Write test first, then implementation"
|
|
65
|
+
confidence: 0.9
|
|
66
|
+
domain: testing
|
|
67
|
+
observations: 12
|
|
68
|
+
|
|
69
|
+
- id: grep-before-edit
|
|
70
|
+
trigger: "when modifying code"
|
|
71
|
+
action: "Search with Grep, confirm with Read, then Edit"
|
|
72
|
+
confidence: 0.7
|
|
73
|
+
domain: workflow
|
|
74
|
+
observations: 6
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
## Privacy Considerations
|
|
78
|
+
|
|
79
|
+
### Exports include:
|
|
80
|
+
- Trigger patterns
|
|
81
|
+
- Actions
|
|
82
|
+
- Confidence scores
|
|
83
|
+
- Domains
|
|
84
|
+
- Observation counts
|
|
85
|
+
|
|
86
|
+
### Exports do NOT include:
|
|
87
|
+
- Actual code snippets
|
|
88
|
+
- File paths
|
|
89
|
+
- Session transcripts
|
|
90
|
+
- Personal identifiers
|
|
91
|
+
- Client-specific data
|
|
92
|
+
|
|
93
|
+
## Flags
|
|
94
|
+
|
|
95
|
+
| Flag | Description | Default |
|
|
96
|
+
|------|-------------|---------|
|
|
97
|
+
| `--domain <name>` | Export only specified domain | all |
|
|
98
|
+
| `--min-confidence <n>` | Minimum confidence threshold | 0.3 |
|
|
99
|
+
| `--output <file>` | Output file path | instincts-export-YYYYMMDD.yaml |
|
|
100
|
+
| `--format <yaml\|json\|md>` | Output format | yaml |
|
|
101
|
+
| `--include-evidence` | Include evidence text | excluded |
|
|
102
|
+
|
|
103
|
+
## CloudStream Integration
|
|
104
|
+
|
|
105
|
+
For client knowledge capture during handoff:
|
|
106
|
+
|
|
107
|
+
```bash
|
|
108
|
+
# Export high-confidence client patterns
|
|
109
|
+
/instinct-export --min-confidence 0.7 --output client-patterns.yaml
|
|
110
|
+
|
|
111
|
+
# Review before sharing
|
|
112
|
+
cat client-patterns.yaml
|
|
113
|
+
|
|
114
|
+
# Import into new client project
|
|
115
|
+
/instinct-import client-patterns.yaml
|
|
116
|
+
```
|
|
117
|
+
|
|
118
|
+
## Related Commands
|
|
119
|
+
|
|
120
|
+
- `/instinct-status` - View current instincts
|
|
121
|
+
- `/instinct-import` - Import instincts from teammates
|
|
122
|
+
- `/handoff` - Generate client handoff documentation
|
|
123
|
+
- `/learn` - Manually capture patterns
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Import instincts from teammates, Skill Creator, or other sources
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# /instinct-import - Import Learned Instincts
|
|
6
|
+
|
|
7
|
+
Import instincts from:
|
|
8
|
+
- Teammates' exports
|
|
9
|
+
- Skill Creator (repo analysis)
|
|
10
|
+
- Community collections
|
|
11
|
+
- Previous machine backups
|
|
12
|
+
|
|
13
|
+
## When to Use
|
|
14
|
+
|
|
15
|
+
- When onboarding to a new project
|
|
16
|
+
- Setting up a new development machine
|
|
17
|
+
- Receiving knowledge from teammates
|
|
18
|
+
- Importing client-specific patterns
|
|
19
|
+
|
|
20
|
+
## Usage
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
/instinct-import team-instincts.yaml
|
|
24
|
+
/instinct-import https://github.com/org/repo/instincts.yaml
|
|
25
|
+
/instinct-import --from-skill-creator acme/webapp
|
|
26
|
+
/instinct-import --dry-run team-instincts.yaml # Preview without importing
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
## Import Process
|
|
30
|
+
|
|
31
|
+
```
|
|
32
|
+
📥 Importing instincts from: team-instincts.yaml
|
|
33
|
+
================================================
|
|
34
|
+
|
|
35
|
+
Found 12 instincts to import.
|
|
36
|
+
|
|
37
|
+
Analyzing conflicts...
|
|
38
|
+
|
|
39
|
+
## New Instincts (8)
|
|
40
|
+
These will be added:
|
|
41
|
+
✓ use-zod-validation (confidence: 0.7)
|
|
42
|
+
✓ prefer-named-exports (confidence: 0.65)
|
|
43
|
+
✓ test-async-functions (confidence: 0.8)
|
|
44
|
+
...
|
|
45
|
+
|
|
46
|
+
## Duplicate Instincts (3)
|
|
47
|
+
Already have similar instincts:
|
|
48
|
+
⚠️ prefer-functional-style
|
|
49
|
+
Local: 0.8 confidence, 12 observations
|
|
50
|
+
Import: 0.7 confidence
|
|
51
|
+
→ Keep local (higher confidence)
|
|
52
|
+
|
|
53
|
+
⚠️ test-first-workflow
|
|
54
|
+
Local: 0.75 confidence
|
|
55
|
+
Import: 0.9 confidence
|
|
56
|
+
→ Update to import (higher confidence)
|
|
57
|
+
|
|
58
|
+
## Conflicting Instincts (1)
|
|
59
|
+
These contradict local instincts:
|
|
60
|
+
❌ use-classes-for-services
|
|
61
|
+
Conflicts with: avoid-classes
|
|
62
|
+
→ Skip (requires manual resolution)
|
|
63
|
+
|
|
64
|
+
---
|
|
65
|
+
Import 8 new, update 1, skip 3?
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
## Merge Strategies
|
|
69
|
+
|
|
70
|
+
### For Duplicates
|
|
71
|
+
When importing an instinct that matches an existing one:
|
|
72
|
+
- **Higher confidence wins**: Keep the one with higher confidence
|
|
73
|
+
- **Merge evidence**: Combine observation counts
|
|
74
|
+
- **Update timestamp**: Mark as recently validated
|
|
75
|
+
|
|
76
|
+
### For Conflicts
|
|
77
|
+
When importing an instinct that contradicts an existing one:
|
|
78
|
+
- **Skip by default**: Don't import conflicting instincts
|
|
79
|
+
- **Flag for review**: Mark both as needing attention
|
|
80
|
+
- **Manual resolution**: User decides which to keep
|
|
81
|
+
|
|
82
|
+
## Source Tracking
|
|
83
|
+
|
|
84
|
+
Imported instincts are marked with:
|
|
85
|
+
|
|
86
|
+
```yaml
|
|
87
|
+
source: "inherited"
|
|
88
|
+
imported_from: "team-instincts.yaml"
|
|
89
|
+
imported_at: "2026-01-27T10:30:00Z"
|
|
90
|
+
original_source: "session-observation" # or "repo-analysis"
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
## Skill Creator Integration
|
|
94
|
+
|
|
95
|
+
When importing from Skill Creator:
|
|
96
|
+
|
|
97
|
+
```bash
|
|
98
|
+
/instinct-import --from-skill-creator acme/webapp
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
This fetches instincts generated from repo analysis:
|
|
102
|
+
- Source: `repo-analysis`
|
|
103
|
+
- Higher initial confidence (0.7+)
|
|
104
|
+
- Linked to source repository
|
|
105
|
+
|
|
106
|
+
## Flags
|
|
107
|
+
|
|
108
|
+
| Flag | Description |
|
|
109
|
+
|------|-------------|
|
|
110
|
+
| `--dry-run` | Preview without importing |
|
|
111
|
+
| `--force` | Import even if conflicts exist |
|
|
112
|
+
| `--merge-strategy <higher\|local\|import>` | How to handle duplicates |
|
|
113
|
+
| `--from-skill-creator <owner/repo>` | Import from Skill Creator analysis |
|
|
114
|
+
| `--min-confidence <n>` | Only import instincts above threshold |
|
|
115
|
+
|
|
116
|
+
## Output
|
|
117
|
+
|
|
118
|
+
After import:
|
|
119
|
+
|
|
120
|
+
```
|
|
121
|
+
✅ Import complete!
|
|
122
|
+
|
|
123
|
+
Added: 8 instincts
|
|
124
|
+
Updated: 1 instinct
|
|
125
|
+
Skipped: 3 instincts (2 duplicates, 1 conflict)
|
|
126
|
+
|
|
127
|
+
New instincts saved to: ~/.claude/homunculus/instincts/inherited/
|
|
128
|
+
|
|
129
|
+
Run /instinct-status to see all instincts.
|
|
130
|
+
```
|
|
131
|
+
|
|
132
|
+
## CloudStream Integration
|
|
133
|
+
|
|
134
|
+
For client project onboarding:
|
|
135
|
+
|
|
136
|
+
```bash
|
|
137
|
+
# Import team conventions
|
|
138
|
+
/instinct-import cloudstream-conventions.yaml
|
|
139
|
+
|
|
140
|
+
# Import client-specific patterns (if available)
|
|
141
|
+
/instinct-import client-patterns.yaml --dry-run
|
|
142
|
+
/instinct-import client-patterns.yaml
|
|
143
|
+
```
|
|
144
|
+
|
|
145
|
+
## Related Commands
|
|
146
|
+
|
|
147
|
+
- `/instinct-status` - View current instincts
|
|
148
|
+
- `/instinct-export` - Export instincts for sharing
|
|
149
|
+
- `/client-switch` - Switch client context
|
|
150
|
+
- `/onboard` - New project setup wizard
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: View all learned instincts with confidence scores grouped by domain
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# /instinct-status - View Learned Instincts
|
|
6
|
+
|
|
7
|
+
The `/instinct-status` command displays all learned instincts with their confidence scores, grouped by domain.
|
|
8
|
+
|
|
9
|
+
## When to Use
|
|
10
|
+
|
|
11
|
+
- Review what patterns Claude has learned from your sessions
|
|
12
|
+
- Identify low-confidence instincts that need reinforcement
|
|
13
|
+
- Before exporting instincts to share with teammates
|
|
14
|
+
- To understand which domains have the most learned behaviors
|
|
15
|
+
|
|
16
|
+
## Usage
|
|
17
|
+
|
|
18
|
+
```bash
|
|
19
|
+
/instinct-status # Show all instincts
|
|
20
|
+
/instinct-status --domain testing # Filter by domain
|
|
21
|
+
/instinct-status --low-confidence # Show instincts below 50%
|
|
22
|
+
/instinct-status --high-confidence # Show instincts 70%+
|
|
23
|
+
/instinct-status --source repo-analysis # Filter by source
|
|
24
|
+
/instinct-status --json # Output as JSON
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
## Output Format
|
|
28
|
+
|
|
29
|
+
```
|
|
30
|
+
INSTINCT STATUS
|
|
31
|
+
===============
|
|
32
|
+
|
|
33
|
+
## Code Style (4 instincts)
|
|
34
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
35
|
+
|
|
36
|
+
prefer-functional-style
|
|
37
|
+
Trigger: when writing new functions
|
|
38
|
+
Action: Use functional patterns over classes
|
|
39
|
+
Confidence: ████████░░ 80%
|
|
40
|
+
Source: session-observation
|
|
41
|
+
Observations: 12
|
|
42
|
+
|
|
43
|
+
use-early-returns
|
|
44
|
+
Trigger: when handling edge cases
|
|
45
|
+
Action: Return early instead of nested conditionals
|
|
46
|
+
Confidence: ███████░░░ 70%
|
|
47
|
+
Source: session-observation
|
|
48
|
+
Observations: 8
|
|
49
|
+
|
|
50
|
+
## Testing (3 instincts)
|
|
51
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
52
|
+
|
|
53
|
+
test-first-workflow
|
|
54
|
+
Trigger: when adding new functionality
|
|
55
|
+
Action: Write test first, then implementation
|
|
56
|
+
Confidence: █████████░ 90%
|
|
57
|
+
Source: inherited
|
|
58
|
+
Observations: 15
|
|
59
|
+
|
|
60
|
+
## Workflow (2 instincts)
|
|
61
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
62
|
+
|
|
63
|
+
grep-before-edit
|
|
64
|
+
Trigger: when modifying code
|
|
65
|
+
Action: Search with Grep, confirm with Read, then Edit
|
|
66
|
+
Confidence: ███████░░░ 70%
|
|
67
|
+
Source: session-observation
|
|
68
|
+
Observations: 6
|
|
69
|
+
|
|
70
|
+
---
|
|
71
|
+
SUMMARY
|
|
72
|
+
Total Instincts: 9
|
|
73
|
+
Personal: 6
|
|
74
|
+
Inherited: 3
|
|
75
|
+
Observer: Running (last analysis: 5 min ago)
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
## Available Filters
|
|
79
|
+
|
|
80
|
+
| Flag | Description |
|
|
81
|
+
|------|-------------|
|
|
82
|
+
| `--domain <name>` | Filter by domain (code-style, testing, git, workflow) |
|
|
83
|
+
| `--low-confidence` | Show instincts below 50% confidence |
|
|
84
|
+
| `--high-confidence` | Show instincts 70% or higher |
|
|
85
|
+
| `--source <type>` | Filter by source (session-observation, repo-analysis, inherited) |
|
|
86
|
+
| `--json` | Export results as JSON for programmatic integration |
|
|
87
|
+
|
|
88
|
+
## Domain Categories
|
|
89
|
+
|
|
90
|
+
- **code-style** - Formatting, naming, patterns
|
|
91
|
+
- **testing** - Test patterns, coverage practices
|
|
92
|
+
- **workflow** - File operations, command sequences
|
|
93
|
+
- **git** - Commit practices, branching
|
|
94
|
+
- **architecture** - Structure, organization
|
|
95
|
+
- **security** - Security practices, input validation
|
|
96
|
+
|
|
97
|
+
## Confidence Levels
|
|
98
|
+
|
|
99
|
+
| Range | Meaning |
|
|
100
|
+
|-------|---------|
|
|
101
|
+
| 0.3 - 0.5 | Observed but not yet validated |
|
|
102
|
+
| 0.5 - 0.7 | Growing confidence through repetition |
|
|
103
|
+
| 0.7 - 0.9 | Well-established pattern |
|
|
104
|
+
| 0.9+ | Core workflow, highly reliable |
|
|
105
|
+
|
|
106
|
+
## Related Commands
|
|
107
|
+
|
|
108
|
+
- `/instinct-export` - Export instincts for sharing
|
|
109
|
+
- `/instinct-import` - Import instincts from teammates
|
|
110
|
+
- `/evolve` - Cluster instincts into higher-level structures
|
|
111
|
+
- `/learn` - Manually capture patterns
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: learn
|
|
3
|
+
description: Analyze current session and extract reusable patterns worth saving as skills. Critical for consultancy knowledge capture.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# /learn - Extract Reusable Patterns
|
|
7
|
+
|
|
8
|
+
Analyze the current session and extract any patterns worth saving as skills.
|
|
9
|
+
|
|
10
|
+
## Trigger
|
|
11
|
+
|
|
12
|
+
Run `/learn` at any point during a session when you've solved a non-trivial problem.
|
|
13
|
+
|
|
14
|
+
## What to Extract
|
|
15
|
+
|
|
16
|
+
Look for:
|
|
17
|
+
|
|
18
|
+
1. **Error Resolution Patterns**
|
|
19
|
+
- What error occurred?
|
|
20
|
+
- What was the root cause?
|
|
21
|
+
- What fixed it?
|
|
22
|
+
- Is this reusable for similar errors?
|
|
23
|
+
|
|
24
|
+
2. **Debugging Techniques**
|
|
25
|
+
- Non-obvious debugging steps
|
|
26
|
+
- Tool combinations that worked
|
|
27
|
+
- Diagnostic patterns
|
|
28
|
+
|
|
29
|
+
3. **Workarounds**
|
|
30
|
+
- Library quirks
|
|
31
|
+
- API limitations
|
|
32
|
+
- Version-specific fixes
|
|
33
|
+
|
|
34
|
+
4. **Project-Specific Patterns**
|
|
35
|
+
- Codebase conventions discovered
|
|
36
|
+
- Architecture decisions made
|
|
37
|
+
- Integration patterns
|
|
38
|
+
|
|
39
|
+
## Output Format
|
|
40
|
+
|
|
41
|
+
Create a skill file at `~/.claude/skills/learned/[pattern-name].md`:
|
|
42
|
+
|
|
43
|
+
```markdown
|
|
44
|
+
# [Descriptive Pattern Name]
|
|
45
|
+
|
|
46
|
+
**Extracted:** [Date]
|
|
47
|
+
**Context:** [Brief description of when this applies]
|
|
48
|
+
|
|
49
|
+
## Problem
|
|
50
|
+
[What problem this solves - be specific]
|
|
51
|
+
|
|
52
|
+
## Solution
|
|
53
|
+
[The pattern/technique/workaround]
|
|
54
|
+
|
|
55
|
+
## Example
|
|
56
|
+
[Code example if applicable]
|
|
57
|
+
|
|
58
|
+
## When to Use
|
|
59
|
+
[Trigger conditions - what should activate this skill]
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
## Process
|
|
63
|
+
|
|
64
|
+
1. Review the session for extractable patterns
|
|
65
|
+
2. Identify the most valuable/reusable insight
|
|
66
|
+
3. Draft the skill file
|
|
67
|
+
4. Ask user to confirm before saving
|
|
68
|
+
5. Save to `~/.claude/skills/learned/`
|
|
69
|
+
|
|
70
|
+
## Notes
|
|
71
|
+
|
|
72
|
+
- Don't extract trivial fixes (typos, simple syntax errors)
|
|
73
|
+
- Don't extract one-time issues (specific API outages, etc.)
|
|
74
|
+
- Focus on patterns that will save time in future sessions
|
|
75
|
+
- Keep skills focused - one pattern per skill
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: onboard
|
|
3
|
+
description: Interactive setup wizard for new users. Guides through prerequisites, installation verification, and first steps with CloudStream Claude Tools.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Onboard Command
|
|
7
|
+
|
|
8
|
+
Interactive wizard to help new users get set up with CloudStream Claude Tools.
|
|
9
|
+
|
|
10
|
+
## Instructions
|
|
11
|
+
|
|
12
|
+
When user runs `/onboard`, guide them through an interactive setup process.
|
|
13
|
+
|
|
14
|
+
### Wizard Flow
|
|
15
|
+
|
|
16
|
+
**Step 1: Welcome & Prerequisites**
|
|
17
|
+
```
|
|
18
|
+
Welcome to CloudStream Claude Code!
|
|
19
|
+
|
|
20
|
+
Let's get you set up. This takes about 15 minutes.
|
|
21
|
+
|
|
22
|
+
[1/6] Checking prerequisites...
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
Check and report:
|
|
26
|
+
- Node.js version (18+ required)
|
|
27
|
+
- Git configured
|
|
28
|
+
- npm/yarn/pnpm available
|
|
29
|
+
|
|
30
|
+
If any fail, provide specific instructions to fix.
|
|
31
|
+
|
|
32
|
+
**Step 2: Repository Check**
|
|
33
|
+
```
|
|
34
|
+
[2/6] Checking repository setup...
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
Verify:
|
|
38
|
+
- In a git repository
|
|
39
|
+
- Has upstream remote configured
|
|
40
|
+
- Is a fork of the central repo
|
|
41
|
+
|
|
42
|
+
If not configured, guide through:
|
|
43
|
+
```
|
|
44
|
+
To set up upstream, run:
|
|
45
|
+
git remote add upstream https://github.com/CloudStreamSoftware/css_claude_code.git
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
**Step 3: Dependency Check**
|
|
49
|
+
```
|
|
50
|
+
[3/6] Checking dependencies...
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
Verify:
|
|
54
|
+
- node_modules exists
|
|
55
|
+
- All dependencies installed
|
|
56
|
+
|
|
57
|
+
If missing:
|
|
58
|
+
```
|
|
59
|
+
Dependencies not installed. Run:
|
|
60
|
+
npm install
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
**Step 4: Credential Setup**
|
|
64
|
+
```
|
|
65
|
+
[4/6] Checking credentials...
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
Check for `~/.claude/.env`:
|
|
69
|
+
- If exists, verify it has content
|
|
70
|
+
- If missing, guide through creation
|
|
71
|
+
|
|
72
|
+
Provide template:
|
|
73
|
+
```
|
|
74
|
+
Create ~/.claude/.env with:
|
|
75
|
+
GITHUB_TOKEN=your_github_token
|
|
76
|
+
|
|
77
|
+
Ask your team lead for additional credentials needed for your client projects.
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
**Step 5: Health Check**
|
|
81
|
+
```
|
|
82
|
+
[5/6] Running health check...
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
Run `/health-check` internally and report results.
|
|
86
|
+
|
|
87
|
+
**Step 6: Next Steps**
|
|
88
|
+
```
|
|
89
|
+
[6/6] Setup complete!
|
|
90
|
+
|
|
91
|
+
Your system is ready. Here's what to do next:
|
|
92
|
+
|
|
93
|
+
1. Start the tutorial:
|
|
94
|
+
/tutorial
|
|
95
|
+
|
|
96
|
+
2. Review documentation:
|
|
97
|
+
- README.md (overview)
|
|
98
|
+
- GETTING-STARTED.md (detailed setup)
|
|
99
|
+
- docs/DAY-ONE-CHECKLIST.md (first day guide)
|
|
100
|
+
|
|
101
|
+
3. When ready for client work:
|
|
102
|
+
/client-switch [client-name]
|
|
103
|
+
|
|
104
|
+
Questions? Ask your team buddy or post in #claude-code channel.
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
## Arguments
|
|
108
|
+
|
|
109
|
+
$ARGUMENTS can be:
|
|
110
|
+
- (none) - Run full wizard
|
|
111
|
+
- `--skip-checks` - Skip prerequisite checks (for re-running)
|
|
112
|
+
- `--status` - Show current setup status without wizard
|
|
113
|
+
|
|
114
|
+
## Examples
|
|
115
|
+
|
|
116
|
+
```
|
|
117
|
+
/onboard # Full interactive wizard
|
|
118
|
+
/onboard --status # Just show current status
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
## When to Use
|
|
122
|
+
|
|
123
|
+
- First time setting up CloudStream Claude Tools
|
|
124
|
+
- After cloning to a new machine
|
|
125
|
+
- When helping a teammate get set up
|
|
126
|
+
- To verify setup is complete
|
|
127
|
+
|
|
128
|
+
## Related Commands
|
|
129
|
+
|
|
130
|
+
- `/health-check` - Quick health verification
|
|
131
|
+
- `/diagnose` - Deep troubleshooting
|
|
132
|
+
- `/tutorial` - Start learning the system
|
|
133
|
+
- `/verify` - Verify tutorial setup
|