Read and edit PDFs: extract text and tables, merge, split, rotate, and fill forms.
ANanthropics/skills181k1,119 new stars in the last 7 days
/sales report-pdfSALES-REPORT-{YYYY-MM-DD}.pdf written to the current working directoryreportlab library, scripts/generate_pdf_report.pyYou generate a professional, visually polished PDF version of the sales pipeline report. The PDF is designed for sharing with sales leadership, investors, or team members who need a clean, portable document rather than a markdown file. It includes charts, formatted tables, color-coded scores, and a professional layout.
When the user invokes /sales report-pdf, follow this process:
Check that SALES-REPORT.md exists in the current working directory.
If SALES-REPORT.md does NOT exist:
/sales report first to generate the pipeline report, then run /sales report-pdf to create the PDF version."If SALES-REPORT.md exists:
**/PROSPECT-ANALYSIS.md, **/COMPANY-RESEARCH.md, etc.) to enrich the PDF with additional detailVerify that the reportlab Python library is available by running:
python3 -c "import reportlab; print(reportlab.Version)"
If reportlab is NOT installed:
reportlab Python library is required for PDF generation. Install it with: pip install reportlab"pip install reportlabIf Python 3 is NOT available:
Extract the following data from SALES-REPORT.md and any prospect analysis files:
For each prospect, extract into a structured object:
{
"name": "Company Name",
"url": "https://company.com",
"score": 85,
"grade": "A",
"stage": "Qualified",
"next_action": "Send intro email to VP Engineering",
"est_value": "$24,000 ARR",
"component_scores": {
"company_fit": 88,
"contact_access": 75,
"opportunity_quality": 90,
"competitive_position": 82,
"outreach_readiness": 80
},
"key_pain_point": "Manual API monitoring causing outages",
"key_contact": "Jane Smith, VP Engineering",
"risk_factors": "Long procurement cycle"
}
For the top 5 prospects, extract detailed data including:
Extract the prioritized action list:
[
{
"priority": 1,
"company": "Acme Corp",
"action": "Send personalized email to VP Engineering",
"urgency": "immediate",
"reason": "Recent funding round creates budget window"
}
]
{
"total_prospects": 10,
"average_score": 72,
"a_grade_count": 3,
"a_grade_pct": 30,
"b_grade_count": 4,
"b_grade_pct": 40,
"c_grade_count": 2,
"c_grade_pct": 20,
"d_grade_count": 1,
"d_grade_pct": 10,
"highest_score": 92,
"lowest_score": 35,
"health_rating": "Good"
}
Write a JSON file at _pdf_input.json in the current working directory containing all extracted data:
{
"title": "Sales Pipeline Report",
"date": "2025-01-15",
"overall_pipeline_score": 72,
"health_rating": "Good",
"total_prospects": 10,
"prospects": [
{
"name": "...",
"url": "...",
"score": 85,
"grade": "A",
"stage": "Qualified",
"next_action": "...",
"est_value": "...",
"component_scores": { ... },
"key_pain_point": "...",
"key_contact": "...",
"risk_factors": "..."
}
],
"top_prospects": [ ... ],
"action_items": [ ... ],
"pipeline_health": { ... },
"score_distribution": {
"A+": { "count": 1, "pct": 10, "prospects": ["Acme Corp"] },
"A": { "count": 2, "pct": 20, "prospects": ["Beta Inc", "Gamma Ltd"] },
"B": { "count": 4, "pct": 40, "prospects": ["..."] },
"C": { "count": 2, "pct": 20, "prospects": ["..."] },
"D": { "count": 1, "pct": 10, "prospects": ["..."] }
},
"weekly_focus": [
{
"rank": 1,
"company": "Acme Corp",
"score": 92,
"reason": "Highest score with active trigger event",
"actions": ["Send intro email", "Connect on LinkedIn", "Schedule demo"]
}
],
"methodology": {
"company_fit_weight": 25,
"contact_access_weight": 20,
"opportunity_quality_weight": 20,
"competitive_position_weight": 15,
"outreach_readiness_weight": 20
}
}
Check if the PDF generation script exists at scripts/generate_pdf_report.py relative to the project root.
Finding the project root: Look for the scripts/ directory in these locations (in order):
If the script does NOT exist:
scripts/generate_pdf_report.py. This script is part of the AI Sales Team project setup. Please ensure the project is properly installed."If the script exists:
Run the PDF generation script:
python3 scripts/generate_pdf_report.py _pdf_input.json "SALES-REPORT-$(date +%Y-%m-%d).pdf"
The script should produce a PDF with these sections:
After PDF generation:
_pdf_input.json fileThe PDF generation requires the reportlab Python library.
Install it by running: pip install reportlab
Shall I install it for you?
Python 3 is required for PDF generation but was not found.
Please install Python 3 from https://python.org and then run:
pip install reportlab
The PDF generation script was not found at scripts/generate_pdf_report.py.
This script is part of the AI Sales Team project. Please ensure the project
directory structure is intact.
SALES-REPORT.md was not found in the current directory.
Run `/sales report` first to generate the pipeline report, then run
`/sales report-pdf` to create the PDF version.
If the Python script exits with an error:
_pdf_input.json file for debugging (don't delete it on failure)SALES-REPORT-{YYYY-MM-DD}.pdf (using current date)Read and edit PDFs: extract text and tables, merge, split, rotate, and fill forms.
ANanthropics/skills181k1,119 new stars in the last 7 days
Create posters and visual art as PNG or PDF, guided by a design philosophy.
ANanthropics/skills181k1,119 new stars in the last 7 days
Create and edit Word docs with TOC, page numbers, headers and more.
ANanthropics/skills181k1,119 new stars in the last 7 days
Co-write specs, proposals and decision docs through a structured, iterative workflow.
ANanthropics/skills181k1,119 new stars in the last 7 days
Read and edit spreadsheets: add columns, compute formulas, format, and clean messy data.
ANanthropics/skills181k1,119 new stars in the last 7 days
Create and edit slide decks, generate slides from templates, and extract text.
ANanthropics/skills181k1,119 new stars in the last 7 days