web-prototype
ما الذي تفعله
تنشئ هذه المهارة نموذجًا أوليًا بسيطًا لصفحة ويب في ملف HTML واحد. تستخدم قالبًا جاهزًا وكتلًا تخطيطية محددة مسبقًا لتجميع الصفحة.
متى تستخدمها
- ✓عندما تحتاج إلى صفحة هبوط لموقع.
- ✓لإنشاء صفحة تسويقية أو توثيقية.
- ✓عندما تريد مسودة سريعة لصفحة ويب دون برمجة.
رابط المهارة
https://github.com/nexu-io/open-design/blob/main/design-templates/web-prototype/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“أنشئ نموذج صفحة تسويقية لتطبيق موسيقى جديد، فيها قسم للمزايا وزر «Learn More».”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
تأخذ هذه المهارة ملف HTML أساسيًا فيه أنماط وفئات محددة مسبقًا. ثم تنسخ قوالب التخطيط وتلصقها، وتملؤها بمحتواك.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من 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)
- Read
assets/template.htmlend-to-end — at minimum through the<style>block. The class inventory at the top ofreferences/layouts.mdlists every class that must be defined there; if one is missing, add it to<style>rather than re-defining it inline on every section. - Read
references/layouts.mdso you know which section skeletons exist. Don't write a section type that isn't covered — pick the closest layout and adapt. - Read the active DESIGN.md (already injected into your system prompt). Map its colors to the six
:rootvariables 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-imgis 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-imgand disclose the limitation in the delivery summary. - Preserve real-image geometry. Inspect each acquired image's intrinsic width and height, replace the entire
.ph-imgscaffold with an<img class="content-img">, and set matchingwidthandheightattributes. Never copy.ph-img,.wide,.portrait, or.squareonto a real image. Content images must show the full frame;object-fit: coveris only for intentionally croppable decorative fills. The seed's.content-imgrule 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.
…
الأسئلة الشائعة
ما هو «النموذج الأولي»؟
هو نموذج أو مسودة لطريقة ظهور شيء أو عمله، وهنا هو صفحة ويب.
ما هي «التخطيطات»؟
هي هياكل مصممة مسبقًا لأقسام الصفحة، مثل الترويسة ومنطقة المزايا والتذييل، ويمكن دمجها معًا.
هل يمكنني إضافة أنماطي الخاصة؟
التركيز على استخدام الأنماط والفئات الموجودة في القالب لتجميع الصفحة بسرعة، دون كتابة CSS من الصفر.
التفاصيل
الوصف الأصلي من المؤلف
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
الشعبية
- نجوم GitHub
- 101k
- الترتيب
- #969
- الترخيص
- Apache-2.0
- آخر تحديث
- 15/10/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
sample-plugin
101kيجعل وكيلك ينشئ ملف بيانات وصفية للاختبارات. يساعد على ضمان عمل الكود بشكل صحيح في مواقف مختلفة.
aster-atelier
101kيساعد وكيلك على إنشاء موقع إلكتروني فني بطابع كلاسيكي. يستخدم صورًا أنيقة وسماءً زرقاء وخطوطًا بأسلوب السينما.
audio-jingle
101kيجعل وكيلك ينشئ صوتيات مثل الموسيقى التعريفية القصيرة والمؤثرات الصوتية. يمكنه إنشاء الموسيقى والأصوات وحفظ النتيجة كملف صوتي.
blog-post
101kيساعد وكيلك على كتابة المقالات الطويلة ومقالات المدونات. يتضمن أماكن للصور والاقتباسات ومعلومات الكاتب.
مهارات مشابهة
canvas
394kيتيح لوكيلك عرض أداة مرئية مستضافة على لوحة Mac متصلة، ثم إخفاء اللوحة أو نقلها إلى صفحة أخرى.
control-ui
394kيساعد وكيلك على تنظيم واجهة OpenClaw Control UI واستكشاف أخطائها، بما في ذلك الجلسات ولوحات المعلومات وبوابات Gateway المتصلة.
diagram-maker
394kيساعد وكيلك على إنشاء مخططات واضحة بصيغة SVG أو HTML أو Excalidraw قابلة للتعديل، للعمليات وبنية الأنظمة والرسومات على السبورة.