Install
$ agentstack add skill-karem505-karem-arabic-presentation-presentation ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
Arabic HTML Presentation Generator
Convert any content into a beautiful, animated single-file HTML presentation with full Arabic language support and embedded English technical terms.
When to Use This Skill
- Converting markdown files to presentations
- Creating Arabic slideshows from documents
- Building professional Arabic presentations
- Generating animated HTML presentations
- Creating visual summaries of business plans
Core Requirements
When generating presentations, ALWAYS follow these specifications:
Language & Direction (Arabic-First)
Primary Language: Arabic (RTL)
- Set
lang="ar"anddir="rtl"on the HTML element - Write ALL content in Arabic
- Use Arabic for: titles, descriptions, labels, body text, navigation
English Technical Terms
When English terms are needed (AI, API, ChatGPT, brand names), wrap them inline:
AI
ChatGPT
API
CSS for Mixed Content
/* Arabic text (default) */
body {
font-family: 'Tajawal', sans-serif;
direction: rtl;
text-align: right;
}
/* English inline terms */
.en {
font-family: 'Outfit', sans-serif;
direction: ltr;
display: inline-block;
unicode-bidi: embed;
}
Numbers
Use Western numerals (1, 2, 3) for all numbers and statistics.
SVG Icon Library
Use these SVG icons throughout presentations. ALWAYS embed them inline (not as external files).
Core Icons
Icon Styling
.icon {
width: clamp(24px, 4vh, 40px);
height: clamp(24px, 4vh, 40px);
stroke: var(--accent-cyan);
}
.icon-problem {
stroke: var(--accent-rose);
}
.icon-solution {
stroke: var(--accent-emerald);
}
.icon-arrow {
stroke: var(--accent-violet);
width: clamp(32px, 5vh, 48px);
}
Design Specifications
Theme: Dark Professional
:root {
--bg-primary: #0a0e1a;
--bg-secondary: #111827;
--accent-cyan: #06b6d4;
--accent-violet: #8b5cf6;
--accent-amber: #f59e0b;
--accent-rose: #f43f5e;
--accent-emerald: #10b981;
--text-primary: #f8fafc;
--text-secondary: #94a3b8;
--glass-bg: rgba(255, 255, 255, 0.05);
--glass-border: rgba(255, 255, 255, 0.1);
}
Typography
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Tajawal:wght@300;400;500;700;800&display=swap');
body {
font-family: 'Tajawal', sans-serif;
}
.en {
font-family: 'Outfit', sans-serif;
}
Scaling & Margins (CRITICAL)
:root {
--slide-padding-x: clamp(20px, 4vw, 60px);
--slide-padding-y: clamp(15px, 2.5vh, 40px);
--content-max-width: 1200px;
--card-min-height: clamp(80px, 12vh, 150px);
--card-padding: clamp(10px, 1.5vh, 20px);
--grid-gap: clamp(8px, 1.2vh, 16px);
}
html {
font-size: clamp(12px, 1.2vw, 16px);
scroll-behavior: smooth;
scroll-snap-type: y mandatory;
}
.slide {
height: 100vh;
width: 100%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding: var(--slide-padding-y) var(--slide-padding-x);
box-sizing: border-box;
scroll-snap-align: start;
position: relative;
overflow: visible;
}
.slide-content {
width: 100%;
max-width: var(--content-max-width);
max-height: calc(100vh - var(--slide-padding-y) * 2);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: clamp(8px, 1.5vh, 20px);
}
/* Height-based media queries */
@media (max-height: 700px) {
:root {
--card-min-height: 70px;
--card-padding: 8px;
--grid-gap: 6px;
}
html { font-size: clamp(11px, 1.1vw, 14px); }
}
@media (max-height: 550px) {
:root {
--card-min-height: 55px;
--card-padding: 6px;
--grid-gap: 5px;
}
html { font-size: clamp(10px, 1vw, 12px); }
}
Timeline Layout (Problem/Solution)
Use horizontal timeline layout for problem/solution slides:
معظم كورسات AI نظرية ومملة
تعليم عملي من مشاريع حقيقية
.timeline-container {
display: flex;
flex-direction: column;
gap: var(--grid-gap);
width: 100%;
max-width: var(--content-max-width);
}
.timeline-row {
display: flex;
align-items: center;
justify-content: center;
gap: clamp(10px, 2vw, 30px);
}
.timeline-card {
background: var(--glass-bg);
backdrop-filter: blur(10px);
border-radius: clamp(8px, 1.5vh, 16px);
padding: var(--card-padding);
display: flex;
align-items: center;
gap: clamp(8px, 1.5vh, 15px);
min-width: clamp(200px, 35vw, 400px);
max-width: 45%;
}
.timeline-card.problem {
border: 2px solid var(--accent-rose);
}
.timeline-card.solution {
border: 2px solid var(--accent-emerald);
}
.timeline-text {
font-size: clamp(0.8rem, 1.6vh, 1.1rem);
line-height: 1.4;
}
.icon-arrow {
flex-shrink: 0;
animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
0%, 100% { opacity: 1; transform: scale(1); }
50% { opacity: 0.7; transform: scale(1.1); }
}
Carousel Component (Products/Courses)
Use carousel for displaying courses or products:
.carousel-container {
position: relative;
width: 100%;
max-width: 600px;
display: flex;
flex-direction: column;
align-items: center;
gap: clamp(10px, 2vh, 20px);
}
.carousel-viewport {
width: 100%;
overflow: hidden;
border-radius: clamp(12px, 2vh, 24px);
}
.carousel-track {
display: flex;
transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.carousel-slide {
min-width: 100%;
padding: clamp(15px, 3vh, 30px);
background: var(--glass-bg);
backdrop-filter: blur(10px);
border: 1px solid var(--glass-border);
border-radius: clamp(12px, 2vh, 24px);
text-align: center;
}
.carousel-btn {
position: absolute;
top: 50%;
transform: translateY(-50%);
background: var(--glass-bg);
border: 1px solid var(--glass-border);
border-radius: 50%;
width: clamp(36px, 5vh, 48px);
height: clamp(36px, 5vh, 48px);
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.3s ease;
z-index: 10;
}
.carousel-prev { right: calc(100% + 10px); }
.carousel-next { left: calc(100% + 10px); }
.carousel-btn:hover {
background: var(--accent-violet);
border-color: var(--accent-violet);
}
.carousel-dots {
display: flex;
gap: 8px;
}
.carousel-dot {
width: 10px;
height: 10px;
border-radius: 50%;
background: var(--glass-border);
cursor: pointer;
transition: all 0.3s ease;
}
.carousel-dot.active {
background: var(--accent-cyan);
transform: scale(1.2);
}
// Carousel functionality
function initCarousel(container) {
const track = container.querySelector('.carousel-track');
const slides = container.querySelectorAll('.carousel-slide');
const dots = container.querySelectorAll('.carousel-dot');
const prevBtn = container.querySelector('.carousel-prev');
const nextBtn = container.querySelector('.carousel-next');
let currentIndex = 0;
function goToSlide(index) {
if (index = slides.length) index = 0;
currentIndex = index;
track.style.transform = `translateX(${index * 100}%)`;
dots.forEach((dot, i) => dot.classList.toggle('active', i === index));
slides.forEach((slide, i) => slide.classList.toggle('active', i === index));
}
prevBtn?.addEventListener('click', () => goToSlide(currentIndex + 1)); // RTL: prev goes right
nextBtn?.addEventListener('click', () => goToSlide(currentIndex - 1)); // RTL: next goes left
dots.forEach((dot, i) => dot.addEventListener('click', () => goToSlide(i)));
// Auto-advance every 5 seconds
setInterval(() => goToSlide(currentIndex - 1), 5000);
}
document.querySelectorAll('.carousel-container').forEach(initCarousel);
Navigation (Left Side for RTL)
.nav-dots {
position: fixed;
left: clamp(10px, 2vw, 20px); /* LEFT side for RTL */
top: 50%;
transform: translateY(-50%);
display: flex;
flex-direction: column;
gap: clamp(6px, 1vh, 10px);
z-index: 100;
}
.nav-dot {
width: clamp(8px, 1vh, 12px);
height: clamp(8px, 1vh, 12px);
border-radius: 50%;
background: var(--glass-border);
cursor: pointer;
transition: all 0.3s ease;
}
.nav-dot.active {
background: var(--accent-cyan);
transform: scale(1.3);
}
.progress-bar {
position: fixed;
top: 0;
left: 0;
height: 3px;
background: linear-gradient(90deg, var(--accent-cyan), var(--accent-violet));
z-index: 100;
width: 0%;
transition: width 0.1s ease;
}
Full Keyboard Navigation
document.addEventListener('keydown', (e) => {
const slides = document.querySelectorAll('.slide');
let currentSlide = Array.from(slides).findIndex(slide => {
const rect = slide.getBoundingClientRect();
return rect.top >= -100 && rect.top 0) {
slides[currentSlide - 1].scrollIntoView({ behavior: 'smooth' });
}
break;
case 'Home':
e.preventDefault();
slides[0].scrollIntoView({ behavior: 'smooth' });
break;
case 'End':
e.preventDefault();
slides[slides.length - 1].scrollIntoView({ behavior: 'smooth' });
break;
case 'f':
case 'F':
if (!e.ctrlKey && !e.metaKey) {
e.preventDefault();
if (document.fullscreenElement) {
document.exitFullscreen();
} else {
document.documentElement.requestFullscreen();
}
}
break;
default:
// Number keys 1-9 for direct slide access
if (e.key >= '1' && e.key
المميزات
المميزات (تابع)
.continued {
font-size: 0.7em;
color: var(--text-secondary);
font-weight: 400;
}
Arabic Slide Templates
1. العنوان (Title Slide)
اسم المشروع
العنوان الفرعي
0
الرقم الرئيسي
"الشعار أو الرسالة الرئيسية"
2. الرؤية والرسالة (Vision & Mission)
الرؤية والرسالة
الرؤية
نص الرؤية هنا...
الرسالة
نص الرسالة هنا...
3. المشكلة والحل (Problem & Solution)
المشكلة والحل
وصف المشكلة
وصف الحل
4. الأرقام الرئيسية (Key Metrics)
الأرقام الرئيسية
0
الوصف
5. المنتجات/الدورات (Products/Courses)
الدورات التدريبية
6. تحليل SWOT
تحليل SWOT
نقاط القوة
نقطة 1
نقطة 2
7. الختام (Conclusion)
اسم المشروع
"الرسالة الختامية"
Background Effects
.bg-gradient {
position: absolute;
inset: 0;
background: radial-gradient(ellipse at 30% 20%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
radial-gradient(ellipse at 70% 80%, rgba(6, 182, 212, 0.15) 0%, transparent 50%);
pointer-events: none;
}
.floating-orb {
position: absolute;
border-radius: 50%;
filter: blur(60px);
opacity: 0.3;
animation: float 15s ease-in-out infinite;
}
.orb-1 { width: 300px; height: 300px; background: var(--accent-violet); top: 10%; right: 5%; }
.orb-2 { width: 250px; height: 250px; background: var(--accent-cyan); bottom: 10%; left: 10%; animation-delay: -5s; }
@keyframes float {
0%, 100% { transform: translate(0, 0) scale(1); }
50% { transform: translate(-20px, 20px) scale(0.95); }
}
Quote Box (Gradient Style)
.quote-box {
background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(6, 182, 212, 0.2));
border: 1px solid var(--glass-border);
border-radius: clamp(12px, 2vh, 24px);
padding: clamp(15px, 3vh, 35px) clamp(20px, 4vw, 50px);
text-align: center;
max-width: 800px;
width: 100%;
}
.quote-text {
font-size: clamp(1rem, 2.5vw, 1.6rem);
font-weight: 600;
line-height: 1.4;
}
Animations
@keyframes fadeInUp {
from { opacity: 0; transform: translateY(30px); }
to { opacity: 1; transform: translateY(0); }
}
@keyframes float {
0%, 100% { transform: translate(0, 0) scale(1); }
50% { transform: translate(-20px, 20px) scale(0.95); }
}
@keyframes pulse {
0%, 100% { opacity: 1; }
50% { opacity: 0.7; }
}
.card, .stat-item, .timeline-card, .swot-card {
opacity: 0;
transform: translateY(20px);
transition: all 0.5s ease;
}
.card.visible, .stat-item.visible, .timeline-card.visible, .swot-card.visible {
opacity: 1;
transform: translateY(0);
}
Image Embedding System
Logo Placement
- Title slide: Large centered logo
- Conclusion slide: Large centered logo
- Other slides: No logo (clean content)
Placeholders
Python Embedding Script
Generate embed_images.py with:
IMAGES = {
'logo': r'path/to/logo.png',
}
File Naming Convention
Name files based on content title:
- Arabic title "أكاديمية لومينا" ->
Lumina_Academy_Presentation.html - English title "LUMINA AI" ->
LUMINA_AI_Presentation.html
Output Checklist
Every generated presentation must have:
- [ ]
lang="ar"anddir="rtl"on HTML - [ ] Full Arabic content (except technical terms)
- [ ] SVG icons (not emoji or text)
- [ ] Timeline layout for problem/solution
- [ ] Carousel for products/courses
- [ ] Navigation dots on LEFT
- [ ] Progress bar at top
- [ ] Full keyboard navigation
- [ ] Logo on title + conclusion only
- [ ] Floating orb backgrounds
- [ ] Animated counters for stats
- [ ] Responsive scaling with vh/vw units
- [ ] Height-based media queries
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: karem505
- Source: karem505/karem-arabic-presentation
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.