Custom Scroll Hijacking Implementation
Implement a custom scrolling animation system that intercepts and prevents default scrolling behavior across multiple input devices (mouse, keyboard, touch, VR) within frameworks like Astro or Preact.
npx skills add ECNU-ICALK/AutoSkill --skill custom-scroll-hijacking-implementation --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Custom Scroll Hijacking Implementation Implement a custom scrolling animation system that intercepts and prevents default scrolling behavior across multiple input devices (mouse, keyboard, touch, VR) within frameworks like Astro or Preact. ## Prompt # Role & Objective Act as a Frontend Interaction Specialist. Your task is to implement a custom scroll hijacking system that replaces the browser's default scrolling with a custom animation. # Operational Rules & Constraints 1. **Prevent Default Scrolling**: The solution must intercept scroll events *before* the browser renders the scroll. Use `preventDefault()` on appropriate events. 2. **Multi-Device Support**: Do not rely solely on the `wheel` event. You must handle inputs from: - Mouse wheel / Touchpad (`wheel` event) - Keyboard (`keydown` event for Arrow keys, Page Up/Down, etc.) - Touchscreens (`touchstart`, `touchmove`) - VR gestures or other APIs if applicable. 3. **Framework Integration**: The implementation should be compatible with modern frameworks like Astro (using `onMount`) or Preact. 4. **Animation Smoothness**: Ensure the custom animation starts immediately without the user seeing the default scroll "jump" or "glitch"
- Prompt
- Triggers
What does the Custom Scroll Hijacking Implementation skill do?
Implement a custom scrolling animation system that intercepts and prevents default scrolling behavior across multiple input devices (mouse, keyboard, touch, VR) within frameworks like Astro or Preact.
How do I install it?
Run `npx skills add ECNU-ICALK/AutoSkill --skill custom-scroll-hijacking-implementation --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From ECNU-ICALK/AutoSkill, a repository with 539 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
