financial-review
Finance Analyst reviews financial logic in code changes for accuracy, edge cases, and domain correctness
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Finance Analyst reviews financial logic in code changes for accuracy, edge cases, and domain correctness
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Use when performing any git operation — commits, branching, pushing, stashing, or viewing history. Enforces signed commits, semantic format with scope, and file-change table in commit messages.
Orchestrate a round-table discussion with the Budget Analyser development team agents before implementing a feature or task
Run the full build and release pipeline for the Budget Analyser desktop app
| name | financial-review |
| description | Finance Analyst reviews financial logic in code changes for accuracy, edge cases, and domain correctness |
Have the Finance Analyst agent review code changes that affect financial calculations, budget logic, categorization, reporting, or forecasting.
These are the features that require financial review:
| Module | Financial Concern |
|---|---|
features/budget_goals/ | Budget calculations, earnings goals, spending limits |
features/forecasting/ | Expense projections, trend extrapolation |
features/trends/ | Spending velocity, burn rate analysis |
features/savings/ | Savings rate, goal progress, target tracking |
features/reporting/ | Monthly summaries, category totals, aggregations |
features/payments/ | Payment reconciliation, matching logic |
features/recurring/ | Recurring transaction detection, frequency analysis |
features/mappers/ | Category/cashflow keyword mappings |
features/net_worth/ | Account balances, liability tracking, net worth calculation |
features/ingestion/ | CSV parsing, amount sign conventions, date handling |
Run git diff to find modified files in financial feature modules:
git diff --name-only HEAD | grep -E 'features/(budget_goals|forecasting|trends|savings|reporting|payments|recurring|mappers|net_worth|ingestion)/'
Launch the finance-analyst agent with:
The Finance Analyst validates against this checklist:
Mathematical Accuracy
Currency & Precision
Date Boundaries
Empty/Zero Data
Negative Amounts
Categorization
Forecasting
The Finance Analyst produces a structured report:
## Financial Review: [Feature/Change]
### Verdict: [PASS / CONCERNS / FAIL]
### Issues Found
| # | File:Line | Category | Severity | Description |
|---|-----------|----------|----------|-------------|
| 1 | service.py:45 | Calculation | HIGH | Division by zero when no transactions |
| 2 | models.py:23 | Precision | MEDIUM | Using float instead of Decimal for budget |
### Edge Cases Verified
| Scenario | Status | Notes |
|----------|--------|-------|
| Zero transactions in period | Handled | Returns empty report |
| Negative refund amounts | MISSING | Refunds counted as expenses |
### Recommendations
1. [Specific fix with code example]
2. [Additional test case to add]