Langsung ke konten
Skillpedia
Antarmuka (UI/UX)18k Β· #10579

render-html

Fungsinya

Skill ini mengubah file riset, seperti laporan ide dan log tinjauan, menjadi halaman web satu file yang rapi. Skill ini untuk orang yang perlu membaca laporan itu dengan nyaman.

Kapan dipakai

  • βœ“Saat Anda ingin tampilan web yang mudah dibaca untuk laporan ide atau log tinjauan.
  • βœ“Saat file riset Markdown sulit dipindai dan Anda ingin halaman yang rapi.
  • βœ“Saat Anda ingin membagikan ringkasan riset sebagai satu file HTML.

Link skill

https://github.com/wanshuiyin/Auto-claude-code-research-in-sleep/blob/main/skills/render-html/SKILL.md

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/wanshuiyin/Auto-claude-code-research-in-sleep/blob/main/skills/render-html/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit β†’

Contoh permintaan ke AI

β€œSaya ingin laporan ide saya diubah menjadi halaman HTML satu file yang mudah dibaca dan bisa saya bagikan.”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Agent membaca file Markdown atau JSON dan menatanya menjadi satu halaman HTML dengan desain yang jelas. Markdown asli tetap menjadi sumber kebenaran.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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) with reviewer_route.py through the canonical helper resolver, preserving this slot's tier, fresh contexts, source/image inputs and deterministic gates. Codex examples/pins below apply only to backend=codex; other routes use their own first-call/reply contract. Save the route and actual returned identity; unavailable selections are REVIEW_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-html turns 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.md files β€” 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 --review to 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, --offline fallback. MathJax 3 and highlight.js load from cdn.jsdelivr.net by default. Pass --offline to skip both β€” math will appear as raw $x$, code blocks won't get syntax highlighting, but everything stays readable.
  • Pure stdlib helper. render_html.py uses only re, 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, all on* event-handler attributes (onclick, onload, …), and rewrites javascript:/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

Pertanyaan umum

Apakah HTML menggantikan file Markdown?

Tidak. Markdown tetap menjadi sumber kebenaran, dan HTML adalah tampilan untuk dibaca.

File apa yang cocok?

Laporan seperti laporan ide, log tinjauan otomatis, dan keadaan wiki riset adalah contoh yang baik.

Apakah keluarannya lebih dari satu file?

Tidak. Keluarannya adalah satu file HTML.

Detail

Deskripsi asli dari pembuat

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.

repo: wanshuiyin/Auto-claude-code-research-in-sleep

Popularitas

Bintang GitHub
18k
Peringkat
#10579
Lisensi
MIT
Diperbarui
2/11/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa