@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:dfef33eb95b7 (do not edit — used for idempotent de-duplication)
Where it recurs
frontend/src/components/UserProfileManagement.tsx:301
frontend/src/components/UserProfileManagement.tsx:443
frontend/src/components/UserProfileManagement.tsx:497
frontend/src/components/UserProfileManagement.tsx:503
frontend/src/pages/TestPage.tsx:129
frontend/src/pages/TestPage.tsx:163
frontend/src/pages/TestPage.tsx:208
frontend/src/pages/TestPage.tsx:40
Sample
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:dfef33eb95b7(do not edit — used for idempotent de-duplication)Where it recurs
frontend/src/components/UserProfileManagement.tsx:301frontend/src/components/UserProfileManagement.tsx:443frontend/src/components/UserProfileManagement.tsx:497frontend/src/components/UserProfileManagement.tsx:503frontend/src/pages/TestPage.tsx:129frontend/src/pages/TestPage.tsx:163frontend/src/pages/TestPage.tsx:208frontend/src/pages/TestPage.tsx:40Sample
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.