coefficient-portfolio

Finance Tools: Templates, Content Engine & Free Applications

A multi-faceted finance marketing automation project encompassing a 5-agent blog writing pipeline (29 articles), 33 Excel financial templates with automated compatibility fixes, 33 enhanced landing pages, and a full-stack paystub generator web application.

Architecture

┌─────────────────────────────────────────────────┐
│ 1. Blog Content Engine (5-Agent Pipeline)        │
│    Editor-in-Chief → Researcher → Writer         │
│    → Editor/SEO → Publisher                       │
│    Output: 29 SEO-optimized finance blogs          │
└─────────────────────────────────────────────────┘
┌─────────────────────────────────────────────────┐
│ 2. Excel Template Automation (Python)              │
│    fix_templates.py: XLOOKUP→INDEX/MATCH,          │
│    _xlfn removal, #REF! cleanup                    │
│    Output: 33 cross-platform templates              │
└─────────────────────────────────────────────────┘
┌─────────────────────────────────────────────────┐
│ 3. Landing Page Enhancement (Python + JSON)        │
│    apply_all_enhancements.py: DOCX generation,     │
│    FAQ/PAA optimization, batch processing           │
│    Output: 33 enhanced landing pages                │
└─────────────────────────────────────────────────┘
┌─────────────────────────────────────────────────┐
│ 4. Paystub Generator (React + TypeScript)           │
│    Full-stack web app: PDF + Excel export,          │
│    email capture, responsive design                 │
│    Stack: React 18, Express, Shadcn/ui, Tailwind    │
└─────────────────────────────────────────────────┘

Sub-Project 1: Blog Content Engine

5-Agent Pipeline

Agent Role Key Responsibility
Agent 1: Editor-in-Chief Orchestrator Topic assignment, batch management, quality standards
Agent 2: Researcher Intelligence External research, outline expansion, proof points
Agent 3: Writer Content creation Draft writing, keyword integration, tone management
Agent 4: Editor & SEO Quality gate 100-point scoring rubric, SEO optimization, revision feedback
Agent 5: Publisher Delivery Final formatting, Google Docs publishing

Quality Framework

100-Point Scoring Rubric:

Writing Rules:

Blog Topics (29 Total)

Categories covered:

Sub-Project 2: Excel Template Automation

Python Fix Pipeline (524 lines)

Automated compatibility fixes for 33 financial Excel templates:

Fix Type Count What It Does
XLOOKUP → INDEX/MATCH 158 Replaces Excel 365-only function
LET wrapper removal 39 Removes unsupported function
_xlfn prefix removal 83 Strips internal Excel prefixes
#REF! error cleanup 403 Eliminates broken references
XMATCH → MATCH 3 Replaces Excel 365-only function
Instructions tabs 9 Created missing user guides
Total fixes 688 100% resolution rate

Compatibility target: Google Sheets + Excel 2016+ + LibreOffice

Template Categories (33 Templates)

Sub-Project 3: Landing Page Enhancement

Automated Enhancement Pipeline

Results

Metric Value
Documents enhanced 33
Overall quality score 8.5/10
Critical issues 0
PAA coverage 2.18 avg questions/doc
Documents with 3+ PAAs 19/33
Factual accuracy 9/10

Sub-Project 4: Paystub Generator

Full-Stack Web Application

Frontend: React 18 + TypeScript + Vite

Backend: Express.js (minimal)

Features:

Deployment Options: Vercel/Netlify (static), Node.js (Heroku/EC2), Docker

Overall Results

Deliverable Quantity Status
Finance blog articles 29 Complete
Excel financial templates 33 (688 fixes) Production-ready
Enhanced landing pages 33 8.5/10 quality
Paystub generator app 1 full-stack app Deployed
Total content pieces 96 All complete

Stack

Key Decisions

  1. 100-point rubric over subjective review — Quantifiable scoring ensures consistency across 29 blog posts. Agent 4 uses the same criteria every time.
  2. INDEX/MATCH over XLOOKUP — XLOOKUP is Excel 365-only. Converting to INDEX/MATCH ensures templates work in Google Sheets, Excel 2016+, and LibreOffice.
  3. Client-side PDF generation — No server-side rendering needed. jsPDF + html2canvas runs entirely in the browser, reducing hosting costs and complexity.
  4. 3-batch landing page processing — 11 docs per batch prevents context overflow while maintaining consistency within each batch.
  5. Connector cheat sheets as knowledge base — 7 product cheat sheets serve as the single source of truth for all agents, preventing capability hallucination.

Visual Direction

Diagram: Four quadrants showing the four sub-projects. Top-left: 5-agent blog pipeline with flow arrows. Top-right: Excel template fix funnel (688 fixes → 33 templates). Bottom-left: Landing page enhancement batch processing. Bottom-right: Paystub generator app screenshot/wireframe. Center shows the shared knowledge base (connector cheat sheets) feeding into the blog and landing page pipelines.