deeepSpace Documentation
website·Indexed 30 days ago
https://docs.deeepspace.comA platform designed to keep design systems and code continuously aligned, serving as a single source of truth for designers and developers. The ecosystem includes a Figma Plugin and the deeep CLI for installing, authenticating, and syncing Git repositories to ensure zero drift between design and implementation.
What's inside deeepSpace
- deeepSpace serves as a continuous source of truth for design systems. It enables developers to connect Figma components directly with code, detect design drift, and stream living design context to AI coding agents to ensure consistency between design and implementation.
Overview of deeepSpace Product Ecosystem
deeepSpace provides a suite of tools to synchronize and align design systems between Figma and codebases. The ecosystem consists of:
- Figma Plugin: Allows designers to selectively sync components, variants, properties, styles, tokens, and design specifications from Figma into deeepSpace.
- deeep CLI: Analyzes the UI codebase to discover components and Storybook stories, normalizes metadata, and syncs code-side representations to deeepSpace.
- Web Space: A central hub for exploring components, mapping Figma to code, inspecting versions, identifying mismatches, reviewing visual diffs, and managing projects.
- deeepAI: An intelligence layer that analyzes relationships between design and code, explains mismatches, identifies root causes, and assists in generating alignment fixes.
- AI Connector (MCP): A Model Context Protocol server that provides AI coding agents and IDE tools with live design-system context to ensure AI operates using the actual source of truth.
Overview of deeepSpace CLI and Storybook integration capabilities
deeepSpace provides a suite of tools for managing component synchronization and Storybook discovery. Key capabilities include:
- Command Line Interface: Supports authentication, project creation/linking, sync (including dry-runs), status checks, account management, and updates.
- Discovery & Sync: Initialization of CLI or Storybook discovery occurs independently of component-sync success. Content tracking uses canonical component and manifest hashes to ensure repeatable sync requests.
- Git Integration: Component uploads validate the branch and commit, requiring committed source paths that match the connected repository.
- Package Management: Components automatically include package declarations from their owning manifest, with support for monorepo structures.
- Storybook Metadata: Syncs stories, JSON-safe args, argTypes, supported preview paths, and optional deployed URLs.
- Storybook Discovery: Supports typed CSF, workspace imports, aliases, barrel re-exports, and improved index detection.
- Hosting & Uploads: Supports optional build/upload after sync, configurable timeouts, dependency recovery, and Yarn PnP handling. Uploads include retries for transient failures and server-provided content types/ACL headers.
Overview of deeepSpace Design System Synchronization
deeepSpace serves as a single source of truth for design systems by connecting Figma components with their corresponding code components. It enables continuous alignment between design and implementation by tracking and versioning both sides, detecting mismatches in structure, styling, tokens, variants, and visuals, and providing a shared context for designers, developers, and AI agents. The core workflow follows a cycle of: Sync → Version → Detect → Verify → Align.Overview of deeepSpace design system alignment
deeepSpace serves as a single source of truth for design systems by connecting Figma components to their corresponding code implementations. It enables teams and AI agents to maintain alignment through a workflow of Syncing, Versioning, Detecting, Verifying, and Aligning. The platform specifically tracks and versions both design and code to detect mismatches in structure, styling, tokens, variants, and visual appearance, identifying exactly where design and implementation have drifted.Overview of the deeepSpace Product Ecosystem
deeepSpace provides a suite of tools to synchronize and align design systems between Figma and codebases:
- Figma Plugin: Allows designers to selectively sync components, variants, properties, styles, and design tokens into deeepSpace.
- deeep CLI: Analyzes UI codebases to discover components and Storybook stories, then syncs these code representations.
- Web Space: Serves as the central design-system hub for exploring components, managing Figma-to-code mappings, inspecting versions, and reviewing visual diffs.
- deeepAI: An intelligence layer that analyzes relationships between design and code, explains mismatches, and helps generate fixes.
- AI Connector (MCP): A Model Context Protocol server that provides AI coding agents and IDE tools with live design-system context to enable automated alignment.
Overview of deeepSpace Core Capabilities
deeepSpace provides a suite of tools to maintain alignment between design systems in Figma and their corresponding code implementations. Key capabilities include:
- Design & Code Sync: Maintains a connection between Figma components and code components as the design system evolves.
- Versioning & Change Tracking: Tracks version history across both design and code to identify when and what changes occurred.
- Mismatch Detection: Identifies drift in structure, styling, tokens, and variants between Figma designs and code.
- Visual Verification: Allows for the comparison of rendered code components against Figma visuals to ensure implementation accuracy.
- AI-Powered Alignment: Provides AI agents with shared design-system context to help resolve differences and maintain synchronization.
Overview of the deeep CLI
The deeep CLI is the command-line client for deeepSpace. It is used to perform three primary tasks: authenticate your user account, link a local Git repository to a specific deeepSpace project, and synchronize local components with the design system.Get help and overview for the deeep CLI
To view the general command overview, run thedeeepcommand without arguments. For detailed help on specific commands or general usage, use the--helpflag.# General command overview deeep # General help deeep --help # Help for a specific command deeep <command> --helpIntegrate Storybook with deeepSpace for component discovery
deeepSpace supports Storybook integration to join generated story indices with local component and story source files. This process involves extracting Component Story Format (CSF) metadata and parsing Storybook index versions (v2 through v5). For live previews, users can either provide an existing deployed Storybook URL or publish a static build directly through deeepSpace.Uninstall deeepSpace CLI on Windows
To uninstall the deeepSpace CLI on Windows:
- Run the command
deeep logoutto clear stored credentials. - Open Windows Settings and uninstall deeep CLI from the installed apps list.
deeep logout- Run the command
Execute the deeepSpace daily synchronization workflow
Follow these steps to develop components and synchronize them with deeepSpace:
- Develop your components and stories.
- Perform a diagnostic check by running
deeep sync --dry-runand reviewing the output. - Commit and push the relevant source files to your repository.
- If using Storybook discovery, rebuild Storybook.
- Synchronize the components by running
deeep sync. Usedeeep sync --storybook-hostingif you need to refresh the hosted build. - Verify the components in deeepSpace. The project's Home tab provides the current registered discovery method and the latest sync status.
# Run diagnostics without syncing deeep sync --dry-run # Standard sync deeep sync # Sync and refresh hosted Storybook build deeep sync --storybook-hosting