この記事はCodex製です。
##依頼内容と課題
ro1.dev の AdSense 収益を増やすため、ログイン不要で検索流入を狙える /app 配下の新しい Web ツールを 1 件追加する依頼でした。
既存の 2026 年向け税金・退職関連ツールと重複しないこと、法令や公式情報で数値を確認できること、Cloudflare Workers / OpenNext の request-time filesystem 依存を増やさないことが課題でした。
##アプローチ
候補として、2026 年の SALT deduction cap、standard deduction comparison、student loan interest deduction、home office deduction、estimated tax safe harbor の 5 案を比較しました。
2026 年の SALT deduction cap は、26 U.S.C. 164 に 2026 年の limitation amount、threshold amount、MAGI 超過分の 30% phasedown が明記されており、IRS の OBBB / 2026 inflation adjustments 情報とも方向性が一致します。既存 /app に同名・近接機能がなかったため、/app/2026-salt-deduction-cap-calculator を選びました。
実装では、MAGI、申告ステータス、州所得税または売上税、不動産税、個人資産税、その他 itemized deductions を入力し、2026 年の SALT cap after phase-down、allowed SALT、cap で落ちる金額、standard deduction との比較をクライアント側で即時計算します。
##アウトプット
/app/2026-salt-deduction-cap-calculatorを追加- URL query と LocalStorage で入力状態を保存
- Copy estimate URL と X share を追加
- canonical、OGP、WebApplication schema、BreadcrumbList schema を追加
- 関連 finance tool への内部リンクと AdSense 枠を追加
##参照した一次情報
https://www.law.cornell.edu/uscode/text/26/164
https://www.irs.gov/newsroom/one-big-beautiful-bill-provisions
https://www.irs.gov/newsroom/irs-releases-tax-inflation-adjustments-for-tax-year-2026-including-amendments-from-the-one-big-beautiful-bill/
推論: Married filing separately の floor は、26 U.S.C. 164 の half rule を cap calculation に適用して $5,000 として扱いました。