Langsung ke konten
Skillpedia
Antarmuka (UI/UX)20k ยท #10429

HTML

Fungsinya

Mengubah hasil sesi Anda saat ini menjadi satu halaman web yang bersih dan dirancang dengan baik. Skill ini ditujukan untuk orang yang menginginkan versi analisis atau jawaban yang dapat dibagikan dan terlihat rapi.

Kapan dipakai

  • โœ“Saat Anda ingin analisis dari chat ini diubah menjadi halaman web yang dapat dibagikan.
  • โœ“Saat Anda menginginkan laporan yang tampak dirancang, bukan teks biasa.
  • โœ“Saat Anda memerlukan satu file HTML yang tidak memuat apa pun dari situs luar.

Link skill

https://github.com/danielmiessler/LifeOS/blob/main/LifeOS/install/skills/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/danielmiessler/LifeOS/blob/main/LifeOS/install/skills/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

โ€œUbah analisis ini menjadi halaman HTML yang dirancang dengan rapi agar bisa saya bagikan ke tim saya.โ€

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Skill ini memasukkan konten Anda ke dalam struktur tetap, dan renderer tetap menerapkan tata letak dan warna. Hasilnya adalah satu file HTML dengan font dan gaya yang sudah tertanam, lalu dipublikasikan sebagai halaman yang dapat dibagikan.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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.ts registers; 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, ::before labels 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 list action.
  • 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 list blocks 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
Pertanyaan umum

Apakah halaman memuat sesuatu dari internet?

Tidak. Halaman tidak membuat permintaan eksternal, dengan font dan gaya yang tertanam dalam file.

Siapa yang mengendalikan desainnya?

Renderer tetap mengatur tata letak, tipografi, dan warna, sehingga setiap halaman mengikuti gaya yang konsisten.

Apakah halaman diperiksa sebelum dibagikan?

Ya. Halaman diverifikasi sebelum diserahkan, termasuk pemeriksaan visual.

Detail

Deskripsi asli dari pembuat

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

Popularitas

Bintang GitHub
20k
Peringkat
#10429
Lisensi
MIT
Diperbarui
28/10/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • โ€ฆ

Skill lain dari repositori ini

Skill serupa