Vibe Coding for Treasury: Build Tools Without Code
Describe what you want. AI writes the code. You get a working tool.
- 01What vibe coding is and the DESCRIBE > GENERATE > TEST > REFINE loop
- 02A Cash Position Tracker built in Claude Artifacts, with 5 refinement cycles
- 0310 treasury tools you can build this week, and the limits
- The universal vibe coding prompt template
- A tool ideas gallery with build times
- A refinement cheat sheet
The last mile: from workflow to tool
You already know how to prompt AI and build workflows. But the output is still a conversation.
You ask AI a question. AI gives you text back.
Copy-paste the result
You chain prompts into a process. AI handles multiple steps.
Run it manually each time
AI builds you an application. Anyone can use it. No prompts needed.
Share the link. Done.
Vibe coding = describing what you want in natural language and letting AI generate the tool. You are the domain expert. AI is the developer.
What is vibe coding?
Learn a programming language, write syntax, debug errors, deploy infrastructure. Months of work.
Describe what you want in plain language. AI writes the code. You test and refine. Minutes of work.
You bring the domain expertise. You know treasury. You know what a cash position report needs. AI does not.
AI brings the technical execution. AI writes the HTML, JavaScript and CSS. You never have to touch the code.
You iterate through conversation. "Move the totals row to the top." "Add a column for variance." "Make the negative numbers red."
Result: a working tool in minutes. Not a mockup. A functional, interactive application.
Why Claude Artifacts?
There are many vibe coding tools. This module uses Claude Artifacts because it has the lowest barrier to entry. The same approach works in other chat tools that preview code.
Open claude.ai in your browser. No installation, no terminal, no IDE, no GitHub account.
Claude generates a live, interactive application right in the chat window. Click buttons, enter data, see results.
"Make the header teal." "Add a currency dropdown." "Calculate the variance." Plain language, not code.
Publish the artifact and send the link to a colleague. They open it and use the tool.
Data rule still applies. The finished tool runs in the browser, but everything you type into the chat goes to the AI provider. Build with sample data, like the example below, and follow your Module 4 data classification.
The vibe coding loop
Four steps. Repeat steps 3 and 4 until it works the way you want.
Tell AI exactly what you want the tool to do. Use T.R.A.C.E. from Module 2: be specific about layout, data and behavior.
5 min
AI writes the code and shows you a live preview. A working application immediately.
30 sec
Click every button. Enter real-looking data. Try to break it. Does it calculate correctly? Is anything missing?
2 min
Tell AI what to change in plain language. "Move totals to top." "Add EUR/USD toggle."
1–2 min each
Average: 3–5 refinement cycles to get a solid tool. Total time: 15–30 minutes.
DESCRIBE: the Cash Position Tracker prompt
The exact prompt used in the build. Paste it, don't retype it. Notice T.R.A.C.E. baked in: a specific task, clear assets (5 entities, 3 accounts, 3 currencies), explicit rules and the exact expected output.
Build me an interactive Cash Position Tracker as a React artifact. PURPOSE: This tool allows the treasury team to view and edit daily cash positions across all entities, bank accounts, and currencies, with automatic EUR conversion and deficit alerts. DATA STRUCTURE: - 5 entities: Acme Corp, Beta Industries, Gamma Holdings, Delta Services, Epsilon Trading - 3 bank accounts per entity: Operating, Savings, FX - Each account has: currency (EUR, USD, or GBP), current balance (editable input field) - Pre-fill with realistic sample data (mix of positive and negative balances) CALCULATIONS: - Auto-calculate: total per entity, total per currency, grand total in EUR - Exchange rates: EUR/USD = 1.08, EUR/GBP = 0.86 (editable fields at the top) - Threshold: flag any entity where total EUR equivalent is negative VISUAL REQUIREMENTS: - Color coding: negative balances in red bold, positive in green - Summary bar at top: total liquidity (EUR), number of accounts, number of entities in deficit - "Report Date" field at top (defaults to today) - Clean, professional design. Teal accent color (#0891B2). White background. EXPORT & ACTIONS: - Export to CSV button - Print-friendly view optimized for A4 landscape
GENERATE: a first version in about 30 seconds
Claude writes a couple of hundred lines of React. You wrote zero. The preview builds itself: report date, editable FX rates, summary bar, the table with 5 entities and 3 accounts each.
TEST: prove it is live
Change Acme Corp · Operating to -50000. Then check:
- ✓ The number turns red
- ✓ The entity total updates
- ✓ The summary bar updates and the deficit count goes up
- ✓ The EUR conversion is right: USD and GBP balances are divided by the EUR/USD and EUR/GBP rates
The artifact will look slightly different each time you run it; the functionality will be the same. A first version is never perfect. That is what the refine step is for.
REFINE: five cycles in plain language
One sentence, one improvement. Paste them one at a time and check the result before the next.
Add a row at the bottom showing total per currency (EUR, USD, GBP) with EUR equivalent for each.
Make the FX rates section more prominent. Larger input fields, clearly labeled EUR/USD and EUR/GBP, with a light background to distinguish them from the data table.
Add an Export to CSV button in the top right. It should export all data including entity totals, currency totals, and the report date. File name: CashPosition_YYYY-MM-DD.csv
Show a red warning icon next to any entity name where the total EUR equivalent is negative. Make it obvious.
Add a Print button that formats the view for A4 landscape. Hide the input fields in print view, show only the values. Include the report date and exchange rates in the print header.
5 refinements, about 10 minutes. No code touched, no developer needed.
Your domain expertise is the moat, not code
You could not build this tool without knowing treasury. AI does not know that you need deficit alerts, that FX rates must be editable, or that the print view should be A4 landscape for the 8am meeting. That knowledge is yours. AI handled the execution.
What else can you build? 10 treasury tools
Same process, different tool. Pick one, fill in the template on the next screens, build it this week.
Input exposures by currency pair, apply hedge ratios, see net open position and a simple VaR estimate.
Enter principal, interest rate, tenor. Get the full payment schedule with interest/principal split.
Paste 13-week forecast data. Interactive line chart with shortfall zones highlighted in red.
Input fee schedules from 2–3 banks. Side-by-side table and annual cost projection per bank.
Enter bilateral receivables and payables between entities. Auto-net and show settlement amounts.
Upcoming payments by entity, currency, amount and due date, with color-coded urgency bands.
Paste a raw MT940/MT942 message and decode each field into a readable table with explanations.
6 KPI cards (DSO, DPO, cash ratio…) with RAG status, trend arrows and a data entry form.
Input financial ratios and covenant thresholds. Visual pass/fail for each covenant.
Enter forward contracts, current spot and forward points. Show MTM gain/loss per contract.
The limits: what vibe coding cannot do
Be honest about what this is and what it is not.
- ✓ Build calculators, dashboards, trackers
- ✓ Process and display data you paste in
- ✓ Create interactive forms with validation
- ✓ Generate charts and visualizations
- ✓ Export data to CSV/PDF
- ✓ Replace your personal Excel tools
- ✓ Be shared via link with colleagues
- ✕ Connect to your bank API (no backend)
- ✕ Store data between sessions (no database)
- ✕ Run scheduled tasks (no server)
- ✕ Handle multi-user access control
- ✕ Replace your TMS or ERP
- ✕ Process very large files (browser limits)
- ✕ Meet enterprise security requirements
The sweet spot: personal tools and team utilities that replace your repetitive Excel files. Not enterprise systems. For where the line sits with live bank data and payments, see When Does Vibe-Coding Actually Work in Treasury?
The universal vibe coding prompt template
Works for any tool. Replace everything in [brackets], paste it into Claude, then test and refine.
Build me an interactive [TOOL NAME] as a React artifact. PURPOSE: [One sentence: what this tool does and who uses it. Example: This tool allows the treasury team to track daily cash positions across all entities and currencies.] DATA STRUCTURE: - [Entity/item 1] - [Entity/item 2] - Each [entity] has: [field 1], [field 2], [field 3] - Data types: [which fields are editable inputs, which are calculated, which are dropdowns] - Pre-fill with realistic sample data CALCULATIONS: - Auto-calculate: [total per X, average of Y, variance vs Z] - Conversion rates: [if currency, list rates and whether editable] - Thresholds: [rules that trigger warnings, colors, or alerts] VISUAL REQUIREMENTS: - Color coding: [what triggers red, green, orange, etc.] - Summary section: [KPIs or totals to show at the top] - Layout: [table view, card view, dashboard with charts, etc.] - Design: Clean, professional. [Accent color] EXPORT & ACTIONS: - [Export to CSV / Print-friendly view / Copy to clipboard / None] - [Other interactive features: filters, search, sort, reset to defaults]
- 3 min: pick a tool from the gallery or from your Module 3 workflow canvas. Fill in the template.
- 2 min: paste the prompt into Claude and wait for the artifact.
- 5 min: test it with realistic sample data. What works? What is wrong?
- 10 min: refine. Aim for 3–5 improvement cycles.
Refinement cheat sheet
After the first version, use phrases like these.
You do not need to become a developer
- 01
DESCRIBE > GENERATE > TEST > REFINE. Repeat until it works.
- 02
A Cash Position Tracker in about 15 minutes, plus a template and ten more tool ideas.
- 03
Know the boundary. Personal tools and team utilities: yes. Enterprise systems: no.
You need to stay the best treasury professional in the room. AI handles the rest.
Next: Module 6, How to Evaluate Any AI Model. Five real treasury tasks and a scorecard you reuse every time a new model launches.
Built by a treasurer, for treasurers. · treasuryease.com