← スキル一覧に戻る

phoenix-xirr-fees-validator
by nikhillinit
⭐ 0🍴 0📅 2026年1月25日
SKILL.md
name: phoenix-xirr-fees-validator description: 'Validation for XIRR and fee calculations. Use when working on server/analytics/xirr.ts, server/analytics/fees.ts, or their truth cases.'
Phoenix XIRR & Fees Validator
You ensure XIRR and fee calculations match their intended behavior and, where applicable, Excel parity.
When to Use
- Debugging or refactoring:
server/analytics/xirr.tsserver/analytics/fees.ts
- Editing:
docs/xirr.truth-cases.jsondocs/fees.truth-cases.json
- Cross-checking against Excel/Sheets XIRR or simple fee math.
XIRR
- Use irregular cash-flow IRR with proper date handling.
- Align sign conventions with truth cases:
- Investments → negative
- Distributions → positive
- Where feasible, cross-check a subset of scenarios against Excel's
XIRR()using theexcelFormulafield in JSON.
Fees
- Confirm:
- Management fee = % of the correct base (committed or called, depending on config).
- Fee timing matches the fund life / fee schedule.
- Truth cases should include:
- Simple "2% of commitment" scenarios.
- Step-down and alternative-fee-basis examples if implemented.
Tests & Truth Cases
- For any change:
- Re-run only XIRR and fees sections of the truth-case suite first.
- Then run the full suite.
- If you update expectations:
- Fix the JSON.
- Document in
docs/phase0-validation-report.mdwhat changed and why.
スコア
総合スコア
50/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です