Guides the transformation of Stack-and-Flow Design System into a properly distributable npm package with per-component tree-shaking, correct exports map, vite lib mode, and peer dependency hygiene. Trigger: When someone asks "how do we distribute this as npm?", "set up the npm package", "configure the build for publishing", or "how do we make each component importable independently". Also delegable from sdd-design when designing the distribution strategy.
Trigger: component child issues, cataloging child issues, extracted primitives, atoms, molecules, organisms. Create or reuse child issues after validated component cataloging decisions.
Guides an AI agent through implementing a Stack-and-Flow design-system component from an approved issue/spec. Trigger: component implementation, implement this component, build a component, component issue URL, delegated from sdd-apply.
Trigger: component spec cataloging validation, validate component proposal tier, reuse or extraction audit. Validate a proposed component spec against the catalog tier system before approval.
Trigger: capture-first component spec, reference-component-first spec, HeroUI/Radix/reference component, prepare component issue. Propose specs, run cataloging validation, and prepare the issue spec before implementation.
Guides an external project through adopting Stack-and-Flow as their design system base. Covers: installing the package, importing the CSS, configuring Tailwind v4 to consume the tokens, and customizing the token layer (colors, typography, spacing) to match their brand. Scope: token customization only — component architecture and structure are not modified. Trigger: When an external project wants to use Stack-and-Flow as a base and customize its tokens.
Reviews existing Stack-and-Flow components against the shared component contract, Storybook conventions, tests, visual states, tokens, and accessibility. Trigger: component audit, review existing component, check component quality, delegated from sdd-verify.
Creates and audits GitHub Issues + Project board items for Stack-and-Flow following the canonical board fields and issue template. Trigger: create task, start work, assign issue, move to In progress, end work, close task, move to Done, add component to board, audit GitHub Project issues, delegated from sdd-tasks.