tax-selfcheck-demo

Corporate tax-and-finance self-check report generator (demo). Accepts company financial statements (balance sheet, income statement, trial balance) and optional detailed ledgers/invoices/payroll, parses them automatically, and produces an internal-use HTML tax-and-finance self-check report focused on risk identification, Golden Tax Phase IV indicator mapping, cross-data validation, and actionable remediation steps. Activated when users explicitly request tax/finance self-checks or risk assessments.

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 "tax-selfcheck-demo" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-6205fa1e39e5446147899d363e8c5e056ec0288ac5171183d9a9b91775aa2ed2. Verify the upstream source and version against https://skillhub.cn/skills/user_a29ae75e/selfcheck-f 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

Corporate tax-and-finance self-check report generator (demo). Accepts company financial statements (balance sheet, income statement, trial balance) and optional detailed ledgers/invoices/payroll, parses them automatically, and produces an internal-use HTML tax-and-finance self-check report focused on risk identification, Golden Tax Phase IV indicator mapping, cross-data validation, and actionable remediation steps. Activated when users explicitly request tax/finance self-checks or risk assessments.

0 Downloads

Introduction source: third_party · user_a29ae75e · 1.1.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Inputs and outputs
Translation pending; see source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: tax-selfcheck-demo
version: 1.1.0
description: |
  企业财税自查风险文档生成器(演示版)。接收企业财务报表(资产负债表、利润表、科目余额表)
  及可选明细账/发票/工资表,自动解析并生成一份「面向企业自身内部使用」的财税风险自查报告 HTML,
  而非对外的销售提案。报告聚焦风险识别、金税四期指标映射、数据交叉验证与可落地的自查整改路径。
  触发场景:用户提供财务报表并要求做「财税自查」「风险自评」「内部合规体检」「风险扫描」时激活。
  典型触发语:"帮我做个财税自查"、"公司财务风险自查"、"出一份内部风险体检"、"税务风险自评"、"财税自查报告"、"税务自查报告"。
  注意:触发语须带「财税/税务」领域限定,避免「消防自查」「安全自查」等非财税请求误触发。
  说明:本技能为 tax-compliance-report-generator 的演示版本,已移除报价/品牌背书/年费对比/
  服务理念/升级前后对比/结语等销售与收尾模块,仅保留诊断、映射与整改内容,定位为「企业自我体检工具」。
agent_created: true
disable: false

企业财税自查风险文档生成器(演示版)

概述

此技能接收企业财务报表(资产负债表、利润表、科目余额表)及可选扩展数据源(明细账、发票、银行日记账、算薪表), 自动提取关键数据并生成一份面向企业内部自查的财税风险体检 HTML 文档。

与原 tax-compliance-report-generator(销售提案版)的核心区别:

  • 不含任何报价、品牌背书、年费 vs 风险对比、服务理念、升级前后对比、结语等销售/收尾模块
  • 所有页面围绕「企业自己看风险、自己列整改」展开,话术从「买我们的服务」改为「建议您这样自查整改」
  • 输出定位为内部风险台账 / 自查底稿,可打印归档、可分发财务负责人

输入要求

  1. 财务报表(资产负债表 + 利润表):.xls / .xlsx,至少含两个期间(按表内「期间末日期」自动识别多期,取最近两期作为 A/B 对比;仅一期时将告警且对比列失真,建议至少两期)
  2. 科目余额表:含明细科目与往来方信息
  3. 扩展数据源(可选,触发深度模块):明细账、进销项发票、算薪/社保表
  4. 脱敏要求(强制):见下方「数据脱敏规则」

数据脱敏规则(强制 · 财税红线)

财税数据含高度敏感信息,本技能默认处理已脱敏数据。执行前与执行中必须落实:

  1. 输入脱敏:纳税人识别号、企业全称、法定代表人、员工姓名、身份证号、银行账号、客户/供应商全称 在进入分析前必须脱敏(保留可识别的「员工11」「公司129」等占位,不保留实名)。
  2. 过程脱敏:报告中所有个人/企业实名一律以脱敏占位呈现;不展示原证件编号。
  3. 输出标注:报告封面与每页必须保留「数据脱敏归档 / 内部自查文件 · 非销售提案」字样。
  4. 归档建议:建议另附「脱敏映射对照表」仅在内部归档时还原实名,便于向主管税务机关自证, 但该对照表不进入报告本体。
  5. 禁止外传:报告仅限企业内部自查使用,不含任何可向第三方披露的原始敏感字段。

若用户提供的是未脱敏原始数据,必须先提示用户脱敏,或在本地脱敏后再分析; 不得在报告中直接渲染真实税号/姓名/账号。

工作流程(一键两段式)

Step 1: 数据提取(脚本自动)

使用 scripts/extract_finance_data.py 从数据目录自动识别并提取:

python scripts/extract_finance_data.py <数据目录> -o data.json \
  --company "贵公司(纳税人名称已脱敏)" \
  --period-a 2025-12-31 --period-b 2026-03-31 --report-date 2026-07-24
# 注:上述 --period-a/--period-b/--report-date 为示例值,请替换为实际期间;
#     若文件表内已含期间末日期,可省略这两个参数由脚本自动推断。
  • 按文件名关键字自动发现「财务报表 / 科目余额表 / 明细账 / 进项发票 / 销项 / 工资表」
  • 支持多期(取最近两期作为 A/B 对比)
  • 显式覆盖:--financial --account --ledger --input --output-inv --payroll + --company/--period-a/--period-b/--report-date
  • 输出固定 JSON Schema(详见 references/data_schema.md)
  • 失败分支(强制):若提取结果为空、科目余额行=0、期间数=0 或核心指标(资产总计/负债合计)为 0,必须中止流程并向用户告警,禁止基于空/异常数据继续生成报告;脚本已对文件缺失/零工作表/表头缺失等情况以非零退出码报错。

Step 2: 报告生成(脚本自动)

使用 scripts/generate_report.py 渲染 17 页交互式 HTML:

python scripts/generate_report.py data.json -o 财税自查风险报告.html
  • 读取 Step 1 的 JSON,缺失模块自动降级为「数据待补充」,不抛异常
  • 高风险/中风险数量由数据动态计算,非硬编码
  • 派生指标(资不抵债、视同分红敞口、税负率、覆盖率等)全部由数据驱动

Step 3: 自查结论(人工复核)

基于 17 页报告,财务负责人/老板逐页核对风险信号与整改动作,30 日内闭环。

17 页标准结构

页 标题 核心内容
1 封面 企业名称 + 财税自查风险报告 + 内部自查标注 + 风险概览
2 金税四期监管背景 以票管税→以数治税、37项指标、跨部门打通
3 三大风险信号 + 案例预热 信号表 + 脱敏真实案例(5要素)
4 详细案例展开 完整案例表 + 行业参照 + 核心启示
5 自查主体画像 KPI 卡 + 财务主体画像
6 资质与近期动态 动态时间线 + 资质/纳税信用
7 财务健康体检 ≥10 行 × 2 期间对比表 + 核心发现
8 科目深度拆解 其他应收/应付、员工借款穿透
9 明细账深度扫描 大额流向 + 公私往来 + 180天挂账
10 发票多维度分析 进项分类 + 客户集中度 + 税负率双口径
11 交叉验证 报表 vs 科目余额表 + 发票 vs 回款
12 高风险识别 动态高风险卡片(数据驱动)
13 指标映射 + 中风险 中风险卡片 + 金税四期 ≥6 项指标映射
14 自查整改路径 分模块 before→after + 整改动作
15 关联交易警示 无息借款/视同销售/视同分红
16 四流合一自查清单 合同/发票/资金/货(服务)流逐条核对
17 合规要求对照表 ≥5 项监管重点 × 企业现状 × 自查状态 + 结论小结

完整字段与渲染要求见 references/report_structure.md;JSON 契约见 references/data_schema.md。

设计原则(继承版)

  1. 数据驱动:每个风险绑定具体数字/名称(金额到元、人名脱敏占位、供应商脱敏占位)
  2. 整改可落地:每个风险/模块以「✅ 自查整改动作」收尾
  3. 量化自评:保留潜在损失估算,定位为「内部风险敞口评估」
  4. 锚点密度:每页 ≥3-5 个企业专属数据锚点
  5. 禁止 R 编码:风险描述转写为自然语言(R 编码指 R1/R2/R3 等代号式风险标记,如「R1 视同分红」「R2 虚开发票」;本报告一律用「视同分红风险」「虚开/未结转成本风险」等自然语言表述,不使用编号代号)
  6. 内容红线:不得出现报价金额、品牌对比、「年费 vs 风险」、服务商交付承诺
  7. 数据脱敏红线:详见上文「数据脱敏规则」(强制)

内容深度检查清单

  • [ ] 财务体检表 ≥10 行 × ≥2 期间,带风险等级色标
  • [ ] 往来方明细 ≥3 条(脱敏名称+金额+占比+关系)
  • [ ] 金税四期指标映射 ≥6 项(含客户具体数据,非空值)
  • [ ] 风险项 ≥5(高≥2,中≥3),数量由数据动态得出
  • [ ] 自查整改路径页:每个模块含 ≥1 条企业可执行整改动作(无「服务商交付」表述)
  • [ ] 四流合一自查清单:4 类流逐条核对
  • [ ] 合规要求对照表:≥5 项自查对照
  • [ ] 全文件标注「内部自查 · 非销售提案 · 数据脱敏归档」
  • [ ] 高风险/中风险数量与封面一致(动态计算)
  • [ ] 缺失模块显示「数据待补充」而非报错或空白
  • [ ] ❌ 无报价/品牌/年费对比/服务理念/结语 等销售模块
  • [ ] ❌ 无真实税号/姓名/银行账号等未脱敏字段

反模式检查

  • 禁止出现报价(¥10,800 / ¥15,800 等)
  • 禁止品牌背书、服务商资质推广
  • 禁止「年费 vs 潜在风险」对比页
  • 禁止「升级前 vs 升级后」「服务理念」「结语」等销售收尾
  • 禁止「服务商交付」「每月输出」等交付承诺表述
  • 禁止 R 编码、空中结论、模板占位符
  • 禁止在报告中渲染未脱敏的真实敏感字段

Current listing version

1.1.0

Verify the source revision ↗

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value92/100

Highlights

  • 解决企业财税合规自查的实际痛点,具有明确的高频刚需属性
  • 提供端到端的财税风险识别与整改路径,实用价值高
Trigger Precision95/100

Highlights

  • 触发语明确包含「财税/税务」领域限定,边界清晰
  • 覆盖多种变体,能有效避免非财税请求误触发
Structure and Standards78/100

Areas to improve

  • 缺少 When to Use 显式章节 Reported severity: Minor

    文档结构良好,但未显式设置 When to Use 章节

    Recommendation: 建议增加 When to Use 显式章节,提升用户理解

  • 文档过长 Reported severity: Minor

    文档内容超过500行,影响阅读体验

    Recommendation: 建议适当精简或拆分文档,提升可读性

Highlights

  • Phase/步骤清晰,有明确的输入输出说明
  • 包含端到端示例,frontmatter完整
Execution Reliability90/100

Highlights

  • 工具来源明确,参数说明清晰
  • 覆盖主要异常,有明确的失败分支处理机制
  • 数据脱敏要求严格,符合财税合规红线
Evidence Verifiability (mean of the first four)89/100

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.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.