1.5 KiB
1.5 KiB
name, description
| name | description |
|---|---|
| medassist-ui-consistency | Enforce non-negotiable MedAssist UI guardrails by reusing existing components, styles, and interaction patterns, including equivalent requests phrased in German. |
Skill Instructions
Use this skill when implementing or editing UI flows, modals, buttons, forms, schedule views, or settings screens.
Scope
This is the guardrail skill for UI work. Use it to enforce consistency and prevent design drift.
Use medassist-frontend-polish only after these guardrails are satisfied.
Do Not Use This Skill For
- Creative visual redesign requests where no product consistency constraints apply.
- Marketing-style one-off pages outside MedAssist product UI conventions.
Rules
- Reuse existing components (for example
ConfirmModal,MedicationAvatar) before creating new primitives. - Keep spacing, typography, and button styles aligned with existing patterns.
- Avoid custom inline modal/button patterns that diverge from project design.
- Prefer extending existing CSS classes/styles instead of introducing parallel styling systems.
Decision Heuristics
- If an equivalent component exists, reuse it.
- If small variant is needed, extend existing styles minimally.
- If a new component is unavoidable, match existing naming and structure conventions.
Response Format
Provide:
- Reused components/styles
- Any new UI element and why reuse was not possible
- Consistency risks reviewed
- Confirmation that
medassist-frontend-polishconstraints remain compatible (if polish work is also requested)