Coding

US Tax Return Review-1040

Try it

Review U.S. individual income tax returns (Form 1040/1040-SR) for the most recent tax year, compare major return items against current-year tax rules, check...

What it does

Run a structured review of normalized Form 1040 data for the latest tax year in the provided set. Produce three artifacts: a detailed findings JSON file, a markdown summary, and a separate DOCX risk report listing major items and related risks.

The skill document

Form 1040 Review

Overview

Run a structured review of normalized Form 1040 data for the latest tax year in the provided set. Produce three artifacts: a detailed findings JSON file, a markdown summary, and a separate DOCX risk report listing major items and related risks.

Quick Start

  1. Prepare normalized input JSON using references/input_schema.json.
  2. Confirm current-law parameters in references/current_tax_law_2025.json before use.
  3. Run:
python scripts/review_1040.py --input  --output-dir output/form-1040-review
  1. Review outputs:
  • review_summary.md
  • review_findings.json
  • form-1040-risk-report.docx

Workflow

1. Identify the current return

  • Select the highest tax_year in the input as the current return.
  • Treat all prior years as historical comparison returns.

2. Run current-year law checks

  • Validate internal arithmetic and line-to-line relationships.
  • Compare major current-year items to law parameters:
  • Standard deduction by filing status and age/blind additions.
  • Regular-rate tax computation when no preferential income is present.
  • Child Tax Credit and ACTC limits.
  • Self-employment tax and Additional Medicare tax thresholds.

3. Run multi-year consistency checks

  • Compare current return against the most recent prior year.
  • Flag large year-over-year movement in wages, AGI, taxable income, credits, payments, and refund/amount owed.
  • Flag filing-status and dependent-count shifts for explanation.

4. Produce risk outputs

  • Generate a structured findings file (review_findings.json).
  • Generate a human-readable summary (review_summary.md).
  • Generate a standalone DOCX risk register (form-1040-risk-report.docx) that lists each major item, severity, observations, and recommended documentation.
  • Produce an audit-likelihood estimate based on weighted findings and return complexity.

Inputs

Use the normalized schema in references/input_schema.json. At minimum, include:

  • tax_year
  • filing_status
  • major_items for core 1040 lines (AGI, deduction, taxable income, tax, payments, refund/amount owed)

Use references/major_items_reference.md for canonical key mapping.

Law Source Discipline

  • Update references/current_tax_law_2025.json when the filing year changes or IRS issues revisions.
  • Use only official IRS/SSA sources for numeric thresholds.
  • If law data is older than the analyzed return year, flag the result as stale and require manual update before final sign-off.

Script

scripts/review_1040.py performs:

  • Current-year arithmetic and law checks.
  • Prior-year consistency checks.
  • Weighted audit-risk scoring.
  • DOCX risk report generation with python-docx.

If python-docx is missing, install it:

python -m pip install --user python-docx

Output Interpretation

  • Treat findings as risk signals, not final legal determinations.
  • Require CPA/EA review for filing decisions.
  • Present audit likelihood as a heuristic estimate derived from return patterns and detected issues, not a guarantee.

Example Command

python scripts/review_1040.py \
  --input references/example_returns.json \
  --output-dir output/form-1040-review

Related skills

Generate and edit Draw.io, Mermaid, and Excalidraw diagrams from natural language using a structured JSON spec.

by nssa.io1.0k installs47 stars

Find why your productivity system keeps failing, then apply the smallest fix — capacity math, bottleneck routing, durable local notes.

by Iván855 installs69 stars

Fetch raw ad creative, app, ranking, and revenue data from AdMapix as structured JSON.

by fly0pants4.3k installs296 stars

Stores durable facts in a categorized, plain-markdown vault on disk, alongside your agent's built-in memory.

by Iván559 installs18 stars

Join a video meeting as an AI bot with voice, avatar, and screenshare across four operating modes.

by johnpatternai22 installs8 stars

More from chipmunkrpa

Browse all skills

Research technical accounting treatment and financial statement disclosure for specific transactions using U.S. GAAP and SEC-focused sources. Use when a user...

by chipmunkrpa35 installs1 stars

Research and solve "how do I do this?" questions inside accounting and finance software systems (ERP, GL, AP/AR, billing, close, and reporting tools). Use wh...

by chipmunkrpa26 installs1 stars

Review Business Requirements Documents in `.docx` format by reading the existing BRD, extracting paragraph-level context, drafting clarification questions fo...

by chipmunkrpa25 installs1 stars

Develop deposition question sets from Relativity-exported PDF productions using a user-provided legal theory. Use when tasks involve reviewing opponent-produ...

by chipmunkrpa22 installs1 stars

Review and redline DOCX contracts paragraph by paragraph with tracked changes, clause-level risk analysis, and draft comment responses. Use when a user wants...

by chipmunkrpa21 installs1 stars

Perform bank reconciliation between bank statements and general ledger files. Supports bank statement PDF ingestion, conversion of PDF statements into struct...

by chipmunkrpa15 installs