From 8571f9235bef867d4d052a6e7905517e4351bc35 Mon Sep 17 00:00:00 2001 From: Jakob Wennberg <149234542+jakobwennberg@users.noreply.github.com> Date: Wed, 29 Jul 2026 12:33:30 +0200 Subject: [PATCH] chore(skills): retire generic design skills superseded by emilkowalski/skills (#1279) mobile-ux-core triggers on *.dart / *.swift / *Activity.kt, paths that do not exist in this repo, and its guidance is covered by design.md's accessibility section. scout-design filed Linear tickets while this project files GitHub issues; loop-design-scan is the same scan with the right output, so its sibling cross-reference is updated too. Co-authored-by: Claude Opus 5 (1M context) --- .claude/skills/loop-design-scan/SKILL.md | 3 +- .claude/skills/mobile-ux-core/SKILL.md | 52 -------- .claude/skills/scout-design/SKILL.md | 149 ----------------------- 3 files changed, 1 insertion(+), 203 deletions(-) delete mode 100644 .claude/skills/mobile-ux-core/SKILL.md delete mode 100644 .claude/skills/scout-design/SKILL.md diff --git a/.claude/skills/loop-design-scan/SKILL.md b/.claude/skills/loop-design-scan/SKILL.md index aab59776..3557540d 100644 --- a/.claude/skills/loop-design-scan/SKILL.md +++ b/.claude/skills/loop-design-scan/SKILL.md @@ -6,8 +6,7 @@ description: Local loop that scans a given area of the Accounted UI against the # loop-design-scan **Goal:** for one area of the app, surface concrete, design-system-grounded UI/UX improvements and file -them as GitHub issues (deduped). This is the GitHub-Issues sibling of the `scout-design` skill (which -targets Linear). Read `.claude/loops.md` first. **Runs locally**: it needs to render the UI. +them as GitHub issues (deduped). Read `.claude/loops.md` first. **Runs locally**: it needs to render the UI. ## Why local A headless cloud session can't see the UI. This loop starts `npm run dev` and drives Chrome to render diff --git a/.claude/skills/mobile-ux-core/SKILL.md b/.claude/skills/mobile-ux-core/SKILL.md deleted file mode 100644 index 2dc9c019..00000000 --- a/.claude/skills/mobile-ux-core/SKILL.md +++ /dev/null @@ -1,52 +0,0 @@ ---- -name: Mobile UX Core -description: Universal mobile UX principles for touch-first interfaces. Enforces touch targets, safe areas, and mobile-specific interaction patterns. -metadata: - labels: [mobile, ux, design, accessibility, cross-platform] - triggers: - files: - [ - '**/*_page.dart', - '**/*_screen.dart', - '**/*_view.dart', - '**/*.swift', - '**/*Activity.kt', - '**/*Screen.tsx', - ] - keywords: [mobile, responsive, SafeArea, touch, gesture, viewport] ---- - -# Mobile UX Core - -## **Priority: P0 (CRITICAL)** - -Universal UX principles for mobile applications. - -## Guidelines - -- **Touch Targets**: Min 44x44pt (iOS) / 48x48dp (Android). Add padding if needed. -- **Safe Areas**: Wrap content in `SafeArea`/`WindowInsets`. Avoid notches. -- **Interactions**: Use active states (no hover). Haptic feedback (short). -- **Typography**: Min 16sp body. Line height 1.5x. -- **Keyboards**: Auto-scroll inputs. Set `InputType` (email/number) & `Action`. - -## Code Examples - -```dart -// ✅ Correct Target -IconButton(icon: Icon(Icons.close), padding: EdgeInsets.all(12)) - -// ❌ Too Small -Icon(Icons.close, size: 16) -``` - -## Anti-Patterns - -- **No Hover Effects**: Mobile has no cursor. Use pressed states. -- **No Tiny Targets**: All clickable elements ≥44pt. -- **No Fixed Bottom**: Account for Home Indicator & Keyboard. -- **No OS Mix**: Use Material (Android) & Cupertino (iOS) conventions. - -## Related Topics - -mobile-accessibility | mobile-performance | flutter-design-system | react-native-dls diff --git a/.claude/skills/scout-design/SKILL.md b/.claude/skills/scout-design/SKILL.md deleted file mode 100644 index fdadfd7d..00000000 --- a/.claude/skills/scout-design/SKILL.md +++ /dev/null @@ -1,149 +0,0 @@ ---- -name: scout-design -description: "Scan a specific area of the app for design issues and improvement opportunities, then create Linear tickets for approved findings. Usage: /scout-design (e.g., /scout-design settings, /scout-design bookkeeping). Evaluates against the Accounted design system for consistency, missing states, animation gaps, accessibility, and visual polish." ---- - -# Scout Design - -You are a design auditor for gnubok. Your job is to scan a scoped area of the application, identify design issues and improvement opportunities, and create Linear tickets for the ones the user approves. - -## Step 1: Resolve Scope - -The user provides an area name as an argument (e.g., "settings", "bookkeeping", "invoices"). - -Map the area to these file locations: -- **Pages**: `app/(dashboard)/{area}/` (all page.tsx, layout.tsx files recursively) -- **Components**: `components/{area}/` (all .tsx files recursively) - -If the area also has sub-routes (e.g., `invoices/new`, `invoices/[id]`), include those too. - -Valid areas based on the project structure: -`bookkeeping`, `customers`, `expenses`, `invoices`, `supplier-invoices`, `suppliers`, `transactions`, `receipts`, `reports`, `settings`, `kpi`, `deadlines`, `help`, `pending`, `import`, `extensions`, `onboarding`, `login`, `register` - -If the user provides an invalid area, list the valid areas and ask them to pick one. - -## Step 2: Read and Analyze - -Read ALL files in the resolved scope (pages + components). For each file, evaluate against the checklist below. - -### Design Audit Checklist - -**Consistency & Design System** -- Are spacing values consistent (using Tailwind scale, not arbitrary values)? -- Are colors from the design system palette (grayscale, sage green, terracotta, ochre) or are there off-palette colors? -- Are font sizes/weights consistent with the typography system (Hedvig Letters Serif for display headings, Geist for body)? -- Are `tabular-nums` applied to all financial/numeric data? -- Are shadcn/ui components used where appropriate, or are there custom implementations that should use shadcn? -- Are icon sizes consistent (15px nav, larger for empty states)? -- Are borders full-opacity `border-border` on cards/surfaces (no opacity-suffixed border classes like `border-border/60`)? - -**Locked UI-migration conventions (2026-07; full list in `.claude/rules/design.md`)** -- Frame layout intact: content lives inside the rounded page panel; no per-page restyling of `MAIN_PANEL_CLASS`, no `window`-scroll assumptions on dashboard pages. -- Page title via `PageHeader` (24px/32px serif); buttons keep the app-wide pill radius (no per-call-site `rounded-*` overrides on `