@v587d/capital-generation 2.7.7 → 2.7.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +59 -0
- package/README.md +5 -4
- package/THIRD_PARTY_NOTICES.md +14 -3
- package/capital-config/client.js +4 -4
- package/capital-config/package.json +1 -1
- package/capital-watchlist/package.json +1 -1
- package/chart-ui/package.json +1 -1
- package/lib/web-retriever/local-fetch.d.ts +1 -1
- package/lib/web-retriever/local-fetch.js +1 -1
- package/lib/web-retriever/wind-client.d.ts +1 -1
- package/lib/web-retriever/wind-client.js +1 -1
- package/package.json +2 -1
- package/selected-skills/README.md +3 -1
- package/selected-skills/catalog.js +155 -0
- package/selected-skills/financeskills/LICENSE +21 -0
- package/selected-skills/financeskills/UPSTREAM.md +202 -0
- package/selected-skills/financeskills/skills/ai-anomaly-detection/EXAMPLE.md +21 -0
- package/selected-skills/financeskills/skills/ai-anomaly-detection/SKILL.md +84 -0
- package/selected-skills/financeskills/skills/ai-anomaly-detection/references/feature-engineering.md +20 -0
- package/selected-skills/financeskills/skills/ai-anomaly-detection/references/ml-algorithms.md +28 -0
- package/selected-skills/financeskills/skills/aro-computation/EXAMPLE.md +21 -0
- package/selected-skills/financeskills/skills/aro-computation/SKILL.md +82 -0
- package/selected-skills/financeskills/skills/aro-computation/references/aro-standards.md +22 -0
- package/selected-skills/financeskills/skills/aro-computation/references/pv-math.md +27 -0
- package/selected-skills/financeskills/skills/audit-checklist/EXAMPLE.md +17 -0
- package/selected-skills/financeskills/skills/audit-checklist/SKILL.md +77 -0
- package/selected-skills/financeskills/skills/audit-checklist/references/internal-controls.md +36 -0
- package/selected-skills/financeskills/skills/audit-checklist/references/isa-standards.md +26 -0
- package/selected-skills/financeskills/skills/automated-reconciliation/EXAMPLE.md +21 -0
- package/selected-skills/financeskills/skills/automated-reconciliation/SKILL.md +87 -0
- package/selected-skills/financeskills/skills/automated-reconciliation/assets/reconciliation-statement-template.md +31 -0
- package/selected-skills/financeskills/skills/automated-reconciliation/references/fuzzy-logic.md +27 -0
- package/selected-skills/financeskills/skills/automated-reconciliation/references/rec-controls.md +28 -0
- package/selected-skills/financeskills/skills/banking-compliance/EXAMPLE.md +21 -0
- package/selected-skills/financeskills/skills/banking-compliance/SKILL.md +82 -0
- package/selected-skills/financeskills/skills/banking-compliance/references/basel-iii-framework.md +26 -0
- package/selected-skills/financeskills/skills/banking-compliance/references/risk-weights.md +32 -0
- package/selected-skills/financeskills/skills/budget-forecast/EXAMPLE.md +21 -0
- package/selected-skills/financeskills/skills/budget-forecast/SKILL.md +87 -0
- package/selected-skills/financeskills/skills/budget-forecast/references/forecasting-best-practices.md +26 -0
- package/selected-skills/financeskills/skills/budget-forecast/references/scenario-analysis.md +25 -0
- package/selected-skills/financeskills/skills/close-management/EXAMPLE.md +17 -0
- package/selected-skills/financeskills/skills/close-management/SKILL.md +85 -0
- package/selected-skills/financeskills/skills/close-management/references/close-task-library.md +32 -0
- package/selected-skills/financeskills/skills/company-valuation/EXAMPLE.md +21 -0
- package/selected-skills/financeskills/skills/company-valuation/SKILL.md +80 -0
- package/selected-skills/financeskills/skills/company-valuation/references/terminal-value-guide.md +33 -0
- package/selected-skills/financeskills/skills/corporate-consolidation/EXAMPLE.md +21 -0
- package/selected-skills/financeskills/skills/corporate-consolidation/SKILL.md +84 -0
- package/selected-skills/financeskills/skills/corporate-consolidation/references/consolidation-standard.md +28 -0
- package/selected-skills/financeskills/skills/corporate-consolidation/references/minority-interest.md +25 -0
- package/selected-skills/financeskills/skills/credit-analysis/EXAMPLE.md +21 -0
- package/selected-skills/financeskills/skills/credit-analysis/SKILL.md +84 -0
- package/selected-skills/financeskills/skills/credit-analysis/references/covenant-guide.md +26 -0
- package/selected-skills/financeskills/skills/crypto-accounting/EXAMPLE.md +21 -0
- package/selected-skills/financeskills/skills/crypto-accounting/SKILL.md +81 -0
- package/selected-skills/financeskills/skills/crypto-accounting/references/fasb-crypto.md +26 -0
- package/selected-skills/financeskills/skills/crypto-accounting/references/ifrs-crypto.md +25 -0
- package/selected-skills/financeskills/skills/cvp-breakeven/EXAMPLE.md +21 -0
- package/selected-skills/financeskills/skills/cvp-breakeven/SKILL.md +78 -0
- package/selected-skills/financeskills/skills/cvp-breakeven/references/cvp-patterns.md +28 -0
- package/selected-skills/financeskills/skills/debt-payoff/EXAMPLE.md +21 -0
- package/selected-skills/financeskills/skills/debt-payoff/SKILL.md +94 -0
- package/selected-skills/financeskills/skills/debt-payoff/references/debt-strategies.md +32 -0
- package/selected-skills/financeskills/skills/debt-payoff/references/interest-calculations.md +27 -0
- package/selected-skills/financeskills/skills/debt-restructuring/EXAMPLE.md +21 -0
- package/selected-skills/financeskills/skills/debt-restructuring/SKILL.md +79 -0
- package/selected-skills/financeskills/skills/debt-restructuring/references/creditor-priority.md +26 -0
- package/selected-skills/financeskills/skills/debt-restructuring/references/restructuring-types.md +24 -0
- package/selected-skills/financeskills/skills/deferred-tax/EXAMPLE.md +21 -0
- package/selected-skills/financeskills/skills/deferred-tax/SKILL.md +86 -0
- package/selected-skills/financeskills/skills/deferred-tax/references/td-catalogue.md +39 -0
- package/selected-skills/financeskills/skills/earned-value-mgmt/EXAMPLE.md +21 -0
- package/selected-skills/financeskills/skills/earned-value-mgmt/SKILL.md +79 -0
- package/selected-skills/financeskills/skills/earned-value-mgmt/references/forecasting-eac.md +27 -0
- package/selected-skills/financeskills/skills/earned-value-mgmt/references/pmi-evm.md +29 -0
- package/selected-skills/financeskills/skills/ecl-computation/EXAMPLE.md +21 -0
- package/selected-skills/financeskills/skills/ecl-computation/SKILL.md +85 -0
- package/selected-skills/financeskills/skills/ecl-computation/references/ifrs9-standard.md +27 -0
- package/selected-skills/financeskills/skills/ecl-computation/references/risk-modeling.md +26 -0
- package/selected-skills/financeskills/skills/esg-reporting/EXAMPLE.md +17 -0
- package/selected-skills/financeskills/skills/esg-reporting/SKILL.md +79 -0
- package/selected-skills/financeskills/skills/esg-reporting/references/ghg-protocol.md +22 -0
- package/selected-skills/financeskills/skills/esg-reporting/references/sasb-map.md +25 -0
- package/selected-skills/financeskills/skills/financial-analysis/EXAMPLE.md +21 -0
- package/selected-skills/financeskills/skills/financial-analysis/SKILL.md +108 -0
- package/selected-skills/financeskills/skills/financial-analysis/assets/analysis-memo-template.md +31 -0
- package/selected-skills/financeskills/skills/financial-analysis/references/accounting-standards.md +45 -0
- package/selected-skills/financeskills/skills/financial-analysis/references/ratio-definitions.md +14 -0
- package/selected-skills/financeskills/skills/fixed-asset-accounting/EXAMPLE.md +21 -0
- package/selected-skills/financeskills/skills/fixed-asset-accounting/SKILL.md +78 -0
- package/selected-skills/financeskills/skills/fixed-asset-accounting/references/useful-life-guide.md +30 -0
- package/selected-skills/financeskills/skills/forensic-accounting/EXAMPLE.md +21 -0
- package/selected-skills/financeskills/skills/forensic-accounting/SKILL.md +91 -0
- package/selected-skills/financeskills/skills/forensic-accounting/references/benfords-law.md +24 -0
- package/selected-skills/financeskills/skills/forensic-accounting/references/fraud-triangle.md +26 -0
- package/selected-skills/financeskills/skills/insurance-reserving/EXAMPLE.md +21 -0
- package/selected-skills/financeskills/skills/insurance-reserving/SKILL.md +82 -0
- package/selected-skills/financeskills/skills/insurance-reserving/references/actuarial-methods.md +33 -0
- package/selected-skills/financeskills/skills/insurance-reserving/references/insurance-metrics.md +26 -0
- package/selected-skills/financeskills/skills/intercompany-accounting/EXAMPLE.md +21 -0
- package/selected-skills/financeskills/skills/intercompany-accounting/SKILL.md +79 -0
- package/selected-skills/financeskills/skills/intercompany-accounting/references/elimination-entries.md +35 -0
- package/selected-skills/financeskills/skills/inventory-costing/EXAMPLE.md +21 -0
- package/selected-skills/financeskills/skills/inventory-costing/SKILL.md +80 -0
- package/selected-skills/financeskills/skills/inventory-costing/references/costing-examples.md +31 -0
- package/selected-skills/financeskills/skills/investment-analysis/EXAMPLE.md +21 -0
- package/selected-skills/financeskills/skills/investment-analysis/SKILL.md +82 -0
- package/selected-skills/financeskills/skills/investment-analysis/references/competitive-advantage.md +31 -0
- package/selected-skills/financeskills/skills/investment-analysis/references/valuation-guide.md +29 -0
- package/selected-skills/financeskills/skills/journal-entry/EXAMPLE.md +21 -0
- package/selected-skills/financeskills/skills/journal-entry/SKILL.md +94 -0
- package/selected-skills/financeskills/skills/journal-entry/assets/journal-entry-template.md +21 -0
- package/selected-skills/financeskills/skills/journal-entry/references/entry-patterns.md +51 -0
- package/selected-skills/financeskills/skills/lbo-modeling/EXAMPLE.md +21 -0
- package/selected-skills/financeskills/skills/lbo-modeling/SKILL.md +88 -0
- package/selected-skills/financeskills/skills/lbo-modeling/references/debt-structures.md +22 -0
- package/selected-skills/financeskills/skills/lbo-modeling/references/lbo-best-practices.md +27 -0
- package/selected-skills/financeskills/skills/lease-accounting/EXAMPLE.md +21 -0
- package/selected-skills/financeskills/skills/lease-accounting/SKILL.md +88 -0
- package/selected-skills/financeskills/skills/lease-accounting/assets/commencement-summary-template.md +28 -0
- package/selected-skills/financeskills/skills/lease-accounting/references/ibr-guide.md +26 -0
- package/selected-skills/financeskills/skills/net-worth-tracker/EXAMPLE.md +21 -0
- package/selected-skills/financeskills/skills/net-worth-tracker/SKILL.md +98 -0
- package/selected-skills/financeskills/skills/net-worth-tracker/references/asset-valuation.md +40 -0
- package/selected-skills/financeskills/skills/net-worth-tracker/references/net-worth-benchmarks.md +33 -0
- package/selected-skills/financeskills/skills/nlp-earnings-sentiment/EXAMPLE.md +17 -0
- package/selected-skills/financeskills/skills/nlp-earnings-sentiment/SKILL.md +77 -0
- package/selected-skills/financeskills/skills/nlp-earnings-sentiment/references/finbert-guide.md +26 -0
- package/selected-skills/financeskills/skills/nlp-earnings-sentiment/references/linguistic-finance.md +23 -0
- package/selected-skills/financeskills/skills/oil-gas-valuation/EXAMPLE.md +21 -0
- package/selected-skills/financeskills/skills/oil-gas-valuation/SKILL.md +86 -0
- package/selected-skills/financeskills/skills/oil-gas-valuation/references/sec-reporting.md +22 -0
- package/selected-skills/financeskills/skills/oil-gas-valuation/references/spe-standards.md +25 -0
- package/selected-skills/financeskills/skills/personal-budgeting/EXAMPLE.md +21 -0
- package/selected-skills/financeskills/skills/personal-budgeting/SKILL.md +100 -0
- package/selected-skills/financeskills/skills/personal-budgeting/references/budgeting-methods.md +40 -0
- package/selected-skills/financeskills/skills/personal-budgeting/references/spending-categories.md +40 -0
- package/selected-skills/financeskills/skills/predictive-burn-rate/EXAMPLE.md +21 -0
- package/selected-skills/financeskills/skills/predictive-burn-rate/SKILL.md +82 -0
- package/selected-skills/financeskills/skills/predictive-burn-rate/references/startup-metrics.md +27 -0
- package/selected-skills/financeskills/skills/predictive-burn-rate/references/time-series-forecasting.md +22 -0
- package/selected-skills/financeskills/skills/product-profitability/EXAMPLE.md +21 -0
- package/selected-skills/financeskills/skills/product-profitability/SKILL.md +83 -0
- package/selected-skills/financeskills/skills/product-profitability/references/allocation-logic.md +28 -0
- package/selected-skills/financeskills/skills/product-profitability/references/unit-economics.md +30 -0
- package/selected-skills/financeskills/skills/retirement-planning/EXAMPLE.md +21 -0
- package/selected-skills/financeskills/skills/retirement-planning/SKILL.md +98 -0
- package/selected-skills/financeskills/skills/retirement-planning/references/compound-growth.md +38 -0
- package/selected-skills/financeskills/skills/retirement-planning/references/retirement-fundamentals.md +29 -0
- package/selected-skills/financeskills/skills/revenue-recognition/EXAMPLE.md +21 -0
- package/selected-skills/financeskills/skills/revenue-recognition/SKILL.md +86 -0
- package/selected-skills/financeskills/skills/revenue-recognition/assets/allocation-workpaper-template.md +30 -0
- package/selected-skills/financeskills/skills/revenue-recognition/references/ifrs15-guide.md +28 -0
- package/selected-skills/financeskills/skills/revenue-recognition/references/saas-rev-rec.md +26 -0
- package/selected-skills/financeskills/skills/risk-assessment/EXAMPLE.md +21 -0
- package/selected-skills/financeskills/skills/risk-assessment/SKILL.md +83 -0
- package/selected-skills/financeskills/skills/risk-assessment/references/hedging-guide.md +24 -0
- package/selected-skills/financeskills/skills/risk-assessment/references/risk-metrics.md +24 -0
- package/selected-skills/financeskills/skills/sox-compliance/EXAMPLE.md +17 -0
- package/selected-skills/financeskills/skills/sox-compliance/SKILL.md +88 -0
- package/selected-skills/financeskills/skills/sox-compliance/references/sampling-methodology.md +27 -0
- package/selected-skills/financeskills/skills/startup-valuation/EXAMPLE.md +21 -0
- package/selected-skills/financeskills/skills/startup-valuation/SKILL.md +88 -0
- package/selected-skills/financeskills/skills/startup-valuation/references/berkus-method.md +25 -0
- package/selected-skills/financeskills/skills/startup-valuation/references/vc-method.md +23 -0
- package/selected-skills/financeskills/skills/statement-preparation/EXAMPLE.md +21 -0
- package/selected-skills/financeskills/skills/statement-preparation/SKILL.md +86 -0
- package/selected-skills/financeskills/skills/statement-preparation/references/accruals-deferrals.md +24 -0
- package/selected-skills/financeskills/skills/statement-preparation/references/cash-flow-method.md +32 -0
- package/selected-skills/financeskills/skills/tax-efficient-investing/EXAMPLE.md +21 -0
- package/selected-skills/financeskills/skills/tax-efficient-investing/SKILL.md +97 -0
- package/selected-skills/financeskills/skills/tax-efficient-investing/references/account-types.md +33 -0
- package/selected-skills/financeskills/skills/tax-efficient-investing/references/asset-location.md +36 -0
- package/selected-skills/financeskills/skills/tax-planning/EXAMPLE.md +21 -0
- package/selected-skills/financeskills/skills/tax-planning/SKILL.md +93 -0
- package/selected-skills/financeskills/skills/tax-planning/references/common-deductions.md +28 -0
- package/selected-skills/financeskills/skills/tax-planning/references/tax-code-lookup.md +25 -0
- package/selected-skills/financeskills/skills/three-statement-modeling/EXAMPLE.md +21 -0
- package/selected-skills/financeskills/skills/three-statement-modeling/SKILL.md +84 -0
- package/selected-skills/financeskills/skills/three-statement-modeling/references/model-checks.md +32 -0
- package/selected-skills/financeskills/skills/treasury-management/EXAMPLE.md +21 -0
- package/selected-skills/financeskills/skills/treasury-management/SKILL.md +83 -0
- package/selected-skills/financeskills/skills/treasury-management/references/fx-hedging.md +27 -0
- package/selected-skills/financeskills/skills/treasury-management/references/liquidity-metrics.md +24 -0
- package/selected-skills/financeskills/skills/variance-analysis/EXAMPLE.md +21 -0
- package/selected-skills/financeskills/skills/variance-analysis/SKILL.md +78 -0
- package/selected-skills/financeskills/skills/variance-analysis/references/overhead-logic.md +24 -0
- package/selected-skills/financeskills/skills/variance-analysis/references/variance-math.md +35 -0
- package/selected-skills/financeskills/skills/venture-debt/EXAMPLE.md +21 -0
- package/selected-skills/financeskills/skills/venture-debt/SKILL.md +84 -0
- package/selected-skills/financeskills/skills/venture-debt/references/saas-debt-metrics.md +26 -0
- package/selected-skills/financeskills/skills/venture-debt/references/venture-lending.md +23 -0
- package/selected-skills/financeskills/skills/wacc-computation/EXAMPLE.md +21 -0
- package/selected-skills/financeskills/skills/wacc-computation/SKILL.md +98 -0
- package/selected-skills/financeskills/skills/wacc-computation/assets/wacc-memo-template.md +40 -0
- package/selected-skills/financeskills/skills/wacc-computation/references/beta-math.md +24 -0
- package/selected-skills/financeskills/skills/wacc-computation/references/capm-basics.md +24 -0
- package/selected-skills/financeskills/skills/working-capital-analysis/EXAMPLE.md +21 -0
- package/selected-skills/financeskills/skills/working-capital-analysis/SKILL.md +83 -0
- package/selected-skills/financeskills/skills/working-capital-analysis/references/wc-metrics.md +30 -0
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ecl-computation
|
|
3
|
+
description: When the user wants to calculate Expected Credit Losses (ECL) under IFRS 9 or CECL (ASC 326). Also use when the user mentions "loan loss provisions," "probability of default," "PD/LGD/EAD," "impairment of financial assets," or "credit risk modeling."
|
|
4
|
+
metadata:
|
|
5
|
+
version: 1.0.0
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# ECL Computation (IFRS 9)
|
|
9
|
+
|
|
10
|
+
You are a Credit Risk Accountant. Your goal is to provide a forward-looking estimate of credit losses for financial assets, accounting for historical data, current conditions, and reasonable forecasts.
|
|
11
|
+
|
|
12
|
+
## Initial Assessment
|
|
13
|
+
|
|
14
|
+
1. **Asset Classification**
|
|
15
|
+
- Amortized Cost, FVOCI, or FVTPL?
|
|
16
|
+
- Is the asset "Stage 1" (Performing), "Stage 2" (Significant Increase in Credit Risk), or "Stage 3" (Credit-Impaired)?
|
|
17
|
+
|
|
18
|
+
2. **The Components**
|
|
19
|
+
- **PD**: Probability of Default.
|
|
20
|
+
- **LGD**: Loss Given Default (percentage of exposure lost if default occurs).
|
|
21
|
+
- **EAD**: Exposure at Default (total value at risk).
|
|
22
|
+
|
|
23
|
+
3. **Macroeconomic Overlay**
|
|
24
|
+
- What are the forward-looking economic scenarios (Base, Upside, Downside) and their probabilities?
|
|
25
|
+
|
|
26
|
+
---
|
|
27
|
+
|
|
28
|
+
## ECL Framework
|
|
29
|
+
|
|
30
|
+
### The Formula
|
|
31
|
+
`ECL = PD * LGD * EAD * DF`
|
|
32
|
+
- **DF**: Discount Factor (to present value).
|
|
33
|
+
|
|
34
|
+
### Priority Order
|
|
35
|
+
1. **Segmentation** (Grouping similar assets - e.g., by geography or product).
|
|
36
|
+
2. **Stage Assignment** (Determining if credit risk has increased significantly since inception).
|
|
37
|
+
3. **Parameter Estimation** (Calculating PD, LGD, EAD).
|
|
38
|
+
4. **Scenario Weighting** (Applying macroeconomic forecasts).
|
|
39
|
+
5. **Loss Allowance Posting** (Generating the journal entry).
|
|
40
|
+
|
|
41
|
+
---
|
|
42
|
+
|
|
43
|
+
## Technical Computation Steps
|
|
44
|
+
|
|
45
|
+
### 1. Simplified Approach (Trade Receivables)
|
|
46
|
+
- Use a **Provision Matrix** based on historical loss rates for different aging buckets (e.g., 0-30 days, 31-60 days).
|
|
47
|
+
|
|
48
|
+
### 2. General Approach (Loans/Bonds)
|
|
49
|
+
- **12-month ECL** (Stage 1): Losses from defaults likely in the next 12 months.
|
|
50
|
+
- **Lifetime ECL** (Stage 2 & 3): Losses from defaults likely over the entire life of the asset.
|
|
51
|
+
|
|
52
|
+
---
|
|
53
|
+
|
|
54
|
+
## Output Format
|
|
55
|
+
|
|
56
|
+
### ECL Analysis Report
|
|
57
|
+
|
|
58
|
+
**The Portfolio**
|
|
59
|
+
- Total Exposure at Default (EAD).
|
|
60
|
+
- Breakdown of assets by Stage (1, 2, 3).
|
|
61
|
+
|
|
62
|
+
**The Provision**
|
|
63
|
+
- **Total Loss Allowance**: $X.
|
|
64
|
+
- **Coverage Ratio**: (Allowance / EAD).
|
|
65
|
+
|
|
66
|
+
**Sensitivity & Scenarios**
|
|
67
|
+
- Impact on ECL if the probability of the "Downside" economic scenario increases by 10%.
|
|
68
|
+
|
|
69
|
+
---
|
|
70
|
+
|
|
71
|
+
## Scripts
|
|
72
|
+
- [calculate.py](./scripts/calculate.py): 12-month/lifetime ECL, provision matrix, and scenario weighting functions, kept as reviewable material. This plugin's research role has no shell and the scripts are not part of the installed package, so nothing here runs them: work the parameters from [PD/LGD/EAD Modeling](./references/risk-modeling.md) and the stage definitions in [IFRS 9 Impairment](./references/ifrs9-standard.md), show each calculation in the answer, and hand anything that needs real compute to the delegated `data_junior`.
|
|
73
|
+
|
|
74
|
+
---
|
|
75
|
+
|
|
76
|
+
## References
|
|
77
|
+
- [IFRS 9 Impairment](./references/ifrs9-standard.md): Official IASB guidance.
|
|
78
|
+
- [PD/LGD/EAD Modeling](./references/risk-modeling.md): Quantitative risk basics.
|
|
79
|
+
|
|
80
|
+
---
|
|
81
|
+
|
|
82
|
+
## Related Skills
|
|
83
|
+
- **risk-assessment**: For identifying the underlying credit risks.
|
|
84
|
+
- **financial-statement-prep**: For accurately reporting the impairment allowance.
|
|
85
|
+
- **corporate-consolidation**: For aggregating ECL across subsidiaries.
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# IFRS 9 Expected Credit Loss: Standard Essentials
|
|
2
|
+
|
|
3
|
+
## The Three-Stage Model
|
|
4
|
+
| Stage | Trigger | ECL Horizon | Interest Revenue Basis |
|
|
5
|
+
|---|---|---|---|
|
|
6
|
+
| 1 | No significant increase in credit risk (SICR) since origination | 12-month ECL | Gross carrying amount |
|
|
7
|
+
| 2 | SICR (rebuttable: >30 days past due) | Lifetime ECL | Gross carrying amount |
|
|
8
|
+
| 3 | Credit-impaired (default; rebuttable: >90 DPD) | Lifetime ECL | Net (amortized cost) |
|
|
9
|
+
|
|
10
|
+
## SICR Indicators
|
|
11
|
+
Quantitative: PD doubling or breach of origination-PD threshold; 30+ DPD backstop. Qualitative: watchlist placement, forbearance, covenant breach, sector deterioration. Low-credit-risk exemption (investment grade) is optional, use sparingly.
|
|
12
|
+
|
|
13
|
+
## ECL Formula
|
|
14
|
+
`ECL = Σt [ PDt × LGDt × EADt × Dt ]` — probability-weighted across at least 2–3 macro scenarios (base/upside/downside) with scenario weights documented.
|
|
15
|
+
|
|
16
|
+
- **PD**: Point-in-time, forward-looking (adjust TTC ratings with macro overlays — GDP, oil price, unemployment, policy rate).
|
|
17
|
+
- **LGD**: 1 − recovery rate; collateral haircuts, time-to-recovery discounting at EIR.
|
|
18
|
+
- **EAD**: Amortization profile + CCF on undrawn commitments.
|
|
19
|
+
- **D**: Discount at original effective interest rate.
|
|
20
|
+
|
|
21
|
+
## Simplified Approach (Trade Receivables)
|
|
22
|
+
Lifetime ECL always; provision matrix by aging bucket with forward-looking adjustment. Document the loss-rate derivation (historical write-offs by bucket, adjusted).
|
|
23
|
+
|
|
24
|
+
## Governance
|
|
25
|
+
- Staging overrides require credit committee sign-off.
|
|
26
|
+
- Post-model adjustments (PMAs/overlays) documented with quantified rationale and release criteria.
|
|
27
|
+
- Back-test: actual defaults vs. predicted PDs annually.
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# Credit Risk Modeling for ECL
|
|
2
|
+
|
|
3
|
+
## PD Modeling
|
|
4
|
+
- **Scorecard/logistic regression**: `PD = 1/(1+e^-(β0+βX))` on borrower financials + behavioral data. Standard for retail and SME books.
|
|
5
|
+
- **Rating-based**: Map internal/external ratings to PD via transition matrices; derive multi-year cumulative PDs from matrix powers (Markov assumption — validate it).
|
|
6
|
+
- **PIT conversion**: Vasicek single-factor: `PD_PIT = N[(N⁻¹(PD_TTC) + √ρ × Z)/√(1−ρ)]` where Z is the macro factor.
|
|
7
|
+
|
|
8
|
+
## LGD Modeling
|
|
9
|
+
- Workout LGD: discounted recoveries less costs / EAD. Segment by collateral type and seniority.
|
|
10
|
+
- Downturn LGD for stressed scenarios.
|
|
11
|
+
- Floors: regulatory floors may apply; never let modeled LGD go negative.
|
|
12
|
+
|
|
13
|
+
## EAD / CCF
|
|
14
|
+
- Term loans: amortization schedule.
|
|
15
|
+
- Revolvers: `EAD = Drawn + CCF × Undrawn`. Estimate CCF from defaulted-facility history (typical 40%–75%).
|
|
16
|
+
|
|
17
|
+
## Macro Scenario Integration
|
|
18
|
+
1. Select drivers with economic rationale (GDP growth, unemployment, oil price for energy books, FX for dollarized liabilities).
|
|
19
|
+
2. Regress historical default rates on drivers (with lags); beware short series — use judgment overlays.
|
|
20
|
+
3. Apply to base/up/down scenarios; weights typically 40–50/20–30/25–35.
|
|
21
|
+
|
|
22
|
+
## Validation Checklist
|
|
23
|
+
- Discriminatory power: AUC/Gini > 0.6 acceptable, > 0.7 good.
|
|
24
|
+
- Calibration: predicted vs. observed default rates by grade (binomial test).
|
|
25
|
+
- Stability: PSI < 0.1 stable, 0.1–0.25 monitor, > 0.25 rebuild.
|
|
26
|
+
- Sensitivity: ECL response to ±1σ macro moves should be monotonic and explainable.
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# Worked Example - esg-reporting
|
|
2
|
+
|
|
3
|
+
## Ask
|
|
4
|
+
|
|
5
|
+
> Our factory used 1,000 MWh of electricity this year. Is this Scope 1 or Scope 2 emissions?
|
|
6
|
+
|
|
7
|
+
## What a correct response contains
|
|
8
|
+
|
|
9
|
+
Should identify purchased electricity as Scope 2. Should explain that Scope 1 is for direct on-site combustion. Should suggest reporting this as part of an ESG Performance Report.
|
|
10
|
+
|
|
11
|
+
## File-driven variant
|
|
12
|
+
|
|
13
|
+
With fixture(s) `evals/files/activity_data.csv`:
|
|
14
|
+
|
|
15
|
+
> Compute Scope 1 and Scope 2 (location-based) emissions in tCO2e from the attached activity data and factors (evals/files/activity_data.csv), present them GHG Protocol-style, and note what would be needed for a market-based Scope 2 figure.
|
|
16
|
+
|
|
17
|
+
Expected: Scope 1 804.4 tCO2e (diesel 482.4 + gas 183.3 + fleet 138.6); Scope 2 location-based 1,032.0 tCO2e; market-based needs supplier-specific/REC factors.
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: esg-reporting
|
|
3
|
+
description: When the user wants to prepare, audit, or analyze Environmental, Social, and Governance (ESG) reports. Also use when the user mentions "sustainability reporting," "carbon footprint audit," "governance transparency," "SASB standards," "TCFD alignment," or "non-financial disclosure."
|
|
4
|
+
metadata:
|
|
5
|
+
version: 1.0.0
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# ESG Reporting
|
|
9
|
+
|
|
10
|
+
You are an ESG Specialist. Your goal is to quantify and disclose non-financial metrics that impact long-term enterprise value and stakeholder trust.
|
|
11
|
+
|
|
12
|
+
## Initial Assessment
|
|
13
|
+
|
|
14
|
+
1. **Reporting Standards**
|
|
15
|
+
- SASB (Sustainability Accounting Standards Board)?
|
|
16
|
+
- GRI (Global Reporting Initiative)?
|
|
17
|
+
- TCFD (Task Force on Climate-related Financial Disclosures)?
|
|
18
|
+
|
|
19
|
+
2. **Materiality**
|
|
20
|
+
- Which ESG factors are "material" for this specific industry? (e.g., Water usage for semiconductors vs. Data privacy for software).
|
|
21
|
+
|
|
22
|
+
3. **Data Sources**
|
|
23
|
+
- Utility bills, HR diversity logs, Board composition records, Carbon emissions data.
|
|
24
|
+
|
|
25
|
+
---
|
|
26
|
+
|
|
27
|
+
## ESG Framework
|
|
28
|
+
|
|
29
|
+
### Priority Order
|
|
30
|
+
1. **Materiality Assessment** (Identifying what to measure).
|
|
31
|
+
2. **Data Ingestion** (Collecting environmental and social metrics).
|
|
32
|
+
3. **Gap Analysis** (Comparing current performance to industry benchmarks).
|
|
33
|
+
4. **Disclosure Preparation** (Drafting the non-financial statement).
|
|
34
|
+
|
|
35
|
+
---
|
|
36
|
+
|
|
37
|
+
## Technical ESG Steps
|
|
38
|
+
|
|
39
|
+
### 1. Scope 1, 2, & 3 Emissions
|
|
40
|
+
- **Scope 1**: Direct emissions from company-owned sources.
|
|
41
|
+
- **Scope 2**: Indirect emissions from purchased energy.
|
|
42
|
+
- **Scope 3**: All other indirect emissions in the value chain (Suppliers/Users).
|
|
43
|
+
|
|
44
|
+
### 2. Social Metric Calculation
|
|
45
|
+
- Calculate gender pay gaps, diversity ratios in management, and employee turnover rates.
|
|
46
|
+
|
|
47
|
+
### 3. Governance Audit
|
|
48
|
+
- Review board independence, executive compensation alignment with sustainability goals, and anti-corruption policies.
|
|
49
|
+
|
|
50
|
+
---
|
|
51
|
+
|
|
52
|
+
## Output Format
|
|
53
|
+
|
|
54
|
+
### ESG Performance Report
|
|
55
|
+
|
|
56
|
+
**Scorecard**
|
|
57
|
+
- Key Performance Indicators (KPIs) vs. Targets.
|
|
58
|
+
- Alignment rating with SASB/GRI.
|
|
59
|
+
|
|
60
|
+
**The Findings**
|
|
61
|
+
- Environmental impact summary (Carbon/Waste/Water).
|
|
62
|
+
- Social impact summary (Human Capital/Community).
|
|
63
|
+
- Governance summary (Ethics/Transparency).
|
|
64
|
+
|
|
65
|
+
**Actionable Goals**
|
|
66
|
+
- Roadmaps for emission reductions or diversity improvements.
|
|
67
|
+
|
|
68
|
+
---
|
|
69
|
+
|
|
70
|
+
## References
|
|
71
|
+
- [SASB Materiality Map](./references/sasb-map.md): Industry-specific materiality.
|
|
72
|
+
- [Carbon Accounting 101](./references/ghg-protocol.md): Scope 1/2/3 definitions.
|
|
73
|
+
|
|
74
|
+
---
|
|
75
|
+
|
|
76
|
+
## Related Skills
|
|
77
|
+
- **audit-checklist**: For auditing the accuracy of ESG data.
|
|
78
|
+
- **financial-analysis**: To see if ESG risks impact the financial bottom line.
|
|
79
|
+
- **investment-analysis**: To factor ESG scores into the investment thesis.
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# GHG Protocol Essentials
|
|
2
|
+
|
|
3
|
+
## The Three Scopes
|
|
4
|
+
- **Scope 1 — direct**: owned/controlled sources: combustion (generators, fleet, gas processing), process emissions, fugitives (flaring, venting, methane leaks — dominant in oil & gas), refrigerants.
|
|
5
|
+
- **Scope 2 — purchased energy**: electricity, steam, heat. Report BOTH location-based (grid average factor) and market-based (contractual instruments/RECs/PPAs).
|
|
6
|
+
- **Scope 3 — value chain**: 15 categories; materiality varies wildly. O&G: category 11 (use of sold products) is typically 80%+ of total footprint. Banks: category 15 (financed emissions, PCAF methodology).
|
|
7
|
+
|
|
8
|
+
## Calculation Basics
|
|
9
|
+
`Emissions (tCO2e) = Activity data × Emission factor × GWP`
|
|
10
|
+
- Factors: IPCC, national inventories, IEA grid factors, API Compendium (O&G).
|
|
11
|
+
- GWP: use AR5/AR6 100-year values consistently (CH4 ≈ 28–30, N2O ≈ 265–273).
|
|
12
|
+
- Hierarchy of data quality: measured/metered > calculated (fuel × factor) > estimated (spend-based). Spend-based Scope 3 is a screening tool, not a reporting-grade method.
|
|
13
|
+
|
|
14
|
+
## Organizational Boundaries
|
|
15
|
+
Choose and disclose: equity share vs. operational control vs. financial control. O&G joint ventures swing the inventory massively depending on this choice — align it with financial consolidation where possible.
|
|
16
|
+
|
|
17
|
+
## Common Errors
|
|
18
|
+
1. Netting renewables purchases against the location-based figure.
|
|
19
|
+
2. Double counting: a generator's diesel in both Scope 1 (combustion) and Scope 3 (fuel upstream — that part belongs in category 3).
|
|
20
|
+
3. Missing fugitives/flaring — in upstream oil & gas these can exceed combustion.
|
|
21
|
+
4. Recalculating the base year only when convenient (need a structural-change policy with threshold, e.g., 5%).
|
|
22
|
+
5. Mixing GWP vintages across years without restating.
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# SASB / ISSB Industry Mapping
|
|
2
|
+
|
|
3
|
+
## Framework Landscape (post-consolidation)
|
|
4
|
+
SASB standards now sit under the ISSB (IFRS Foundation). IFRS S1 (general sustainability disclosures) and IFRS S2 (climate) reference SASB metrics as the industry-specific layer. TCFD is absorbed into IFRS S2. GRI remains the impact/multi-stakeholder framework — dual reporting (ISSB for investors + GRI for stakeholders) is the common pattern.
|
|
5
|
+
|
|
6
|
+
## SASB's 77 Industries → 5-Factor Materiality
|
|
7
|
+
Each industry standard selects from: Environment / Social capital / Human capital / Business model & innovation / Leadership & governance. Examples:
|
|
8
|
+
|
|
9
|
+
| Industry | Most Material Topics (illustrative) |
|
|
10
|
+
|---|---|
|
|
11
|
+
| Oil & Gas E&P | GHG emissions, water management, biodiversity, community relations, reserves valuation & capex resilience, critical incident management |
|
|
12
|
+
| Commercial Banks | Data security, access & affordability, financed emissions, business ethics, systemic risk management |
|
|
13
|
+
| Insurance | ESG integration in investments, physical risk exposure, policyholder transparency |
|
|
14
|
+
| Software/IT | Energy of data centers, data privacy, employee recruitment/diversity, IP & competitive behavior |
|
|
15
|
+
| Food & Beverage | Energy/water, packaging, ingredient sourcing, health & nutrition, labor |
|
|
16
|
+
|
|
17
|
+
## Building the Disclosure Map
|
|
18
|
+
1. Classify the entity into SASB industry (SICS code); diversified groups map per segment.
|
|
19
|
+
2. Pull that industry's disclosure topics + quantitative metrics + activity metrics.
|
|
20
|
+
3. Gap-assess current data availability per metric; classify ready / partial / absent.
|
|
21
|
+
4. Overlay IFRS S2 climate requirements: governance, strategy, risk management, metrics & targets, Scope 1-2 (Scope 3 with relief provisions), scenario analysis.
|
|
22
|
+
5. Map each metric to an owner and a system of record — disclosure without data lineage fails assurance.
|
|
23
|
+
|
|
24
|
+
## Assurance Trajectory
|
|
25
|
+
Limited assurance on GHG (ISSA 5000) is becoming the baseline; build audit-trail discipline (methodology memos, evidence retention) from day one.
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# Worked Example - financial-analysis
|
|
2
|
+
|
|
3
|
+
## Ask
|
|
4
|
+
|
|
5
|
+
> Can you analyze these Q3 financials? Revenue: $120M, COGS: $40M, OpEx: $30M, Net Income: $35M. Cash: $50M, Current Liabilities: $25M.
|
|
6
|
+
|
|
7
|
+
## What a correct response contains
|
|
8
|
+
|
|
9
|
+
Should perform data normalization and calculate key ratios. Should identify Gross Margin (66.7%), Operating Margin (41.7%), and Net Margin (29.2%). Should calculate Current Ratio (2.0) and assess liquidity. Should check for profitability health and solvency. Output should follow the structured report format: Executive Summary, Detailed Findings (Profitability, Liquidity, Solvency), and Recommendations.
|
|
10
|
+
|
|
11
|
+
## File-driven variant
|
|
12
|
+
|
|
13
|
+
With fixture(s) `evals/files/financial_statements.csv`:
|
|
14
|
+
|
|
15
|
+
> Using the attached two-year financial statements (evals/files/financial_statements.csv), compute the FY2025 liquidity, profitability, and leverage ratios (use average balances where appropriate), flag any deterioration vs FY2024, and produce your standard analysis memo.
|
|
16
|
+
|
|
17
|
+
Expected: Current ratio 2.00, quick ratio 1.27, net margin 8.6%, ROE (avg equity) 24.7%, DSO (avg AR) 60 days, D/E 0.84, revenue growth 20%. Should flag AR growing ~40% against 20% revenue growth (DSO deterioration) and the quick ratio near/below 1.
|
|
18
|
+
|
|
19
|
+
## Compute, don't estimate
|
|
20
|
+
|
|
21
|
+
All figures above come from [`scripts/calculate.py`](./scripts/calculate.py) - import its functions rather than doing arithmetic in prose.
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: financial-analysis
|
|
3
|
+
description: When the user wants to perform a deep dive into a company's financial performance. Also use when the user mentions "10-K review," "quarterly earnings," "profitability audit," "ratio analysis," "balance sheet health," "cash flow analysis," "EBITDA margin," "financial statement audit," "how is this company doing," or "analyze these financials." Use this even if the user just says "look at these numbers" — start with a structured analysis.
|
|
4
|
+
metadata:
|
|
5
|
+
version: 1.2.0
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Financial Analysis
|
|
9
|
+
|
|
10
|
+
You are a Senior Financial Analyst. Your goal is to extract, analyze, and interpret financial data to provide a comprehensive view of an entity's financial health.
|
|
11
|
+
|
|
12
|
+
## Initial Assessment
|
|
13
|
+
|
|
14
|
+
**Check for corporate context first:**
|
|
15
|
+
If `./projects/context.md` or similar files exist, read them before asking questions. Use that context and only ask for information not already covered.
|
|
16
|
+
|
|
17
|
+
Before analyzing, understand:
|
|
18
|
+
|
|
19
|
+
1. **Entity Context**
|
|
20
|
+
- Public or private company?
|
|
21
|
+
- Industry (SaaS, Manufacturing, FinTech, etc.)
|
|
22
|
+
- Reporting currency and period (Q3 2023, FY 2024).
|
|
23
|
+
|
|
24
|
+
2. **Source Data**
|
|
25
|
+
- Do we have the Big 3? (Income Statement, Balance Sheet, Cash Flow).
|
|
26
|
+
- Are we using GAAP, IFRS, or a local standard?
|
|
27
|
+
|
|
28
|
+
3. **Goal of Analysis**
|
|
29
|
+
- General health check?
|
|
30
|
+
- Valuation prep?
|
|
31
|
+
- Liquidity/Solvency focus?
|
|
32
|
+
|
|
33
|
+
---
|
|
34
|
+
|
|
35
|
+
## Analysis Framework
|
|
36
|
+
|
|
37
|
+
### Priority Order
|
|
38
|
+
1. **Data Extraction & Normalization** (Ensure the numbers are clean and comparable).
|
|
39
|
+
2. **Profitability Analysis** (Is the business model working?).
|
|
40
|
+
3. **Liquidity & Solvency** (Can they pay their bills?).
|
|
41
|
+
4. **Efficiency Ratios** (How well are assets being used?).
|
|
42
|
+
5. **Trend & Anomaly Detection** (What's changing and why?).
|
|
43
|
+
|
|
44
|
+
---
|
|
45
|
+
|
|
46
|
+
## Technical Analysis Steps
|
|
47
|
+
|
|
48
|
+
### 1. Data Normalization
|
|
49
|
+
- Extract Revenue, COGS, OpEx, Net Income.
|
|
50
|
+
- Identify non-recurring items (one-time charges, gains/losses).
|
|
51
|
+
- Calculate Adjusted EBITDA if applicable.
|
|
52
|
+
|
|
53
|
+
### 2. Ratio Calculation
|
|
54
|
+
- **Liquidity**: Current Ratio, Quick Ratio, Days Sales Outstanding (DSO).
|
|
55
|
+
- **Profitability**: Gross Margin, Operating Margin, Net Margin, ROE.
|
|
56
|
+
- **Solvency**: Debt-to-Equity, Interest Coverage Ratio.
|
|
57
|
+
|
|
58
|
+
### 3. Trend Analysis (Horizontal Analysis)
|
|
59
|
+
- Calculate Year-over-Year (YoY) and Quarter-over-Quarter (QoQ) growth rates.
|
|
60
|
+
- Identify acceleration or deceleration in key metrics.
|
|
61
|
+
|
|
62
|
+
### 4. Anomaly Detection
|
|
63
|
+
- Flag any line item with a variance > 15% without clear footnote explanation.
|
|
64
|
+
- Check for "Earnings Management" red flags (e.g., revenue growing faster than cash flow).
|
|
65
|
+
|
|
66
|
+
---
|
|
67
|
+
|
|
68
|
+
## Output Format
|
|
69
|
+
|
|
70
|
+
### Financial Analysis Report Structure
|
|
71
|
+
|
|
72
|
+
**Executive Summary**
|
|
73
|
+
- Overall Health Rating (e.g., "Strong," "Stable," "Concerning").
|
|
74
|
+
- Top 3 critical findings.
|
|
75
|
+
|
|
76
|
+
**Detailed Findings**
|
|
77
|
+
- **Profitability**: Analysis of margins and earnings quality.
|
|
78
|
+
- **Liquidity**: Assessment of short-term cash position.
|
|
79
|
+
- **Solvency**: Long-term debt profile and coverage.
|
|
80
|
+
- **Anomalies**: List of flagged items requiring clarification.
|
|
81
|
+
|
|
82
|
+
**Recommendations**
|
|
83
|
+
1. Immediate operational improvements.
|
|
84
|
+
2. Financial restructuring needs.
|
|
85
|
+
3. Questions for management.
|
|
86
|
+
|
|
87
|
+
---
|
|
88
|
+
|
|
89
|
+
## Scripts
|
|
90
|
+
- [calculate.py](./scripts/calculate.py): Ratio calculations with DuPont decomposition and zero-division safety. Run with `python3 scripts/calculate.py` to self-test; import the functions for actual computations.
|
|
91
|
+
|
|
92
|
+
---
|
|
93
|
+
|
|
94
|
+
## References
|
|
95
|
+
- [Ratio Definitions](./references/ratio-definitions.md): Standard formulas used in this skill.
|
|
96
|
+
- [IFRS vs GAAP](./references/accounting-standards.md): Key differences affecting analysis.
|
|
97
|
+
|
|
98
|
+
---
|
|
99
|
+
|
|
100
|
+
## Assets
|
|
101
|
+
- [analysis-memo-template.md](./assets/analysis-memo-template.md): Standard memo structure for the final output.
|
|
102
|
+
|
|
103
|
+
---
|
|
104
|
+
|
|
105
|
+
## Related Skills
|
|
106
|
+
- **investment-analysis**: For valuing the company based on this analysis.
|
|
107
|
+
- **risk-assessment**: For deeper dive into the solvency/default risks.
|
|
108
|
+
- **budget-forecast**: For projecting future performance based on trends.
|
package/selected-skills/financeskills/skills/financial-analysis/assets/analysis-memo-template.md
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# Financial Analysis Memo
|
|
2
|
+
|
|
3
|
+
**Entity:** {entity} | **Period:** {period} | **Prepared:** {date} | **Currency:** {ccy}
|
|
4
|
+
|
|
5
|
+
## Executive Summary
|
|
6
|
+
{2-4 sentences: overall health, the one number that matters most, the key risk.}
|
|
7
|
+
|
|
8
|
+
## Ratio Dashboard
|
|
9
|
+
| Category | Metric | {prior} | {current} | Trend | Benchmark |
|
|
10
|
+
|---|---|---|---|---|---|
|
|
11
|
+
| Liquidity | Current ratio | | | | |
|
|
12
|
+
| Liquidity | Quick ratio | | | | |
|
|
13
|
+
| Profitability | Gross margin | | | | |
|
|
14
|
+
| Profitability | Net margin | | | | |
|
|
15
|
+
| Profitability | ROE (avg equity) | | | | |
|
|
16
|
+
| Efficiency | DSO / DIO / DPO | | | | |
|
|
17
|
+
| Leverage | Debt / Equity | | | | |
|
|
18
|
+
| Coverage | Interest coverage | | | | |
|
|
19
|
+
|
|
20
|
+
## Key Findings
|
|
21
|
+
1. {Finding - quantified, with cause}
|
|
22
|
+
2. {Finding}
|
|
23
|
+
|
|
24
|
+
## Red Flags
|
|
25
|
+
- {Anything deteriorating faster than revenue, covenant proximity, quality-of-earnings issues}
|
|
26
|
+
|
|
27
|
+
## Recommended Actions
|
|
28
|
+
1. {Action - owner - timeframe}
|
|
29
|
+
|
|
30
|
+
---
|
|
31
|
+
*Calculations verified by code ({script reference}). AI-prepared analysis - review by a qualified professional before relying on it.*
|
package/selected-skills/financeskills/skills/financial-analysis/references/accounting-standards.md
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# Accounting Standards: IFRS vs US GAAP
|
|
2
|
+
|
|
3
|
+
Detailed comparison of the two primary financial reporting frameworks. Understanding these differences is critical for accurate financial analysis and normalization.
|
|
4
|
+
|
|
5
|
+
## 🏛️ Framework Overview
|
|
6
|
+
|
|
7
|
+
### IFRS (International Financial Reporting Standards)
|
|
8
|
+
- **Governance**: International Accounting Standards Board (IASB).
|
|
9
|
+
- **Usage**: Used in 140+ countries (EU, Canada, Australia, most of Africa).
|
|
10
|
+
- **Philosophy**: Principles-based. Focuses on the "substance over form" of a transaction.
|
|
11
|
+
|
|
12
|
+
### US GAAP (Generally Accepted Accounting Principles)
|
|
13
|
+
- **Governance**: Financial Accounting Standards Board (FASB).
|
|
14
|
+
- **Usage**: Mandatory for all US public companies.
|
|
15
|
+
- **Philosophy**: Rules-based. Highly detailed with specific guidance for various industries.
|
|
16
|
+
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
## 🔍 Key Differences
|
|
20
|
+
|
|
21
|
+
### 1. Inventory Valuation
|
|
22
|
+
- **IFRS**: LIFO (Last-In-First-Out) is prohibited. Only FIFO and Weighted Average are allowed.
|
|
23
|
+
- **GAAP**: LIFO is allowed and commonly used for tax benefits.
|
|
24
|
+
- **Impact**: Using LIFO in a period of rising prices results in higher COGS and lower net income compared to FIFO.
|
|
25
|
+
|
|
26
|
+
### 2. Revaluation of Assets
|
|
27
|
+
- **IFRS**: Allows the revaluation of assets (PPE, Intangibles) to fair value if it can be measured reliably.
|
|
28
|
+
- **GAAP**: Revaluation is generally prohibited (assets are carried at historical cost).
|
|
29
|
+
|
|
30
|
+
### 3. Development Costs
|
|
31
|
+
- **IFRS**: Development costs can be capitalized if certain criteria are met (future economic benefit).
|
|
32
|
+
- **GAAP**: Development costs are generally expensed as incurred (except for certain software development costs).
|
|
33
|
+
|
|
34
|
+
### 4. Statement of Cash Flows
|
|
35
|
+
- **Interest Paid**:
|
|
36
|
+
- IFRS: Can be Operating or Financing.
|
|
37
|
+
- GAAP: Must be Operating.
|
|
38
|
+
- **Dividends Received**:
|
|
39
|
+
- IFRS: Can be Operating or Investing.
|
|
40
|
+
- GAAP: Must be Operating.
|
|
41
|
+
|
|
42
|
+
## 🔗 Sources
|
|
43
|
+
- [IASB Official Standards](https://www.ifrs.org/issued-standards/)
|
|
44
|
+
- [FASB Official Guidance](https://www.fasb.org/standards/)
|
|
45
|
+
- [PwC: IFRS and US GAAP: Similarities and Differences](https://www.pwc.com/us/en/services/audit-assurance/accounting-advisory/ifrs-us-gaap-comparison.html)
|
package/selected-skills/financeskills/skills/financial-analysis/references/ratio-definitions.md
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# Financial Ratio Definitions
|
|
2
|
+
|
|
3
|
+
### Liquidity Ratios
|
|
4
|
+
- **Current Ratio**: Current Assets / Current Liabilities. Measures ability to pay short-term obligations.
|
|
5
|
+
- **Quick Ratio**: (Current Assets - Inventory) / Current Liabilities. A more stringent liquidity test.
|
|
6
|
+
|
|
7
|
+
### Profitability Ratios
|
|
8
|
+
- **Gross Margin**: (Revenue - COGS) / Revenue. Percentage of revenue exceeding cost of goods sold.
|
|
9
|
+
- **Net Margin**: Net Income / Revenue. The "bottom line" profitability.
|
|
10
|
+
- **ROE (Return on Equity)**: Net Income / Shareholders' Equity. How effectively management uses equity to generate profit.
|
|
11
|
+
|
|
12
|
+
### Solvency Ratios
|
|
13
|
+
- **Debt-to-Equity**: Total Liabilities / Shareholders' Equity. The company's financial leverage.
|
|
14
|
+
- **Interest Coverage**: EBIT / Interest Expense. Ability to pay interest on outstanding debt.
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# Worked Example - fixed-asset-accounting
|
|
2
|
+
|
|
3
|
+
## Ask
|
|
4
|
+
|
|
5
|
+
> We bought a generator: invoice 12,000,000 NGN, delivery 400,000, installation 600,000, staff training 250,000, 10-year life, 1,000,000 residual, straight-line. What do we capitalize and what's annual depreciation?
|
|
6
|
+
|
|
7
|
+
## What a correct response contains
|
|
8
|
+
|
|
9
|
+
Capitalize 13,000,000 (invoice + delivery + installation); expense training 250,000. Annual depreciation = (13,000,000 - 1,000,000)/10 = 1,200,000.
|
|
10
|
+
|
|
11
|
+
## File-driven variant
|
|
12
|
+
|
|
13
|
+
With fixture(s) `evals/files/asset_register.xlsx`:
|
|
14
|
+
|
|
15
|
+
> Compute year-1 depreciation for each asset in the attached register (evals/files/asset_register.xlsx) using the stated method, and total the charge. The mould has a 200,000-unit life and produced 35,000 units this year.
|
|
16
|
+
|
|
17
|
+
Expected: Press $20,000 (SL); trucks $40,000 (DDB y1); mould $17,500 (UoP); total $77,500.
|
|
18
|
+
|
|
19
|
+
## Compute, don't estimate
|
|
20
|
+
|
|
21
|
+
All figures above come from [`scripts/calculate.py`](./scripts/calculate.py) - import its functions rather than doing arithmetic in prose.
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: fixed-asset-accounting
|
|
3
|
+
description: When the user wants to account for property, plant and equipment or intangibles — capitalization, depreciation, disposals, impairment, or the fixed asset register. Also use when the user mentions "capitalize vs expense," "useful life," "componentization," "asset disposal," "impairment test," "CIP/WIP transfer," or "fixed asset rollforward."
|
|
4
|
+
metadata:
|
|
5
|
+
version: 1.0.0
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Fixed Asset Accounting (IAS 16 / IAS 36 / ASC 360)
|
|
9
|
+
|
|
10
|
+
You are a Fixed Assets Accountant. Your goal is to keep the asset register accurate: capitalize what qualifies, depreciate it sensibly, catch impairments, and account for disposals cleanly.
|
|
11
|
+
|
|
12
|
+
## Initial Assessment
|
|
13
|
+
|
|
14
|
+
1. **Transaction Type**
|
|
15
|
+
- Acquisition, self-construction (CIP), subsequent expenditure, disposal/retirement, impairment indicator, or register maintenance.
|
|
16
|
+
|
|
17
|
+
2. **Policy Inputs**
|
|
18
|
+
- Capitalization threshold, useful life table by asset class, residual value conventions, depreciation methods, componentization policy.
|
|
19
|
+
|
|
20
|
+
---
|
|
21
|
+
|
|
22
|
+
## Accounting Framework
|
|
23
|
+
|
|
24
|
+
### Capitalization Decision
|
|
25
|
+
Capitalize: purchase price + directly attributable costs to bring the asset to working condition (delivery, installation, testing net of sample proceeds rules, professional fees, irrecoverable taxes) + initial restoration estimate (aro-computation). Borrowing costs on qualifying assets (IAS 23).
|
|
26
|
+
Expense: training, relocation, admin overhead, abnormal waste, repairs/maintenance. Subsequent expenditure: capitalize only if it enhances future benefits beyond original standard (capacity, life, quality) — otherwise repair expense.
|
|
27
|
+
|
|
28
|
+
### Depreciation
|
|
29
|
+
- Methods: straight-line `(cost − residual)/life`, reducing balance, units of production (E&P, mining equipment).
|
|
30
|
+
- Start when AVAILABLE for use (not when used); stop at derecognition or held-for-sale.
|
|
31
|
+
- **Componentization (IAS 16)**: depreciate significant parts separately (aircraft engines vs. frame; plant turnarounds; building roof/lifts/shell).
|
|
32
|
+
- Annual review of life, residual, method = change in ESTIMATE (prospective, never restate).
|
|
33
|
+
|
|
34
|
+
### Impairment (IAS 36)
|
|
35
|
+
Indicators (external: market decline, rates, obsolescence; internal: damage, idle, restructuring, underperformance) → test: `Recoverable amount = max(fair value − costs of disposal, value in use)`; impair carrying amount down to it. CGU level if no standalone cash flows. Reversals allowed under IFRS (not goodwill, not US GAAP).
|
|
36
|
+
|
|
37
|
+
### Disposal
|
|
38
|
+
`Gain/(loss) = proceeds − carrying amount`; derecognize cost AND accumulated depreciation. Held-for-sale (IFRS 5): stop depreciating, measure at lower of carrying and FV−CTS.
|
|
39
|
+
|
|
40
|
+
---
|
|
41
|
+
|
|
42
|
+
## Technical Analysis Steps
|
|
43
|
+
|
|
44
|
+
1. **Register integrity**: rollforward (opening + additions − disposals − depreciation ± impairment ± transfers = closing) must tie to GL control accounts; CIP aging review for stalled projects that should be tested for impairment.
|
|
45
|
+
2. **Compute with code**: depreciation schedules, gain/loss on disposal, impairment math.
|
|
46
|
+
3. **Physical verification cycle**: existence testing rotation, ghost-asset write-off protocol.
|
|
47
|
+
|
|
48
|
+
---
|
|
49
|
+
|
|
50
|
+
## Output Format
|
|
51
|
+
|
|
52
|
+
### Fixed Asset Memo / Schedule
|
|
53
|
+
|
|
54
|
+
**Conclusion**: capitalize/expense decision or disposal/impairment outcome with standard reference.
|
|
55
|
+
|
|
56
|
+
**Computation**: depreciation schedule or gain/loss calculation.
|
|
57
|
+
|
|
58
|
+
**Entries**: full journal entries (journal-entry format).
|
|
59
|
+
|
|
60
|
+
**Register Impact**: rollforward line movement.
|
|
61
|
+
|
|
62
|
+
---
|
|
63
|
+
|
|
64
|
+
## Scripts
|
|
65
|
+
- [calculate.py](./scripts/calculate.py): Deterministic functions for this skill's core computations. Run `python3 scripts/calculate.py` to self-test; import the functions instead of doing mental math.
|
|
66
|
+
|
|
67
|
+
---
|
|
68
|
+
|
|
69
|
+
## References
|
|
70
|
+
- [Useful Life Benchmarks](./references/useful-life-guide.md): Typical lives, componentization and policy guidance by asset class.
|
|
71
|
+
|
|
72
|
+
---
|
|
73
|
+
|
|
74
|
+
## Related Skills
|
|
75
|
+
- **aro-computation**: Restoration cost capitalized into the asset.
|
|
76
|
+
- **journal-entry**: For the entries this skill produces.
|
|
77
|
+
- **deferred-tax**: Tax-vs-book depreciation creates temporary differences.
|
|
78
|
+
- **lease-accounting**: ROU assets follow similar depreciation logic.
|
package/selected-skills/financeskills/skills/fixed-asset-accounting/references/useful-life-guide.md
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# Useful Life Benchmarks and Policy Guidance
|
|
2
|
+
|
|
3
|
+
## Typical Useful Lives (calibrate to entity experience — these are starting points)
|
|
4
|
+
| Asset Class | Life (years) | Method Notes |
|
|
5
|
+
|---|---|---|
|
|
6
|
+
| Buildings — shell | 30–50 | Straight-line; componentize |
|
|
7
|
+
| Buildings — roof, HVAC, lifts | 10–20 | Separate components |
|
|
8
|
+
| Leasehold improvements | Shorter of life and lease term | Include reasonably certain renewals only |
|
|
9
|
+
| Plant & machinery (general) | 8–15 | SL or UoP if usage-driven wear |
|
|
10
|
+
| Oil & gas production facilities | Field life | Units of production on proved developed reserves |
|
|
11
|
+
| Pipelines | 20–40 | SL; integrity-driven component reviews |
|
|
12
|
+
| Motor vehicles | 4–6 | Residual values meaningful — set and review |
|
|
13
|
+
| IT hardware | 3–5 | Zero residual typical |
|
|
14
|
+
| Servers/network infra | 4–6 | Hyperscalers have stretched to 6 — follow entity evidence |
|
|
15
|
+
| Office furniture & fittings | 5–10 | — |
|
|
16
|
+
| Software (purchased/internally developed) | 3–7 | Amortize from go-live; cloud config costs usually EXPENSED (SaaS arrangements — IFRIC agenda decision) |
|
|
17
|
+
|
|
18
|
+
## Componentization Triggers
|
|
19
|
+
Component is "significant" if its cost is a meaningful share (rule of thumb ≥ 10–20%) of the asset AND its life differs materially. Classic mandatory cases: aircraft (frame/engines/interiors), vessels (hull/dry-docking), refineries and plants (turnaround/overhaul costs capitalized as a component, depreciated to next turnaround).
|
|
20
|
+
|
|
21
|
+
## Residual Values
|
|
22
|
+
Use only with credible disposal markets (vehicles, aircraft, some plant). Review annually; residual ≥ carrying amount → depreciation stops. Document the evidence (auction data, dealer quotes).
|
|
23
|
+
|
|
24
|
+
## Estimate Change Mechanics (prospective)
|
|
25
|
+
New annual depreciation = (carrying amount − revised residual) / remaining revised life, from the date of change. No restatement, but disclose if material.
|
|
26
|
+
|
|
27
|
+
## Register Hygiene Rules
|
|
28
|
+
- CIP > 12 months without spend movement → investigate, impairment-test, or write off.
|
|
29
|
+
- Fully depreciated assets still in use → flag for life-policy recalibration (chronic pattern = lives too short, distorting margins).
|
|
30
|
+
- Ghost assets: physical verification on rotation (high-value annually, full population over 2–3 years); write-offs need approval and root-cause (theft? records?).
|