HTML
ما الذي تفعله
تحوّل هذه المهارة نتائج جلستك الحالية إلى صفحة ويب واحدة نظيفة ومصممة. وهي موجهة لمن يريد نسخة قابلة للمشاركة ومصقولة من تحليل أو إجابة.
متى تستخدمها
- ✓عندما تريد تحويل تحليل من هذه المحادثة إلى صفحة ويب قابلة للمشاركة.
- ✓عندما تريد تقريراً يبدو مصمماً لا نصاً عادياً.
- ✓عندما تحتاج إلى ملف HTML واحد لا يحمّل أي شيء من مواقع خارجية.
رابط المهارة
https://github.com/danielmiessler/LifeOS/blob/main/LifeOS/install/skills/HTML/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“حوّل هذا التحليل إلى صفحة HTML مصممة أستطيع مشاركتها مع فريقي.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
تضع المهارة محتواك في بنية محددة، ثم يطبّق عارض ثابت التخطيط والألوان. والنتيجة ملف HTML واحد تكون خطوطه وأنماطه مضمّنة فيه، ثم تُنشر كصفحة قابلة للمشاركة.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
HTML
Turns whatever the session just produced into one self-contained, designed HTML file and publishes it as an Artifact. Deterministic split: the model's only job is distilling the session output into a typed content JSON and picking a design register; Tools/Render.ts owns every layout, typography, and color decision. Output is Artifact-CSP safe: inline CSS, fonts embedded as data URIs from local font files, zero external requests. The renderer command, block types and register table live in Intents/Render.md.
Ideal State
- Any session output becomes one self-contained, Artifact-safe HTML file that makes zero external requests and renders for the owner.
- Layout, typography and color come entirely from
Tools/Render.tsregisters; the model supplies only typed content JSON, so no hand-styled one-off ships. - The artifact is verified before hand-off — published through the Artifact tool and pixel-checked.
Intent Routing
| Intent | Trigger | File |
|---|---|---|
| Render | /HTML, "HTML artifact", "render this as HTML" |
Intents/Render.md |
Data & Config
No user configuration: registers are defined in Tools/Render.ts, which embeds fonts found in ~/Library/Fonts, /Library/Fonts or /System/Library/Fonts/Supplemental (macOS font folders; with none present it falls back to system font stacks). Publishing needs the Claude Code Artifact tool and its artifact-design skill; without them Render.ts still writes the local HTML file.
Gotchas
- DOM-render screenshot pipelines drop CSS pseudo-element generated content (counters,
::beforelabels render in the browser but vanish from DOM-render captures, and they're invisible to text extraction). Render.ts therefore emits all numbering and labels as real DOM text. Never add CSS counters to a register. (Discovered 2026-07-11.) - Artifacts block all external requests — a Google Fonts
<link>fails silently and you get the fallback stack. Embed via data-URI@font-face(Render.ts does this when the register's font file exists locally) or design on system stacks. - The artifact viewer wraps your file in its own document skeleton — emit
<title>+<style>+ body content only; no<!doctype>/<html>/<head>/<body>tags. - A published artifact is private to its owner's claude.ai account — verifying it in a browser signed into a different account/org 404s. Verify the render by serving the HTML file locally and capturing that; verify publication via the Artifact tool's
listaction. - Numbered section markers must mean something. Render.ts numbers sections (document order — legitimate). Don't number list items unless the content is a true sequence; use
listblocks with bold lead-ins instead.
Examples
Example 1: After a research or red-team session
User: "/HTML"
→ Render intent
→ The session's findings, quotes and sources are published as a `dossier` artifact, its local render pixel-checked, and the URL handed over with a one-line description
Example 2: Different subject, different register
User: "render the quarterly cost analysis as HTML"
→ Render intent
→ A `ledger` artifact with tables and callouts, the register that fits a cost report
الأسئلة الشائعة
هل تحمّل الصفحة أي شيء من الإنترنت؟
لا. لا تُرسل أي طلبات خارجية، فالخطوط والأنماط مضمّنة في الملف.
من يتحكم في التصميم؟
عارض ثابت يملك التخطيط والطباعة والألوان، فتتبع كل صفحة أسلوباً ثابتاً.
هل تُفحص الصفحة قبل مشاركتها؟
نعم. تُفحص قبل تسليمها، بما في ذلك فحص بصري.
التفاصيل
الوصف الأصلي من المؤلف
Renders the current session output as a self-contained, designed HTML artifact via a deterministic renderer that owns all layout from typed JSON. USE WHEN /HTML, HTML artifact, render this as HTML, make this an HTML page, artifact of this analysis, designed HTML output. NOT FOR ISAs (ISARender.ts is the canonical ISA renderer), deployed sites or web apps, web UI design systems (Webdesign), static images or diagrams (Art), or writing the analysis itself.
repo: danielmiessler/LifeOS
الشعبية
- نجوم GitHub
- 20k
- الترتيب
- #10429
- الترخيص
- MIT
- آخر تحديث
- 28/10/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
LifeOS
20kيساعد وكيلك على إعداد LifeOS، وهو نظام شخصي يربط حالتك الحالية بحالتك المثالية عبر مقابلة ولوحة متابعة.
AnnualReports
20kيساعد وكيلك على إيجاد التقارير السنوية للأمن السيبراني من كبار المزودين ومقارنتها، مثل اتجاهات الاختراقات وبرامج الفدية، مع مصدر لكل رقم.
ApertureOscillation
20kيعلّم وكيلك اختبار سؤال تصميم واحد على نطاق ضيق ونطاق واسع، ثم تسمية النقاط التي تتعارض فيها الإجابتان قبل البناء.
Aphorisms
20kيساعد وكيلك على إيجاد الاقتباسات المنسوبة إلى أصحابها من مجموعة منتقاة ومطابقتها وتتبعها، مع تجنّب ما استُخدم منها مؤخراً في نشرتك.
مهارات مشابهة
canvas
394kيتيح لوكيلك عرض أداة مرئية مستضافة على لوحة Mac متصلة، ثم إخفاء اللوحة أو نقلها إلى صفحة أخرى.
control-ui
394kيساعد وكيلك على تنظيم واجهة OpenClaw Control UI واستكشاف أخطائها، بما في ذلك الجلسات ولوحات المعلومات وبوابات Gateway المتصلة.
diagram-maker
394kيساعد وكيلك على إنشاء مخططات واضحة بصيغة SVG أو HTML أو Excalidraw قابلة للتعديل، للعمليات وبنية الأنظمة والرسومات على السبورة.