Skip to content
Back to skills

Ztx5 Pointer Magnetism Field

ASecurity

Magnetism across multiple targets. Use when building pointer systems or when an audit detects this specific problem.

  • 14 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 7, 2026
developmentjavascriptjavareactspringgitapiperformance

Works with

  • api

Security analysis

A100/100

Scanned November 7, 2026

npx -y skills add Realjustawall/Perfect-AI --skill ztx5-pointer-magnetism-field --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ztx5 Pointer Magnetism Field?

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

Security grade badge for Ztx5 Pointer Magnetism Field
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/realjustawall-ztx5-pointer-magnetism-field/badge)](https://www.skillsdirectory.com/skills/realjustawall-ztx5-pointer-magnetism-field)

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
---
name: ztx5-pointer-magnetism-field
description: "Magnetism across multiple targets. Use when building pointer systems or when an audit detects this specific problem."
---
# Magnetism across multiple targets

**Trigger**: Whenever the product calls for magnetism across multiple targets.

**Problem and behavior contract**: Avoid multiple global pointer listeners and transform race conditions.

**Implementation**: Attach delegated pointer handler to container, maintain one active target and lerp.

## Execution procedure
1. Inspect the existing implementation, UI state ownership and dependencies; identify exact target component and current behavior.
2. Read `../../references/POINTER-ENGINEERING.md` for compatible APIs and full code examples (when installed, use `../../ztx5-resources/references/` instead) (when installed, use `../../ztx5-resources/references/` instead) (when installed, use `../../ztx5-resources/references/` instead), and consult linked original official sources in `SOURCES.md`.
3. Produce a small technical plan containing target elements, input events, animation timebase, responsive formula, cleanup, and fallback.
4. Implement only the relevant components and avoid global DOM/CSS overrides; keep a route unmount/teardown function.
5. Capture normal, reduced-motion, mobile, desktop, RTL and LTR screenshots when a renderer is available.
6. Document test observations, unresolved dependency requirements and what changed.

## Specific acceptance
Unsubscribe listeners on component unmount.

## Deliverables
- Actual working project code (not merely a paragraph)
- Local verification script or Playwright check
- At least one computed screenshot or recorded property check
- `PASS/FAIL/NOT_TESTED` status with reasons

## Upstream research
- https://github.com/iart-ai/web-animation-skills
- https://motion.dev/docs/react-use-spring
- https://github.com/nextlevelbuilder/ui-ux-pro-max-skill

## Hard constraints
- Every skill must preserve previous project behavior. No deleting or wholesale replacement.
- Actual user-provided brand rules outrank any stylistic recommendation. If absent, request identity; no fake approvals.
- Responsiveness: test 320, 360, 390, 430, 768, 1024, 1440, 1920 CSS px; RTL and LTR; 200/400% zoom when feasible.
- Reduced motion, touch, keyboard and failure/no-JavaScript fallback must be considered.
- Performance: avoid forced layout in rAF; disable noncritical GPU motion on weak devices.
- Choose one timeline/transform owner; GSAP, Anime.js, Motion and native CSS must not race on same property.
## Do not mark complete unless
1. Actual integration code is committed into the target project, or clearly labeled as snippet-only.
2. A build/compile test passes in the installed runtime.
3. Browser output is inspected in 2 languages and at least 2 viewport classes.
4. Acceptance tests pass with explicit evidence files; report incomplete tests honestly.

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.

Comments

Loading comments…

Newsletter

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