iit-bonus-alone
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "iit-bonus-alone" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-90901c5cd834710c6c975929be95d3a370ac1f784fe12f6a418ed04be1664c36. Verify the upstream source and version against https://skillhub.cn/skills/user_f1b049da/vfbt2026921 before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Simulates individual income tax using the annual one-time bonus standalone taxation method and provides a rough comparison with including the bonus in comprehensive income; intended for users consulting year-end bonus withholding and choosing a taxation method. Please verify policy timeliness independently.
Introduction source: third_party · user_f1b049da · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: iit-bonus-alone
slug: vfbt2026921
displayName: 年终奖个税试算
version: 1.0.0
summary: 按全年一次性奖金单独计税办法试算个税,并与并入综合所得粗对比。
license: MIT
description: 按全年一次性奖金单独计税办法试算个税,并与并入综合所得粗对比。当用户问年终奖扣税、奖金单独计税还是并入时使用。政策时效需自行核对。年终奖个税试算(单独计税)
原创:对「全年一次性奖金」按单独计税优惠算法试算应纳税额,并可选与「并入综合所得」做粗对比。
2026 年该优惠办法如仍延续,则适用;若国务院/财政部公告停止,Agent 必须先提示用户改走综合所得。
单独计税法(现行优惠算法)
- 将全年一次性奖金收入
B除以 12 个月,得到商数B/12。 - 用该商数对照月度换算后的综合所得税率表,确定适用税率与速算扣除数。
(等价:用年度税率表边界 ÷12 找档,速算扣除数用「月度速算扣除数」) - 应纳税额 =
B × 税率 − 速算扣除数(注意:此处速算扣除数为月度表对应值,不是年度表直接套在总额上)。
月度税率表(由年度表 ÷12)
| 月度应纳税所得额(商数) | 税率 | 速算扣除数 |
|---|---|---|
| ≤3000 | 3% | 0 |
| ≤12000 | 10% | 210 |
| ≤25000 | 20% | 1410 |
| ≤35000 | 25% | 2660 |
| ≤55000 | 30% | 4410 |
| ≤80000 | 35% | 7160 |
| >80000 | 45% | 15160 |
硬约束
- 输入奖金
B ≥ 0;只处理「单独计税」主路径;对比路径需用户提供预估综合所得应纳税所得额或声明无法精确对比。 round2;展示商数、档位、税率、税额、税后奖金。- 文案必须含:一年一次;与工资薪金同一月发放时的实务处理提示(可简述「可合并或单独,以扣缴义务人选择与政策为准」)。
- 禁止保证「一定更省税」;对比仅作估算。
- 政策时效声明:试算基于单独计税优惠办法;停用后本 Skill 应拒绝单独路径。
推荐实现
const MONTHLY = [
{ up: 3000, rate: 0.03, quick: 0 },
{ up: 12000, rate: 0.1, quick: 210 },
{ up: 25000, rate: 0.2, quick: 1410 },
{ up: 35000, rate: 0.25, quick: 2660 },
{ up: 55000, rate: 0.3, quick: 4410 },
{ up: 80000, rate: 0.35, quick: 7160 },
{ up: Infinity, rate: 0.45, quick: 15160 },
]
export function calcBonusAlone(bonus: number) {
if (!Number.isFinite(bonus) || bonus < 0) throw new Error('奖金无效')
const monthly = bonus / 12
const b = MONTHLY.find((x) => monthly <= x.up)!
const tax = +Math.max(0, bonus * b.rate - b.quick).toFixed(2)
return {
monthlyAvg: +monthly.toFixed(2),
rate: b.rate * 100,
quick: b.quick,
tax,
afterTax: +(bonus - tax).toFixed(2),
}
}
附加
Current listing version
1.0.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 解决年终奖扣税方式选择的实际痛点
- 提供单独计税与综合所得的对比功能
- 具有广泛用户群体的实用工具
Highlights
- 触发场景描述精准完整
- 边界清晰,无歧义
- 覆盖用户核心咨询需求
Areas to improve
-
缺少 When to Use 显式章节 Reported severity: Minor
文档结构良好但缺少显式的 When to Use 使用场景说明章节
Recommendation: 建议增加 When to Use 显式章节,更清晰地说明适用场景和使用时机
Highlights
- 算法说明清晰完整
- 提供完整的税率表和计算示例
- frontmatter 信息完整规范
Highlights
- 提供完整的 TypeScript 实现代码
- 包含参数校验和异常处理
- 财务计算精度控制合理(保留两位小数)
- 工具来源明确,逻辑完整可靠
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.