@claude — gate-ds-conformance detected a UI pattern duplicated across the codebase that should be extracted into a design-system primitive (CLAUDE.baseline.md §6).
Stable marker: ds-fp:e184c518002a (do not edit — used for idempotent de-duplication)
Where it recurs
frontend/src/pages/Accounts.tsx:259
frontend/src/pages/Accounts.tsx:264
frontend/src/pages/Accounts.tsx:268
frontend/src/pages/Accounts.tsx:272
frontend/src/pages/Automation.tsx:260
frontend/src/pages/Automation.tsx:271
frontend/src/pages/Automation.tsx:282
frontend/src/pages/Automation.tsx:331
frontend/src/pages/Automation.tsx:342
frontend/src/pages/Automation.tsx:358
frontend/src/pages/Automation.tsx:372
frontend/src/pages/Automation.tsx:385
frontend/src/pages/Automation.tsx:399
frontend/src/pages/Automation.tsx:411
frontend/src/pages/Identities.tsx:327
frontend/src/pages/Identities.tsx:331
frontend/src/pages/Identities.tsx:336
frontend/src/pages/Identities.tsx:342
frontend/src/pages/Identities.tsx:348
frontend/src/pages/Identities.tsx:385
Sample
className="block text-sm font-medium text-gray-700"
Proposed component spec (refine before building)
- Name:
<PascalCaseComponent> (in the repo design-system package — frontend-engineer is the sole owner of design-system/)
- Props: derive from the variation across the call sites above.
- Variants: the distinct visual variations seen at the locations.
- States: default / hover / focus / active / disabled / loading as applicable.
- Tokens: must consume DS tokens only (color/spacing/type/radius) — zero raw values.
Acceptance criteria
Filed automatically; owner is frontend-engineer. Extraction is design work, not done by this gate.
@claude —
gate-ds-conformancedetected a UI pattern duplicated across the codebase that should be extracted into a design-system primitive (CLAUDE.baseline.md §6).Stable marker:
ds-fp:e184c518002a(do not edit — used for idempotent de-duplication)Where it recurs
frontend/src/pages/Accounts.tsx:259frontend/src/pages/Accounts.tsx:264frontend/src/pages/Accounts.tsx:268frontend/src/pages/Accounts.tsx:272frontend/src/pages/Automation.tsx:260frontend/src/pages/Automation.tsx:271frontend/src/pages/Automation.tsx:282frontend/src/pages/Automation.tsx:331frontend/src/pages/Automation.tsx:342frontend/src/pages/Automation.tsx:358frontend/src/pages/Automation.tsx:372frontend/src/pages/Automation.tsx:385frontend/src/pages/Automation.tsx:399frontend/src/pages/Automation.tsx:411frontend/src/pages/Identities.tsx:327frontend/src/pages/Identities.tsx:331frontend/src/pages/Identities.tsx:336frontend/src/pages/Identities.tsx:342frontend/src/pages/Identities.tsx:348frontend/src/pages/Identities.tsx:385Sample
Proposed component spec (refine before building)
<PascalCaseComponent>(in the repo design-system package —frontend-engineeris the sole owner ofdesign-system/)Acceptance criteria
gate-ds-conformancestays green after refactor.Filed automatically; owner is
frontend-engineer. Extraction is design work, not done by this gate.