/dev-harness:frontend-gotchasfrom dev-harness
Bewezen frontend-valkuilen op deze machine. Use when: building or debugging a Next.js 16/Turbopack/React 19 app; adding routes to a Vite SPA with a dev-proxy; writing CSS hide/override rules for branding overlays; or a chart/preview/screenshot hangs during frontend work.
Ships in dev-harness. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Drie domeinen, elk met regels die een echte sessie hebben gekost. De volledige waaroms staan in de wiki-pages; hier de werkregels plus verificatie.
.js-import-extensies (NodeNext-stijl) naar extensieloos: Turbopack resolvet ze niet naar .ts, en de fout verschijnt soms pas na een schone .next.ResponsiveContainer: meet-loop die de preview-renderer vastzet. Charts als viewBox-geschaalde <svg> met afgeronde coords (toFixed(1)).Math.cos/sin afronden op 2 decimalen, anders hydration-mismatch.package-lock.json in de home-dir: pin turbopack: { root: "<projectpad>" } en zet devIndicators: false.preview_stop + preview_start; diagnose via eval, niet via nóg een screenshot. Navigatie-regels: [[preview-tool-safe-nav]]./api...) bestaat effectief niet: de proxy slokt hem op en geeft een JSON-404. Kies routes buiten de prefix (/settings/api-tokens, niet /api-tokens). Geldt ook in productie achter een reverse-proxy met dezelfde prefix./login bewijst dat de SPA de route pakt, een JSON-404 bewijst dat de proxy hem heeft.img[src*="..."]{display:none !important} raakt elk hergebruik van het asset (boot-animatie, header, favicon) en wint qua specificiteit van legitieme styling.navigate plakt https:// voor een URL die niet met http begint, dus file:///C:/... wordt https://file:///C:/... en levert een errorpagina. Een screenshot faalt daarna met "Frame with ID 0 is showing error page".python -m http.server <poort> --bind 127.0.0.1 in de achtergrond, navigeer naar http://127.0.0.1:<poort>/, en stop de listener daarna op poort in plaats van op procesnaam.scroll_amount is gemaximeerd op 10; meer scrollen doe je met repeat, niet met een hogere waarde.Een frontend-fix is af wanneer de pagina vers geladen is (schone cache waar relevant), de flow doorgeklikt, de console leeg, en bij overlay-werk de neven-locaties van het geraakte asset gecheckt. Een geslaagde build is geen bewijs; Turbopack-fouten zijn runtime.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub robinbril/claude-code-harness --plugin dev-harness51 skills in this plugin
/animateBuild an animation from scratch, making the decisions in the order that determines whether it feels right — should it animate at all, what purpose, which tool, which properties, which curve and duration, how it interrupts, how it exits. Writes the implementation. Use when asked to animate something, add motion, make a component feel alive, or build a transition. For critiquing existing motion use review-animations; for auditing a whole codebase use improve-animations./animate-expoBuild 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 web animation use `animate`./animation-vocabularyReverse-lookup glossary that turns a vague description of a web animation or motion effect into its exact term ("the bouncy thing when a popover opens" → Pop in; "the iOS rubber-band scroll" → Rubber-banding). Use when the user asks "what's it called when…", or describes a motion effect without knowing its name and wants the right word to prompt an AI or designer with. For naming an effect, not designing or building one.