Ztc procedural layout grid deformation

From Realjustawall/Perfect-AI · View interactive version

Ztc procedural layout grid deformation is an AI agent skill from the GitHub repository Realjustawall/Perfect-AI. Focused implementation and verification of grid deformation in Procedural Layout Animation.

How to use this skill

Skill file

Grid Deformation

Parent: ztc-procedural-layout — read its acceptance gate and ../../src/layout-motion.mjs before editing.

Required implementation

Compute deterministic transforms from scroll progress and index; do not mutate box dimensions in a frame loop.

Exact workflow

  1. Inspect current code ownership and versions; write down the affected components, selectors, assets and timeline owners.
  2. Reproduce baseline at 320px/390px/768px/1440px, with pointer/touch, navigation, RTL if applicable, and reduced-motion.
  3. Integrate the smallest change confined to this responsibility. Use typed/validated props and explicit lifecycle cleanup. Ensure failed assets, missing browser APIs and aborted interactions degrade gracefully.
  4. Instrument observable state (progress, time, active selection, DOMRect, material parameters or frame index). Avoid non-deterministic quality claims.
  5. Verify start, mid, end and reverse progress; resize after loading fonts/images; test one failure path and repeated navigation; inspect browser console and screenshots.
  6. Compare user-facing behavior and performance to baseline. If a regression is observed, roll back just this change and record the cause.

Contract

References

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.