教你如何vibe code一个w4计算器
基于官方开源的 Tax Withholding Estimator 逆向工程,实现个性化 W4 计算器。
1. 关键信息
- 使用 IRS 开源项目 tax-withholding-estimator 作为数据源,确保 W4 准确性。
- 通过
git clone https://github.com/IRS-Public/tax-withholding-estimator.git获取数据。 - 使用 Claude Code/Codex 逆向工程生成 W4 表生成工具。
- Prompt 示例:
read @tax-withholding-estimator/ and write a tool that can generate a w4 form given annual tax withhold amount。 - 支持命令行 Python 脚本或导出为 Web App 部署在 GitHub Pages。
- 建议测试逻辑并核对原始数据以避免错误。
2. 羊毛/优惠信息
无
3. 最新动态
4. 争议或不同意见
5. 行动建议
- 优先使用官方数据逆向工程生成可验证的程序。
- 最终输出需手动核对,避免税务错误。