JARKOS Motion UI
Use this skill when a user asks for a motion-driven or glass-style interface, or for Arabic or Kurdish RTL layouts. It has two parts: a searchable design database, and a canvas engine with 7 themes.
Step 1: Search the design data
The data lives in data/ next to this file. Run the search script from the skill folder:
python3 scripts/search.py "<query>" [--domain styles|palettes|typography|motion|rtl|rules|anti_patterns|stacks|charts|ux|reasoning] [-n 3] [--json]
Examples:
python3 scripts/search.py "radar dashboard"finds the best theme for telemetry screens.python3 scripts/search.py "arabic rtl layout" --domain rtlreturns the RTL rules.python3 scripts/search.py "banking gradient" --domain anti_patternsreturns what to avoid.python3 scripts/search.py "react" --domain stacksreturns framework guidance.
Use --json when you need to read the results programmatically.
Step 2: Generate a design system for the brief
python3 scripts/search.py --design-system "<brief>" [--rtl] [--style <style-id>] [--stack <stack-id>] [--out design-system]
This works in three stages. First it matches the product type against reasoning.csv (for example, "fintech" leads to glass), so the style follows the product rather than a single keyword. Then it picks a palette and typography that fit that style. Finally it writes design-system/MASTER.md (style, reason, motion if any, palette, typography, UX guidelines, rules, and anti-patterns) and design-system/tokens.css.
Read MASTER.md before writing any markup, and follow its rules. Pass --rtl for Arabic or Kurdish pages. Pass --style only when the user has already chosen a style. Pass --stack for framework-specific guidance.
Styles are either canvas-based (engine: canvas: waves, hud, glass, core3d, neural, nebula, holo) or CSS-only (engine: css: minimal-swiss, brutalism, neumorphism, bento-grid, claymorphism, flat-design, editorial-serif, oled-dark, aurora-gradient, retro-futurism). Only canvas styles load the motion engine, so do not add the engine script for a CSS-only style.
Step 3: Build the page
For a canvas style, add the engine and CSS to the HTML:
<html dir="rtl" lang="ar" data-jk-theme="neural">
<link rel="stylesheet" href="./jarkos-ui/jarkos-ui.css">
<script src="./jarkos-ui/jarkos-motion.js" defer></script>
Use dir and lang on <html>. Use data-jk-theme with one of the seven canvas themes or auto. Switch themes at runtime with JarkosMotion.setMode(id), and change speed with JarkosMotion.setSpeed(0..3).
For a CSS-only style, link tokens.css and style the page from its variables.
Rules you must follow
- Load the engine with
defer, and never reference the canvas from an inline script that runs before it. - Pin any CDN URL to a release tag such as
@v1.1.0, never to a branch. - Under
prefers-reduced-motion, the canvas must stay visible. The engine slows the animation for you, so do not hide it. - Use logical CSS properties (
inset-inline-start,margin-inline) on RTL pages, notleftorright. - Keep body text readable on top of the canvas. Do not place small copy over the brightest motion layers.
- Do not use generic purple-to-pink gradients on banking, government, or healthcare products.
Limits
- The canvas animations are direction-agnostic. They do not mirror on RTL pages.
- Verify Kurdish letters (ڕ ڵ ۆ ێ) render in the chosen font before shipping Sorani content.
- The search is keyword-based (BM25). It ranks what the data contains, so a brief that uses none of the keywords falls back to the default theme.