US Federal Tax Return Preparation
Overview
This skill helps users prepare US federal individual income tax returns by analyzing source documents, identifying required forms, filling out IRS form PDFs, and auditing completed returns for errors.
Workflow
Phase 1: Document Collection Planning
When the user provides a prior year tax return:
- Analyze the return to identify all income sources, deductions, and credits claimed
- Generate a comprehensive checklist of expected tax documents for the current year
- Organize the checklist by institution and expected availability date (most 1099s arrive late January to mid-February)
Example checklist categories:
- W-2s (employers)
- 1099-R (retirement distributions)
- 1099-DIV (dividends)
- 1099-INT (interest)
- 1099-B (brokerage transactions)
- 1099-SA (HSA distributions)
- 5498-SA (HSA contributions)
- 1098 (mortgage interest)
- 1095-A/B/C (health coverage)
Phase 2: Form Identification
Once source documents are collected:
- Analyze all source documents to determine which IRS forms are required
- Provide the user with a list of forms and direct links to download current versions from irs.gov
- CRITICAL: Request that the user upload the current year blank forms. Do not rely on training data for form layouts—the IRS updates forms annually and line numbers change.
Common forms and their purposes:
| Form |
Purpose |
| 1040 |
Main individual return |
| Schedule 1 |
Additional income and adjustments (HSA deduction, etc.) |
| Schedule 2 |
Additional taxes |
| Schedule 3 |
Additional credits (foreign tax credit, etc.) |
| Schedule A |
Itemized deductions |
| Schedule B |
Interest and dividends over $1,500 |
| Schedule D |
Capital gains and losses |
| Form 8949 |
Sales of capital assets |
| Form 8889 |
HSA contributions and distributions |
| Form 8995 |
Qualified business income (Section 199A) deduction |
| Form 1116 |
Foreign tax credit |
| Schedule 8812 |
Child tax credit |
Phase 3: Form Completion
With source documents and blank forms uploaded:
- Extract values from source documents systematically
- Map values to appropriate form lines
- Complete calculations per IRS instructions
- Fill out the PDF forms directly
- Self-validate: After completing each form, verify totals against source documents before proceeding
Key validation checks:
- Total withholding across all 1099-Rs matches sum of individual Box 4 values
- Interest income on Schedule B matches sum of all 1099-INT Box 1 values
- Dividend income matches 1099-DIV totals
- Foreign tax paid matches 1099-DIV Box 7 totals
- HSA distribution on Form 8889 matches 1099-SA Box 1
Phase 4: Audit
Before finalizing:
- Visual verification: Compare source document images against entered values—do not rely solely on extracted text
- Verify all cross-form references (e.g., Schedule D total flows to 1040 Line 7)
- Check that worksheets (Qualified Dividends, Credit Limit, etc.) are completed correctly
- Validate withholding totals match across all forms
Common error categories to check:
- Misread source documents: Confusing similar boxes (e.g., federal withholding vs. Social Security tax on W-2)
- Incomplete worksheets: Supporting calculations that don't auto-populate
- Rounding mismatches: When systems round before summing vs. after
- Outdated form knowledge: Line numbers that changed from prior year
Form-Specific Guidance
W-2 (Wage and Tax Statement)
- Box 1: Wages (1040 Line 1a)
- Box 2: Federal income tax withheld (1040 Line 25a)
- Box 4: Social Security tax withheld (NOT federal income tax—common confusion point)
- Box 12 codes: Watch for Code W (HSA employer contributions), Code DD (health coverage cost)
1099-R (Retirement Distributions)
- Box 1: Gross distribution
- Box 2a: Taxable amount
- Box 4: Federal income tax withheld
- Box 7: Distribution code
- Code 4: Death distribution (beneficiary IRA)
- Code 7: Normal distribution
- Code G: Direct rollover (not taxable)
- Code 2: Early distribution, exception applies
1099-DIV (Dividends)
- Box 1a: Total ordinary dividends
- Box 1b: Qualified dividends (taxed at capital gains rates)
- Box 5: Section 199A dividends (REIT dividends eligible for QBI deduction)
- Box 7: Foreign tax paid
- Box 12: Exempt-interest dividends (not taxable but may affect other calculations)
Schedule D and Form 8949
- Capital loss carryforwards from prior year must be tracked
- Net capital loss deduction limited to $3,000 per year
- Remaining losses carry forward indefinitely
Form 8889 (HSA)
- Line 2: Personal contributions only (not employer)
- Contribution limits vary by coverage type (self-only vs. family) and age (catch-up contributions)
- 5498-SA Box 2 shows total contributions; may include employer amounts not deductible by taxpayer
Output
The final deliverable should be:
- Completed PDF forms ready for printing and mailing
- A summary showing key figures (total income, AGI, taxable income, total tax, total payments, refund/amount due)
- Any items requiring taxpayer attention or decision
Form Location
IRS form PDFs are not bundled with this skill. To get local copies, instruct the user to run the download script from the skill directory:
# Download forms for a specific year
python3 download-forms.py 2025
# Download all forms
python3 download-forms.py
Forms download to a local forms/<year>/ directory (e.g., forms/2025/f1040.pdf). Files are named using IRS conventions (f1040.pdf, f1040s1.pdf for Schedule 1, fw2.pdf for W-2).
If the user prefers not to run the script, direct them to download forms manually from irs.gov/forms-instructions and upload them to the conversation.
Important Limitations
- Not tax advice: This skill helps with form preparation, not tax planning or strategy
- Federal only: State returns vary significantly and are not covered
- Form currency: Always request current year forms from the user; do not assume training data reflects current form layouts
- IRS website access: The IRS blocks automated access to irs.gov; provide links for the user to download forms manually
1---2name: us-federal-tax-assistant3description: Use this skill when helping users prepare US federal tax returns. Triggers include: any mention of 'tax return', '1040', 'tax filing', 'IRS forms', W-2, 1099, or requests to help with taxes. Use for analyzing tax documents, identifying required forms, filling out tax form PDFs, creating document checklists from prior year returns, and auditing completed returns. Do NOT use for tax advice, tax planning, or state tax returns (which vary significantly by jurisdiction).4---5
6# US Federal Tax Return Preparation
7
8## Overview
9
10This skill helps users prepare US federal individual income tax returns by analyzing source documents, identifying required forms, filling out IRS form PDFs, and auditing completed returns for errors.
11
12## Workflow
13
14### Phase 1: Document Collection Planning
15
16When the user provides a prior year tax return:
17
181. Analyze the return to identify all income sources, deductions, and credits claimed
192. Generate a comprehensive checklist of expected tax documents for the current year
203. Organize the checklist by institution and expected availability date (most 1099s arrive late January to mid-February)
21
22Example checklist categories:
23- W-2s (employers)
24- 1099-R (retirement distributions)
25- 1099-DIV (dividends)
26- 1099-INT (interest)
27- 1099-B (brokerage transactions)
28- 1099-SA (HSA distributions)
29- 5498-SA (HSA contributions)
30- 1098 (mortgage interest)
31- 1095-A/B/C (health coverage)
32
33### Phase 2: Form Identification
34
35Once source documents are collected:
36
371. Analyze all source documents to determine which IRS forms are required
382. Provide the user with a list of forms and direct links to download current versions from irs.gov
393. **CRITICAL**: Request that the user upload the current year blank forms. Do not rely on training data for form layouts—the IRS updates forms annually and line numbers change.
40
41Common forms and their purposes:
42| Form | Purpose |
43|------|---------|
44| 1040 | Main individual return |
45| Schedule 1 | Additional income and adjustments (HSA deduction, etc.) |
46| Schedule 2 | Additional taxes |
47| Schedule 3 | Additional credits (foreign tax credit, etc.) |
48| Schedule A | Itemized deductions |
49| Schedule B | Interest and dividends over $1,500 |
50| Schedule D | Capital gains and losses |
51| Form 8949 | Sales of capital assets |
52| Form 8889 | HSA contributions and distributions |
53| Form 8995 | Qualified business income (Section 199A) deduction |
54| Form 1116 | Foreign tax credit |
55| Schedule 8812 | Child tax credit |
56
57### Phase 3: Form Completion
58
59With source documents and blank forms uploaded:
60
611. Extract values from source documents systematically
622. Map values to appropriate form lines
633. Complete calculations per IRS instructions
644. Fill out the PDF forms directly
655. **Self-validate**: After completing each form, verify totals against source documents before proceeding
66
67Key validation checks:
68- Total withholding across all 1099-Rs matches sum of individual Box 4 values
69- Interest income on Schedule B matches sum of all 1099-INT Box 1 values
70- Dividend income matches 1099-DIV totals
71- Foreign tax paid matches 1099-DIV Box 7 totals
72- HSA distribution on Form 8889 matches 1099-SA Box 1
73
74### Phase 4: Audit
75
76Before finalizing:
77
781. **Visual verification**: Compare source document images against entered values—do not rely solely on extracted text
792. Verify all cross-form references (e.g., Schedule D total flows to 1040 Line 7)
803. Check that worksheets (Qualified Dividends, Credit Limit, etc.) are completed correctly
814. Validate withholding totals match across all forms
82
83Common error categories to check:
84- **Misread source documents**: Confusing similar boxes (e.g., federal withholding vs. Social Security tax on W-2)
85- **Incomplete worksheets**: Supporting calculations that don't auto-populate
86- **Rounding mismatches**: When systems round before summing vs. after
87- **Outdated form knowledge**: Line numbers that changed from prior year
88
89## Form-Specific Guidance
90
91### W-2 (Wage and Tax Statement)
92- Box 1: Wages (1040 Line 1a)
93- Box 2: Federal income tax withheld (1040 Line 25a)
94- Box 4: Social Security tax withheld (NOT federal income tax—common confusion point)
95- Box 12 codes: Watch for Code W (HSA employer contributions), Code DD (health coverage cost)
96
97### 1099-R (Retirement Distributions)
98- Box 1: Gross distribution
99- Box 2a: Taxable amount
100- Box 4: Federal income tax withheld
101- Box 7: Distribution code
102 - Code 4: Death distribution (beneficiary IRA)
103 - Code 7: Normal distribution
104 - Code G: Direct rollover (not taxable)
105 - Code 2: Early distribution, exception applies
106
107### 1099-DIV (Dividends)
108- Box 1a: Total ordinary dividends
109- Box 1b: Qualified dividends (taxed at capital gains rates)
110- Box 5: Section 199A dividends (REIT dividends eligible for QBI deduction)
111- Box 7: Foreign tax paid
112- Box 12: Exempt-interest dividends (not taxable but may affect other calculations)
113
114### Schedule D and Form 8949
115- Capital loss carryforwards from prior year must be tracked
116- Net capital loss deduction limited to $3,000 per year
117- Remaining losses carry forward indefinitely
118
119### Form 8889 (HSA)
120- Line 2: Personal contributions only (not employer)
121- Contribution limits vary by coverage type (self-only vs. family) and age (catch-up contributions)
122- 5498-SA Box 2 shows total contributions; may include employer amounts not deductible by taxpayer
123
124## Output
125
126The final deliverable should be:
1271. Completed PDF forms ready for printing and mailing
1282. A summary showing key figures (total income, AGI, taxable income, total tax, total payments, refund/amount due)
1293. Any items requiring taxpayer attention or decision
130
131## Form Location
132
133IRS form PDFs are **not bundled** with this skill. To get local copies, instruct the user to run the download script from the skill directory:
134
135```bash
136# Download forms for a specific year
137python3 download-forms.py 2025
138
139# Download all forms
140python3 download-forms.py
141```
142
143Forms download to a local `forms/<year>/` directory (e.g., `forms/2025/f1040.pdf`). Files are named using IRS conventions (`f1040.pdf`, `f1040s1.pdf` for Schedule 1, `fw2.pdf` for W-2).
144
145If the user prefers not to run the script, direct them to download forms manually from [irs.gov/forms-instructions](https://www.irs.gov/forms-instructions) and upload them to the conversation.
146
147## Important Limitations
148
149- **Not tax advice**: This skill helps with form preparation, not tax planning or strategy
150- **Federal only**: State returns vary significantly and are not covered
151- **Form currency**: Always request current year forms from the user; do not assume training data reflects current form layouts
152- **IRS website access**: The IRS blocks automated access to irs.gov; provide links for the user to download forms manually