شعار Document Browser

Document Browser

مؤسسة
pnp
document-browser

أنشئ لوحة معلومات احترافية لمتصفح مستندات مرتبطة مباشرةً بمكتبة مستندات SharePoint أو حدّثها، مع استخدام حقول بيانات وصفية فعلية وتصميم أنيق باللونين الكحلي والأصفر وخيار تحديث ظاهر وروابط موثوقة للفتح والتنزيل في SharePoint وتخطيط من 3 بطاقات على أجهزة الكمبيوتر. استخدمها عندما يقول المستخدم: - «أنشئ متصفحًا للمستندات» - «أنشئ لوحة معلومات مباشرة لهذه المكتبة» - «أنشئ لوحة معلومات لمكتبة المستندات» - «استخدم مهارة متصفح المستندات مع هذه المكتبة» - «تأكد من ارتباط لوحة المعلومات بالمكتبة مباشرةً»

Add to TypingMind

نظرة عامة

الناشرpnp
المستودعsharepoint-skills
اسم المهارةdocument-browser
النجوم
141
التفريعات
60
الملفات المرفقة
تعليمات فقط
الترخيصMIT
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • مكتفية بذاتها

    كل ما يحتاجه النموذج موجود في التعليمات — لا ملفات إضافية لمزامنتها.

  • مفتوحة المصدر

    نشرها pnp على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Document Browser في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/pnp/sharepoint-skills/tree/main/Skills/document-browser/document-browser
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/pnp/sharepoint-skills.git /tmp/sharepoint-skills
mkdir -p .claude/skills
cp -r /tmp/sharepoint-skills/Skills/document-browser/document-browser .claude/skills/document-browser
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

فعّل Document Browser في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج مهارة Document Browser تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Document Browser بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تستهلك تعليمات المهارة أي توكنات ما دامت المهارة غير مستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف SKILL.md نفسه.

تعليمات المهارة

هذا هو محتوى SKILL.md الذي يُحمّله النموذج. اقرأه قبل التثبيت — فالمهارة عبارة عن تعليمات سيتبعها نموذجك.

Document Browser

When to use

Use this skill when the user wants a professional document browser dashboard for a SharePoint document library or folder. The dashboard must browse documents using real metadata, search, filters, cards, read-only Open links, Download links, and live-linked data whenever supported.

Inputs

  • Target SharePoint document library URL, list ID, or selected/current library.
  • Optional folder path inside the library.
  • Optional approval rule, default: show approved documents only when content approval is enabled.
  • Optional dashboard file name and destination folder.
  • Optional requested filters.

Steps

  1. Resolve and inspect

    • Resolve the target library ID and web URL.
    • Retrieve the full schema and use internal field names only.
    • Identify approval status, Document Title, name/path fields, description/abstract, metadata filters, Document Owner, contacts, author/editor, created/modified dates.
  2. Title and owner rules

    • Prefer Document Title for card titles. Match Document Title, documentTitle, and Document_x0020_Title.
    • Fall back to Title, then file name.
    • Show Document Owner name directly below the card title. Match documentOwner / Document Owner; fall back to Author only if no owner exists.
  3. Live-linked build

    • Use LiveData/list binding for supported library roots or list sources.
    • Include ka-livedata-manifest and runtime code that reads window.__LD_RESULTS__.
    • Include a visible Refresh live data button wired to refresh().
    • Don't claim live-linked unless newly added/updated source documents appear after refresh without regenerating HTML.
  4. Design requirements Use this exact visual system:

    Color palette

    • Navy: #03274A
    • Blue: #164C80
    • Yellow accent: #FFD633
    • Pale blue: #CAD8E5
    • Line / border: #D7E2EC
    • Sand background: #F7F5F3
    • Text: #161616
    • Muted text: #5A5A57

    Typography

    • Primary font stack: Aptos, "Segoe UI", Arial, sans-serif

    Hero header

    • Large rounded navy (or navy-to-blue gradient) hero banner
    • Soft yellow translucent circle accent in the upper-right
    • Short uppercase kicker in yellow with letter-spacing
    • Large white title
    • Pale lead text under the title
    • Optional simple flat-vector illustration on the right side of the hero

    Layout & cards

    • Exactly 3 document cards per desktop row (grid-template-columns: repeat(3, minmax(0, 1fr))), collapsing to 2 then 1 on smaller screens
    • White cards with subtle border (#D7E2EC), soft shadow, and large border-radius (~20–22px)
    • Left yellow accent bar on the card header area
    • Document title in navy, bold
    • Document Owner / contacts shown directly under the title in muted text
    • Abstract preview with hover/focus popup
    • Metadata shown as small rounded pills
    • Pill-shaped action buttons (primary = solid blue, secondary = outlined)

    Overall feel

    • Clean, modern, professional knowledge-browser aesthetic
    • Generous white space, soft shadows, clear hierarchy
    • Card-first design (avoid dense tables)
  5. Dashboard features

    • Search across Document Title/title, filename, abstract/description, metadata, Document Owner, contacts, author/editor.
    • Filter using real fields. Prefer Practice, Service Area, Industry Sectors, Market, Regions, Lead Office, Document Type, Year created when present.
    • Cards include title, Document Owner below title, abstract preview with hover/focus popup, metadata pills, dates, Open and Download actions.
  6. Open and Download link rules — critical

    • In SharePoint HTML preview the dashboard runs inside about:srcdoc; do not use location.origin for Open or Download because it may resolve to null.
    • Define a constant site URL from the resolved web URL, e.g. var SITE='https://tenant.sharepoint.com/sites/site';.
    • Do not render href="#". If no path is available, render a disabled text control instead.
    • Build links from a decoded server-relative SharePoint path.
    • Resolve path in this order: FileRef / File_x0020_Ref / ServerRelativeUrl / Path; then EncodedAbsUrl parsed to pathname; then FileDirRef + '/' + FileLeafRef.
    • Use safeDecode() repeatedly before encoding route parameters so Documents%2520Browser becomes Documents Browser, then re-encodes only once.
    • Verified working Open pattern: SITE + '/_layouts/15/Doc.aspx?sourcedoc=' + encodeURIComponent(serverRelativePath) + '&file=' + encodeURIComponent(fileName) + '&action=embedview&mobileredirect=true'.
    • The serverRelativePath must be decoded first, then encoded exactly once in the sourcedoc route parameter.
    • Do not replace this with the direct file URL ?web=1&action=embedview unless it has been manually tested in the target dashboard after saving.
    • Do not use download.aspx?SourceUrl=...&transform=pdf for Open; it can fail with File Not Found when spaces are double-encoded.
    • Download: SITE + '/_layouts/15/download.aspx?SourceUrl=' + encodeURIComponent(serverRelativePath).
    • Add target="_blank", rel="noopener", and data-interception="off".
    • Never use PDF transform links for Open; never append download=1; validate no %2520, no null/sites, no href="#", and no absolute URL inside SourceUrl.
  7. Validate before saving

    • Confirm live manifest/source exists.
    • Confirm visible refresh control exists and is wired.
    • Confirm 3-column desktop grid exists.
    • Confirm Document Title is first title source and Document Owner appears below title.
    • Confirm the navy / yellow / sand design system and hero structure are present.
    • Confirm Open uses the verified Doc.aspx?sourcedoc=...&file=...&action=embedview&mobileredirect=true pattern; confirm Download uses SITE, robust source-path fallback, and neither link renders #, null/sites, PDF transform, direct untested ?web=1&action=embedview, or double-encoded %2520.
  8. Save

    • Create or update an .html file in the requested destination.
    • Prefer saving HTML dashboards to a Reports library or the location requested by the user unless updating an explicitly selected existing file.
    • Provide the file link.

Output format

Respond with:

  • Link to the dashboard.
  • Whether it is fully live-linked.
  • Note that it uses 3 desktop columns, Document Title, Document Owner below title, the navy-and-yellow design system, visible refresh, and robust decoded server-relative Open/Download links.
  • Any limitation or workaround.

Honesty

If live binding can't target the requested folder or view, say so and offer a workaround. Don't invent working links or data.

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي Document Browser؟

أنشئ لوحة معلومات احترافية لمتصفح مستندات مرتبطة مباشرةً بمكتبة مستندات SharePoint أو حدّثها، مع استخدام حقول بيانات وصفية فعلية وتصميم أنيق باللونين الكحلي والأصفر وخيار تحديث ظاهر وروابط موثوقة للفتح والتنزيل في SharePoint وتخطيط من 3 بطاقات على أجهزة الكمبيوتر. استخدمها عندما يقول المستخدم: - «أنشئ متصفحًا للمستندات» - «أنشئ لوحة معلومات مباشرة لهذه المكتبة» - «أنشئ لوحة معلومات لمكتبة المستندات» - «استخدم مهارة متصفح المستندات مع هذه المكتبة» - «تأكد من ارتباط لوحة المعلومات بالمكتبة مباشرةً»

لماذا تستخدم Document Browser على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Document Browser عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Document Browser في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/pnp/sharepoint-skills/tree/main/Skills/document-browser/document-browser. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Document Browser؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Document Browser؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Document Browser معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Document Browser مجانية؟

نعم. نشرها pnp على GitHub بموجب ترخيص MIT. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا الإخبارية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇