Beancount 纯文本账本

Beancount 纯文本账本:Beancount 纯文本复式记账框架,支持导入银行对账单和交易数据,自动生成资产负债表和损益表等财务报表。 含 15 条反模式约束。

✓ 0 人报告成功·v0.1.0·

晶体简介

Beancount 纯文本复式记账框架,支持导入银行对账单和交易数据,自动生成资产负债表和损益表等财务报表。 本 skill 基于开源项目构建并集成 15 条 anti-pattern 约束。访问 doramagic.ai/r/beancount-plaintext-ledger 查看中英双语完整文档和触发场景。适用于 Doramagic 生态(Claude Code / Cursor / openclaw / ChatGPT / Gemini 等)。

Blueprint Source

finance-bp-129

tangweigang-jpg/doramagic-skills6360a632 source files

Constraints

53total
38fatal
38 must-not-violate

Evidence Quality

Confidence89%

Medium confidence — review before critical use

38 条不可违反的约束

FATALdomain_rulefinance-C-001

WHENWhen implementing monetary calculations in the parsing stage

ACTIONuse Decimal type from beancount.core.number instead of floating-point types

CONSEQUENCEFloating-point arithmetic produces rounding errors that accumulate in financial calculations, leading to incorrect account balances and audit failures

FATALdomain_rulefinance-C-002

WHENWhen parsing directives from Beancount source files

ACTIONrequire every directive to have a valid date field as primary identifier

CONSEQUENCEDirectives without dates cannot be temporally ordered, causing incorrect balance calculations and non-deterministic transaction sequencing

FATALdomain_rulefinance-C-003

WHENWhen encoding Beancount source files for parsing

ACTIONuse UTF-8 encoding exclusively for each input files

CONSEQUENCENon-UTF-8 encoded files cause character decoding errors, preventing valid entries from being parsed and resulting in lost transaction data

常见问题

讨论 (0)

暂无讨论,成为第一个发言的人吧!

更新历史

v0.1.02026-04-23·贡献者: tangweigang-jpg

v0.1.0: 首次发布到 Doramagic.ai。基于 tangweigang-jpg/doramagic-skills 的自动化 batch-v1 元数据 + 自动生成 FAQ。