Nevermind Slides (nevermind-slides)
Note: Throughout this file,
<SKILL_DIR>refers to the folder containing thisSKILL.mdfile. Nevermind Studio ships as a bundled single-file build (<SKILL_DIR>/resources/nm-studio/nm-studio.mjs, run withnode), so theedit/notessubcommands work without a separate install; they exit with code2only when Node.js>= 20is missing. This skill is 100% self-contained: all 25 Arabic font files (Thmanyah Serif Display,KOMission,Thmanyah Sans,Qahwa Arabic,Setabr Display,Alkhalil Kufi,ZIAN,IBM Plex Sans Arabic,Zain Rounded,Readex Pro), theanatomyisometric SVG engine (resources/engine/anatomy/), and thefrontend-slides1920×1080 layout engine (resources/engine/frontend-slides/) are bundled directly inside<SKILL_DIR>/resources/.
Agent Zero-Friction Bootstrap (Install or Immediate Use)
Most users are non-technical and will either paste a GitHub link (https://github.com/TurkiHassan/nevermind-slides) asking you to "install this skill" or ask you to "use this skill right away on this paper/topic". Never ask the user to run terminal commands or install dependencies manually:
- If the user gives you a GitHub URL for this skill:
- Clone it to a temporary directory and immediately run the one-command installer:
bash
git clone https://github.com/TurkiHassan/nevermind-slides.git /tmp/nevermind-slides python3 /tmp/nevermind-slides/scripts/deck_helper.py install - This single command automatically installs and links
nevermind-slides(plus its bundledanatomyandfrontend-slidesengines and OpenCode/nevermind-slidesslash command) across Antigravity, OpenCode, Codex, Claude Code, and~/.agents/skills.
- Clone it to a temporary directory and immediately run the one-command installer:
- If the user says "Use it right away":
- If not yet installed, run the
installcommand above silently in the background first, then proceed directly to Phase 1 or Phase 2 below without interrupting the user with setup details.
- If not yet installed, run the
Overview
This skill distills complex research papers, technical articles, or domain topics into an end-to-end Arabic visual learning and presentation experience:
- Story-Driven ELI5 Explanation + Interactive Simulator (On-Demand): When the user asks to explain a paper or topic first, explain it in zero-jargon Arabic using vivid everyday metaphors paired with an inline interactive simulator.
- Upfront Content Analysis (
anatomyStatic vs. Animated Proposal) + Options & 3 Live Style Previews: Before building the deck, analyze the paper's core concepts to propose which slides should useanatomy(as an Animated/Live isometric machine or a Static isometric cutaway) vs. AI-generated editorial illustrations, ask the user for their deck preferences, and open 3 live single-slide HTML previews in the browser. - Ambitious
1920×1080Arabic Motion Deck: Author a self-contained HTML presentation (frontend-slidesfixed stage) enforcing:- Zero Emojis (
0Unicode emojis anywhere) — every icon, badge, and telemetry marker is a bespoke SVG vector. - Bundled Local Typography (25 Font Files):
Thmanyah Serif Display(thmanyahserifdisplay-*.otf) +KOMission(KOMission-Black.otf) andThmanyah Sans(thmanyahsans-*.otf) as the default signature pairing, plus bundledQahwa Arabic,Setabr Display,Alkhalil Kufi,ZIAN,IBM Plex Sans Arabic,Zain Rounded, andReadex Pro, staged automatically viascripts/deck_helper.pyand equipped with a live font-weight toggle. - Smooth
Morph(FLIP) &Camera Zoom-In / Zoom-OutEngine: PowerPoint-style cross-slide shared-element morphing (data-morph="<id>") and smooth1.55scamera focus across slide sections (data-zoom-step="1..N") with hidden-by-default bottom navigation controls (#controlsHotzone). - Hybrid Visuals (
anatomy+ Generated Illustrations + Live SVG Motion Graphics): Combine audited isometric mechanical figures fromanatomy(static or animated), text-free editorial illustrations, and continuous SVG telemetry (mg-flow,mg-radar,mg-pulse,mg-scan, animated oscilloscopes, and metric bars).
- Zero Emojis (
Bundled Engines & Multi-Agent Image Generation
All core engines live inside <SKILL_DIR>/resources/engine/ — read them directly from there:
- Bundled
frontend-slidesEngine:<SKILL_DIR>/resources/engine/frontend-slides/SKILL.mdand<SKILL_DIR>/resources/engine/frontend-slides/STYLE_PRESETS.md(1920×1080 fixed stage, layout presets, style presets, andE-key inline text editing). - Bundled
anatomyIsometric Engine:<SKILL_DIR>/resources/engine/anatomy/SKILL.md,<SKILL_DIR>/resources/engine/anatomy/kit/iso-kit.mjs(3D projection and part primitives),<SKILL_DIR>/resources/engine/anatomy/kit/audit.mjs(A.settle,A.auditOrExitfor painter's order verification vianode build.mjs --audit), and<SKILL_DIR>/resources/engine/anatomy/scripts/inline-kit.mjs(kitScriptfor animated browser figures). - Cross-Environment Image Generation Strategy (Automatic Detection):
- Environment A — Antigravity: Invoke the built-in
image-generatorsubagent viainvoke_subagent(in batches of 2–3 images). - Environment B — Codex (Direct): Use Codex's built-in
image_gentool (~/.codex/skills/.system/imagegen/SKILL.md), which requires no API key, saves outputs under~/.codex/generated_images/..., and copy the generated files into<project_dir>/assets/. - Environment C — OpenCode / Claude Code (with
codexCLI installed on the machine): Checkwhich codex. Ifcodexis installed, you can generate editorial illustrations by callingcodexnon-interactively to run its built-inimage_gentool and copy the result to<project_dir>/assets/. - Environment D — No Image Generator Available (Automatic Graceful Fallback): Never stop or ask a non-technical user for API keys. Instead, automatically assign visual slides to bundled
anatomyisometric figures (animated + static) + bespoke multi-layer SVG Motion Graphics.
- Environment A — Antigravity: Invoke the built-in
Error Handling Rules (Mandatory)
- Stop Immediately and Ask the User on Source/Build Errors:
- If fetching/reading the research paper URL or document fails, STOP immediately and politely ask the user in simple Arabic to paste the text, upload the PDF, or provide another link. Never guess or fabricate paper findings.
- If
node build.mjs --auditon ananatomyfigure fails after fixing painter's order, report the issue clearly and ask the user how they would like to proceed.
Workflow Execution
Phase 1: Story-Driven Arabic Explanation & Interactive Simulator (Conditional)
When to run Phase 1: Run this phase only if the user asks to explain, simplify, or break down the research paper/topic first (e.g., "اشرح لي هذه الورقة", "بسط لي هذا البحث"). If the user asks directly for a presentation/slides (e.g., "سوي لي عرض تقديمي لهذا البحث"), skip directly to Phase 2.
- Read the Source Thoroughly: Fetch and read the paper/article URL or local file. Extract the core problem, why prior methods fail, the core mechanism/formula, and the empirical results.
- Narrative Arabic Breakdown (Zero Jargon First):
- Start with a relatable real-world story/metaphor (e.g., a student memorizing exam shortcuts vs. genuine understanding) before introducing technical terms.
- Contrast the Old Way vs. the Paper's New Way in a clear markdown comparison table.
- Explain the mathematical objective or architecture visually as a balance/scale rather than raw equations.
- Interactive Simulator Widget:
- If running in Antigravity with
generative_ui, build a self-contained RTL Arabic interactive HTML simulator in the artifact directory and embed it inline using<agent-embed src="..."></agent-embed>. In other agents (OpenCode / Codex / Claude), save<project_dir>/<topic>-simulator.htmland open it in the browser viapython3 "<SKILL_DIR>/scripts/deck_helper.py" open-files "<project_dir>/<topic>-simulator.html".
- If running in Antigravity with
Phase 2: Content Analysis (anatomy Proposal), Upfront User Options & 3 Live Previews (Mandatory)
Never jump straight into generating the full presentation. Always perform these steps first:
Step 2.1: Analyze Content & Propose the Visual / anatomy Strategy Table
Read <SKILL_DIR>/resources/engine/anatomy/SKILL.md to understand how anatomy translates technical mechanisms into 40–80 part isometric physical instruments. Analyze the paper's key concepts and present a "مقترح التمثيل البصري للشرائح (Visual & anatomy Strategy Proposal)" table in your response classifying each core concept:
| Concept Type in the Paper | Recommended Tool | Mode (ثابتة vs. متحركة) | Why This Mode Fits Best |
|---|---|---|---|
| Causal mechanism, dynamic intervention, feedback loop, or measurement probe(e.g., clamping a shortcut channel, linear probe needle deflecting under drift, valve routing flow) | anatomy | متحركة (Animated / Live SVG) | The insight lives in cause-and-effect motion: one moving part (carriage, valve, plunger, dial) drives another with continuous auto-tour (touring = true) + pointer-hover physics and live data-readout. |
| Structural architecture, internal layer cutaway, or side-by-side rig comparison(e.g., neural layer anatomy, multi-station inspection bench, structural cross-section) | anatomy | ثابتة (Static SVG) | The insight lives in spatial hierarchy and component anatomy at rest: a high-detail standalone isometric figure (standalone: "light" | "dark") lets the viewer inspect every part cleanly. |
| High-level narrative metaphor, human analogy, problem intro, or benchmark overview(e.g., student shortcut story, macro radar overview, conclusion summary) | توليد صور (image-generator / codex) + SVG HUD | صورة مولّدة + موشن جرافيك | Best communicated via a bespoke text-free editorial illustration paired with live SVG HUD telemetry (mg-flow, mg-radar, mg-scan). |
Step 2.2: Generate & Open 3 Live Style Previews in the Browser
Read <SKILL_DIR>/resources/engine/frontend-slides/SKILL.md and <SKILL_DIR>/resources/engine/frontend-slides/STYLE_PRESETS.md.
- Pick 3 distinct, high-craft aesthetic directions suited to the topic (e.g., Style A: Notebook Tabs Editorial, Style B: Split Pastel / Bauhaus Lab, Style C: Dark Botanical / High-Contrast Telemetry).
- Write 3 standalone single-slide preview files in
<project_dir>/.frontend-slides/slide-previews/:style-a.htmlstyle-b.htmlstyle-c.html- Each preview must use the
1920×1080fixed-stage scaler (viewport-base.csspattern), Arabic RTL layout, and zero emojis.
- Open all 3 previews in the user's browser immediately (cross-platform across macOS, Windows, and Linux):
bash
python3 "<SKILL_DIR>/scripts/deck_helper.py" open-files \ "<project_dir>/.frontend-slides/slide-previews/style-a.html" \ "<project_dir>/.frontend-slides/slide-previews/style-b.html" \ "<project_dir>/.frontend-slides/slide-previews/style-c.html"
Step 2.3: Ask the Upfront Configuration Questions
Ask the user (via ask_question tool if available, or a numbered Arabic menu) and wait for their reply:
- الهدف من العرض (
Purpose): Pitch/Keynote, Research/Educational Explainer, Technical Deep-Dive, or Quick Summary. - طول العرض (
Length): Short (5–7 slides), Medium (8–12 slides — Recommended), or Long (12–18 slides). - كثافة المحتوى (
Density): Balanced visual + concise points (Recommended), Visual-first minimal text, or Detailed reference cards. - خطة توظيف مهارة
anatomyللمجسمات الهندسية (anatomyMode):(Recommended) اعتماد مقترح المحلل الذكي (مزيج مخصص من مجسمات anatomy المتحركة والثابتة حسب طبيعة كل شريحة + صور مولّدة)استخدام مجسمات anatomy المتحركة (Animated/Interactive) في جميع الشروحات الميكانيكيةاستخدام مجسمات anatomy الثابتة (Static SVG) فقط إلى جانب الصور المولّدةالاكتفاء بالصور التوضيحية المولّدة والموشن جرافيك دون استخدام anatomy
- ثنائية الخطوط العربية (
Typography Pairing):(Recommended) ثمانية للعناوين (Thmanyah Serif Display) + KOMission وأوزان Thmanyah Sans للمتنقهوة الأسود للعناوين (Qahwa Black) + IBM Plex Sans Arabic / Zain Rounded للمتنسطبر / زيان للعناوين (Setabr Display / ZIAN) + Readex Pro للمتنالخليل الكوفي للعناوين (Alkhalil Kufi) + IBM Plex Sans Arabic للمتن
- حركة الانتقال والكاميرا (
Transitions & Camera Zoom):(Recommended) تفعيل التحوّل السلس بين الشرائح (Morph) + تقريب الكاميرا البؤري لأقسام الشريحة (Smooth Camera Zoom-In / Zoom-Out)(mode = 'morph-and-zoom')تفعيل حركة Morph بين الشرائح فقط (مع إتاحة التقريب بالضغط بالماوس على أي قسم)(mode = 'morph-only')انتقال كلاسيكي هادئ بين الشرائح(mode = 'classic')
- النمط البصري المفضّل (
Style Choice): Style A, Style B, or Style C (from the 3 open browser previews).
Phase 3: Building the 1920×1080 Arabic Motion Deck
Once the user selects their options and visual style, execute the build pipeline in order:
Step 3.1: Stage Bundled Local Fonts
Run scripts/deck_helper.py stage-fonts (works with python3 or uv run) to copy the skill's 25 bundled .otf/.ttf font files into <project_dir>/assets/fonts/:
bashpython3 "<SKILL_DIR>/scripts/deck_helper.py" stage-fonts \ --target-dir "<project_dir>"
Read <SKILL_DIR>/references/motion-graphics-cookbook.md and include the @font-face rules matching the user's chosen pairing in Step 2.3 (defaulting to 'Thmanyah Serif Display' for --font-display and 'KOMission' / 'Thmanyah Sans' for --font-body, with the Alt+F / #fontToggleBtn font-weight toggle).
Step 3.2: Build Approved anatomy Isometric Figures (Static & Animated)
For every slide assigned to anatomy:
- Read
<SKILL_DIR>/resources/engine/anatomy/SKILL.mdand<SKILL_DIR>/references/motion-graphics-cookbook.md. - Write a dedicated Node build script (e.g.,
<project_dir>/assets/build_<figure>.mjs) importing:<SKILL_DIR>/resources/engine/anatomy/kit/iso-kit.mjs(* as k)<SKILL_DIR>/resources/engine/anatomy/kit/audit.mjs(* as AforA.settleandA.auditOrExit)<SKILL_DIR>/resources/engine/anatomy/scripts/inline-kit.mjs(kitScriptwhen building animated figures)
- Match the slide theme (
--lightfor warm cream#f8f6f1/ pastel slides;--darkfor dark slides). - Run the mandatory
anatomyaudit:bashnode "<project_dir>/assets/build_<figure>.mjs" --audit --light- Ensure
0overlap/painter's-order errors before proceeding.
- Ensure
- Static Mode (
ثابتة): Output standalone SVG (k.figureSvg({ width, height, standalone: "light", label, body })) and inline<svg class="iso-svg" data-theme="light" ...>into the slide. - Animated Mode (
متحركة): Output withkitScript()+ liverequestAnimationFrameloop (touring = true+pointermovescrub + livedata-readout). Never let the figure capture globalArrowLeft/ArrowRightkeys so slide deck navigation remains uninterrupted.
Step 3.3: Generate Bespoke Text-Free Illustrations
For slides assigned to editorial illustrations (using Antigravity's image-generator subagent or Codex's image_gen tool):
- Every prompt MUST explicitly enforce:
- "Strictly NO text, NO letters, NO numbers, NO words, NO typography anywhere in the image."
- Unified background color and accent palette matching the user's chosen style preset (e.g., warm cream
#f8f6f1background with coral#e07a5f, sage#98d4bb, and lavender#c7b8eain Risograph/Bauhaus editorial vector print style).
- Copy all generated images into
<project_dir>/assets/with descriptive filenames.
Step 3.4: Author the Complete 1920×1080 HTML Presentation
Build <project_dir>/<topic>-slides.html following <SKILL_DIR>/resources/engine/frontend-slides/SKILL.md and <SKILL_DIR>/references/motion-graphics-cookbook.md:
- Fixed
1920×1080Stage & Camera Rig: Use.deck-viewport+.deck-stage#deckStage+.camera-rig#cameraRig(width: 1920px; height: 1080px; transform: translate(-50%, -50%) scale(var(--stage-scale, 1))) fromreferences/motion-graphics-cookbook.md. - Slide Stacking Rule: Every
<section class="slide">must rely on.slide { position: absolute; inset: 0; }. Never addclass="relative"to<section class="slide">. - Zero Emojis: Do not place a single Unicode emoji anywhere in the HTML, comments, or JS. Use custom inline
<svg>icons for all bullets, status indicators, and buttons. - Hidden-by-Default Navigation Controls: Never leave navigation buttons permanently visible on screen. Keep
.deck-controlshidden (opacity: 0; pointer-events: none;) and reveal it only when the user hovers the bottom32pxedge hotzone (#controlsHotzone). - Smooth
Morph(FLIP) &Camera Zoom-In / Zoom-OutEngine (SlidePresentation):- Drop in the complete
SlidePresentationclass fromreferences/motion-graphics-cookbook.mdand initializenew SlidePresentation(mode)using the mode selected in Step 2.3 ('morph-and-zoom','morph-only', or'classic'). - Tag shared elements across consecutive slides with
data-morph="<id>"so they smoothly fly and resize (1.18s cubic-bezier(0.25, 1, 0.35, 1)) between slides. - Tag multi-part slide cards with
data-zoom-step="1..N" data-zoom-label="..."so pressing arrows or clicking any card smoothly glides the camera in (Zoom-In,1.55s cubic-bezier(0.25, 1, 0.35, 1)), pans across sections using pureoffsetLeft/offsetTopcoordinates, and glides back to the full overview (Zoom-Out) before morphing to the next slide.
- Drop in the complete
- Ambitious Motion Graphics on Every Slide: Layer continuous SVG animations (
mg-flow,mg-flow-fast,mg-flow-rev,mg-radar,mg-pulse,mg-scan,mg-bar-fill, corner.hud-brackets, and animated SVG diagrams/oscilloscopes).
Phase 4: Automated Verification & Delivery (Mandatory Gate)
Before opening or presenting the final deck to the user, run the automated audit:
bashpython3 "<SKILL_DIR>/scripts/deck_helper.py" audit-deck \ --html-path "<project_dir>/<topic>-slides.html"
-
Read the JSON report path printed by
audit-deck. -
Verify
"passed": true(0emojis,0missing font/image/anatomy assets, valid@font-facerules, valid slide classes, verified motion graphics). If any check fails, fix the HTML immediately and re-runaudit-deck. -
Clean up temporary style previews:
bashpython3 "<SKILL_DIR>/scripts/deck_helper.py" cleanup-previews \ --target-dir "<project_dir>" -
Open the verified final presentation in the browser (
python3 "<SKILL_DIR>/scripts/deck_helper.py" open-files "<project_dir>/<topic>-slides.html") and present a concise Arabic summary. -
Offer the visual editor: After the audit passes and the summary is delivered, tell the user they can fine-tune the deck by hand in Nevermind Studio and offer to open it:
bashpython3 "<SKILL_DIR>/scripts/deck_helper.py" edit \ --html-path "<project_dir>/<topic>-slides.html"- If the command exits with code
2, Node.js>= 20is missing (orNM_STUDIOpoints at a broken path): say so once and continue. Never ask the user to install dependencies for the editor; the bundled build is already inside the skill. - While the editor is open, the user can pin notes to the agent. Check them with
deck_helper.py notes listbefore making any further change (see the next section). - Never edit
.nevermind/notes.jsonor.nevermind/current.jsonby hand.
- If the command exits with code
Applying the User's Pinned Notes (Nevermind Studio)
When a .nevermind/notes.json file exists next to the deck, apply the open notes before any unrequested improvement. Use nm-studio commands through deck_helper.py; never hand-edit the state files.
-
List the open notes:
bashpython3 "<SKILL_DIR>/scripts/deck_helper.py" notes list --html-path "<deck.html>" -
Read
.nevermind/current.jsonif present. It holds the current slide, the selected element context, and the deck file fingerprint from the last context update. -
Handle each note separately:
- Use the note's element context to locate the node. Prefer
dataNidwhen present, then tag, text, classes, and slide. - Use the region note's rectangle and coordinates inside the
1920×1080stage to understand the intended position. - Inspect the slide when needed:
nm-studio inspect <deck.html> --slide <n>. - Apply the smallest surgical batch through
nm-studio apply. Pass--expect <fingerprint>when the fingerprint incurrent.jsonstill matches the file. - Never rewrite the whole deck, and never add a
styleattribute when the change can be expressed with the Tailwind classes already used in the deck.
- Use the note's element context to locate the node. Prefer
-
Re-audit the deck after each application (
deck_helper.py audit-deck). Leave a note open when it cannot be executed or needs a user decision. -
Close only the note that was carried out:
bashpython3 "<SKILL_DIR>/scripts/deck_helper.py" notes done --html-path "<deck.html>" <note-id> -
Repeat
notes listuntil no open notes remain. Use--allto view completed notes.
The open editor pushes deck edits and note completions automatically. Do not ask the user to close or reopen the editor.


