Langsung ke konten
Skillpedia
Antarmuka (UI/UX)101k Β· #969

web-prototype

Fungsinya

Membuat prototipe halaman web sederhana dalam satu file HTML. Alat ini memakai template siap pakai dan blok tata letak yang sudah ditentukan untuk menyusun halaman.

Kapan dipakai

  • βœ“Saat Anda membutuhkan landing page untuk sebuah website.
  • βœ“Untuk membuat halaman pemasaran atau dokumentasi.
  • βœ“Saat Anda ingin membuat draf cepat halaman web tanpa menulis kode.

Link skill

https://github.com/nexu-io/open-design/blob/main/design-templates/web-prototype/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/nexu-io/open-design/blob/main/design-templates/web-prototype/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

β€œBuatkan prototipe halaman pemasaran untuk aplikasi musik baru, dengan bagian fitur dan tombol 'Pelajari Selengkapnya'.”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Sistem mengambil file HTML dasar yang sudah berisi gaya dan class. Kemudian, sistem menyalin dan menempelkan template tata letak, lalu mengisinya dengan konten Anda.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.

Web Prototype Skill

Produce a single, self-contained HTML prototype using the bundled seed and layout library β€” not by writing CSS from scratch. The seed already encodes good defaults (typography, spacing, accent budget). Your job is to compose it.

Resource map

web-prototype/
β”œβ”€β”€ SKILL.md                ← you're reading this
β”œβ”€β”€ assets/
β”‚   └── template.html       ← seed: tokens + class system + chrome (READ FIRST)
└── references/
    β”œβ”€β”€ layouts.md          ← 8 paste-ready section skeletons
    └── checklist.md        ← P0/P1/P2 self-review

Workflow

Step 0 β€” Pre-flight (do this once before writing anything)

  1. Read assets/template.html end-to-end β€” at minimum through the <style> block. The class inventory at the top of references/layouts.md lists every class that must be defined there; if one is missing, add it to <style> rather than re-defining it inline on every section.
  2. Read references/layouts.md so you know which section skeletons exist. Don't write a section type that isn't covered β€” pick the closest layout and adapt.
  3. Read the active DESIGN.md (already injected into your system prompt). Map its colors to the six :root variables in the seed; don't introduce new tokens.

Step 1 β€” Prepare index.html from the seed

Use assets/template.html as the seed for the canonical project file, normally index.html.

Replace the six :root variables with the active design system's tokens. Replace the page <title> and the topnav brand.

Step 2 β€” Plan the section list

Pick layouts before writing copy. Default rhythms (from layouts.md):

Page kind Default rhythm
Landing 1 hero β†’ 3 features β†’ 4 stats or 5 quote β†’ custom split β†’ 6 cta
Marketing / editorial 1 hero-center β†’ 7 log list β†’ 6 cta
Pricing 1 hero-center β†’ 8 comparison table β†’ 6 cta
Docs index 1 hero-center β†’ 7 log list (sections of docs) β†’ 6 cta

State the chosen list in one sentence to the user before writing β€” they can redirect cheaply now and not after 200 lines of HTML.

Step 3 β€” Paste and fill

For each chosen layout, copy the <section> block from layouts.md into <main id="content"> of the project HTML. Replace bracketed [REPLACE] strings with real, specific copy from the user's brief. No filler β€” if a slot is empty, the section is the wrong choice; pick a different layout. Treat every .ph-img block as layout scaffolding and replace it when the section requires imagery, following the real-first rule below before self-checking.

Step 4 β€” Self-check

Run through references/checklist.md top to bottom. Every P0 item must pass before you move on. P1 items should pass; P2 are bonus.

Step 5 β€” Write the project file

Write the completed HTML to the canonical project file, normally index.html. Then send one short ordinary assistant summary naming the file and describing what's there. Do not output the full HTML source in chat.

Hard rules (the seed protects most of these β€” don't fight it)

  • Single accent, used at most twice per screen. Eyebrow + primary CTA is the default budget.
  • Display font is serif (Iowan Old Style / Charter / Georgia in the seed). Sans for body. Mono for numerics, captions, eyebrows.
  • Real imagery, never remote hotlinks. .ph-img is temporary layout scaffolding, not the default final treatment. For a named real-world referent, search/fetch the correct real image, copy it into the project, and reference it relatively; never generate, draw, or invent a substitute. For illustrative or atmospheric subjects, prefer suitable fetched real photography and use image generation only as a fallback. If no compliant asset can be acquired, keep an intentional labeled .ph-img and disclose the limitation in the delivery summary.
  • Preserve real-image geometry. Inspect each acquired image's intrinsic width and height, replace the entire .ph-img scaffold with an <img class="content-img">, and set matching width and height attributes. Never copy .ph-img, .wide, .portrait, or .square onto a real image. Content images must show the full frame; object-fit: cover is only for intentionally croppable decorative fills. The seed's .content-img rule bounds unusually tall or wide images to the viewport while keeping the other axis automatic.
  • Mobile reflow already works via the seed's media query at 920px. Don't break it by adding fixed widths.

…

Pertanyaan umum

Apa itu 'prototipe'?

Prototipe adalah model atau draf tentang bagaimana sesuatu akan terlihat atau berfungsi, dalam hal ini sebuah halaman website.

Apa itu 'layout'?

Layout adalah struktur bagian halaman yang sudah dirancang sebelumnya (seperti header, area fitur, dan footer) yang bisa digabungkan.

Bisakah saya menambahkan gaya sendiri?

Fokusnya adalah memakai gaya dan class yang sudah ada di template untuk menyusun halaman dengan cepat, tanpa menulis CSS dari nol.

Detail

Deskripsi asli dari pembuat

General-purpose desktop web prototype. Single self-contained HTML file built by copying the seed `assets/template.html` and pasting section layouts from `references/layouts.md`. Default for any landing / marketing / docs / SaaS page when no more specific skill matches.

repo: nexu-io/open-design

Popularitas

Bintang GitHub
101k
Peringkat
#969
Lisensi
Apache-2.0
Diperbarui
15/10/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa