ai-toolkit-rules
Mandatory engineering, security, testing, git, performance, quality, and response rules. Claude MUST load this skill for every…
UI craftsmanship: animation rules, easing, micro-interactions, state polish. Triggers: animation, transition, ease-out, motion, micro-interaction, hover, loading state, UI polish.
Claude Code
$ npx -y skills add softspark/ai-toolkit --skill design-engineering --agent claude-code
Codex
$ npx skills add softspark/ai-toolkit --skill design-engineering -a codex -y
Cursor
$ npx skills add softspark/ai-toolkit --skill design-engineering -a cursor -y
Gemini CLI
$ npx skills add softspark/ai-toolkit --skill design-engineering -a gemini-cli -y
GitHub Copilot
$ npx skills add softspark/ai-toolkit --skill design-engineering -a github-copilot -y
OpenCode
$ npx skills add softspark/ai-toolkit --skill design-engineering -a opencode -y
Windsurf
$ npx skills add softspark/ai-toolkit --skill design-engineering -a windsurf -y
name: design-engineering description: "UI craftsmanship: animation rules, easing, micro-interactions, state polish. Triggers: animation, transition, ease-out, motion, micro-interaction, hover, loading state, UI polish." effort: medium user-invocable: false allowed-tools: Read
Based on Emil Kowalski's design engineering philosophy — UI polish, component craftsmanship, and the compound value of invisible details.
Defaults that signal machine-generated UI ("AI slop"). Each is a falsifiable rule to uphold:
Before marking any UI output complete, score it 1–5 on these six axes (score <3 on any axis triggers a revision pass):
| # | Axis | Assessment | |---|---|---| | **P** | **Philosophy** | Clear position and intent ("why"), not just arbitrary decoration | | **H** | **Hierarchy** | Clear primary / secondary / tertiary weight distinguishable in 2 seconds | | **E** | **Execution** | Exact rule weights, contrast ratios, focus rings, zero layout shifts | | **S** | **Specificity** | Tailored specifically to this brief, not a generic interchangeable template | | **R** | **Restraint** | Removed anything unearned (decorative bloat, redundant cards, excess padding) | | **V** | **Variety** | Structurally distinct from previous layouts in the project (not just a color swap) |
Every interactive element (button, input, select, card, tab, switch) must explicitly handle all 8 states in code. Styling only default + hover is an immediate defect:
| State | Trigger | Required Treatment | |---|---|---| | **1. Default** | At rest | Clean base styling, defined token bindings | | **2. Hover** | Pointer over (`@media (hover: hover)`) | Subtle background shift (4–6%) or 1px translate, no layout jump | | **3. Focus** | Keyboard navigation | Visible `:focus-visible` ring (2px solid, 1–2px offset), instant appearance | | **4. Active** | Pressed | Pressed-in feel: slight darken, `transform: translateY(1px)` or `scale(0.98)` | | **5. Disabled** | Inactive (`disabled`, `aria-disabled`) | 3 channels: `opacity: 0.55`, `cursor: not-allowed`, muted token color | | **6. Loading** | Async in-flight (`data-state="loading"`) | Inline spinner replacing icon/badge, label preserved, submit disabled | | **7. Error** | Validation failure (`aria-invalid="true"`) | Distinct error token border/message, helper text replaced, error icon | | **8. Success** | Operation completed (`data-state="success"`) | Quiet confirmation: subtle green/accent indicator or checkmark, auto-dismiss |
Input fields, textareas, and selects are where almost-right UIs break:
Verify every layout at **320px, 375px, 414px, and 768px**:
AI coding toolkit with machine-enforced safety, 116 skills, 44 agents, lifecycle hooks, persona presets, opt-in plugin packs, and benchmark tooling.
Mandatory engineering, security, testing, git, performance, quality, and response rules. Claude MUST load this skill for every…
Searches past coding sessions for observations, decisions, context. Triggers: mem-search, recall session, past work, prior…
Accessibility validator: WCAG 2.1 AA, EN 301 549, EAA. Triggers: a11y, accessibility, WCAG, EAA, ARIA, contrast, keyboard, screen…
Creates new specialized agents with frontmatter, tools, delegation. Triggers: new agent, create agent, agent scaffold,…
Analyzes code quality, complexity, patterns across codebase. Triggers: quality report, hotspot scan, code analysis, architecture…
API design: naming, versioning, pagination, idempotency, OpenAPI, error contracts and safe retries. Triggers: API design, REST,…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.