New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

@buoy-design/cli

Package Overview
Dependencies
Maintainers
1
Versions
112
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@buoy-design/cli

Catch design drift before it ships

latest
Source
npmnpm
Version
0.8.7
Version published
Weekly downloads
260
-90%
Maintainers
1
Weekly downloads
 
Created
Source

ahoybuoy

Catch design drift before it ships. Buoy scans your codebase to find where AI-generated code diverges from your design system.

Quick Start

npx ahoybuoy show all

This scans your project without requiring configuration.

What It Finds

  • Hardcoded colors like #3b82f6 instead of design tokens
  • Magic numbers like padding: 17px instead of spacing variables
  • AI-generated code that ignores your team's patterns

Commands

CommandPurpose
buoy show allScan for components, tokens, and drift
buoy drift checkPre-commit drift validation
buoy drift fixPreview or apply drift fixes
buoy rescueMeasure, repair, guard, and prove improvement
buoy dockConfigure project (agents, hooks, etc.)
buoy ahoyCloud features (login, GitHub bot, billing)

Fix Command

The buoy drift fix command suggests and applies fixes for design drift:

buoy drift fix                    # Preview fixable issues
buoy drift fix --dry-run          # Show detailed diffs
buoy drift fix --apply            # Apply high-confidence fixes
buoy drift fix --confidence=high  # Require high-confidence matches

Rescue workflow

For an existing codebase, Rescue turns the commands into one reviewable journey:

buoy rescue plan
# Review .buoy/rescue/runs/<run-id>/report.html
buoy rescue apply --run <run-id> --approve
buoy rescue guard --run <run-id> --reason "Reviewed legacy baseline"
buoy rescue report --run <run-id>

Apply requires a clean Git worktree and creates a new buoy/<run-id> branch. Buoy never commits, pushes, merges, or uploads source code. Ambiguous changes stay review-required, and buoy rescue rollback restores local backups.

Confidence Levels

LevelScoreDescription
exact100%Value exactly matches a design token
high95-99%Very close match, safe to auto-apply
medium70-94%Close match, review recommended
low<70%Ambiguous, manual review required

AI Integration

Buoy works great with AI coding tools:

# Set up AI agents with design system context
buoy dock agents

# Generate CLAUDE.md context
buoy dock context

Zero Config

Buoy auto-detects your framework (React, Vue, Svelte, Angular, Astro) and scans standard paths. No configuration required to get started.

Telemetry

Off by default. After your first drift result in an interactive terminal, Buoy asks once whether it may send anonymous usage pings. Say no and it never asks again.

If you opt in, it sends event names (cli_first_run, cli_drift_found, cli_check_clean, cli_hint_shown, cli_login_started) with counts, the CLI version, and your OS. Never file paths, repository names, code, or account details. A random id in ~/.buoy/config.json groups pings from one install and is not tied to you.

buoy ahoy telemetry          # show the setting and the exact payload
buoy ahoy telemetry off      # or on

BUOY_TELEMETRY=0, DO_NOT_TRACK=1, or CI in the environment disables it regardless of the setting. JSON and quiet output never send.

  • Documentation
  • GitHub

Keywords

buoy

FAQs

Package last updated on 24 Sep 2026

Related posts