ask-emil

โดย emilkowalski

Ask which skill or flow fits your situation. A router over the skills in this repo.

npx skills add https://github.com/emilkowalski/skills --skill ask-emil

Ask Emil

Before stating what a skill does or recommending one, read that skill's SKILL.md: the summaries here are for orientation only. Then recommend one skill (or one short sequence) for the user's situation, say why in a sentence, and name the skill they'd reach for next. Don't list the whole map back at them.

A flow is a path through the skills. Most UI work travels one main flow, from idea to shipped. Some skills are upkeep you run on a codebase that already exists, some are references that sit underneath everything, and a few stand alone.

The main flow: idea → ship

  1. Not sure what it should look or feel like? Detour through /prototype. It builds several genuinely different versions behind a live picker, then promotes the one you pick into the real code. Reach for it whenever a design question is hard to settle in words.

  2. Build it. Pick the builder by what's moving:

    • /pick-ui-library first if the task needs a dependency (dropdown, dialog, toast, drawer, command menu, drag and drop, charts). Don't let the agent hand-roll a toast.
    • /animate for one animation on the web: whether to animate at all, then tool, properties, curve, duration, interruption, exit.
    • /choreograph when several elements move together: staggers, hero entrances, view swaps, an item leaving while siblings close the gap.
    • /gestures when the user's finger drives it: drag, swipe, sheets, snap points, swipe-to-dismiss.
    • /animate-expo for any of the above in React Native or Expo.
    • /ask-sonner when the work is toasts with Sonner.
  3. Try to break it. Before calling it done:

    • /break-ui feeds it worst-case data (long names, empty lists, huge counts, emoji, non-Latin text) behind a toggle and reports what broke.
    • /review-animations reviews the motion in the diff against a strict bar. Default to flagging; approval is earned.
    • /mobile-native if it runs on a phone as a web app: sticky hover, the 100vh bug, inputs that zoom, safe areas.
    • /animation-performance if anything drops frames.
  4. Learn from the session. /learn-taste closes the loop. Run it at the end, in the same session, before you clear: it collects every design correction you made (including edits you made yourself) and turns each into a rule with its why, so the next agent doesn't repeat the mistake.

Upkeep: a codebase that already exists

Not feature work. Run these when you have a spare moment, or when the app "feels off".

  • The motion needs work across the app → /improve-animations. Read-only: it audits every animation and writes prioritized, self-contained plans another agent (or a cheaper model) can execute.
  • It feels static → /find-animation-opportunities. Read-only: it proposes motion with exact values, and rejects everything that shouldn't move. Build the ones you accept with /animate.
  • It feels slow or over-animated → /remove-animations. Edits code, but only to subtract: motion on keyboard actions, high-frequency surfaces, decoration with no purpose.

These three cover different questions. If the user isn't sure which, ask whether the problem is bad motion, missing motion, or too much motion.

References underneath

Model-invoked skills the others lean on. Reach for them directly when the knowledge, not a process, is what's missing.

  • /emil-design-eng: the core philosophy for UI polish, component interactions, and the invisible details. The fallback when no narrower skill fits.
  • /apple-design: Apple's principles for interface design and fluid, physical motion, translated for the web.
  • /animation-vocabulary: when the problem is the word. "What's it called when…" turns a vague description into the exact term to prompt with.

Standalone

  • /write-swift: modern Swift, Swift 6 concurrency, and native iOS code. Off the web flow entirely.

Common situations

You sayReach for
"Animate this"/animate
"These should come in one after another"/choreograph
"It doesn't follow my finger"/gestures
"It stutters" / "it's janky"/animation-performance
"Does this animation feel right?"/review-animations
"Make the app feel better"/improve-animations
"What could animate here?"/find-animation-opportunities
"Too much is moving"/remove-animations
"Give me a few options"/prototype
"Which library should I use?"/pick-ui-library
"Works in Chrome, feels wrong on my phone"/mobile-native
"Try the worst case"/break-ui
"What's that bouncy thing called?"/animation-vocabulary
"Stop making that mistake"/learn-taste

Skills เพิ่มเติมจาก emilkowalski

animate
emilkowalski
สร้างแอนิเมชันตั้งแต่เริ่มต้น โดยตัดสินใจตามลำดับที่กำหนดว่ามันให้ความรู้สึกถูกต้องหรือไม่ — ควรจะมีการเคลื่อนไหวหรือไม่, มีวัตถุประสงค์อะไร, ใช้เครื่องมือใด, ใช้คุณสมบัติใด, ใช้ curve และระยะเวลาเท่าใด, จะขัดจังหวะอย่างไร, จะจบลงอย่างไร เขียนการนำไปใช้งาน ใช้เมื่อถูกขอให้สร้างแอนิเมชันบางอย่าง เพิ่มการเคลื่อนไหว ทำให้คอมโพเนนต์รู้สึกมีชีวิต หรือสร้างทรานซิชัน สำหรับการวิจารณ์การเคลื่อนไหวที่มีอยู่ให้ใช้ review-animations; สำหรับการตรวจสอบโค้ดเบสทั้งหมดให้ใช้ improve-animations
animate-expo
emilkowalski
Build animations in React Native and Expo, making the decisions in the order that determines whether they feel right — should it animate, which thread it runs on, which properties, spring or timing, how the gesture hands off, how it degrades. Writes the implementation with Reanimated, Gesture Handler, Expo Router and expo-haptics. Use when animating anything in an Expo app, adding gestures, sheets, screen transitions, press feedback or haptics, or fixing motion that stutters on device. For...
developmentdesign
animation-performance
emilkowalski
Keep web animations inside the frame budget — animate composite-only properties, keep motion off the main thread when the page is busy, and find the cause when an animation drops frames. Use when an animation is janky, choppy, stutters, or drops frames; when choosing which property to animate; when deciding between CSS and JS animation on performance grounds; or when reaching for `will-change` or GPU layers. For choosing easing, duration, or whether to animate at all use animate; for...
developmentdesign
animation-vocabulary
emilkowalski
พจนานุกรมค้นหาย้อนกลับที่เปลี่ยนคำอธิบายคลุมเครือของแอนิเมชันเว็บหรือเอฟเฟกต์การเคลื่อนไหวให้เป็นคำศัพท์ที่แน่นอน ("สิ่งกระเด้งเมื่อป๊อปโอเวอร์เปิด" → Pop in; "การเลื่อนแบบยางรัดของ iOS" → Rubber-banding) ใช้เมื่อผู้ใช้ถามว่า "มันเรียกว่าอะไรเมื่อ…" หรืออธิบายเอฟเฟกต์การเคลื่อนไหวโดยไม่รู้ชื่อ และต้องการคำที่ถูกต้องเพื่อบอก AI หรือนักออกแบบ สำหรับการตั้งชื่อเอฟเฟกต์ ไม่ใช่การออกแบบหรือสร้างขึ้นมา
researchdesigncreative
apple-design
emilkowalski
แนวทางการออกแบบอินเทอร์เฟซและการเคลื่อนไหวที่ลื่นไหลเป็นธรรมชาติของ Apple ที่ปรับใช้สำหรับเว็บ ใช้เมื่อสร้างหรือตรวจสอบ UI ที่ขับเคลื่อนด้วยท่าทางสัมผัส แอนิเมชันแบบสปริง การโต้ตอบแบบลาก/ปัด/แผ่น โมเมนตัมและการเปลี่ยนผ่านที่สามารถขัดจังหวะได้ วัสดุโปร่งแสงและความลึก การพิมพ์ (การปรับขนาดเชิงแสง การติดตาม ระยะนำ) การเคลื่อนไหวที่ลดลง หรือรากฐานการออกแบบ (การตอบกลับ ความสม่ำเสมอเชิงพื้นที่ ความยับยั้งชั่งใจ) ที่อยู่เบื้องหลังอินเทอร์เฟซสไตล์ Apple
ask-sonner
emilkowalski
คู่มือสำหรับ Sonner ไลบรารี toast ของ React — ติดตั้งและเชื่อมต่อ Toaster เลือกการเรียกใช้ toast() ที่เหมาะสม toast แบบ promise และ loading การอัปเดต การปิด และการคง toast ไว้ การจัดสไตล์ การทำธีม และไอคอน การจัดตำแหน่งและ toaster หลายตัว ใช้เมื่อทำงานกับ Sonner หรือแก้ไขปัญหา — toast ที่ไม่แสดงผล แสดงซ้ำ สูญเสียสไตล์ ไม่สนใจ Tailwind classes อยู่ด้านหลัง modal หรือไม่เป็นไปตาม dark mode
break-ui
emilkowalski
ลองทำให้ UI พังด้วยการป้อนข้อมูลกรณีเลวร้ายที่สุด เช่น ชื่อยาว อีเมลที่ตัดบรรทัดไม่ได้ ชื่อที่มีตัวอักษรเดียว ฟิลด์ที่ไม่มีข้อมูล จำนวนที่มากมหาศาล ไม่มีรายการ ป้ายกำกับยาว ข้อความที่ไม่ใช่ภาษาละติน อีโมจิ และตัวเลขสุดขั้ว จากนั้นแสดงผลโดยมีสวิตช์ "Demo data / Worst case" และรายงานทุกอย่างที่พังพร้อมวิธีแก้ไขแต่ละจุด ใช้เมื่อผู้ใช้ขอให้ทดสอบความทนทาน ทำให้พัง หรือค้นหากรณีขอบของคอมโพเนนต์หรือหน้าจอ หรือขอให้ "ลองกรณีที่เลวร้ายที่สุด" หากต้องการวิจารณ์การออกแบบภาพ ให้ใช้ emil-design-eng; สำหรับการเคลื่อนไหว...
testingdesigndevelopment
choreograph
emilkowalski
Coordinate several elements that animate together — decide what moves, in what order, how much they overlap, and what stays still — so a group reads as one intentional motion instead of a pile of separate animations. Use when building or fixing a staggered list, a hero entrance, a view swap inside a container, a multi-step flow, an element leaving while its siblings close the gap, a morph between rich states, or any interaction with several moving parts (icon + background + lines, panel +...
designdevelopment