Skip to content
Back to skills

2026 09 05 Sonnet

ASecurity

```css .card { transition: transform 160ms cubic-bezier(0.25, 1, 0.5, 1), box-shadow 160ms cubic-bezier(0.25, 1, 0.5, 1); } @media (hover: hover) { .card:hover { transform: translateY(-1px); box-shadow: 0 1px 1px rgba(17, 17, 17, 0.04), 0 2px 4px rgba(17, 17, 17, 0.04); } } @media (prefers-reduced-motion: reduce) { .card { transition: box-shadow 160ms cubic-bezier(0.25, 1, 0.5, 1); } .card:hover { transform: none; } } ```

  • 3 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 15, 2026
ai-agentsgo

Security analysis

A100/100

Pro scans all 21 files and shows the line behind each finding

Scanned November 15, 2026

npx -y skills add AgentsORG/design-engineering --skill 2026-09-05-sonnet --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of 2026 09 05 Sonnet?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for 2026 09 05 Sonnet
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/agentsorg-2026-09-05-sonnet-design-engineering/badge)](https://www.skillsdirectory.com/skills/agentsorg-2026-09-05-sonnet-design-engineering)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
# Edit: Make the card lift on hover

```css
.card {
  transition:
    transform 160ms cubic-bezier(0.25, 1, 0.5, 1),
    box-shadow 160ms cubic-bezier(0.25, 1, 0.5, 1);
}

@media (hover: hover) {
  .card:hover {
    transform: translateY(-1px);
    box-shadow:
      0 1px 1px rgba(17, 17, 17, 0.04),
      0 2px 4px rgba(17, 17, 17, 0.04);
  }
}

@media (prefers-reduced-motion: reduce) {
  .card {
    transition: box-shadow 160ms cubic-bezier(0.25, 1, 0.5, 1);
  }

  .card:hover {
    transform: none;
  }
}
```

## Rationale

The original rule was the exact anti-pattern named in **[[cards-design]]**'s "Card hover states" section: a 4px lift plus a large 32px/0.3-opacity shadow, both flagged there as `[[ai-default-tells]]`. Per **[[hover-states-subtle]]** and its own gotcha log ("4px lifts look bouncy and amateur" / "felt bouncy and amateur" for a translateY(-4px) hover), the lift is cut to `translateY(-1px)` — felt, not seen — and the shadow is replaced with the layered, low-opacity spec from **[[shadows-whisper]]** (2 layers at 4% instead of one loud blur at 30%). `transition: all` is replaced with the explicit `transform`/`box-shadow` pair per **[[transform-opacity-only]]** and the matching gotcha (`transition: all` on a card caused layout thrash when other properties were present) — naming properties is cheap insurance even here since no layout-affecting property is animated. `ease-in` is replaced with a custom `cubic-bezier(0.25, 1, 0.5, 1)` (`--ease-out-quart`) per **[[easing-curves]]**, which rules out `ease-in` for UI as a "hesitating" curve and treats out-quart as the hover/menu default; duration moves to 160ms, inside the 120–200ms band **[[duration-table]]** sets for hover-state changes ("faster on inputs, slower on cards"). The `(hover: hover)` gate and `prefers-reduced-motion` block follow the touch-device and reduced-motion patterns called out directly in **[[hover-states-subtle]]** and the **[[gotchas]]** entry warning against disabling translations without a static fallback.

One tension worth naming: **[[pov]]** (this install is forked to Duolingo's language) overrides `hover-states-subtle` for pressable surfaces with "press compresses 4px; hover lightens the fill" rather than a lift, and groups cards under the same physical construction. Since the user's request explicitly asked for a lift (not a fill-lighten), that instruction was honored rather than substituted — the POV taste call orients ambiguous defaults, it doesn't override an explicit, direct ask — but the magnitude and materials (1px, whisper shadow, correct easing) still came from canon.

Files in this skill

  • REPORT.md1.3 KB
  • edit-dropdown-01.baseline.md1.2 KB
  • edit-dropdown-01.skill.md2.2 KB
  • edit-hover-01.baseline.md741 B
  • edit-hover-01.skill.md2.6 KB
  • gen-form-01.baseline.md11.2 KB
  • gen-form-01.skill.md16.2 KB
  • gen-modal-01.baseline.md7.2 KB
  • gen-modal-01.skill.md10.7 KB
  • gen-send-sound-01.baseline.md10.4 KB
  • gen-send-sound-01.skill.md10.5 KB
  • gen-toolbar-01.baseline.md5.2 KB
  • gen-toolbar-01.skill.md12.2 KB
  • repair-darkmode-01.baseline.md1.1 KB
  • repair-darkmode-01.skill.md2 KB
  • repair-focus-01.baseline.md1.7 KB
  • repair-focus-01.skill.md2.9 KB
  • repair-input-01.baseline.md1003 B
  • repair-input-01.skill.md1.7 KB
  • repair-spinner-01.baseline.md1.7 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.