building-financial-apps
Installation
SKILL.md
Financial App Building (Zero-Parsing Architecture)
When to use this skill
- Building or refactoring
stock-terminal-next. - Implementing AI Chat interfaces in financial apps.
- When the user mentions "Zero-Parsing", "Protocol Fragility", or "Vercel AI SDK".
- Streaming structured data (charts, widgets) alongside text.
Workflow
[ ] Backend: Implement AIStreamProtocol in FastAPI (SSE with Type Codes 0, 2, 9).
[ ] Agent: Use Gemini 3.0/1.5 with Pydantic schemas (structured output) to enforce valid JSON for widgets.
[ ] Frontend: Use ai/react (useChat) and zustand (State) instead of manual fetch loops.
[ ] Testing: Verify streaming protocol using httpx (backend) and msw (frontend).