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