home / skills / phrazzld / claude-config / tax-check
/skills/tax-check
This skill validates tax calculations and surfaces audit risks by reconciling brackets, deductions, and Form 8949 formats for accurate reporting.
npx playbooks add skill phrazzld/claude-config --skill tax-checkReview the files below or copy the command above to add this skill to your agents.
---
name: tax-check
description: |
Validate tax calculations: bracket math, deduction eligibility, Form 8949 format, audit-risk flags.
user-invocable: true
effort: high
---
# /tax-check
Validate tax calculations and surface risks.
## Steps
1. Rebuild reports to ensure fresh numbers.
2. Verify bracket math against configured year constants.
3. Recompute taxable income: wages + gains - deductions, confirm totals.
4. Validate Form 8949 CSV format and totals vs `normalized/capital-gains.json`.
5. Flag audit risks: large losses, missing basis, inconsistent dates, or missing source docs.
## Examples
```bash
# Regenerate tax outputs before validation
pnpm report
```
```bash
# Rebuild gains if source data changed
pnpm gains
```
## References
- `scripts/generate-report.ts`
- `normalized/capital-gains.json`
- `normalized/w2-data.json`
- `normalized/charitable-donations.json`
- `reports/2025-tax-summary.md`
- `reports/tax-ready/form-8949-c.csv`
- `reports/tax-ready/schedule-d-summary.md`
This skill validates tax calculations and surfaces potential audit risks across income, gains, and deductions. It checks bracket math, recomputes taxable income, inspects Form 8949 formatting, and flags anomalies that warrant review. The goal is to catch calculation errors and documentation gaps before filing.
The skill rebuilds tax reports to use fresh numbers and then verifies bracket calculations against configured year constants. It recomputes taxable income from wages, gains, and deductions and compares totals to source-normalized data. It also validates Form 8949 CSV format and totals against normalized capital gains records and generates audit-risk flags for large losses, missing basis, inconsistent dates, or absent source documents.
Does this skill change tax data or only report issues?
It only validates and reports discrepancies; it does not modify source data automatically.
What triggers an audit-risk flag?
Flags arise from large losses, missing cost basis, inconsistent transaction dates, or absent supporting documents.
Can I run validations for a specific tax year?
Yes. The checks use configured year constants for bracket math and should be run against the corresponding normalized data.