[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M76ZYZRAVWS9X56V3EHND4DK":3,"skill-same:01M76ZYZRAVWS9X56V3EHND4DK":45},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":20,"frontMatter":21,"refName":22,"commitSha":23,"skillDirectory":24,"forksCount":25,"repositoryHtmlUrl":26,"repositoryHomepageUrl":27,"ownerHtmlUrl":28,"ownerBlogUrl":6,"ownerDescription":29,"updatedAt":30,"install":31,"resources":44},"01M76ZYZRAVWS9X56V3EHND4DK","balance-sheet-cn",null,"Lord1Egypt\u002Fawesome-skill-forge","Lord1Egypt","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F99746359?v=4","01M7592YDNT0XK9WJ0T2MQVPDN","Mohamed Mounir Ali AL Keshita","01M75GRFNHC8VZNWEB8DKDE433",3,"MIT","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fclawhub\u002Fb\u002Fbalance-sheet-cn\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"# 资产负债表生成技能\n\n根据财务报表源文件（含利润表、明细表、资产负债表模板）自动生成规范化的资产负债表。\n\n## 技能信息\n\n- **名称**: 资产负债表生成\n- **版本**: 1.0.0\n- **作者**: 小古\n- **适用场景**: 财务做账、报表生成、月度\u002F年度资产负债表编制\n\n## 输入要求\n\n1. **源文件格式**: Excel (.xlsx)\n2. **必需工作表**:\n   - `资产负债表` - 包含格式模板和初始数据\n   - `明细表` - 包含财务明细记录（含 M 列银行账户信息）\n   - `利润表` - 包含利润表数据（含经营利润）\n\n3. **明细表列要求**:\n   - A 列：余额\n   - C 列：分类 1（应收\u002F预收\u002F应付等）\n   - H 列：发生金额\n   - M 列：银行账户名称（招商银行\u002F交通银行等）\n\n## 执行规则\n\n按顺序执行以下 11 条规则：\n\n| 规则 | 说明 | 操作 |\n|------|------|------|\n| 1 | 保留格式 | 保留表格格式、边框、字体、合并单元格；非数字文字保留；EXCEL 公式保留 |\n| 2 | 累计金额→上月余额 | 将 D 列（累计金额）的**数值**（公式计算后的值）复制到 B 列（上月余额） |\n| 3 | 固定资产合计 | C5（本月发生额）= 0 |\n| 4 | 招商银行 | D7（累计金额）= 明细表 M 列\"招商银行\"对应 A 列\"余额\"的总计 |\n| 5 | 交通银行 | D8（累计金额）= 明细表 M 列\"交通银行\"对应 A 列\"余额\"的总计 |\n| 6 | 应收款合计 | C9（本月发生额）= 明细表 C 列\"应收\"对应 H 列\"发生金额\"的总计 |\n| 7 | 预收款 | C11（本月发生额）= 明细表 C 列\"预收\"对应 H 列\"发生金额\"的总计 |\n| 8 | 应付款 | C12（本月发生额）= 明细表 C 列\"应付\"对应 H 列\"发生金额\"的总计 |\n| 9 | 当年利润 | C14（本月发生额）= 利润表 B 列\"经营利润\"对应 E 列数值 |\n| 10 | 未分配利润 | C15（本月发生额）= 0 |\n| 11 | 公式计算 | 有计算公式的单元格采用公式计算 |\n\n## 使用方法\n\n### 命令行方式\n\n```bash\ncd ~\u002F.openclaw\u002Fworkspace\u002Fskills\u002F资产负债表\npython3 scripts\u002Fgenerate_balance_sheet.py \u003C源文件路径> [输出文件路径]\n```\n\n### Python 调用方式\n\n```python\nfrom scripts.balance_sheet_generator import BalanceSheetGenerator\n\ngenerator = BalanceSheetGenerator('财务报表 202511-t.xlsx')\ngenerator.generate('资产负债表.xlsx')\n```\n\n### OpenClaw 对话方式\n\n1. 上传财务报表文件到 workspace\n2. 说：\"生成资产负债表\"\n3. 技能自动读取最新文件并生成\n\n## 输出文件\n\n- **文件名**: `资产负债表.xlsx`\n- **位置**: workspace 根目录\n- **格式**: 与源文件资产负债表工作表格式一致\n- **内容**: 应用 11 条规则后的数据\n\n## 注意事项\n\n1. **规则执行顺序**: 必须按 1→2→3→...→11 顺序执行，特别是规则 2 在规则 4-5 之前\n2. **M 列银行数据**: 明细表 M 列可能有多个银行账户记录，需要求和\n3. **公式保留**: C 列的公式（如 C4=D4-B4, C7=D7-B7 等）必须保留\n4. **数值精度**: 金额保留 2 位小数\n5. **格式完整**: 边框、字体、合并单元格、列宽、行高全部保留\n\n## 文件结构\n\n```\n资产负债表\u002F\n├── SKILL.md                 # 技能说明文档（本文件）\n├── scripts\u002F\n│   ├── generate_balance_sheet.py   # 命令行入口\n│   └── balance_sheet_generator.py  # 核心生成逻辑\n└── references\u002F\n    └── rules.md             # 规则详细说明\n```\n\n## 示例\n\n### 源文件数据\n- 招商银行 M 列余额：27,780.68 + 201,062.35 = 228,843.03\n- 交通银行 M 列余额：78,128.70\n- 应收发生金额总计：200,000\n- 预收发生金额总计：201,736\n- 经营利润：29,583.54\n\n### 生成结果\n| 科目 | 上月余额 | 本月发生额 | 累计金额 |\n|------|---------|-----------|---------|\n| 招商银行 | 258,498.64 | =D7-B7 | 228,843.03 |\n| 交通银行（公） | 17,153.55 | =D8-B8 | 78,128.70 |\n| 应收款合计 | 1,685,000 | 200,000 | =B9+C9 |\n| 预收款 | 689,872.40 | 201,736 | =B11+C11 |\n| 当年利润 | 557,069.52 | 29,583.54 | =B14+C14 |\n\n## 更新日志\n\n- **v1.0.0** (2026-03-28): 初始版本，实现 11 条规则\n",{},"master","4aa004da461d820f4ea5499e58eb8d196cf99016","community\u002Fclawhub\u002Fb\u002Fbalance-sheet-cn",0,"https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge","https:\u002F\u002Fskill-explorer-rho.vercel.app","https:\u002F\u002Fgithub.com\u002FLord1Egypt","Unbreakable. Unstoppable. Unmatched⚡.\r\n Speaker of machine tongues 🤖  | World-builder of decentralized dreams 🌐 | Defender of the digital realm🛡️.","2026-06-10 08:21:01",{"source":7,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add Lord1Egypt\u002Fawesome-skill-forge --skill balance-sheet-cn",{"tool":37,"command":38},"bunx","bunx skills add Lord1Egypt\u002Fawesome-skill-forge --skill balance-sheet-cn",{"tool":40,"command":41},"pnpm","pnpm dlx skills add Lord1Egypt\u002Fawesome-skill-forge --skill balance-sheet-cn","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fclawhub\u002Fb\u002Fbalance-sheet-cn\u002FSKILL.md",true,[],[46,54,61,68,75,82],{"skillNo":47,"name":48,"nameZh":6,"description":49,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":50,"categories":51,"keywords":52,"publishedAt":53},"01M785WKJB99G3STR1NF9NRTJW","youtube-content","YouTube transcripts to summaries, threads, blogs.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fyoutube-content\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":55,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":53},"01M785WEFHB0G2S9YA6EPR3H0E","xurl","X\u002FTwitter via xurl CLI: post, search, DM, media, v2 API.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fxurl\u002FSKILL.md",[],[],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":53},"01M785W98EDN4EFJXJPMQEHCRC","touchdesigner-mcp","Control a running TouchDesigner instance via twozero MCP — create operators, set parameters, wire connections, execute Python, build real-time visuals. 36 native tools.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftouchdesigner-mcp\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":53},"01M785W5S9FP3QBH2V191E025P","test-driven-development","TDD: enforce RED-GREEN-REFACTOR, tests before code.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftest-driven-development\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":53},"01M785W2AS08NSSH9YATCV6FJB","teams-meeting-pipeline","Operate the Teams meeting summary pipeline via Hermes CLI — summarize meetings, inspect pipeline status, replay jobs, manage Microsoft Graph subscriptions.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fteams-meeting-pipeline\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":53},"01M785VXKW4T34BTP1SCHW1R7F","systematic-debugging","4-phase root cause debugging: understand bugs before fixing.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fsystematic-debugging\u002FSKILL.md",[],[]]