Skillpedia
التوثيق101k · #1027

huashu-slides

ما الذي تفعله

تنشئ هذه المهارة عروضًا تقديمية بصيغة صفحات ويب (HTML). تحوّل أفكارك إلى شرائح بصرية جذابة، وفق تصميم محدد، وتضمن أن كل شيء يناسب شاشة الحاسوب.

متى تستخدمها

  • ✓عندما تحتاج إلى عرض مشروع أو فكرة بشكل مهني.
  • ✓عند تغيير مسارك المهني وتريد عرض رحلتك على مسؤولي التوظيف.
  • ✓لإنشاء مادة داعمة بصرية لاجتماع مهم.

رابط المهارة

https://github.com/nexu-io/open-design/blob/main/plugins/_official/examples/huashu-slides/SKILL.md

انسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.

طريقة الاستخدام

أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.

رسالة جاهزة للصق

استخدم هذه المهارة لمساعدتي: https://github.com/nexu-io/open-design/blob/main/plugins/_official/examples/huashu-slides/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

مثال على ما تطلبه من الذكاء الاصطناعي

“أنشئ عرضًا تقديميًا عن أهمية إعادة التدوير، بعشر شرائح.”

5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.

كيف تعمل

تزوّد المحتوى والموضوع، فتنظمهما هذه المهارة في شرائح HTML. وتستخدم قالبًا جاهزًا للتصميم، وتركز على وضع نصك ومعلوماتك داخله.

المحتوى التقني (ملف SKILL.md الأصلي)

النص الأصلي من المؤلف، مباشرة من GitHub.

Huashu Slides · 花叔幻灯片

Produce a single-file, publication-grade HTML deck. You are a slide designer working in HTML, not a programmer — every page must look designed, never templated. The visual system, canvas contract, and navigation runtime are locked by example.html. Start from example.html, replace content only — do not rewrite the design or the script.

Adapted from the slides line of huashu-design by 花叔 (alchaincyf), MIT licensed.

Hard spec (locked — violating any line is a regression)

Canvas & scaling

  • One <div id="stage"> fixed at 1920 × 1080 px, centered with position: fixed; top: 50%; left: 50%.
  • A fit() function scales the stage to the viewport: scale = min(innerWidth / 1920, innerHeight / 1080), applied as translate(-50%, -50%) scale(s), re-run on resize. The whole page always fits the window (letterboxed) — never show a zoomed-in corner.
  • All layout inside the stage uses px (never vw/vh/% for type) — the scaler owns responsiveness.

Slides

  • Each page is one <section class="slide"> directly inside #stage, with a data-screen-label="01 封面"-style label (1-indexed; humans never say "slide 0").
  • Exactly one slide carries .active (display toggled by the script); dark pages add the .dark class.
  • 10 pages is the default; honor the user's requested count otherwise.

Navigation runtime (do not rewrite the script)

  • Keyboard: ←/↑/PageUp previous · →/↓/Space/PageDown next · Home/End first/last.
  • Hash routing: #/N (1-indexed) read on load and hashchange, written via history.replaceState on every navigation.
  • Click: left third of the stage goes back, the rest goes forward.
  • Fixed counter pill bottom-right (03 / 10), key-hint bottom-left.
  • No scrollIntoView(), no external JS, no build step — the file must open correctly inside a sandboxed iframe via file://.

Design tokens (in :root, keep the names)

--paper warm paper light bg · --night warm near-black dark bg · --ink/--night-ink text · --accent the single accent (seed: terracotta #C04A1A) · --hairline rules · --serif Noto Serif SC display · --serif-en Lora italic English subtitles · --sans body · --mono labels. Re-theme by changing token values only (from the user's brand or an active DESIGN.md); never introduce a second accent color.

Layout enumeration (use 4–5 per deck, never one layout everywhere)

Layout Role
cover masthead + kicker + giant serif title + English italic subtitle
divider dark bg + chapter number + oversized chapter title
content one claim (60–84px) + at most 3 supporting cards
data a giant number or chart as the visual protagonist
quote whitespace + huge quote (with inline-SVG quote mark) + attribution
two-column before/after · problem/solution comparison
closing dark bg + giant CTA + key-hint capsule

Editorial grammar (every page)

  • Masthead top strip with hairline rule: deck name left, issue/chapter right.
  • Kicker: 44px accent bar + mono uppercase label above the heading.
  • Footer hairline rule: section name left, issue/author meta right. Page numbering lives only in the runtime counter pill — never also print NN / total inside a slide (upstream's documented double-page-number bug).
  • H1/H2 in var(--serif) weight 900; key words get class="hl" (accent) — never color the whole heading.
  • Chinese copy uses 「」 quotes, not "".

Scale (slides are read from 10 meters away)

Body ≥ 24px (at 1920×1080; ~21px allowed only inside dense card grids), headings 60–128px, hero numerals 180–300px.

Rhythm

  • Alternate light/dark: never 3+ same theme in a row; a 8+ page deck needs at least one dark divider, one dark hero/stat, and a dark closing.
  • Alternate density: text page → big-visual page → whitespace/quote page.
  • One accent, at most 3 accent touches per page.

Workflow

  1. Clarify once (skip for small edits): topic, audience, page count, tone, and whether an editable PPTX is needed (this changes the HTML rules — see below). One focused batch of questions, then wait.
  2. Real content only. Use the user's actual material; never lorem ipsum, never invented statistics. Missing data gets an honest <!-- 待用户提供 --> placeholder, not fake numbers.

…

الأسئلة الشائعة

هل يمكنني اختيار ألوان العرض؟

يمكنك تغيير الألوان بتعديل قيم محددة في الشيفرة، لكن التصميم العام واللون الأساسي للتمييز (تيراكوتا) ثابتان للحفاظ على الاتساق.

كم عدد الشرائح التي سيحتويها العرض؟

افتراضيًا تنشئ 10 شرائح، لكن يمكنك طلب عدد مختلف.

هل يعمل العرض على أي جهاز؟

نعم، يتكيف التصميم تلقائيًا مع أي شاشة، سواء على الحاسوب أو على أجهزة أخرى.

التفاصيل

الوصف الأصلي من المؤلف

A career-pivot story from consultant to product leader — the arc, the proof, and why the next role is the right bet. Built as a decision-grade career deck for hiring manager, mentors.

repo: nexu-io/open-design

الشعبية

نجوم GitHub
101k
الترتيب
#1027
الترخيص
Apache-2.0
آخر تحديث
15‏/10‏/2026

هل هذه المهارة مفيدة؟

0

سجّل الدخول للتصويت.

التعليقات

  • …

المزيد من المهارات من هذا المستودع

مهارات مشابهة