docs-page
ما الذي تفعله
تنشئ هذه المهارة صفحة توثيق كاملة في ملف HTML واحد. تنظم المحتوى في ثلاثة أعمدة: قائمة تنقل على اليسار، والنص الرئيسي في الوسط، وفهرس المحتويات على اليمين.
متى تستخدمها
- ✓عندما تحتاج إلى صفحة دليل أو شرح تعليمي.
- ✓عندما تنشئ مرجع API.
- ✓عندما تريد إنشاء توثيق تقني مفصل.
رابط المهارة
https://github.com/nexu-io/open-design/blob/main/design-templates/docs-page/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“أنشئ صفحة توثيق لوظيفة تسجيل دخول المستخدم، تتضمن أمثلة كود وملاحظات تحذيرية.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
تقرأ المهارة تعليمات التصميم، وتختار موضوعًا مناسبًا، وترتب المحتوى في ثلاثة أعمدة باستخدام CSS Grid. وتضمن أن النص مقروء وأن الكود منسق بشكل صحيح.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
Docs Page Skill
Produce a single, three-column documentation page in one HTML file.
Workflow
- Read the active DESIGN.md (injected above). Use the body type token for prose; the mono token for code; respect line-height and max-width rules.
- Pick a topic from the brief — the page should look like real docs, not a generic wireframe. Concrete API names, command examples, plausible parameters.
- Lay out three regions, expressed on the inline axis so the
layout flips correctly under
dir="rtl":- Inline-start nav (240–280px, sticky): grouped link list, current
page bolded with an
inline-start-edge accent stripe. 3–5 groups of 4–8 links. - Article body (max-width ~720px, centered in the middle column): H1, lede paragraph, H2 sections, code blocks, callout boxes (note / warning), inline links, lists.
- Inline-end TOC (200–240px, sticky): "On this page" with the H2/H3 anchors, current section highlighted as the user scrolls.
- Inline-start nav (240–280px, sticky): grouped link list, current
page bolded with an
- Write a single HTML document:
<!doctype html>through</html>, all CSS inline.- CSS Grid for the three columns; sticky positioning for the rails.
- Code blocks: monospace token, soft surface fill, copy-button affordance (visual only — no JS needed).
- Anchor IDs on every H2/H3 so the TOC links work.
data-od-idon the nav, article, and TOC.
- Prose: write at least 350 words of believable docs. Include at least one shell command, one code snippet (5–15 lines), one callout, one table.
- Self-check:
- Body text wraps at the DS line-length sweet spot (60–75 chars).
- Code uses the DS mono token, not generic
monospace. - Accent is restrained — used for active nav item, links, one callout border. Not on body text.
- Page is readable at 1280w and collapses gracefully below 900w (TOC drops out, nav becomes a top drawer).
- Use logical CSS (
margin-inline-start,border-inline-start,inset-inline-end,text-align: start) on the rails and accent stripe so the layout flips correctly underdir="rtl".
Output contract
Emit between <artifact> tags:
<artifact identifier="docs-slug" type="text/html" title="Docs — Page Title">
<!doctype html>
<html>...</html>
</artifact>
One sentence before the artifact, nothing after.
الأسئلة الشائعة
ما هي «التوكنات»؟
التوكنات هي عناصر بناء محددة مسبقًا تستخدمها المهارة لتنسيق النص والكود بشكل متسق.
ماذا يعني أن «التخطيط ينقلب بشكل صحيح تحت dir="rtl"»؟
يعني أن الصفحة تتكيف تلقائيًا مع اللغات التي تُقرأ من اليمين إلى اليسار (مثل العربية)، بقلب ترتيب الأعمدة.
هل تحتاج الصفحة المنشأة إلى JavaScript؟
لا، زر نسخ الكود مرئي فقط. وبنية الصفحة الرئيسية مبنية بـ HTML وCSS.
التفاصيل
الوصف الأصلي من المؤلف
A documentation page — inline-start nav, scrollable article body, inline-end table of contents. Use when the brief mentions "docs", "documentation", "guide", "API reference", or "tutorial".
repo: nexu-io/open-design
الشعبية
- نجوم GitHub
- 101k
- الترتيب
- #873
- الترخيص
- Apache-2.0
- آخر تحديث
- 15/10/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
sample-plugin
101kيجعل وكيلك ينشئ ملف بيانات وصفية للاختبارات. يساعد على ضمان عمل الكود بشكل صحيح في مواقف مختلفة.
aster-atelier
101kيساعد وكيلك على إنشاء موقع إلكتروني فني بطابع كلاسيكي. يستخدم صورًا أنيقة وسماءً زرقاء وخطوطًا بأسلوب السينما.
audio-jingle
101kيجعل وكيلك ينشئ صوتيات مثل الموسيقى التعريفية القصيرة والمؤثرات الصوتية. يمكنه إنشاء الموسيقى والأصوات وحفظ النتيجة كملف صوتي.
blog-post
101kيساعد وكيلك على كتابة المقالات الطويلة ومقالات المدونات. يتضمن أماكن للصور والاقتباسات ومعلومات الكاتب.
مهارات مشابهة
technical-documentation
394kيساعد وكيلك على كتابة الوثائق التقنية ومراجعتها، وملفات التعليمات الخاصة بالوكلاء، لتكون سهلة المتابعة للناس وأدوات الذكاء الاصطناعي.
architecture-decision-records
280kيساعد وكيلك على تسجيل قرارات بنية المشروع المهمة، فيفهم سبب كل اختيار ويحتفظ بتاريخ واضح للتغييرات.
code-tour
280kيتيح لوكيلك إنشاء جولات شيفرة خطوة بخطوة مع مراجع دقيقة للملفات والأسطر، ويفيد للتعريف بالمشروع والشرح والمراجعة.