pdf-official
Process and Fill PDF Forms with Claude
Manually filling PDF forms is tedious and error-prone. This skill enables Claude to extract form fields, validate layouts, and populate PDFs programmatically with accurate data.
تنزيل ZIP المهارة
رفع في Claude
اذهب إلى Settings → Capabilities → Skills → Upload skill
فعّل وابدأ الاستخدام
اختبرها
استخدام "pdf-official". Check fillable fields in employment_application.pdf
النتيجة المتوقعة:
Found 12 fillable fields: first_name (text), last_name (text), email (text), phone (text), address (text), city (text), state (choice), zip (text), position_applied (text), available_date (text), full_time (checkbox), part_time (checkbox). Fields span pages 1-2.
استخدام "pdf-official". Fill the form with: first_name=John, last_name=Doe, email=john@example.com
النتيجة المتوقعة:
Successfully filled 12 fields in employment_application.pdf. Output saved to employment_application_filled.pdf. All field values validated against field types.
استخدام "pdf-official". Create validation image for page 1 of fields.json
النتيجة المتوقعة:
Created validation image at page_1_validation.png with 24 bounding boxes. Red rectangles mark text entry areas, blue rectangles mark labels. No intersections detected.
التدقيق الأمني
مخاطر منخفضةStatic analyzer flagged 220 patterns but all are false positives. The 'Ruby backtick' detections are markdown code blocks in documentation, not shell execution. 'Weak crypto' and 'C2 keywords' findings have no basis in actual code. The skill uses legitimate Python PDF libraries (pypdf, pdfplumber, PIL) for expected file operations. No network exfiltration, command injection, or malicious patterns found.
مشكلات منخفضة المخاطر (1)
عوامل الخطر
📁 الوصول إلى نظام الملفات (3)
درجة الجودة
ماذا يمكنك بناءه
Automated Form Filling for Administrative Work
Office workers can have Claude extract form fields from employment applications, tax forms, or registration documents, then populate them with user-provided information accurately and consistently.
PDF Data Extraction for Research
Researchers can extract tables and structured data from academic PDFs, converting them to CSV or Excel format for analysis without manual copy-pasting.
Document Preparation for Legal or Compliance
Legal teams can merge multiple PDF documents, add watermarks, apply consistent annotations, and fill standardized forms with case-specific information.
جرّب هذه الموجهات
Check if this PDF has fillable form fields: [upload PDF]. Run the check_fillable_fields script and tell me what fields are available.
Extract the form field information from [input.pdf] to a JSON file, then fill it with these values: [provide field values]. Create the filled PDF as [output.pdf].
This PDF has no fillable fields. Convert it to images, help me identify bounding boxes for text entry areas, create validation images to verify placement, then add annotations to fill in the form with [data].
I have 50 PDF forms that need the same fields filled with different values from this spreadsheet. Extract the field structure once, then process all PDFs with their corresponding data rows.
أفضل الممارسات
- Always run check_fillable_fields first to determine if the PDF has interactive form fields or requires annotation-based filling
- Generate and visually inspect validation images before finalizing non-fillable form annotations to ensure accurate text placement
- Keep original PDFs as backups before running fill operations, as the process creates new output files
تجنب
- Do not skip validation image inspection - bounding box errors result in text appearing in wrong locations
- Do not assume all PDFs have fillable fields - many scanned forms require manual bounding box identification
- Do not use annotation-based filling for forms that have actual form fields - use the fillable field approach instead
الأسئلة المتكررة
What is the difference between fillable and non-fillable PDF forms?
Can this skill handle scanned PDFs or images?
What Python libraries does this skill use?
How do I validate that filled form fields are positioned correctly?
Can this skill merge multiple PDFs into one document?
What happens if I provide an invalid field value for a form field?
تفاصيل المطور
بنية الملفات