arkaos 5.3.0 → 5.5.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 (57) hide show
  1. package/README.md +2 -2
  2. package/THE-ARKAOS-GUIDE.md +1 -1
  3. package/VERSION +1 -1
  4. package/arka/SKILL.md +1 -1
  5. package/config/skills-provenance.yaml +28 -0
  6. package/departments/brand/skills/colors/SKILL.md +3 -1
  7. package/departments/brand/skills/design-dna/SKILL.md +191 -0
  8. package/departments/brand/skills/design-dna/references/design-dna.LICENSE +21 -0
  9. package/departments/brand/skills/design-dna/references/generation-guide.md +209 -0
  10. package/departments/brand/skills/design-dna/references/schema.md +366 -0
  11. package/departments/brand/skills/design-system/SKILL.md +12 -3
  12. package/departments/dev/skills/canvas-generative/SKILL.md +362 -0
  13. package/departments/dev/skills/canvas-generative/references/algorithms.md +934 -0
  14. package/departments/dev/skills/canvas-generative/references/genjutsu.LICENSE +21 -0
  15. package/departments/dev/skills/css-native/SKILL.md +353 -0
  16. package/departments/dev/skills/css-native/references/genjutsu.LICENSE +21 -0
  17. package/departments/dev/skills/css-native/references/modern-css.md +465 -0
  18. package/departments/dev/skills/framer-motion/SKILL.md +223 -0
  19. package/departments/dev/skills/framer-motion/references/api.md +312 -0
  20. package/departments/dev/skills/framer-motion/references/genjutsu.LICENSE +21 -0
  21. package/harness/codex/AGENTS.md +1 -1
  22. package/harness/copilot/copilot-instructions.md +1 -1
  23. package/harness/cursor/rules/arkaos.mdc +2 -2
  24. package/harness/gemini/GEMINI.md +1 -1
  25. package/harness/opencode/AGENTS.md +1 -1
  26. package/harness/opencode/agents/arka-architect-gabriel.md +1 -1
  27. package/harness/opencode/agents/arka-brand-director-valentina.md +1 -1
  28. package/harness/opencode/agents/arka-cfo-helena.md +1 -1
  29. package/harness/opencode/agents/arka-chief-of-staff-afonso.md +1 -1
  30. package/harness/opencode/agents/arka-community-strategist-beatriz.md +1 -1
  31. package/harness/opencode/agents/arka-content-strategist-rafael.md +1 -1
  32. package/harness/opencode/agents/arka-conversion-strategist-ines.md +1 -1
  33. package/harness/opencode/agents/arka-coo-sofia.md +1 -1
  34. package/harness/opencode/agents/arka-copy-director-eduardo.md +1 -1
  35. package/harness/opencode/agents/arka-cqo-marta.md +1 -1
  36. package/harness/opencode/agents/arka-cto-marco.md +1 -1
  37. package/harness/opencode/agents/arka-design-ops-lead-iris.md +1 -1
  38. package/harness/opencode/agents/arka-ecom-director-ricardo.md +1 -1
  39. package/harness/opencode/agents/arka-knowledge-director-clara.md +1 -1
  40. package/harness/opencode/agents/arka-leadership-director-rodrigo.md +1 -1
  41. package/harness/opencode/agents/arka-marketing-director-luna.md +1 -1
  42. package/harness/opencode/agents/arka-ops-lead-daniel.md +1 -1
  43. package/harness/opencode/agents/arka-pm-director-carolina.md +1 -1
  44. package/harness/opencode/agents/arka-revops-lead-vicente.md +1 -1
  45. package/harness/opencode/agents/arka-saas-strategist-tiago.md +1 -1
  46. package/harness/opencode/agents/arka-sales-director-miguel.md +1 -1
  47. package/harness/opencode/agents/arka-strategy-director-tomas.md +1 -1
  48. package/harness/opencode/agents/arka-tech-director-francisca.md +1 -1
  49. package/harness/opencode/agents/arka-tech-lead-paulo.md +1 -1
  50. package/harness/opencode/agents/arka-video-producer-simao.md +1 -1
  51. package/harness/zed/.rules +1 -1
  52. package/knowledge/commands-registry.json +1 -1
  53. package/knowledge/skills-manifest.json +61 -1
  54. package/package.json +1 -1
  55. package/pyproject.toml +1 -1
  56. package/scripts/marketplace_gen.py +1 -1
  57. package/scripts/skills_catalog_gen.py +5 -5
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Adrien Thevon
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,353 @@
1
+ ---
2
+ name: dev/css-native
3
+ description: >
4
+ Zero-dependency animation and visual techniques in modern CSS:
5
+ scroll-driven animations (scroll and view progress timelines,
6
+ animation-range), the View Transitions API for SPA and MPA,
7
+ @starting-style entry effects, anchor positioning, and container
8
+ queries — each with browser-support fallbacks.
9
+ TRIGGER: "scroll-driven CSS", "view transitions", "anima sem biblioteca",
10
+ "CSS puro", "animation-range", "@starting-style", "entry animation sem
11
+ JS", "/dev css-native".
12
+ SKIP: React-idiomatic springs, gestures, and exit animations of a
13
+ component leaving the React tree (unmount) -> dev/framer-motion —
14
+ enter/exit that only toggles display or visibility on a persistent
15
+ element stays here (@starting-style + transition-behavior);
16
+ generative canvas art -> dev/canvas-generative; turning a video into
17
+ a scroll site -> dev/animated-website.
18
+ allowed-tools: [Read, Write, Edit, Bash, Grep, Glob]
19
+ metadata:
20
+ origin: community
21
+ source: https://github.com/AThevon/genjutsu
22
+ license: MIT
23
+ ---
24
+
25
+ <!-- arka:kb-first-prefix begin -->
26
+ > **KB-first:** query `mcp__obsidian__search_notes` (and
27
+ > `mcp__graphify__query_graph` when configured) and cite `[[wikilinks]]`
28
+ > or graph nodes — or declare the gap — BEFORE any external research.
29
+ > Full doctrine: `arka/SKILL.md` (KB-First Research).
30
+ <!-- arka:kb-first-prefix end -->
31
+
32
+ # CSS Native — `/dev css-native`
33
+
34
+ > **Agent:** Diana (Frontend Dev) | **Framework:** modern CSS (scroll-driven, view transitions) (genjutsu)
35
+
36
+ ## When to Use CSS Native vs Library
37
+
38
+ | Situation | Decision |
39
+ |---|---|
40
+ | < 3 animations on the page | CSS native |
41
+ | Scroll-driven reveal/parallax | CSS native (`animation-timeline`) |
42
+ | Enter/exit from `display: none` | CSS native (`@starting-style` + `transition-behavior: allow-discrete`) |
43
+ | Tooltip/popover positioning | CSS native (anchor positioning) |
44
+ | Page transitions (MPA or SPA) | CSS native (View Transitions API) |
45
+ | Complex multi-step timeline (5+ tweens) | GSAP |
46
+ | Stagger across dynamic list (unknown count) | GSAP or Framer Motion |
47
+ | Physics-based spring with interruption | Framer Motion |
48
+ | Morph between SVG shapes | GSAP MorphSVG |
49
+
50
+ Rule of thumb: if you can express it in a `@keyframes` + one `animation-timeline`, stay in CSS. The moment you need imperative control, sequence coordination, or runtime values — reach for a library.
51
+
52
+ ---
53
+
54
+ ## Scroll-Driven Animations
55
+
56
+ ### Scroll Progress Timeline
57
+
58
+ Animate based on scroll position of a container.
59
+
60
+ ```css
61
+ .progress-bar {
62
+ animation: grow-width linear both;
63
+ animation-timeline: scroll(root block);
64
+ }
65
+
66
+ @keyframes grow-width {
67
+ from { transform: scaleX(0); }
68
+ to { transform: scaleX(1); }
69
+ }
70
+ ```
71
+
72
+ - `scroll(<scroller> <axis>)` — scroller: `nearest` | `root` | `self`, axis: `block` | `inline` | `x` | `y`
73
+ - Default: `scroll(nearest block)`
74
+
75
+ ### View Progress Timeline
76
+
77
+ Animate as an element enters/exits the scrollport.
78
+
79
+ ```css
80
+ .reveal {
81
+ animation: fade-in linear both;
82
+ animation-timeline: view();
83
+ animation-range: entry 0% entry 100%;
84
+ }
85
+
86
+ @keyframes fade-in {
87
+ from { opacity: 0; transform: translateY(2rem); }
88
+ to { opacity: 1; transform: translateY(0); }
89
+ }
90
+ ```
91
+
92
+ ### animation-range
93
+
94
+ Controls which segment of the timeline drives the animation.
95
+
96
+ ```css
97
+ /* Named ranges: cover | contain | entry | exit | entry-crossing | exit-crossing */
98
+ animation-range: entry 0% entry 100%; /* animate during entry only */
99
+ animation-range: contain 0% contain 100%; /* animate while fully visible */
100
+ animation-range: entry 25% exit 75%; /* custom start/end */
101
+ ```
102
+
103
+ Use the [Scroll-driven Animations tool](https://scroll-driven-animations.style/tools/view-timeline/ranges/) to visualize ranges interactively.
104
+
105
+ ---
106
+
107
+ ## View Transitions API
108
+
109
+ ### Same-Document (SPA)
110
+
111
+ ```js
112
+ document.startViewTransition(() => {
113
+ // Update the DOM synchronously
114
+ updateContent();
115
+ });
116
+ ```
117
+
118
+ ```css
119
+ /* Control the transition animation */
120
+ ::view-transition-old(root) {
121
+ animation: fade-out 200ms ease-out;
122
+ }
123
+ ::view-transition-new(root) {
124
+ animation: fade-in 300ms ease-in;
125
+ }
126
+
127
+ /* Named transitions for specific elements */
128
+ .hero-image { view-transition-name: hero; }
129
+
130
+ ::view-transition-group(hero) {
131
+ animation-duration: 400ms;
132
+ animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
133
+ }
134
+ ```
135
+
136
+ ### Cross-Document (MPA)
137
+
138
+ ```css
139
+ /* Both pages need this */
140
+ @view-transition { navigation: auto; }
141
+
142
+ /* Outgoing page */
143
+ .card { view-transition-name: card-detail; }
144
+
145
+ /* Incoming page */
146
+ .detail-hero { view-transition-name: card-detail; }
147
+ ```
148
+
149
+ ### view-transition-class (group styling)
150
+
151
+ ```css
152
+ .card { view-transition-class: card; }
153
+
154
+ ::view-transition-group(*.card) {
155
+ animation-duration: 350ms;
156
+ animation-timing-function: var(--ease-spring);
157
+ }
158
+ ```
159
+
160
+ ---
161
+
162
+ ## @starting-style
163
+
164
+ Native enter animations from `display: none` — no JS timing hacks.
165
+
166
+ ```css
167
+ .dialog {
168
+ opacity: 1;
169
+ transform: translateY(0);
170
+ transition: opacity 300ms ease, transform 300ms ease,
171
+ display 300ms allow-discrete;
172
+
173
+ @starting-style {
174
+ opacity: 0;
175
+ transform: translateY(-1rem);
176
+ }
177
+ }
178
+
179
+ .dialog[hidden] {
180
+ opacity: 0;
181
+ transform: translateY(-1rem);
182
+ display: none;
183
+ }
184
+ ```
185
+
186
+ Key rules:
187
+ - `transition-behavior: allow-discrete` (or shorthand `allow-discrete` in the transition) enables transitioning `display` and `overlay`
188
+ - `@starting-style` block defines the "from" state when the element first renders
189
+ - Combine with `[popover]` and `<dialog>` for native modals with zero JS animation code
190
+
191
+ ---
192
+
193
+ ## Anchor Positioning
194
+
195
+ CSS-native positioning of tooltips, popovers, and floating UI relative to a trigger.
196
+
197
+ ```css
198
+ .trigger {
199
+ anchor-name: --my-trigger;
200
+ }
201
+
202
+ .tooltip {
203
+ position: fixed;
204
+ position-anchor: --my-trigger;
205
+ position-area: top center;
206
+ margin-bottom: 0.5rem;
207
+
208
+ /* Fallback if no space on top */
209
+ position-try-fallbacks: --bottom;
210
+ }
211
+
212
+ @position-try --bottom {
213
+ position-area: bottom center;
214
+ margin-top: 0.5rem;
215
+ }
216
+ ```
217
+
218
+ Combine with `@starting-style` for animated tooltips:
219
+
220
+ ```css
221
+ .tooltip[popover]:popover-open {
222
+ opacity: 1;
223
+ transform: scale(1);
224
+ transition: opacity 150ms ease, transform 150ms ease,
225
+ display 150ms allow-discrete, overlay 150ms allow-discrete;
226
+
227
+ @starting-style {
228
+ opacity: 0;
229
+ transform: scale(0.96);
230
+ }
231
+ }
232
+ ```
233
+
234
+ ---
235
+
236
+ ## Container Queries + Contextual Animations
237
+
238
+ Adapt animations to the component's container size, not the viewport.
239
+
240
+ ```css
241
+ .card-container {
242
+ container-type: inline-size;
243
+ container-name: card;
244
+ }
245
+
246
+ @container card (min-width: 400px) {
247
+ .card-content {
248
+ animation: slide-in-right 400ms var(--ease-out-expo);
249
+ }
250
+ }
251
+
252
+ @container card (max-width: 399px) {
253
+ .card-content {
254
+ animation: fade-in 300ms ease;
255
+ }
256
+ }
257
+ ```
258
+
259
+ Container-relative units in keyframes:
260
+
261
+ ```css
262
+ @keyframes slide-in-right {
263
+ from { transform: translateX(10cqw); opacity: 0; }
264
+ to { transform: translateX(0); opacity: 1; }
265
+ }
266
+ ```
267
+
268
+ ---
269
+
270
+ ## Advanced Visual Techniques
271
+
272
+ ### clip-path Transitions
273
+
274
+ ```css
275
+ .reveal {
276
+ clip-path: inset(0 100% 0 0);
277
+ transition: clip-path 600ms cubic-bezier(0.77, 0, 0.175, 1);
278
+ }
279
+ .reveal.visible {
280
+ clip-path: inset(0 0 0 0);
281
+ }
282
+ ```
283
+
284
+ Shape morphing: transition between `circle()`, `ellipse()`, `polygon()`, `inset()` — as long as the function type and point count match.
285
+
286
+ ### backdrop-filter
287
+
288
+ ```css
289
+ .glass {
290
+ background: oklch(0.98 0.01 250 / 0.6);
291
+ backdrop-filter: blur(12px) saturate(1.8);
292
+ -webkit-backdrop-filter: blur(12px) saturate(1.8); /* Safari */
293
+ }
294
+ ```
295
+
296
+ ### mix-blend-mode
297
+
298
+ ```css
299
+ .overlay-text {
300
+ mix-blend-mode: difference;
301
+ color: white; /* inverts over any background */
302
+ }
303
+ ```
304
+
305
+ ### Mesh Gradients (approximated)
306
+
307
+ ```css
308
+ .mesh {
309
+ background:
310
+ radial-gradient(at 20% 30%, oklch(0.7 0.2 310) 0%, transparent 50%),
311
+ radial-gradient(at 80% 60%, oklch(0.6 0.18 250) 0%, transparent 50%),
312
+ radial-gradient(at 50% 80%, oklch(0.75 0.15 170) 0%, transparent 50%),
313
+ oklch(0.15 0.02 280);
314
+ }
315
+ ```
316
+
317
+ ### conic-gradient Effects
318
+
319
+ ```css
320
+ .spinner {
321
+ background: conic-gradient(from 0deg, transparent 0%, oklch(0.7 0.15 250) 100%);
322
+ border-radius: 50%;
323
+ mask: radial-gradient(farthest-side, transparent calc(100% - 4px), black calc(100% - 4px));
324
+ animation: spin 1s linear infinite;
325
+ }
326
+ ```
327
+
328
+ ---
329
+
330
+ ## Do Not
331
+
332
+ | BAD | GOOD | Why |
333
+ |---|---|---|
334
+ | `transition: all 300ms` | `transition: opacity 300ms, transform 300ms` | `all` triggers transitions on every property change, causes unexpected animations, and prevents browser optimization |
335
+ | Animate `width`, `height`, `top`, `left` | Animate `transform`, `opacity`, `clip-path`, `filter` | Layout-triggering properties force reflow on every frame — composite-only properties run on GPU |
336
+ | Scroll-driven animations without fallback | `@supports (animation-timeline: scroll()) { ... }` | Firefox only added support in v128+, older Safari versions lack support |
337
+ | `@starting-style` without `transition-behavior` | Always pair with `allow-discrete` for display/overlay | Without it, `display: none` transitions are skipped entirely |
338
+ | Anchor positioning without `position-try-fallbacks` | Always define fallback positions | Element clips out of viewport if primary position has no space |
339
+ | `animation-fill-mode: forwards` on scroll-driven | Use `both` for scroll-driven animations | `forwards` can lock the element in its final state even when scrolling back |
340
+
341
+ ---
342
+
343
+ ## Deep dive
344
+
345
+ | Need | Reference |
346
+ |---|---|
347
+ | Browser-support tables, fallback patterns and progressive-enhancement strategies for scroll-driven animations, View Transitions, `@starting-style`, anchor positioning and container queries (plus accessibility and performance notes) | `references/modern-css.md` |
348
+
349
+ ## Output
350
+
351
+ The CSS (and minimal HTML hooks) implementing the effect with
352
+ progressive-enhancement fallbacks from `references/modern-css.md`, and a
353
+ note of the browser floor it degrades gracefully below.
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Adrien Thevon
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.