PTENES
MODULE 6.14 · PATH 6

💰 /finance report-pdf — PDF Financial Plan Generator

**DISCLAIMER: For educational/informational purposes only. Does not constitute financial advice.**

11
Topics
10 min
Reading
orchestrator
Command
Finance
Team

WARNING: For educational/informational purposes only. This does not constitute financial advice.

Objective

Compile all analyses in markdown from FINANCE-*.md files in the current working directory into a single polished PDF that a consultant, family member, or accountability partner can read from start to finish.

When to Trigger

Prerequisites

Before generating, make sure the user has at least one analysis file in the current working directory:

If no files are found, ask the user to run first /finance analyze or /finance quick.

Process

Step 1: Scan Source Files

ls FINANCE-*.md

Read all files found. The Python generator script also performs its own scan; the assistant reads them beforehand to validate content quality and identify obvious gaps before generation.

Stage 2: Data Extraction

Get from the Markdown files:

Stage 3: Run the PDF Generator

Run:

Bash(python3 ~/.claude/skills/finance/scripts/generate_finance_pdf.py)

The script reads all FINANCE-*.md files from the current working directory, parses the structured sections, and builds a PDF using ReportLab.

If the script is missing or has errors, gracefully fall back to a consolidated Markdown-only report named FINANCE-PLAN.md and inform the user.

Step 4: Confirm Output

After generation:

  1. Check whether FINANCE-PLAN.pdf exists in the current working directory
  2. Report the file size and page count to the user
  3. Suggest sharing it with your financial advisor / accountant (CPA)

PDF Structure

The generator produces the following sections:

Cover Page

Page 2: Executive Summary

Page 3: Financial Health Score Breakdown

Page 4: Cash Flow and Budget

Page 5: Debt Profile

Page 6: Retirement Outlook

Page 7: Investment Portfolio

Page 8: Financial Protection

Pages 9–10: Action Plan

Final Page: Disclosures and Glossary

Visual Design Patterns

Tone and Language

Error Handling

ErrorResponse
No FINANCE-*.md file found"Run /finance analyze or /finance quick first to generate the input data."
Missing Python scriptGenerate FINANCE-PLAN.md consolidated instead; tell the user how to install ReportLab
ReportLab not installedInstruct: pip3 install reportlab
Empty/malformed MarkdownSkip this section, generate the PDF without it, note it in the summary
PDF generation succeeded, but file is < 50KBProbably no data; notify the user

Customization Options

If the user wants to customize:

Invocation Example Flow

Usuário: /finance report-pdf

Assistente: Varrendo o diretório atual em busca de arquivos FINANCE-*.md...
            Encontrados: FINANCE-ANALYSIS.md, FINANCE-DEBT.md, FINANCE-RETIREMENT.md, FINANCE-BUDGET.md

            Gerando PDF...
            [executa Bash(python3 ~/.claude/skills/finance/scripts/generate_finance_pdf.py)]

            Concluído. Gerado FINANCE-PLAN.pdf (12 páginas, 487 KB).

            Principais conclusões:
            - Pontuação de Saúde Financeira: 72/100 (Nota B)
            - Área mais forte: Gestão de Dívida (88/100)
            - Área mais fraca: Preparação para Aposentadoria (52/100)
            - Ação principal: Aumentar a contribuição do 401k de 6% para 12% para capturar o match completo

            Próximo passo recomendado: Compartilhe este PDF com seu CPA antes do planejamento fiscal de fim de ano.

            AVISO: Apenas para fins educacionais/informativos. Não constitui aconselhamento financeiro.

Validation Checklist

Before declaring success, verify:


WARNING: For educational/informational purposes only. Does not constitute financial advice. The generated PDF compiles AI-generated analyses based on data provided by the user. Always consult a licensed financial advisor, CPA, or tax professional before making major financial decisions. Past performance does not guarantee future results.

--- skills/finance-quick/SKILL.md ---


name: finance-quick description: 60-Second Financial Snapshot — quick financial health assessment based on six key inputs (income, expenses, savings, debt, age, retirement goal). No subagents. Produces a compact scorecard in the terminal with savings rate, DTI ratio, emergency fund coverage, retirement progress status, and top 3 priority actions in under 40 lines.


← Module 6.13 Module 6.15 →