-
Notifications
You must be signed in to change notification settings - Fork 62
[Fleet Execution] Implement Design System Extraction Agent Skill #263
Description
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-sdkTest Scenarios
- Validate the example builds correctly by running
cd packages/sdk/examples/<example-name> && bun index.tsor checking type safety. - Confirm that the README.md is updated with the new example link.
- 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
- Source:
jules:session:4768718918831376168 - Link: https://jules.google.com/session/4768718918831376168