@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.
Files changed (2) hide show
  1. package/README.md +27 -15
  2. 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 sweep` | Scan for components and tokens |
25
- | `buoy drift check` | Detailed drift report |
26
- | `buoy check` | Pre-commit validation |
27
- | `buoy onboard` | Set up AI guardrails |
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
- ## AI Integration
30
+ ## Fix Command
30
31
 
31
- Buoy works great with AI coding tools:
32
+ The `buoy fix` command suggests and applies fixes for design drift:
32
33
 
33
34
  ```bash
34
- # Onboard AI to your design system (creates skills + updates CLAUDE.md)
35
- buoy onboard
36
-
37
- # Or run them separately:
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
- ## CI/CD
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
- Block PRs that introduce drift:
50
+ ## AI Integration
51
+
52
+ Buoy works great with AI coding tools:
45
53
 
46
54
  ```bash
47
- buoy lighthouse --init
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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@buoy-design/cli",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "Buoy CLI - Design drift detection for the AI era",
5
5
  "type": "module",
6
6
  "license": "MIT",