validate-pdf

Generate and validate meal plan PDFs for file size, page count, and structure.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/BaselHussain/ai-keto-meal-plan-generator --skill validate-pdf
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: validate-pdf
Source: https://github.com/BaselHussain/ai-keto-meal-plan-generator/tree/main/.claude/skills/validate-pdf
Command: npx skills add https://github.com/BaselHussain/ai-keto-meal-plan-generator --skill validate-pdf

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pypdf, and includes scripts (resource) components.

What problem does it solve?

This Skill automates the generation and validation of PDF reports, ensuring they meet specific structural, size, and content requirements.

Core Features & Use Cases

  • Automated PDF Generation: Creates PDFs from structured meal plan data.
  • Comprehensive Validation: Checks file size, page count, and presence of key elements.
  • Use Case: Generate a 30-day keto meal plan PDF with shopping lists and macros, then automatically verify its integrity and content.

Quick Start

Use the validate-pdf skill to generate and validate a PDF from the default test fixture.

Frequently Asked Questions about validate-pdf

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

FAQPage Schema
How do I validate generated PDF reports to check for correct page count and structure?

To validate generated PDF reports, automated scripts check file size, page count, and the presence of essential structural elements like cover pages and daily plans. This ensures the document meets specific content and formatting requirements.

How do I automate PDF generation from meal plan data including shopping lists and macros?

Automating PDF generation from meal plan data involves processing structured JSON files to create documents containing shopping lists and macros. The generated PDF is then automatically validated for correct file size and structural integrity.

What is the best way to verify PDF integrity after generating large documents like a 30-day meal plan?

The best way to verify PDF integrity after generating large documents like a 30-day meal plan is to run an automated validation process. This checks the file size, page count, and verifies that key structural elements are present.

Does pypdf support validating the structural elements of a generated PDF file?

Yes, pypdf is used to support validating the structural elements of a generated PDF file. The skill utilizes it to programmatically verify page counts and check for required content like cover pages and daily plans.

Can I use a custom JSON file path for meal plan data instead of a default test fixture?

Yes, you can use a custom JSON file path for meal plan data instead of a default test fixture. The skill supports providing a specific file path to generate and validate PDFs from your own structured data.