render-html
ما الذي تفعله
تحوّل هذه المهارة ملفات البحث، مثل تقارير الأفكار وسجلات المراجعة، إلى صفحة ويب مصقولة في ملف واحد. وهي لمن يحتاج إلى قراءة تلك التقارير براحة.
متى تستخدمها
- ✓عندما تريد عرضاً ويب قابلاً للقراءة لتقرير أفكار أو سجل مراجعة.
- ✓عندما يكون ملف بحث بصيغة Markdown صعب التصفح وتريد صفحة مصقولة.
- ✓عندما تريد مشاركة ملخص بحث كملف HTML واحد.
رابط المهارة
https://github.com/wanshuiyin/Auto-claude-code-research-in-sleep/blob/main/skills/render-html/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“أريد تحويل تقرير أفكاري إلى صفحة HTML واحدة سهلة القراءة أستطيع مشاركتها.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
يقرأ الوكيل ملف Markdown أو JSON ويرتبه في صفحة HTML واحدة بتصميم واضح. ويبقى ملف Markdown الأصلي هو المرجع، والـ HTML عرض للقراءة فقط.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
/render-html: Markdown → single-file HTML for human reading
Before each reviewer slot, follow Selectable Reviewers: resolve invocation →
.aris/reviewer.json→ Claude Code default (Codex MCP) withreviewer_route.pythrough the canonical helper resolver, preserving this slot's tier, fresh contexts, source/image inputs and deterministic gates. Codex examples/pins below apply only tobackend=codex; other routes use their own first-call/reply contract. Save the route and actual returned identity; unavailable selections areREVIEW_UNAVAILABLE. Classify acceptance from actual families/completion/scope. Forward invocation reviewer/model/effort overrides to reviewer-bearing children. Generation workers are unchanged.
Markdown is for writers. HTML is for readers. ARIS workflow nodes write Markdown (canonical, audit-trail-friendly, machine-parseable).
/render-htmlturns selected artifacts into a polished single-file HTML view for the human who actually has to read them. The Markdown stays the source of truth.
When to use this skill
Use /render-html for ARIS artifacts that have a real human reader:
| Artifact | Why HTML helps | Template |
|---|---|---|
idea-stage/IDEA_REPORT.md |
Ranked ideas + pilot signal + scores feel like a decision dashboard, not a flat list | academic |
review-stage/AUTO_REVIEW.md (+ REVIEW_STATE.json) |
Round-by-round score progression + weakness status; pass --state to embed the JSON |
academic |
paper/KILL_ARGUMENT.md (+ KILL_ARGUMENT.json) |
Per-point attack/defense with <details> Q&A cards + red/yellow/green callouts |
academic |
research-wiki/SUMMARY.md (or research-wiki/index.md) |
Cross-entity cockpit: papers / ideas / experiments / claims at a glance | dashboard |
PAPER_PLAN.md (optional) |
Claims-evidence matrix renders better as a polished table than raw MD | academic |
RESUBMIT_REPORT.{md,json} (optional) |
7-state failure-mode ledger | academic or dashboard |
Do NOT use for:
- LaTeX paper output — the final reader-facing artifact is PDF, not HTML.
SKILL.mdfiles — those are internal LLM-facing protocol..aris/traces/*review traces — forensic debug, not human display.- Every Markdown file in your project — only artifacts that benefit from sticky TOC, callouts, math, or score progressions.
Core invariants
- MD / JSON is canonical, HTML is generated view. Edit the source, then re-render. Do not hand-edit the HTML.
- Cross-model review at the artifact boundary (ARIS invariant). Academic-template HTML — used for the artifacts humans actually read (IDEA_REPORT, AUTO_REVIEW, KILL_ARGUMENT, PAPER_PLAN) — is reviewed by the selected reviewer in a fresh context; classify its family from actual identities before being claimed as a finished view. Dashboard-template HTML (cockpit / debug views) skips review by default but accepts
--reviewto force it. See § HTML Review Gate below. - Drift detection. Every rendered HTML embeds the source path, SHA256, and generation timestamp in
<meta>tags AND in the visible page header. If the HTML and source diverge, the meta tells you which version of the source produced it. - Single-file output. No build system, no separate CSS, no
node_modules. Just one.html. - CDN-friendly default,
--offlinefallback. MathJax 3 and highlight.js load fromcdn.jsdelivr.netby default. Pass--offlineto skip both — math will appear as raw$x$, code blocks won't get syntax highlighting, but everything stays readable. - Pure stdlib helper.
render_html.pyuses onlyre,html,hashlib,json,datetime,pathlib,argparse,sys. No pip install required. - Defense-in-depth XSS sanitization. The helper strips
<script>/<style>/<iframe>/<object>/<embed>/<form>/<input>/<button>/<link>/<meta>/<base>tags, allon*event-handler attributes (onclick,onload, …), and rewritesjavascript:/vbscript:/data:href/src/action schemes to#blocked-unsafe-url:. ARIS workflow artifacts should not contain these in the first place, but the sanitizer is the safety net in case an LLM hallucinates one. Markdown text content is HTML-escaped separately and never reaches the sanitizer.
Tool Location
Arch C self-contained: the canonical implementation lives at skills/render-html/scripts/render_html.py (this SKILL's own `scrip
الأسئلة الشائعة
هل يحل HTML محل ملف Markdown؟
لا. يبقى Markdown المرجع الأساسي، وHTML نسخة للقراءة.
ما الملفات المناسبة؟
التقارير مثل تقارير الأفكار وسجلات المراجعة التلقائية وحالة قاعدة معرفة البحث أمثلة جيدة.
هل المخرج أكثر من ملف واحد؟
لا. المخرج ملف HTML واحد.
التفاصيل
الوصف الأصلي من المؤلف
Render an ARIS Markdown / JSON artifact (IDEA_REPORT, AUTO_REVIEW, KILL_ARGUMENT, PAPER_PLAN, research-wiki state, etc.) into a single-file HTML view designed for human reading. Use when the user says \"渲染 HTML\", \"出一份 HTML 报告\", \"render html\", \"make this readable\", \"export to html\", or wants a polished web-rendered view of a Markdown artifact.
الشعبية
- نجوم GitHub
- 18k
- الترتيب
- #10579
- الترخيص
- MIT
- آخر تحديث
- 2/11/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
ablation-planner
18kيساعد وكيلك على تخطيط دراسات الاستئصال لورقة بحثية، فيختار الاختبارات التي يُرجَّح أن يطلبها المحكّمون بعد أن تبدو النتائج الرئيسية جيدة.
alphaxiv
18kيتيح لوكيلك قراءة ورقة بحثية واحدة بسرعة باستخدام ملخصات AlphaXiv، مع النص الكامل أو مصدر LaTeX احتياطياً، من رابط arXiv أو معرّفه.
analyze-results
18kيساعد وكيلك على تحليل نتائج تجارب تعلم الآلة، ومقارنة التشغيلات بخط أساس، وتحويل الأرقام إلى نتائج واضحة وخطوات تالية.
arxiv
18kيتيح لوكيلك البحث في arXiv عن الأوراق الأكاديمية، وقراءة تفاصيلها، وحفظ ملفات PDF في مكتبتك لموضوع بحثي.
مهارات مشابهة
canvas
394kيتيح لوكيلك عرض أداة مرئية مستضافة على لوحة Mac متصلة، ثم إخفاء اللوحة أو نقلها إلى صفحة أخرى.
control-ui
394kيساعد وكيلك على تنظيم واجهة OpenClaw Control UI واستكشاف أخطائها، بما في ذلك الجلسات ولوحات المعلومات وبوابات Gateway المتصلة.
diagram-maker
394kيساعد وكيلك على إنشاء مخططات واضحة بصيغة SVG أو HTML أو Excalidraw قابلة للتعديل، للعمليات وبنية الأنظمة والرسومات على السبورة.