Finance Dashboard Command
Generate a modern HTML dashboard visualizing financial data.
Arguments
$1: Directory containing CSV and graph assets
Input Files
normalized_*.csv- Individual account transactionsagentic_merged_transactions.csv- Combined transactionsassets/*.png- Generated graphs
Output
index.html- Single-page dashboard with embedded styles
Design System
Visual Style
Modern, minimalist fintech aesthetic:
- Layout: Card-based bento grid with whitespace
- Colors:
- Background: soft gray (#F5F7FA)
- Cards: white (#FFFFFF)
- Positive: emerald green (#10B981)
- Negative: coral red (#EF4444)
- Typography: Large bold numbers (48-64px), clean sans-serif
- Cards: Rounded corners (16-24px), subtle shadows
Dashboard Sections
- Header - Title, date range
- Summary Metrics - Income, Expenses, Net Cash Flow, Count
- Graphs Section - Two-column grid of visualizations
- Category Treemap - CSS-based spending visualization
- Transactions Table - Sortable, all transactions
Workflow
- Read directory path from
$1 - Load CSV data and compute summaries
- Find PNG files in assets/
- Generate HTML with embedded CSS
- Write to
index.html - Stop hook validates HTML structure
Usage
/finance-dashboard data/january/
Related Components
- Agent: finance-dashboard-generator
- Hook: html-structure-validator