Initial commit for document-skills

This commit is contained in:
dfty
2026-01-29 22:16:49 +08:00
parent c22ff07d89
commit 7d9e86db60
131 changed files with 53657 additions and 3 deletions

View File

@@ -0,0 +1,12 @@
import sys
from pypdf import PdfReader
# Script for Claude to run to determine whether a PDF has fillable form fields. See forms.md.
reader = PdfReader(sys.argv[1])
if (reader.get_fields()):
print("This PDF has fillable form fields")
else:
print("This PDF does not have fillable form fields; you will need to visually determine where to enter data")