Skip to main content
rule CX Codex

nudge-curve — Claude Code rule: what it does, how to install

nudge-curve is a Claude Code rule that specifies a three-phase group slide animation to reveal content or shift layouts.

GPL-3.0 ★ 171 updated 2026-11-17

Install into Claude Code · Manually: put the files in place All methods and platforms ↓
.claude/rules/nudge-curve.md
Open on GitHub

What nudge-curve does

The rule structures a slow-fast-slow slide for compound groups such as card stacks or text rows. Single easing transitions like power4.inOut stop with a harsh jolt. To avoid this, motion chains three separate tweens: a power3.in ramp, a linear travel burst, and a power4.out tail.

The tail must take at least triple the time of the opening ramp to prevent an abrupt landing. New content displays during the middle phase, letting the swift linear motion hide its visual appearance.

What it helps with

  • animate grouped elements without harsh deceleration at the end
  • mask incoming content behind a swift movement burst
  • chain three distinct tweens instead of relying on a single ease
  • balance distance and timing ratios for horizontal or vertical shifts

Example prompts for the agent

  • Slide the card stack to the left using the nudge-curve pattern to make room
  • Chain three tweens to move this word list smoothly without a hard stop

How to install nudge-curve

Manually: put the files in place

.claude/rules/nudge-curve.md

The paths frontmatter field limits the files

Step by step, with commands for each platform: AGENTS.md vs CLAUDE.md: what they are and which one to use

Questions about nudge-curve

How to install nudge-curve in Claude Code?

Add the rule file directly to your project at .claude/rules/nudge-curve.md.

What does nudge-curve do?

It establishes a three-phase slide pattern pairing ramp-in, burst, and tail tweens to reposition layout groups.

Why avoid a single ease like power4.inOut for this slide?

A single built-in ease smacks abruptly at the finish. The rule splits motion into three segments to keep the tail duration at least triple the ramp-in.

Similar IDE rules

All IDE rules for Frontend and UI →

From the same set20

The whole set →
waterfall-entry waterfall-entry is a Claude Code rule for staggered bottom-up text arrivals. It runs during kinetic typography sequences in title cards and screen openers. CX Codex +1 ★ 171repo stars stat-bars-and-fills stat-bars-and-fills is a Claude Code rule for animating graphics paired with statistics: bars, progress indicators, or star ratings. It applies when an interface presents a value with a visual measure. CX Codex +1 ★ 171repo stars office The office skill for Claude Code creates and modifies Word documents, Excel workbooks, and PowerPoint decks. It runs when generating or inspecting office files via local scripts. CX Codex +1 ★ 171repo stars introduce-local-code introduce-local-code is a Claude Code skill that explains the assistant and the Local Code app. It activates for questions about the app’s purpose, features, or operation. CX Codex +1 ★ 171repo stars answers-charts answers-charts is a Claude Code skill that builds Matplotlib charts and embeds them directly into answers. It outputs verified PNG and SVG files strictly from supplied numbers. CX Codex +1 ★ 171repo stars uikit-ui-common-setup uikit-ui-common-setup is a Claude Code skill for writing and refactoring UIKit interfaces. It applies to work involving Workflow, ViewController, SnapKit, and UI state. CX Codex +1 ★ 171repo stars check_lean-and-lean-tools check_lean-and-lean-tools is a Claude Code skill that verifies Lean proofs for universal claims involving induction or recursion. It joins coding, debugging, review, or design tasks when a claim needs machine-checked lemmas. CX Codex +1 ★ 171repo stars use-draw-things-cli use-draw-things-cli is a Claude Code skill that creates or edits images and generates videos through draw-things-cli. It selects a model and its task-specific guidance. CX Codex +1 ★ 171repo stars

Project sponsors

Companies that keep this analytics open