deeepSpace Documentation

website·Indexed 30 days ago

https://docs.deeepspace.com

A 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.

Tokens
14.8K
Snippets
67
Records
108
Agent score
47%

What's inside deeepSpace

  1. Overview of deeepSpace design system synchronization

    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.
  2. 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.
  3. 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.
  4. 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.
  5. 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.
  6. 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.
  7. 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.
  8. Get help and overview for the deeep CLI

    To view the general command overview, run the deeep command without arguments. For detailed help on specific commands or general usage, use the --help flag.
    # General command overview
    deeep
    
    # General help
    deeep --help
    
    # Help for a specific command
    deeep <command> --help
  9. Integrate 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.
  10. Execute the deeepSpace daily synchronization workflow

    Follow these steps to develop components and synchronize them with deeepSpace:

    1. Develop your components and stories.
    2. Perform a diagnostic check by running deeep sync --dry-run and reviewing the output.
    3. Commit and push the relevant source files to your repository.
    4. If using Storybook discovery, rebuild Storybook.
    5. Synchronize the components by running deeep sync. Use deeep sync --storybook-hosting if you need to refresh the hosted build.
    6. 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