roll-forward
它能做什么
这个技能引导 AI 智能体制作一份表格,展示某个余额在一个期间内如何变化。适合编制月末资料包和协助审计的会计人员。
适用场景
- ✓当你需要展示某个余额在一个期间内从期初到期末如何变动的时候。
- ✓当审计师要求提供某个科目的滚动表的时候。
- ✓当你希望将余额中的每项变动与总账查询相对应的时候。
技能链接
https://github.com/anthropics/financial-services/blob/main/plugins/agent-plugins/month-end-closer/skills/roll-forward/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请为三月份的应计负债科目编制滚动表,并证明它与总账相符?”
每周 5 个新技能,1 分钟读完。
工作原理
智能体从期初余额开始,列出每项变动,例如新增、付款和应计,并推算至期末余额。它会检查表格是否相加正确,并引用每个来源。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Roll-forward
Given an account (or account group), entity, and period, produce a roll-forward that ties beginning to ending.
Structure
Beginning balance (per prior-period close) X
+ Additions / new activity A
+ Accruals booked this period B
− Reversals of prior accruals (C)
− Payments / settlements (D)
± Reclasses / adjustments E
± FX translation F
Ending balance (per GL at period end) Y
Tie each line
- Beginning — prior-period close package, or GL balance at prior-period end date.
- Each activity line — a GL query (account + date range + journal-source filter) via the internal-gl MCP. Cite the query.
- Ending — GL balance at period-end date.
The schedule must foot: X + A + B − C − D + E + F = Y. If it doesn't, the gap is an unexplained item — surface it, don't plug it.
Output
The roll-forward table with a "ties to" column citing the GL query or document for every line, plus a foot check (pass/fail and the unexplained delta if any).
常见问题
如果表格对不上会怎样?
技能说明,应将差额显示为无法解释的项目,而不是强行使其平衡。
数字从哪里来?
每一行都与一条总账查询相对应,期初和期末余额来自总账或上期结账。
它用于审计支持吗?
是的。技能将审计支持和月末资料包列为典型用途。
详情
作者的原始描述
Build a roll-forward schedule for a balance-sheet account — beginning balance plus activity less reversals equals ending balance, with each component tied to GL. Use for month-end close packages and audit support.
热度
- GitHub 星标
- 41k
- 排名
- #6585
- 许可证
- Apache-2.0
- 更新时间
- 2026/10/28
评论
- …