brainstorming
brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).
tax-optimizationWorks through the legal tax-reduction sequence - tax-advantaged account priority, standard-vs-itemized decision math, tax-loss harvesting, income timing, and Roth-vs-traditional rules - and produces a personal tax checklist. Use when someone asks "how do I pay less in taxes", "should I itemize", "Roth or traditional", "what is tax-loss harvesting", or is do…
Independent GitHub snapshot · Automated classification · Original documentation governs
Tax optimization is not aggressive schemes - it is using every legal mechanism already built into the tax code, in the right order. Most people leave significant money on the table not through bad decisions but through unmade ones: an uncaptured employer match, a default standard deduction never compared against real itemizable expenses, losses in a brokerage account never harvested. Work the sequence; skip nothing silently.
Label uncertain figures as guesses; the user's latest return and pay stub resolve most of them.
This order exists because each rung pays more per dollar than the one below it:
Look up the current year's contribution limits from IRS tables rather than assuming remembered figures.
Most filers are better off with the standard deduction. Itemizing wins only when the sum of deductible expenses exceeds it. Never assume either way - fill the worksheet:
ITEMIZE-OR-NOT WORKSHEET - tax year [FILL]
Mortgage interest paid: $[FILL]
State and local taxes (income/sales + property, capped - check current cap): $[FILL]
Charitable contributions (with receipts): $[FILL]
Medical expenses ABOVE the AGI-percentage floor: $[FILL]
ITEMIZED TOTAL: $[FILL]
Standard deduction for [FILL: filing status] (from current IRS tables): $[FILL]
DECISION: itemize only if itemized total > standard deduction
Margin: $[FILL]
If the itemized total lands close to the standard deduction, consider bunching: concentrate two years of charitable giving into one year (a donor-advised fund makes this clean), itemize that year, take the standard deduction the next.
In a taxable brokerage account, selling positions at a loss realizes losses that offset capital gains dollar for dollar; losses beyond gains offset ordinary income up to the annual threshold, and the remainder carries forward indefinitely. The wash-sale rule disallows the loss if the same or a substantially identical security is bought within 30 days before or after the sale - maintain market exposure by buying a similar but not identical fund (a different index tracking a comparable market segment). Harvest against long-term gains last; short-term gains are taxed at the higher ordinary rate, so offsetting them is worth more.
For users with control over timing - freelancers, business owners, year-end bonuses - deferring income into next year or accelerating deductions into this one can keep income under a bracket boundary. This is worth real money only near a boundary; in the middle of a bracket, timing moves little. Check proximity before recommending it.
Married filer, ~$140,000 household income, HDHP-eligible, $9,000 mortgage interest, SALT at the cap, $4,000 charitable giving:
TAX CHECKLIST
[x] Employer match: captured in full (was at 3%, match goes to 5% - raised)
[x] HSA: opened, contributing; receipts saved, paying medical from cash flow
[ ] Itemize check: mortgage $9,000 + SALT (capped) + charity $4,000 vs standard
deduction → short by a small margin → BUNCH: shift next year's giving into
this year via donor-advised fund, itemize this year, standard next
[x] Harvest: sold bond fund at a $2,100 loss, bought a different-index bond
fund same day (not substantially identical); offsets short-term gain first
[x] Roth/traditional: 22-24% bracket now, expects lower in retirement →
traditional for new contributions
[ ] Timing: freelance invoice for December work - defer to January (near
bracket boundary this year)
[ ] Book CPA review: equity comp vesting next year
Produce a personal tax checklist containing: match status, HSA eligibility and action, the completed itemize-or-not worksheet with the decision and margin, any harvestable losses with a wash-sale-safe replacement named, the Roth-vs-traditional call with its one-line rationale, any timing moves, and the items that require a professional.
This is general tax education, not individualized tax advice, and outcomes depend on filing status, state, income type, and life events. Route to a CPA or enrolled agent for self-employment tax, stock compensation (options, RSUs), rental income, multi-state filing, inheritance, or any marriage/divorce-year return - and before executing a Roth conversion of meaningful size.