[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M73FD9027BCXTAYS39VFHSZB":3,"skill-same:01M73FD9027BCXTAYS39VFHSZB":62},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":40,"commitSha":41,"skillDirectory":42,"forksCount":43,"repositoryHtmlUrl":44,"repositoryHomepageUrl":6,"ownerHtmlUrl":45,"ownerBlogUrl":6,"ownerDescription":46,"updatedAt":47,"install":48,"resources":61},"01M73FD9027BCXTAYS39VFHSZB","double-entry-reconciliation",null,"Double-entry bookkeeping integrity verification","5throck\u002Fai-workspace-standards","5throck","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F10958964?v=4","01M73BFEH0V0VS483TW4JD49JW","01M73BFEJ5VQZJHJSFTVPAZGDM",25,"AGPL-3.0","https:\u002F\u002Fgithub.com\u002F5throck\u002Fai-workspace-standards\u002Fblob\u002Fmain\u002Ftemplates\u002Fco-price\u002F.codex\u002Fskills\u002Fdouble-entry-reconciliation\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"---\nname: double-entry-reconciliation\nscope: co-price\ndescription: Double-entry bookkeeping integrity verification\nversion: 2.0.0\nlast_reviewed: 2026-08-25\nstatus: active\nowner: cpa-auditor\nprerequisites: simulation output with MonthlyData series available\nrelates_to:\n  - skill: i18n-audit\n    type: follows\n  - skill: harness-verification\n    type: composes_with\n  - skill: financial-statement-prep\n    type: composes_with\n  - skill: pricing-playbook\n    type: composes_with\n---\n\n# Skill: Double-Entry Reconciliation\n**Role**: CPA Auditor (`cpa-auditor`)\n**Frequency**: Mandatory on every pull request that modifies `src\u002Flib\u002Fsimulation.ts`\n\n## 1. Description\nThis skill enforces strict double-entry bookkeeping rules across the AIG Simulation Engine. Any changes to the simulation math must adhere to the fundamental accounting equation:\n\n`Assets = Liabilities + Equity`\n\n## 2. Trigger Condition\nThe CPA Auditor must run this skill if the Core Engine Developer modifies any variable or calculation in `src\u002Flib\u002Fsimulation.ts` that affects:\n- `MonthlyData` output\n- `simulate()` loops\n- Income Statement (IS) calculations\n- Balance Sheet (BS) calculations\n- Cash Flow Statement (CF) calculations\n\n## 3. Verification Protocol\n\nThe CPA Auditor will perform the following algorithmic checks on the resulting output of `simulation.ts`:\n\n### 3.1. The Fundamental Equation\nFor every simulated month (`m`):\n```typescript\nconst isBalanced = (m.totalAssets === m.totalLiabilities + m.totalEquity);\nif (!isBalanced) throw new Error(\"Balance sheet does not balance\");\n```\n\n### 3.2. Retained Earnings Roll-Forward\n```typescript\nconst expectedRE = m_prior.retainedEarnings + m_current.netIncome;\nif (m_current.retainedEarnings !== expectedRE) throw new Error(\"Retained Earnings roll-forward failed\");\n```\n\n### 3.3. Cash Flow to Cash Balance Articulation\n```typescript\nconst netChangeInCash = m_current.cfo + m_current.cfi + m_current.cff;\nconst expectedCash = m_prior.cash + netChangeInCash;\nif (m_current.cash !== expectedCash) throw new Error(\"Cash flow does not articulate to Balance Sheet\");\n```\n\n## 4. Execution\nIf the CPA Auditor detects a violation of these rules, they MUST REJECT the code and instruct the Core Engine Developer to fix the math to ensure zero leakage in the financial model.\n## Context\n\nSee [docs\u002Fco-price.context.md](..\u002Fdocs\u002Fco-price.context.md) for project context and the consulting engagement lifecycle.\n\n## When to Use\n\n- When a co-price task requires **Double-entry bookkeeping integrity verification** within the engagement lifecycle.\n\n## Execution Steps\n\n1. **Receive dispatch** from PM with task parameters and document anchors.\n2. **Execute** the skill procedure against the artifacts named in the task scope.\n3. **Report** results to the dispatching agent with evidence links.\n\n## Output Format\n\nStructured markdown report delivered to the dispatching agent, citing document anchors (for example `[Ref: biz_logic.*]`) where applicable.\n\n## Related Skills\n\n- Owner agent: `cpa-auditor`. See `variant.json` skills registry for the full co-price skill set.\n","# Skill: Double-Entry Reconciliation\n**Role**: CPA Auditor (`cpa-auditor`)\n**Frequency**: Mandatory on every pull request that modifies `src\u002Flib\u002Fsimulation.ts`\n\n## 1. Description\nThis skill enforces strict double-entry bookkeeping rules across the AIG Simulation Engine. Any changes to the simulation math must adhere to the fundamental accounting equation:\n\n`Assets = Liabilities + Equity`\n\n## 2. Trigger Condition\nThe CPA Auditor must run this skill if the Core Engine Developer modifies any variable or calculation in `src\u002Flib\u002Fsimulation.ts` that affects:\n- `MonthlyData` output\n- `simulate()` loops\n- Income Statement (IS) calculations\n- Balance Sheet (BS) calculations\n- Cash Flow Statement (CF) calculations\n\n## 3. Verification Protocol\n\nThe CPA Auditor will perform the following algorithmic checks on the resulting output of `simulation.ts`:\n\n### 3.1. The Fundamental Equation\nFor every simulated month (`m`):\n```typescript\nconst isBalanced = (m.totalAssets === m.totalLiabilities + m.totalEquity);\nif (!isBalanced) throw new Error(\"Balance sheet does not balance\");\n```\n\n### 3.2. Retained Earnings Roll-Forward\n```typescript\nconst expectedRE = m_prior.retainedEarnings + m_current.netIncome;\nif (m_current.retainedEarnings !== expectedRE) throw new Error(\"Retained Earnings roll-forward failed\");\n```\n\n### 3.3. Cash Flow to Cash Balance Articulation\n```typescript\nconst netChangeInCash = m_current.cfo + m_current.cfi + m_current.cff;\nconst expectedCash = m_prior.cash + netChangeInCash;\nif (m_current.cash !== expectedCash) throw new Error(\"Cash flow does not articulate to Balance Sheet\");\n```\n\n## 4. Execution\nIf the CPA Auditor detects a violation of these rules, they MUST REJECT the code and instruct the Core Engine Developer to fix the math to ensure zero leakage in the financial model.\n## Context\n\nSee [docs\u002Fco-price.context.md](..\u002Fdocs\u002Fco-price.context.md) for project context and the consulting engagement lifecycle.\n\n## When to Use\n\n- When a co-price task requires **Double-entry bookkeeping integrity verification** within the engagement lifecycle.\n\n## Execution Steps\n\n1. **Receive dispatch** from PM with task parameters and document anchors.\n2. **Execute** the skill procedure against the artifacts named in the task scope.\n3. **Report** results to the dispatching agent with evidence links.\n\n## Output Format\n\nStructured markdown report delivered to the dispatching agent, citing document anchors (for example `[Ref: biz_logic.*]`) where applicable.\n\n## Related Skills\n\n- Owner agent: `cpa-auditor`. See `variant.json` skills registry for the full co-price skill set.\n",{"name":5,"owner":23,"scope":24,"status":25,"version":26,"relates_to":27,"description":7,"last_reviewed":38,"prerequisites":39},"cpa-auditor","co-price","active","2.0.0",[28,31,34,36],{"type":29,"skill":30},"follows","i18n-audit",{"type":32,"skill":33},"composes_with","harness-verification",{"type":32,"skill":35},"financial-statement-prep",{"type":32,"skill":37},"pricing-playbook",1787616000000,"simulation output with MonthlyData series available","main","1162ccc568cf90c01b3886d6143cbfd851a37883","templates\u002Fco-price\u002F.codex\u002Fskills\u002Fdouble-entry-reconciliation",9,"https:\u002F\u002Fgithub.com\u002F5throck\u002Fai-workspace-standards","https:\u002F\u002Fgithub.com\u002F5throck","Experienced in digital transformation, enterprise IT, startup acceleration, and business strategy. Focused on building practical systems that connect technolo","2026-11-14 21:22:34",{"source":8,"skillName":5,"commands":49,"prompt":59,"zipAvailable":60},[50,53,56],{"tool":51,"command":52},"npx","npx skills add 5throck\u002Fai-workspace-standards --skill double-entry-reconciliation",{"tool":54,"command":55},"bunx","bunx skills add 5throck\u002Fai-workspace-standards --skill double-entry-reconciliation",{"tool":57,"command":58},"pnpm","pnpm dlx skills add 5throck\u002Fai-workspace-standards --skill double-entry-reconciliation","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002F5throck\u002Fai-workspace-standards\u002Fblob\u002Fmain\u002Ftemplates\u002Fco-price\u002F.codex\u002Fskills\u002Fdouble-entry-reconciliation\u002FSKILL.md",true,[],[63,71,76,81,86,91],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":70},"01M7BBJDYHJMGTJYSC37JVWY8S","i18n-layout","Text layout and encoding guidance: character encoding (UTF-8, legacy Korean code pages, BOM hazards), line endings, RTL\u002Fbidi handling, and script-specific font selection (Hangul focus). Use when: encoding is corrupted or mojibake appears, an RTL locale must render correctly, fonts must be chosen for a script, or CRLF\u002FBOM issues surface.","https:\u002F\u002Fgithub.com\u002F5throck\u002Fai-workspace-standards\u002Fblob\u002Fmain\u002Ftemplates\u002Fco-work\u002Fskills\u002Fi18n-layout\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":72,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":70},"01M7BBJ9XHAAS1AVGKZZ841VBZ","https:\u002F\u002Fgithub.com\u002F5throck\u002Fai-workspace-standards\u002Fblob\u002Fmain\u002Ftemplates\u002Fco-work\u002F.hermes\u002Fskills\u002Fi18n-layout\u002FSKILL.md",[],[],{"skillNo":77,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":70},"01M7BBJ5C3X8TKFKG5R9P9P49W","https:\u002F\u002Fgithub.com\u002F5throck\u002Fai-workspace-standards\u002Fblob\u002Fmain\u002Ftemplates\u002Fco-work\u002F.gemini\u002Fskills\u002Fi18n-layout\u002FSKILL.md",[],[],{"skillNo":82,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":70},"01M7BBJ1B52X0QMJ2QVBMPJB37","https:\u002F\u002Fgithub.com\u002F5throck\u002Fai-workspace-standards\u002Fblob\u002Fmain\u002Ftemplates\u002Fco-work\u002F.codex\u002Fskills\u002Fi18n-layout\u002FSKILL.md",[],[],{"skillNo":87,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":70},"01M7BBHX91BW2Q2R276MRX5AW3","https:\u002F\u002Fgithub.com\u002F5throck\u002Fai-workspace-standards\u002Fblob\u002Fmain\u002Ftemplates\u002Fco-work\u002F.claude\u002Fskills\u002Fi18n-layout\u002FSKILL.md",[],[],{"skillNo":92,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":70},"01M7BBHQWGXPSFRWN1PRC2NMMV","https:\u002F\u002Fgithub.com\u002F5throck\u002Fai-workspace-standards\u002Fblob\u002Fmain\u002Ftemplates\u002Fco-work\u002F.agents\u002Fskills\u002Fi18n-layout\u002FSKILL.md",[],[]]