diagnose-enterprise-finance
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "diagnose-enterprise-finance" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-a162baf1170346972a55716da388d40039ab4df5ab3f41b60483db5a837ec594. Verify the upstream source and version against https://skillhub.cn/skills/user_6113fd9f/diagnose-enterprise-finance before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Enterprise finance and operational management diagnostic skill. Used to analyze profitability quality, cash flow, growth, operating efficiency, solvency and financial leverage, ROE and three-/five-factor DuPont analysis, and to benchmark on a like-for-like basis with peers; identifies concentration risks (single product/customer/channel/supplier), high leverage, cash-flow divergence and other risks. Intended for financial health checks, due-diligence financial analysis, peer comparisons and risk identification when users provide financial statements, audit reports, management reports or Excel/CSV/JSON ledgers. Not for valuation, buy/sell or allocation advice, audit opinions, or determinations of fraud.
Introduction source: third_party · user_6113fd9f · 0.2.0 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Audience
- Not specified in the source documentation.
- Inputs and outputs
- Not specified in the source documentation.
- Software, accounts and paid services
- Not specified in the source documentation.
- Limits and differences
- Not specified in the source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: diagnose-enterprise-finance
description: 企业财务与经营管理诊断
Skill。用于分析企业盈利质量、现金流、成长性、营运效率、偿债与财务杠杆、ROE及三/五因素杜邦,并与同行同口径对标;识别单一产品、客户、渠道、供应商依赖及高杠杆、现金流背离等风险。当用户提供财务报表、审计报告、管理报表、Excel/CSV/JSON台账,或提出企业财务体检、经营财务诊断、尽调财务分析、同行比较、杜邦分析、集中度风险、客户/供应商依赖、财务风险预警时使用。不用于估值、买卖建议、仓位建议、审计意见或舞弊定性。出品方:博维管理咨询(广州)有限公司(www.moways.com.cn),联系邮箱:wanchao_liu@moways.com.sg。
title: 企业财务分析与诊断
version: 0.2.1
agent_created: true
tags:
- finance
- financial-diagnosis
- due-diligence
- dupont
- peer-comparison
- concentration-risk
- enterprise-management
trigger:
- 企业财务诊断
- 财务体检
- 经营财务诊断
- 尽调财务分析
- 同行比较
- 杜邦分析
- 集中度风险
- 客户依赖
- 供应商依赖
- 财务风险预警
author: ChatGPT export (adapted to WorkBuddy)企业财务与经营管理诊断
目标
把企业财务数据转换为可复算、可对标、可追溯的诊断结论。只评价财务状况及能被财务数据观察到的经营管理能力,不扩展为估值、投资建议、审计鉴证或对管理层动机的推断。
硬规则
- 先固定主体、报表范围、期间、币种单位、含税口径、净利润归属和平均余额口径;口径未统一时停止比较。
- 原始值、调整值、计算值分层保存。调整值必须记录理由;不得用模型手算覆盖脚本结果。
- 运行
scripts/finance_diagnosis.py复算指标、同行位置和风险规则。存在ERROR时不得交付。 - 缺数不等于低风险。核心字段缺失时输出
INSUFFICIENT_DATA或*_WITH_GAPS,并列出受影响模块。 - P0 为硬闸门。任何 P0 不得被其他良好指标、平均分或行业排名抵消。
- 同行比较必须同期、同币种单位、同报表范围、同指标公式。少于 3 家可比企业时只列差距,不下稳定排名结论。
- 集中度至少同时报告 Top1、Top5 和 HHI;无采购总额、收入或分项明细时不得推定依赖程度。
- 财务相关性不得写成经营因果。把“可能原因”和“需要补充的管理证据”分开列示。
- 每项外部事实带来源;企业内部数据用脱敏主体名称。未经授权不得上传或对外暴露原始财务数据。
- 阈值是诊断起点,不是跨行业真理。行业、商业模式、生命周期和会计政策不同时,先调整参数并说明依据。
标准流程
1. 建立数据合同
读取 references/data-contract.md。从财务报表、审计报告、管理报表和业务台账提取数据,统一到标准 JSON。
最少确认:
- 分析主体与报表范围;
- 2–5 个连续期间;
- 币种和单位;
- 目标企业及 3 家以上同行;
- 产品、客户、渠道、供应商明细的分母口径;
- 每项数据的来源文件、页码/工作表、发布日期或内部取数日期。
若输入为 Excel、CSV 或 PDF,先用输入适配器 scripts/extract_to_json.py 提取并生成标准 JSON;保留字段映射,不直接在原文件上改数。
- 没有现成标准 JSON 时,先生成可填模板并填写:
python scripts/extract_to_json.py --make-template template.xlsx - 把台账/报表转为标准 JSON:
python scripts/extract_to_json.py template.xlsx --output-json input.json [--notes notes.md] - 适配器支持三类布局:模板式(多工作表 Excel)、台账式(实体/期间/科目/数值一行一指标)、科目表式(科目列+期间列);PDF 为尽力提取,需人工复核数值与口径。详见
references/data-contract.md与 README。
2. 运行确定性分析
执行:
python scripts/finance_diagnosis.py input.json --output-json result.json --output-md result.md
退出码:
0:无ERROR,允许进入解释环节;1:存在ERROR,停止交付并修正数据;2:命令或文件错误。
先检查 data_quality、issues 和 overall_status,再解释指标。
3. 按六个模块判断
读取 references/metric-dictionary.md,依次判断:
- 盈利质量:收入、毛利、营业利润、净利润及期间费用;
- 现金流质量:经营现金流、自由现金流、利润含现量;
- 成长性:收入、利润、现金流的同比与 CAGR,以及增长是否依赖应收、存货或杠杆;
- 资本效率:ROA、ROE、ROIC、总资产周转率及三/五因素杜邦;
- 偿债与杠杆:流动性、债务负担、利息保障和短债覆盖;
- 经营集中度:产品、客户、渠道、供应商 Top1/Top5/HHI。
每个模块输出“现状—趋势—同行位置—风险—待核管理证据”,不要只罗列比率。
4. 应用风险规则
读取 references/risk-rules.md:
- P0:可能影响持续经营、流动性或结论可靠性的硬风险;
- P1:需要管理层解释和整改计划的重要风险;
- P2:趋势性弱点或效率改善机会。
风险结论必须包含:规则编号、触发数据、阈值、期间、同行参照、影响、需补证据。不得把未触发写成“绝对安全”。
5. 形成同行判断
对脚本输出的同行中位数、差距和方向性百分位进行解释:
- 同期可比企业少于 3 家:标记“同行样本不足”;
- 与中位数差异小于参数带宽:写“接近同行中位数”;
- 高 ROE 同时伴随高权益乘数、低现金转化或低利息保障:优先判断 ROE 质量,不把高 ROE 直接写成优势;
- 行业插件指标按
references/industry-plugins.md追加,不与通用指标重复计分。
6. 交付诊断报告
读取 references/report-template.md,按以下顺序交付:
- 证据状态与口径;
- 一页式结论;
- P0/P1 风险;
- 六模块诊断;
- 杜邦驱动;
- 同行对标;
- 集中度风险;
- 数据缺口与管理验证问题;
- 附录:指标、公式、参数和来源。
报告中区分:
- 【实证】:来源明确且口径核验通过;
- 【估算】:写明基础数据、方法和假设;
- 【未核实】:缺少一手资料或口径无法统一;
- 【常识】:只用于原则,不替代企业事实。
资源导航
references/data-contract.md:输入字段、口径和 JSON 结构;每次分析必读。references/indicator-catalog.md:核心指标、公式和解释边界;解释指标时读取。references/dictionary-overview.md:完整指标字典总览与说明(含使用说明、版本检查、来源索引)。references/metric-dictionary.md:通用指标总表(103 项,按 M0–M8 模块组织,含口径、公式、预警与证据等级)。references/field-dictionary.md:数据字段字典(70 个核心字段,含类型、单位、口径、来源、脱敏要求)。references/risk-rules.md:P0/P1/P2 规则与阈值纪律;输出风险时读取。references/conclusion-logic.md:组合结论逻辑(18 条,多指标共同支持,禁止单指标定性)。references/industry-plugins.md:行业插件(23 项,覆盖 SaaS、制造、零售、项目制、分销贸易)。references/parameters.md:参数字典(29 个,含初值、调整规则与口径边界)。references/report-template.md:标准交付结构与结论句式。references/evidence-boundaries.md:证据等级、保密、审计与投资边界。references/method-sources.md:方法灵感、公开来源及使用边界。assets/sample_input.json:可直接运行的脱敏样例。scripts/finance_diagnosis.py:确定性复算引擎(指标、杜邦、同行、风险、报告)。scripts/extract_to_json.py:输入适配器,把 Excel/CSV/PDF 提取为标准 JSON(含--make-template)。requirements.txt:可选依赖(openpyxl 必选、pdfminer.six 仅 PDF 可选);诊断脚本本身仅用标准库。
交付前检查
- [ ] 主体、期间、币种、单位、报表范围和归属口径已固定。
- [ ] 原始值、调整值、计算值可以追溯。
- [ ] 脚本退出码为 0,且全部 WARNING 已进入数据缺口。
- [ ] P0 已单列,未被平均分抵消。
- [ ] 同行样本数量、期间和公式可比性已说明。
- [ ] 集中度分母与明细合计已勾稽。
- [ ] 杜邦乘积与 ROE 已勾稽,高 ROE 的杠杆与现金质量已复核。
- [ ] 缺数未被写成低风险,因果判断未超过证据。
- [ ] 报告不包含估值、买卖、仓位或审计鉴证结论。
Current listing version
0.2.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 覆盖企业财务诊断核心场景,包括盈利质量、现金流、杜邦分析、同行对标、集中度风险等
- 适用于尽调、财务体检、经营诊断等高频刚需场景,实用价值高
Highlights
- 触发词精准覆盖财务诊断、杜邦分析、集中度风险等核心功能,边界清晰无歧义
Areas to improve
-
description写错位置 Reported severity: Minor
description 内容出现在 skill_body 内部的 frontmatter 中,而非顶层 description 字段
Recommendation: 建议将 description 内容统一放置在顶层 description 字段,避免重复和错位
Highlights
- 结构完整,包含目标、硬规则、六步标准流程、资源导航和交付前检查清单
- 流程分阶段清晰,有明确的出口条件和门控机制
Highlights
- 依赖脚本来源明确,参数与口径管理严格,异常处理机制健全
- 具备 ERROR 阻断、缺数标记、同行样本量限制等可靠性保障
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Not specified in the source documentation.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.