Skillpedia
PDF وWord والعروض التقديمية28k · #9859

pdf

ما الذي تفعله

تساعد هذه المهارة في ملفات PDF، بما في ذلك إنشاء ملفات جديدة والتحقق من مظهرها. وهي موجهة للأشخاص الذين يحتاجون إلى ملفات PDF تُنتج أو تُقرأ بدقة مع فحص التخطيط.

متى تستخدمها

  • ✓عندما تريد إنشاء ملف PDF جديد بتنسيق موثوق.
  • ✓عندما تحتاج إلى قراءة ملف PDF أو مراجعته حيث يهم تخطيطه وعناصره البصرية.
  • ✓عندما تريد فحص ملف PDF منتهٍ بصريًا قبل إرساله.

رابط المهارة

https://github.com/openai/skills/blob/main/skills/.curated/pdf/SKILL.md

انسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.

طريقة الاستخدام

أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.

رسالة جاهزة للصق

استخدم هذه المهارة لمساعدتي: https://github.com/openai/skills/blob/main/skills/.curated/pdf/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

مثال على ما تطلبه من الذكاء الاصطناعي

“أنشئ ملخصًا من صفحة واحدة بصيغة PDF لهذا التقرير، وتحقق من أن التخطيط يبدو صحيحًا قبل أن أرسله.”

5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.

كيف تعمل

يحوّل الوكيل صفحات PDF إلى صور لفحصها، ويستخدم أدوات Python لإنشاء المحتوى أو استخراجه، ويعيد الفحص بعد كل تغيير حتى يبدو التخطيط صحيحًا.

المحتوى التقني (ملف SKILL.md الأصلي)

النص الأصلي من المؤلف، مباشرة من GitHub.

PDF Skill

When to use

  • Read or review PDF content where layout and visuals matter.
  • Create PDFs programmatically with reliable formatting.
  • Validate final rendering before delivery.

Workflow

  1. Prefer visual review: render PDF pages to PNGs and inspect them.
    • Use pdftoppm if available.
    • If unavailable, install Poppler or ask the user to review the output locally.
  2. Use reportlab to generate PDFs when creating new documents.
  3. Use pdfplumber (or pypdf) for text extraction and quick checks; do not rely on it for layout fidelity.
  4. After each meaningful update, re-render pages and verify alignment, spacing, and legibility.

Temp and output conventions

  • Use tmp/pdfs/ for intermediate files; delete when done.
  • Write final artifacts under output/pdf/ when working in this repo.
  • Keep filenames stable and descriptive.

Dependencies (install if missing)

Prefer uv for dependency management.

Python packages:

uv pip install reportlab pdfplumber pypdf

If uv is unavailable:

python3 -m pip install reportlab pdfplumber pypdf

System tools (for rendering):

# macOS (Homebrew)
brew install poppler

# Ubuntu/Debian
sudo apt-get install -y poppler-utils

If installation isn't possible in this environment, tell the user which dependency is missing and how to install it locally.

Environment

No required environment variables.

Rendering command

pdftoppm -png $INPUT_PDF $OUTPUT_PREFIX

Quality expectations

  • Maintain polished visual design: consistent typography, spacing, margins, and section hierarchy.
  • Avoid rendering issues: clipped text, overlapping elements, broken tables, black squares, or unreadable glyphs.
  • Charts, tables, and images must be sharp, aligned, and clearly labeled.
  • Use ASCII hyphens only. Avoid U+2011 (non-breaking hyphen) and other Unicode dashes.
  • Citations and references must be human-readable; never leave tool tokens or placeholder strings.

Final checks

  • Do not deliver until the latest PNG inspection shows zero visual or formatting defects.
  • Confirm headers/footers, page numbering, and section transitions look polished.
  • Keep intermediate files organized or remove them after final approval.
الأسئلة الشائعة

ما الأدوات التي تستخدمها؟

تعتمد على أدوات Python مثل reportlab وpdfplumber وpypdf، إضافة إلى Poppler لتحويل الصفحات.

هل يكفي استخراج النص للتحقق من ملف PDF؟

لا. تقول المهارة إن استخراج النص لا يكفي لفحص التخطيط، لذلك تحوّل الصفحات إلى صور وتفحصها بصريًا.

هل أحتاج إلى تثبيت أي شيء؟

قد تحتاج بعض الأدوات إلى تثبيت، ومنها Poppler للتحويل، وتقول المهارة إنها ستخبرك إذا كان شيء ناقصًا.

التفاصيل

الوصف الأصلي من المؤلف

Use when tasks involve reading, creating, or reviewing PDF files where rendering and layout matter; prefer visual checks by rendering pages (Poppler) and use Python tools such as `reportlab`, `pdfplumber`, and `pypdf` for generation and extraction.

repo: openai/skills

الشعبية

نجوم GitHub
28k
الترتيب
#9859
الترخيص
—
آخر تحديث
28‏/10‏/2026

هل هذه المهارة مفيدة؟

0

سجّل الدخول للتصويت.

التعليقات

  • …

المزيد من المهارات من هذا المستودع

مهارات مشابهة