Use this skill to run the Spring Design Library workflow from intake to handoff.
Quick Start
- Read
docs/ai/project-context.mdto classify the request. - Read
docs/ai/operational-manifesto.mdfor the workflow, roles, and guardrails. - Read
docs/ai/workflow-contracts.mdfor file placement, injection points, Code Connect placement, and validation contracts. - Inspect nearby examples in
packages/spring-ds-react/src/components/orapps/design-library/src/gallery/. - Before delivery, read
docs/ai/review-checklist.md.
Outcome Types
Classify every task before implementation:
- Reusable design system component
- Gallery documentation page
- AppFlow screen
- Static design library page
- Token/foundation change
- Icon change
- Documentation/rule change
If the outcome, source design, target user, missing states, file target, or validation expectation is unclear, ask before building.
Required Build Plan
Before implementation, state:
- outcome type
- reuse decision
- files to read
- files to change
- registry, route, export, nav, Code Connect, or token injection points
- validation commands
- whether user approval is required
Critical Rules
- Route shells stay thin and re-export gallery implementations.
- Components live in
packages/spring-ds-react/src/components/and export frompackages/spring-ds-react/src/index.ts. - Gallery pages and AppFlow screens live under
apps/design-library/src/gallery/. - AppFlow screens register in
apps/design-library/src/gallery/page/appflow/personalLoanFlow.ts. - Code Connect is package-side for new reusable components and all inputs; gallery-side only for existing navigations, overlays, and
SpringSearchBar. - Token changes require approval,
npm run tokens:sync, dev-server restart for local preview, and.nextclearing before production build validation.
Handoff
Include WorkflowRunState, files changed, route/import path, injection summary, validation results, skipped validations, dirty-tree caveats, and remaining risks.