@buoy-design/cli 0.2.0 → 0.2.1
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 +27 -15
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -21,30 +21,42 @@ This scans your project and walks you through setup.
|
|
|
21
21
|
| Command | Purpose |
|
|
22
22
|
|---------|---------|
|
|
23
23
|
| `buoy begin` | Interactive setup wizard |
|
|
24
|
-
| `buoy
|
|
25
|
-
| `buoy
|
|
26
|
-
| `buoy
|
|
27
|
-
| `buoy
|
|
24
|
+
| `buoy show all` | Scan for components, tokens, and drift |
|
|
25
|
+
| `buoy check` | Pre-commit drift validation |
|
|
26
|
+
| `buoy fix` | Auto-fix drift issues |
|
|
27
|
+
| `buoy dock` | Configure project (agents, hooks, etc.) |
|
|
28
|
+
| `buoy ship` | Cloud features (login, GitHub bot, billing) |
|
|
28
29
|
|
|
29
|
-
##
|
|
30
|
+
## Fix Command
|
|
30
31
|
|
|
31
|
-
|
|
32
|
+
The `buoy fix` command suggests and applies fixes for design drift:
|
|
32
33
|
|
|
33
34
|
```bash
|
|
34
|
-
#
|
|
35
|
-
buoy
|
|
36
|
-
|
|
37
|
-
#
|
|
38
|
-
buoy skill spill # Generate skill files only
|
|
39
|
-
buoy context # Update CLAUDE.md only
|
|
35
|
+
buoy fix # Preview fixable issues
|
|
36
|
+
buoy fix --dry-run # Show detailed diffs
|
|
37
|
+
buoy fix --apply # Apply high-confidence fixes
|
|
38
|
+
buoy fix --confidence=exact # Only exact matches (safest)
|
|
40
39
|
```
|
|
41
40
|
|
|
42
|
-
|
|
41
|
+
### Confidence Levels
|
|
42
|
+
|
|
43
|
+
| Level | Score | Description |
|
|
44
|
+
|-------|-------|-------------|
|
|
45
|
+
| **exact** | 100% | Value exactly matches a design token |
|
|
46
|
+
| **high** | 95-99% | Very close match, safe to auto-apply |
|
|
47
|
+
| **medium** | 70-94% | Close match, review recommended |
|
|
48
|
+
| **low** | <70% | Ambiguous, manual review required |
|
|
43
49
|
|
|
44
|
-
|
|
50
|
+
## AI Integration
|
|
51
|
+
|
|
52
|
+
Buoy works great with AI coding tools:
|
|
45
53
|
|
|
46
54
|
```bash
|
|
47
|
-
|
|
55
|
+
# Set up AI agents with design system context
|
|
56
|
+
buoy dock agents
|
|
57
|
+
|
|
58
|
+
# Generate CLAUDE.md context
|
|
59
|
+
buoy dock context
|
|
48
60
|
```
|
|
49
61
|
|
|
50
62
|
## Zero Config
|