akili-specs 2.7.1 → 2.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (70) hide show
  1. package/.claude/commands/akili-archive.md +2 -0
  2. package/.claude/commands/akili-audit.md +4 -0
  3. package/.claude/commands/akili-constitution.md +104 -14
  4. package/.claude/commands/akili-execute.md +5 -3
  5. package/.claude/commands/akili-propose.md +2 -0
  6. package/.claude/commands/akili-quick.md +2 -0
  7. package/.claude/commands/akili-seo.md +2 -0
  8. package/.claude/commands/akili-specify.md +7 -2
  9. package/.claude/commands/akili-test.md +4 -2
  10. package/.claude/commands/akili-validate.md +2 -0
  11. package/.claude/skills/angular-developer/SKILL.md +4 -0
  12. package/.claude/skills/api-design-principles/SKILL.md +8 -0
  13. package/.claude/skills/aws-serverless/SKILL.md +8 -1
  14. package/.claude/skills/brainstorming/SKILL.md +25 -1
  15. package/.claude/skills/cognitive-doc-design/SKILL.md +14 -0
  16. package/.claude/skills/error-handling-patterns/SKILL.md +8 -0
  17. package/.claude/skills/frontend-design/SKILL.md +8 -1
  18. package/.claude/skills/gsap-animation/SKILL.md +182 -0
  19. package/.claude/skills/gsap-animation/references/frameworks.md +137 -0
  20. package/.claude/skills/{gsap-performance/SKILL.md → gsap-animation/references/performance.md} +10 -20
  21. package/.claude/skills/gsap-animation/references/plugins.md +390 -0
  22. package/.claude/skills/gsap-animation/references/react.md +122 -0
  23. package/.claude/skills/gsap-animation/references/scrolltrigger.md +255 -0
  24. package/.claude/skills/{gsap-timeline/SKILL.md → gsap-animation/references/timeline.md} +7 -19
  25. package/.claude/skills/gsap-animation/references/utils.md +254 -0
  26. package/.claude/skills/judgment-day/SKILL.md +19 -1
  27. package/.claude/skills/kaizen/SKILL.md +1 -0
  28. package/.claude/skills/nestjs-expert/SKILL.md +8 -0
  29. package/.claude/skills/product-manager-toolkit/SKILL.md +7 -1
  30. package/.claude/skills/react-doctor/SKILL.md +6 -0
  31. package/.claude/skills/seo-audit/SKILL.md +18 -9
  32. package/.claude/skills/shadcn-ui/SKILL.md +6 -0
  33. package/.claude/skills/stitch-design/SKILL.md +7 -0
  34. package/.claude/skills/systematic-debugging/SKILL.md +21 -0
  35. package/.claude/skills/tailwind-design-system/SKILL.md +8 -0
  36. package/.claude/skills/ui-ux-pro-max/SKILL.md +21 -0
  37. package/.claude/skills/vercel-react-best-practices/SKILL.md +3 -0
  38. package/.claude/templates/leader.md +1 -1
  39. package/CHANGELOG.md +31 -0
  40. package/README.md +3 -8
  41. package/bin/akili.js +40 -0
  42. package/docs/cli.md +1 -1
  43. package/docs/commands/akili-constitution.md +17 -13
  44. package/docs/flow.md +39 -5
  45. package/docs/model-routing.md +92 -24
  46. package/docs/skills/README.md +34 -31
  47. package/docs/skills/brainstorming.md +2 -0
  48. package/docs/skills/cognitive-doc-design.md +2 -0
  49. package/docs/skills/governance.md +77 -0
  50. package/docs/skills/gsap-animation.md +29 -0
  51. package/docs/skills/judgment-day.md +2 -0
  52. package/docs/skills/product-manager-toolkit.md +1 -1
  53. package/docs/skills/seo-audit.md +2 -0
  54. package/docs/skills/systematic-debugging.md +2 -0
  55. package/docs/skills/ui-ux-pro-max.md +2 -0
  56. package/package.json +1 -1
  57. package/.claude/skills/gsap-core/SKILL.md +0 -254
  58. package/.claude/skills/gsap-frameworks/SKILL.md +0 -153
  59. package/.claude/skills/gsap-plugins/SKILL.md +0 -426
  60. package/.claude/skills/gsap-react/SKILL.md +0 -136
  61. package/.claude/skills/gsap-scrolltrigger/SKILL.md +0 -296
  62. package/.claude/skills/gsap-utils/SKILL.md +0 -284
  63. package/docs/skills/gsap-core.md +0 -21
  64. package/docs/skills/gsap-frameworks.md +0 -20
  65. package/docs/skills/gsap-performance.md +0 -21
  66. package/docs/skills/gsap-plugins.md +0 -20
  67. package/docs/skills/gsap-react.md +0 -22
  68. package/docs/skills/gsap-scrolltrigger.md +0 -21
  69. package/docs/skills/gsap-timeline.md +0 -20
  70. package/docs/skills/gsap-utils.md +0 -21
@@ -1,284 +0,0 @@
1
- ---
2
- name: gsap-utils
3
- description: Official GSAP skill for gsap.utils — clamp, mapRange, normalize, interpolate, random, snap, toArray, wrap, pipe. Use when the user asks about gsap.utils, clamp, mapRange, random, snap, toArray, wrap, or helper utilities in GSAP.
4
- license: MIT
5
- ---
6
-
7
- # gsap.utils
8
-
9
- ## When to Use This Skill
10
-
11
- Apply when writing or reviewing code that uses **gsap.utils** for math, array/collection handling, unit parsing, or value mapping in animations (e.g. mapping scroll to a value, randomizing, snapping to a grid, or normalizing inputs).
12
-
13
- **Related skills:** Use with **gsap-core**, **gsap-timeline**, and **gsap-scrolltrigger** when building animations; CustomEase and other easing utilities are in **gsap-plugins**.
14
-
15
- ## Overview
16
-
17
- **gsap.utils** provides pure helpers; no need to register. Use in tween vars (e.g. function-based values), in ScrollTrigger or Observer callbacks, or in any JS that drives GSAP. All are on **gsap.utils** (e.g. `gsap.utils.clamp()`).
18
-
19
- **Omitting the value: function form.** Many utils accept the value to transform as the **last** argument. If you omit that argument, the util returns a **function** that accepts the value later. Use the function form when you need to clamp, map, normalize, or snap many values with the same config (e.g. in a mousemove handler or tween callback). **Exception: random()** — pass **true** as the last argument to get a reusable function (do not omit the value); see [random()](https://gsap.com/docs/v3/GSAP/UtilityMethods/random()).
20
-
21
- ```javascript
22
- // With value: returns the result
23
- gsap.utils.clamp(0, 100, 150); // 100
24
-
25
- // Without value: returns a function you call with the value later
26
- let c = gsap.utils.clamp(0, 100);
27
- c(150); // 100
28
- c(-10); // 0
29
- ```
30
-
31
- ## Clamping and Ranges
32
-
33
- ### clamp(min, max, value?)
34
-
35
- Constrains a value between min and max. Omit **value** to get a function: `clamp(min, max)(value)`.
36
-
37
- ```javascript
38
- gsap.utils.clamp(0, 100, 150); // 100
39
- gsap.utils.clamp(0, 100, -10); // 0
40
-
41
- let clampFn = gsap.utils.clamp(0, 100);
42
- clampFn(150); // 100
43
- ```
44
-
45
- ### mapRange(inMin, inMax, outMin, outMax, value?)
46
-
47
- Maps a value from one range to another. Use when converting scroll position, progress (0–1), or input range to an animation range. Omit **value** to get a function: `mapRange(inMin, inMax, outMin, outMax)(value)`.
48
-
49
- ```javascript
50
- gsap.utils.mapRange(0, 100, 0, 500, 50); // 250
51
- gsap.utils.mapRange(0, 1, 0, 360, 0.5); // 180 (progress to degrees)
52
-
53
- let mapFn = gsap.utils.mapRange(0, 100, 0, 500);
54
- mapFn(50); // 250
55
- ```
56
-
57
- ### normalize(min, max, value?)
58
-
59
- Returns a value normalized to 0–1 for the given range. Inverse of mapping when the target range is 0–1. Omit **value** to get a function: `normalize(min, max)(value)`.
60
-
61
- ```javascript
62
- gsap.utils.normalize(0, 100, 50); // 0.5
63
- gsap.utils.normalize(100, 300, 200); // 0.5
64
-
65
- let normFn = gsap.utils.normalize(0, 100);
66
- normFn(50); // 0.5
67
- ```
68
-
69
- ### interpolate(start, end, progress?)
70
-
71
- Interpolates between two values at a given progress (0–1). Handles numbers, colors, and objects with matching keys. Omit **progress** to get a function: `interpolate(start, end)(progress)`.
72
-
73
- ```javascript
74
- gsap.utils.interpolate(0, 100, 0.5); // 50
75
- gsap.utils.interpolate("#ff0000", "#0000ff", 0.5); // mid color
76
- gsap.utils.interpolate({ x: 0, y: 0 }, { x: 100, y: 50 }, 0.5); // { x: 50, y: 25 }
77
-
78
- let lerp = gsap.utils.interpolate(0, 100);
79
- lerp(0.5); // 50
80
- ```
81
-
82
- ## Random and Snap
83
-
84
- ### random(minimum, maximum[, snapIncrement, returnFunction]) / random(array[, returnFunction])
85
-
86
- Returns a random number in the range **minimum**–**maximum**, or a random element from an **array**. Optional **snapIncrement** snaps the result to the nearest multiple (e.g. `5` → multiples of 5). **To get a reusable function**, pass **true** as the last argument (**returnFunction**); the returned function takes no args and returns a new random value each time. This is the only util that uses `true` for the function form instead of omitting the value.
87
-
88
- ```javascript
89
- // immediate value: number in range
90
- gsap.utils.random(-100, 100); // e.g. 42.7
91
- gsap.utils.random(0, 500, 5); // 0–500, snapped to nearest 5
92
-
93
- // reusable function: pass true as last argument
94
- let randomFn = gsap.utils.random(-200, 500, 10, true);
95
- randomFn(); // random value in range, snapped to 10
96
- randomFn(); // another random value
97
-
98
- // array: pick one value at random
99
- gsap.utils.random(["red", "blue", "green"]); // "red", "blue", or "green"
100
- let randomFromArray = gsap.utils.random([0, 100, 200], true);
101
- randomFromArray(); // 0, 100, or 200
102
- ```
103
-
104
- **String form in tween vars:** use `"random(-100, 100)"`, `"random(-100, 100, 5)"`, or `"random([0, 100, 200])"`; GSAP evaluates it per target.
105
-
106
- ```javascript
107
- gsap.to(".box", { x: "random(-100, 100, 5)", duration: 1 });
108
- gsap.to(".item", { backgroundColor: "random([red, blue, green])" });
109
- ```
110
-
111
- ### snap(snapTo, value?)
112
-
113
- Snaps a value to the nearest multiple of **snapTo**, or to the nearest value in an array of allowed values. Omit **value** to get a function: `snap(snapTo)(value)` (or `snap(snapArray)(value)`).
114
-
115
- ```javascript
116
- gsap.utils.snap(10, 23); // 20
117
- gsap.utils.snap(0.25, 0.7); // 0.75
118
- gsap.utils.snap([0, 100, 200], 150); // 100 or 200 (nearest in array)
119
-
120
- let snapFn = gsap.utils.snap(10);
121
- snapFn(23); // 20
122
- ```
123
-
124
- Use in tweens for grid or step-based animation:
125
-
126
- ```javascript
127
- gsap.to(".x", { x: 200, snap: { x: 20 } });
128
- ```
129
-
130
- ### shuffle(array)
131
-
132
- Returns a new array with the same elements in random order. Use for randomizing order (e.g. stagger from "random" with a copy).
133
-
134
- ```javascript
135
- gsap.utils.shuffle([1, 2, 3, 4]); // e.g. [3, 1, 4, 2]
136
- ```
137
-
138
- ### distribute(config)
139
-
140
- **Returns a function** that assigns a value to each target based on its position in the array (or in a grid). Used internally for advanced staggers; use it whenever you need values spread across many elements (e.g. scale, opacity, x, delay). The returned function receives `(index, target, targets)` — either call it manually or pass the result directly into a tween; GSAP will call it per target with index, element, and array.
141
-
142
- **Config (all optional):**
143
-
144
- | Property | Type | Description |
145
- |----------|------|-------------|
146
- | `base` | Number | Starting value. Default `0`. |
147
- | `amount` | Number | Total to distribute across all targets (added to base). E.g. `amount: 1` with 100 targets → 0.01 between each. Use **each** instead to set a fixed step per target. |
148
- | `each` | Number | Amount to add between each target (added to base). E.g. `each: 1` with 4 targets → 0, 1, 2, 3. Use **amount** instead to split a total. |
149
- | `from` | Number \| String \| Array | Where distribution starts: index, or `"start"`, `"center"`, `"edges"`, `"random"`, `"end"`, or ratios like `[0.25, 0.75]`. Default `0`. |
150
- | `grid` | String \| Array | Use grid position instead of flat index: `[rows, columns]` (e.g. `[5, 10]`) or `"auto"` to detect. Omit for flat array. |
151
- | `axis` | String | For grid: limit to one axis (`"x"` or `"y"`). |
152
- | `ease` | Ease | Distribute values along an ease curve (e.g. `"power1.inOut"`). Default `"none"`. |
153
-
154
- **In a tween:** pass the result of `distribute(config)` as the property value; GSAP calls the function for each target with `(index, target, targets)`.
155
-
156
- ```javascript
157
- // Scale: middle elements 0.5, outer edges 3 (amount 2.5 distributed from center)
158
- gsap.to(".class", {
159
- scale: gsap.utils.distribute({
160
- base: 0.5,
161
- amount: 2.5,
162
- from: "center"
163
- })
164
- });
165
- ```
166
-
167
- **Manual use:** call the returned function with `(index, target, targets)` to get the value for that index.
168
-
169
- ```javascript
170
- const distributor = gsap.utils.distribute({
171
- base: 50,
172
- amount: 100,
173
- from: "center",
174
- ease: "power1.inOut"
175
- });
176
- const targets = gsap.utils.toArray(".box");
177
- const valueForIndex2 = distributor(2, targets[2], targets);
178
- ```
179
-
180
- See [distribute()](https://gsap.com/docs/v3/GSAP/UtilityMethods/distribute/) for more.
181
-
182
- ## Units and Parsing
183
-
184
- ### getUnit(value)
185
-
186
- Returns the unit string of a value (e.g. `"px"`, `"%"`, `"deg"`). Use when normalizing or converting values.
187
-
188
- ```javascript
189
- gsap.utils.getUnit("100px"); // "px"
190
- gsap.utils.getUnit("50%"); // "%"
191
- gsap.utils.getUnit(42); // "" (unitless)
192
- ```
193
-
194
- ### unitize(value, unit)
195
-
196
- Appends a unit to a number, or returns the value as-is if it already has a unit. Use when building CSS values or tween end values.
197
-
198
- ```javascript
199
- gsap.utils.unitize(100, "px"); // "100px"
200
- gsap.utils.unitize("2rem", "px"); // "2rem" (unchanged)
201
- ```
202
-
203
- ### splitColor(color, returnHSL?)
204
-
205
- Converts a color string into an array: **[red, green, blue]** (0–255), or **[red, green, blue, alpha]** (4 elements for RGBA when alpha is present or required). Pass **true** as the second argument (**returnHSL**) to get **[hue, saturation, lightness]** or **[hue, saturation, lightness, alpha]** (HSL/HSLA) instead. Works with `"rgb()"`, `"rgba()"`, `"hsl()"`, `"hsla()"`, hex, and named colors (e.g. `"red"`). Use when animating color components or building gradients. See [splitColor()](https://gsap.com/docs/v3/GSAP/UtilityMethods/splitColor/).
206
-
207
- ```javascript
208
- gsap.utils.splitColor("red"); // [255, 0, 0]
209
- gsap.utils.splitColor("#6fb936"); // [111, 185, 54]
210
- gsap.utils.splitColor("rgba(204, 153, 51, 0.5)"); // [204, 153, 51, 0.5] (4 elements)
211
- gsap.utils.splitColor("#6fb936", true); // [94, 55, 47] (HSL: hue, saturation, lightness)
212
- ```
213
-
214
- ## Arrays and Collections
215
-
216
- ### selector(scope)
217
-
218
- Returns a scoped selector function that finds elements only within the given element (or ref). Use in components so selectors like `".box"` match only descendants of that component, not the whole document. Accepts a DOM element or a ref (e.g. React ref; handles `.current`).
219
-
220
- ```javascript
221
- const q = gsap.utils.selector(containerRef);
222
- q(".box"); // array of .box elements inside container
223
- gsap.to(q(".circle"), { x: 100 });
224
- ```
225
-
226
- ### toArray(value, scope?)
227
-
228
- Converts a value to an array: selector string (scoped to element), NodeList, HTMLCollection, single element, or array. Use when passing mixed inputs to GSAP (e.g. targets) and a true array is needed.
229
-
230
- ```javascript
231
- gsap.utils.toArray(".item"); // array of elements
232
- gsap.utils.toArray(".item", container); // scoped to container
233
- gsap.utils.toArray(nodeList); // [ ... ] from NodeList
234
- ```
235
-
236
- ### pipe(...functions)
237
-
238
- Composes functions: **pipe(f1, f2, f3)(value)** returns f3(f2(f1(value))). Use when applying a chain of transforms (e.g. normalize → mapRange → snap) in a tween or callback.
239
-
240
- ```javascript
241
- const fn = gsap.utils.pipe(
242
- (v) => gsap.utils.normalize(0, 100, v),
243
- (v) => gsap.utils.snap(0.1, v)
244
- );
245
- fn(50); // normalized then snapped
246
- ```
247
-
248
- ### wrap(min, max, value?)
249
-
250
- Wraps a value into the range min–max (inclusive min, exclusive max). Use for infinite scroll or cyclic values. Omit **value** to get a function: `wrap(min, max)(value)`.
251
-
252
- ```javascript
253
- gsap.utils.wrap(0, 360, 370); // 10
254
- gsap.utils.wrap(0, 360, -10); // 350
255
-
256
- let wrapFn = gsap.utils.wrap(0, 360);
257
- wrapFn(370); // 10
258
- ```
259
-
260
- ### wrapYoyo(min, max, value?)
261
-
262
- Wraps value in range with a yoyo (bounces at ends). Use for back-and-forth within a range. Omit **value** to get a function: `wrapYoyo(min, max)(value)`.
263
-
264
- ```javascript
265
- gsap.utils.wrapYoyo(0, 100, 150); // 50 (bounces back)
266
-
267
- let wrapY = gsap.utils.wrapYoyo(0, 100);
268
- wrapY(150); // 50
269
- ```
270
-
271
- ## Best practices
272
-
273
- - ✅ Omit the value argument to get a reusable function when the same range/config is used many times (e.g. scroll handler, tween callback): `let mapFn = gsap.utils.mapRange(0, 1, 0, 360); mapFn(progress)`.
274
- - ✅ Use **snap** for grid-aligned or step-based values; use **toArray** when GSAP or your code needs a real array from a selector or NodeList.
275
- - ✅ Use **gsap.utils.selector(scope)** in components so selectors are scoped to a container or ref.
276
-
277
- ## Do Not
278
-
279
- - ❌ Assume **mapRange** / **normalize** handle units; they work on numbers. Use **getUnit** / **unitize** when units matter.
280
- - ❌ Override or rely on undocumented behavior; stick to the documented API.
281
-
282
- ### Learn More
283
-
284
- https://gsap.com/docs/v3/HelperFunctions
@@ -1,21 +0,0 @@
1
- # `gsap-core`
2
-
3
- ## Purpose
4
-
5
- Guides GSAP core animation APIs such as `gsap.to()`, `from()`, `fromTo()`, easing, duration, stagger, defaults, `gsap.matchMedia()`, responsive animation, and reduced-motion behavior.
6
-
7
- ## Use When
8
-
9
- - Adding JavaScript animation in vanilla JS or any framework.
10
- - Creating tweens, entrances, exits, staggered effects, or SVG/DOM motion.
11
- - Recommending an animation library when none is specified.
12
- - Handling responsive or prefers-reduced-motion animation behavior.
13
-
14
- ## Best Paired Commands
15
-
16
- - `/akili-specify` for animation requirements and design.
17
- - `/akili-execute` for implementation.
18
-
19
- ## Source
20
-
21
- - `../../.claude/skills/gsap-core/SKILL.md`
@@ -1,20 +0,0 @@
1
- # `gsap-frameworks`
2
-
3
- ## Purpose
4
-
5
- Guides GSAP usage in Vue, Nuxt, Svelte, SvelteKit, and other non-React frameworks, including lifecycle, selector scoping, and cleanup.
6
-
7
- ## Use When
8
-
9
- - Animating Vue, Nuxt, Svelte, or SvelteKit components.
10
- - Integrating GSAP with `onMounted`, `onMount`, `onDestroy`, or framework lifecycle hooks.
11
- - Avoiding selector leakage or missing cleanup in framework components.
12
-
13
- ## Best Paired Commands
14
-
15
- - `/akili-specify` for framework-specific animation design.
16
- - `/akili-execute` for implementation.
17
-
18
- ## Source
19
-
20
- - `../../.claude/skills/gsap-frameworks/SKILL.md`
@@ -1,21 +0,0 @@
1
- # `gsap-performance`
2
-
3
- ## Purpose
4
-
5
- Optimizes GSAP animation performance by preferring transforms, avoiding layout thrashing, batching work, and reducing jank.
6
-
7
- ## Use When
8
-
9
- - Animations feel choppy or miss 60fps.
10
- - Reviewing animation implementation for performance risk.
11
- - Choosing between animating transforms, opacity, layout properties, or SVG attributes.
12
- - Adding `will-change`, batching, or layout-safe animation patterns.
13
-
14
- ## Best Paired Commands
15
-
16
- - `/akili-execute` for animation implementation.
17
- - `/akili-validate` for animation performance review.
18
-
19
- ## Source
20
-
21
- - `../../.claude/skills/gsap-performance/SKILL.md`
@@ -1,20 +0,0 @@
1
- # `gsap-plugins`
2
-
3
- ## Purpose
4
-
5
- Guides GSAP plugin usage, including registration and plugins such as ScrollToPlugin, ScrollSmoother, Flip, Draggable, Observer, SplitText, ScrambleText, SVG plugins, physics plugins, and CustomEase.
6
-
7
- ## Use When
8
-
9
- - A spec needs GSAP functionality beyond core tweens.
10
- - Implementing Flip animations, draggable interactions, scroll-to behavior, text splitting, SVG drawing, or custom easing.
11
- - Reviewing plugin registration and bundle usage.
12
-
13
- ## Best Paired Commands
14
-
15
- - `/akili-specify` for deciding whether plugin behavior is justified.
16
- - `/akili-execute` for implementation.
17
-
18
- ## Source
19
-
20
- - `../../.claude/skills/gsap-plugins/SKILL.md`
@@ -1,22 +0,0 @@
1
- # `gsap-react`
2
-
3
- ## Purpose
4
-
5
- Guides GSAP in React and Next.js, including `useGSAP`, refs, `gsap.context()`, selector scoping, and cleanup on unmount.
6
-
7
- ## Use When
8
-
9
- - Animating React or Next.js components with GSAP.
10
- - Avoiding stale refs, duplicate animations, or missing cleanup.
11
- - Scoping selectors safely inside components.
12
- - Integrating GSAP with React lifecycle and hydration constraints.
13
-
14
- ## Best Paired Commands
15
-
16
- - `/akili-specify` for React animation design.
17
- - `/akili-execute` for implementation.
18
- - `/akili-validate` for cleanup and performance review.
19
-
20
- ## Source
21
-
22
- - `../../.claude/skills/gsap-react/SKILL.md`
@@ -1,21 +0,0 @@
1
- # `gsap-scrolltrigger`
2
-
3
- ## Purpose
4
-
5
- Guides GSAP ScrollTrigger for scroll-linked animations, triggers, pinning, scrubbed timelines, parallax, and responsive scroll behavior.
6
-
7
- ## Use When
8
-
9
- - Building scroll-driven animation, parallax, pinned sections, or progress-linked motion.
10
- - Reviewing ScrollTrigger setup, cleanup, refresh behavior, or responsive configuration.
11
- - Recommending a scroll animation approach when no library is specified.
12
-
13
- ## Best Paired Commands
14
-
15
- - `/akili-specify` for scroll animation behavior and accessibility notes.
16
- - `/akili-execute` for implementation.
17
- - `/akili-validate` for motion and performance review.
18
-
19
- ## Source
20
-
21
- - `../../.claude/skills/gsap-scrolltrigger/SKILL.md`
@@ -1,20 +0,0 @@
1
- # `gsap-timeline`
2
-
3
- ## Purpose
4
-
5
- Guides GSAP timelines for sequencing animations, using position parameters, nesting timelines, controlling playback, and choreographing complex motion.
6
-
7
- ## Use When
8
-
9
- - Multiple animation steps must be coordinated.
10
- - A sequence needs pause, reverse, seek, or replay control.
11
- - A spec needs staged entrances, page transitions, or composed motion systems.
12
-
13
- ## Best Paired Commands
14
-
15
- - `/akili-specify` for animation choreography and design decisions.
16
- - `/akili-execute` for implementation.
17
-
18
- ## Source
19
-
20
- - `../../.claude/skills/gsap-timeline/SKILL.md`
@@ -1,21 +0,0 @@
1
- # `gsap-utils`
2
-
3
- ## Purpose
4
-
5
- Guides `gsap.utils` helpers such as `clamp`, `mapRange`, `normalize`, `interpolate`, `random`, `snap`, `toArray`, `wrap`, and `pipe`.
6
-
7
- ## Use When
8
-
9
- - Mapping scroll, pointer, or progress values into animation ranges.
10
- - Snapping or wrapping values.
11
- - Selecting DOM/SVG collections safely for animation.
12
- - Simplifying animation math and helper functions.
13
-
14
- ## Best Paired Commands
15
-
16
- - `/akili-execute` for implementation.
17
- - `/akili-validate` for simplifying or reviewing animation utilities.
18
-
19
- ## Source
20
-
21
- - `../../.claude/skills/gsap-utils/SKILL.md`