ailabs-393/business-document-generator
This skill should be used when the user requests to create professional business documents (proposals, business plans, or budgets) from templates. It provides PDF templates and a Python script for generating filled documents from user data.
npx skills add https://github.com/ailabs-393/ai-labs-claude-skills --skill business-document-generator
Generate professional business documents (Project Proposals, Business Plans, Annual Budgets) from high-quality PDF templates. Use the bundled Python script to fill templates with user-provided data and output polished PDF documents ready for distribution.
Activate this skill when the user asks to:
This skill supports three types of professional business documents:
assets/templates/Professional Proposal Template.pdfassets/templates/Comprehensive Business Plan Template.pdfassets/templates/Annual Budget Plan Template.pdfGather information from the user about:
Create a JSON file with the document data. Reference the data schemas in references/document_schemas.md for field requirements.
Example for Proposal:
{
"title": "Digital Transformation Initiative",
"subtitle": "A Comprehensive Plan for Acme Corporation",
"client_org": "Acme Corporation",
"client_contact": "Jane Smith, CTO",
"company_name": "TechSolutions Inc.",
"contact_info": "[email protected]",
"date": "November 3, 2025"
}
Note: Check assets/examples/ for complete example JSON files:
proposal_example.jsonbusiness_plan_example.jsonbudget_example.jsonThe generation script requires Python packages. Install them:
pip install pypdf reportlab
Run the generation script:
python3 scripts/generate_document.py <document_type> <data_file> \
--templates-dir assets/templates \
--output-dir <output_directory>
Parameters:
<document_type>: One of proposal, business_plan, or budget<data_file>: Path to JSON file with document data--templates-dir: Directory containing PDF templates (default: assets/templates)--output-dir: Where to save generated PDFs (default: output)--output-filename: Optional custom filenameExample:
python3 scripts/generate_document.py proposal my_proposal_data.json \
--templates-dir assets/templates \
--output-dir ./generated_docs
The script outputs a PDF file in the specified output directory. Verify the document was generated successfully and inform the user of the file location.
references/document_schemas.md) python3 scripts/generate_document.py proposal proposal_data.json \
--templates-dir assets/templates
python3 scripts/generate_document.py business_plan plan_data.json \
--templates-dir assets/templates
python3 scripts/generate_document.py budget budget_data.json \
--templates-dir assets/templates
The scripts/generate_document.py script:
The script currently fills in cover page information (titles, names, dates). The template body content serves as a professional framework that users can follow when creating their documents manually or through other PDF editing tools.
To fill additional fields beyond the cover page, the script can be enhanced to:
Modify scripts/generate_document.py to add more sophisticated PDF manipulation as needed.
For detailed information about required and optional fields for each document type, consult:
references/document_schemas.md - Complete data structure documentationFind complete working examples in assets/examples/:
proposal_example.json - Sample project proposal databusiness_plan_example.json - Sample business plan databudget_example.json - Sample budget plan dataUse these as starting templates when creating new documents.
Import errors when running the script:
pip install pypdf reportlabTemplate not found:
--templates-dir points to assets/templatesGenerated PDF is blank or missing data:
references/document_schemas.md)Need to customize templates:
assets/templates/TEMPLATE_MAP in the scriptContains the Python script for document generation:
generate_document.py - Main document generation script with CLI interfaceThis script can be executed directly without loading into context for token efficiency. It may be read if modifications or debugging are needed.
Documentation to reference while working:
document_schemas.md - Complete JSON data structure for all document typesFiles used in the document generation output:
templates/ - Professional PDF templates for each document typeProfessional Proposal Template.pdfComprehensive Business Plan Template.pdfAnnual Budget Plan Template.pdfexamples/ - Sample JSON data files demonstrating proper structureproposal_example.jsonbusiness_plan_example.jsonbudget_example.jsonThese templates and examples are not loaded into context but referenced during generation.
Take ailabs-393/business-document-generator from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.
The instructions reference pip.
Without those the skill loads but fails at the first command.