Skip to content

[Fleet Execution] Implement Design System Extraction Agent Skill #263

@jules-fleet

Description

@jules-fleet

Goal Reference

This issue was generated from .fleet/goals/sdk-examples.md. The worker agent should read this file for full context including verification commands, constraints, and structural guidance.

Objective

Add an Agent Skill teaching an agent how to parse and reconcile Tailwind configs from multiple screens into a unified design token file.

Code-Level Diagnosis

Code path: packages/sdk/examples/
Mechanism: The SDK currently lacks comprehensive examples demonstrating practical integrations across different form factors (Scripts, Agent Skills, CLIs, MCP).
Root cause: Missing Tier 2 Agent Skill for extracting design systems.

Current Implementation

// The example directory does not currently exist.

Proposed Implementation

Files to modify: Create the missing files for the example and update the SDK README to link to the new example.

Integration (Before -> After)

+ // Create self-contained example integrating @google/stitch-sdk

Test Scenarios

  1. Validate the example builds correctly by running cd packages/sdk/examples/<example-name> && bun index.ts or checking type safety.
  2. Confirm that the README.md is updated with the new example link.
  3. Validate that any provided scripts run without runtime errors in the repository environment.

Target Files

  • packages/sdk/examples/design-system-extraction/SKILL.md
  • packages/sdk/examples/design-system-extraction/scripts/extract-tokens.ts
  • packages/sdk/examples/design-system-extraction/README.md
  • packages/sdk/README.md

Boundary Rules

Restrict your modifications exclusively to the files listed in the Target Files section. Ensure your source changes are entirely backward-compatible if unowned tests outside your boundary fail. Retain all existing file names and locations outside your explicitly declared target list.


Fleet Context

Metadata

Metadata

Assignees

No one assigned

    Labels

    fleetFleet-managed issue

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions