跳到正文
Skillpedia
写作48k · #4341

day-book

它能做什么

这是一份每日现金、银行和电子支付交易的记录。它会显示当天收入和支出的金额,每天的期初和期末余额,以及账目是否一致。

适用场景

  • ✓当你要记录每天所有的现金流入和流出时。
  • ✓当你想知道一天结束时准确的现金、银行和电子支付余额时。
  • ✓当你要核对记录的金额与实际余额是否一致(即对账)时。

技能链接

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/day-book/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/day-book/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“记录一笔 R$50 的现金销售和一笔 R$20 的借记卡付款。”

每周 5 个新技能,1 分钟读完。

工作原理

它会逐笔记录每一笔资金变动,无论是收入还是支出,并计算各项余额。每天结束时,它会生成一份汇总,对比预期余额与实际余额。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Day Book

What it is: The daily cash, bank and digital receipt-and-payment record, with a day-end control row that reconciles the day before it is closed.

Overview

Works out the smallest useful Day Book setup for the business in front of it, then builds it only when asked. The default output is a short recommendation, not a spreadsheet. Artifacts - CSV, SQL DDL, JSON Schema, Notion mapping - are produced on request, from one field list so they cannot drift apart.

Layer: Layer 4: Cash. Fits: Starter stage. Table code: n/a.

Before anything is generated, the design is checked against itself. A day book is the easiest table in the pack to write badly, because the same column can mean two different things on two different rows and neither reading looks wrong on its own. So before emitting any artifact:

  • Look for conflicts in the rules, the examples, the field definitions, the row meanings and the output formats. Where the design, the examples or the business's existing sheet disagree with each other, do not reproduce them as they stand.
  • Name the conflict out loud, then resolve it with the simplest accounting-safe interpretation. The simplest safe reading of a disputed field is the one that keeps cash equal to the bank position and never invents a movement to make a total look right.
  • Derive CSV, SQL DDL, JSON Schema and the Notion mapping from one field model afterwards, so that no field exists in one artifact and is missing or differently defined in another.

The rule this table exists to enforce: the debit/credit presentation of a day book depends on the software's day-book format. It is not a universal rule that all receipts are debit and all payments are credit - some books present receipts on the payment side, some carry both columns, some carry neither. So this table does not hardcode a Debit/Credit pair. Debit/Credit Presentation is a text field that records the presentation as configured in the business's own software, and the six in/out amount columns plus the six balance columns are the part that is universal. Where a book labels its columns Dr and Cr, that label is what goes into Debit/Credit Presentation; nothing in this table decides which side a receipt sits on.

Two row types, and they are not the same kind of thing. Row Type says which one a row is, and the two are read differently.

Movement row Day Summary row
What it is one receipt or one payment one per day, written after the day is closed
What it books money, into exactly one book no money at all - it totals and proves
Book Section the one book it was booked to All Books
Mode the instrument used Mixed when the day's instruments differ
The six In/Out columns the amount in its own book, and the other two are not applicable the day's totals for all three books
The six balance columns brought forward, and the running balance after this entry the day's opening and closing balances
Transaction Reference, Voucher Number, Party the entry itself the day's detail set, not a single voucher
Duplicate Check this entry checked against the day's other entries the whole day's set checked
Balance Difference, Reconciliation Status not applicable - a single movement is not reconciled on its own the day's break, and the status of it

What each balance field means. Every one of the six balance fields is a balance, never a movement. Opening Cash Balance, Opening Bank Balance and Opening Digital Balance are what was brought into the day. Cash Closing Balance, Bank Closing Balance and Digital Closing Balance are what was left at the end of it. The identity that connects them, per book, is:

opening balance + money in - money out = closing balance

On a Day Summary row that identity must hold separately for cash, for bank and for digital. On a Movement row, the opening balance is what was brought forward into that entry and the closing balance is the running balance after it, in that entry's own book only.

The identity that carries the day forward. A day's opening balance is not a fresh number. It is the previous day's closing balance for the same book. So the check that closes a day is:

previous day's closing balance + today's movement = today's closing balance

…

常见问题

什么是“期初余额”和“期末余额”?

期初余额是一天开始时你手上的金额,期末余额是所有交易完成后,一天结束时的金额。

“对账”是什么意思?

对账是检查账本上的余额是否与实际余额一致的过程,比如核对你手头的现金或银行账户里的金额。

我可以在这里记录税款吗?

这份记录处理的是交易的总额,包括税款在内。它不会把税款从交易的总变动金额中单独分离出来。

详情

作者的原始描述

Daily cash, bank and digital day book: opening and closing balances per book, in/out movements, debit/credit presentation and reconciliation status. Use for daily bookkeeping.

repo: sickn33/agentic-awesome-skills

热度

GitHub 星标
48k
排名
#4341
许可证
MIT
更新时间
2026/10/15

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能