pdf-question-extraction

Extract Google Cloud Professional ML Engineer PDF questions into JSON/SQL data models.

Updated Nov 16, 2025
One-click install
npx skills add https://github.com/tlfmcooper/prof-mle-exam-prep --skill pdf-question-extraction
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf-question-extraction
Source: https://github.com/tlfmcooper/prof-mle-exam-prep/tree/main/.skills/pdf-question-extraction
Command: npx skills add https://github.com/tlfmcooper/prof-mle-exam-prep --skill pdf-question-extraction

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates the extraction, parsing, validation, and structuring of Google Cloud Professional ML Engineer PDF questions into clean JSON/SQL formats, reducing manual data entry and errors.

Core Features & Use Cases

  • Automated extraction: Convert PDF exam questions into structured data.
  • Validation & normalization: Enforce consistent option labeling, correct answers, and topic tagging.
  • Export readiness: Produce JSON/SQL-ready records for database imports or analytics.
  • Use Case: Convert a 100-question PDF into a queryable dataset for study dashboards and practice exams.

Quick Start

Run the extraction workflow on a sample PDF using the included patterns and templates.

Frequently Asked Questions about pdf-question-extraction

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I extract questions from a PDF and convert them into JSON or SQL data?

To extract questions from a PDF and convert them into JSON or SQL, you can use parsing libraries like pdf-parse, PyPDF2, or pdfplumber to read the text, then apply validation rules and templates to structure the data into queryable database records.

What is the best way to parse multiple choice and multiple select questions from PDF exams?

Parsing multiple choice and multiple select questions from PDF exams requires extracting the text, identifying option labels, and enforcing consistent data normalization. Optional LLM-assisted extraction can help classify complex case studies and structure them into clean data models.

Can I use LLM-assisted extraction to validate and normalize PDF question data structures?

Yes, you can use LLM-assisted extraction to validate and normalize PDF question data structures. This approach helps enforce consistent option labeling, correct answers, and topic tagging while reducing manual data entry errors before exporting to JSON or SQL formats.

Does pdfplumber or PyPDF2 work well for extracting complex case study questions from PDFs?

Yes, pdfplumber and PyPDF2 work for extracting complex case study questions from PDFs. They parse the raw text content, which can then be structured using JSON templates and validation rules, though a manual review step is recommended to ensure data accuracy.

How do I import extracted PDF exam questions into a database for a study dashboard?

To import extracted PDF exam questions into a database for a study dashboard, you run the parsed content through validation rules to produce SQL-ready records. The resulting structured data can then be directly imported to support analytics and practice exams.

What are the limitations of automated PDF question extraction for data validation?

Automated PDF question extraction for data validation may struggle with inconsistent formatting or complex layouts. The workflow includes a manual review step to catch errors, ensuring that option labeling and correct answers are accurately structured before JSON or SQL export.