financial-report-generator
安装方式
先用 Prompt 核对来源与依赖。也可下载安装包。
用 AI 助手安装
复制提示词,让助手先核对固定版本和依赖。
查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "financial-report-generator":https://skillpi.com/zh/skills/deepskill-a120cc3a71e5db7e865a3a69e24adaf70bc815c91926955bf9b3d96a56c656fa。安装前核对上游来源和版本:https://skillhub.cn/skills/user_6723fe8d/ssssaaa3459102。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。
来源与配置
skillhub.cn
配置方式待核实
请查看原始来源中的适用工具、依赖和权限要求。
安装实测待补充
根据用户上传的财务数据文件(Excel、CSV)生成专业财务与商业分析报告的技能。适用于数据分析与统计、生成图表与可视化、创建面向管理层的Word报告、月度/季度商业分析及财务绩效报告;可读取数据、执行智能分析、生成图表并输出格式规范、适合高管阅读的Word文档。
介绍来源: third_party · user_6723fe8d · 1.0.0 参考来源
SkillPi 解读
- 能完成的任务
- 翻译待完成,请参阅来源文档。
- 实测状态
- 未测试
文件浏览
Frontmatter
name: financial-report-generator
description: "Generate professional financial and business analysis reports from Excel/CSV data. Use when users upload financial data files (Excel, CSV) and request: (1) data analysis and statistical analysis, (2) generating charts and visualizations, (3) creating professional Word reports for management, (4) monthly/quarterly business analysis reports, (5) financial performance reports. The skill reads data, performs intelligent analysis, generates appropriate charts, and outputs formatted Word documents suitable for executives."Financial Report Generator
Overview
This skill enables the creation of professional financial and business analysis reports from raw data files. It transforms Excel/CSV data into executive-ready Word documents with intelligent analysis, appropriate charts, and structured insights.
When to use this skill:
- User uploads Excel/CSV files with financial or business data
- User requests data analysis and visualization
- User needs professional reports for management/executives
- User wants monthly/quarterly business analysis reports
- User mentions "financial report", "business analysis", "management report"
Core Workflow
Follow this sequential workflow when generating reports:
1. Data Intake & Analysis
- Read and parse Excel/CSV files
- Perform statistical analysis (trends, comparisons, ratios)
- Identify key metrics and patterns
- See scripts/analyze_data.py for analysis utilities
2. Chart Generation
- Select appropriate chart types based on data characteristics
- Generate charts using Python (matplotlib/seaborn)
- Save charts as images for embedding in Word
- See scripts/generate_charts.py for chart generation
- See references/chart_guide.md for chart selection criteria
3. Report Structure & Content
- Follow the standard report structure from references/report_structure.md
- Include: Executive Summary, Key Metrics, Trend Analysis, Insights & Recommendations
- Use professional formatting and clear data visualization
4. Word Document Generation
- Use the docx-js library to create formatted Word documents
- Apply consistent styling and branding
- Embed charts and tables appropriately
- See scripts/create_report.py for document generation
- Reference the report template at assets/report_template.docx
Quick Reference
| Task | Approach | Script/Reference |
|---|---|---|
| Read Excel/CSV | Use pandas to parse data | scripts/analyze_data.py |
| Generate charts | Match chart type to data | scripts/generate_charts.py, references/chart_guide.md |
| Create report structure | Follow standard template | references/report_structure.md |
| Generate Word doc | Use docx-js library | scripts/create_report.py |
Report Structure Guidelines
All reports should follow this professional structure:
1. Executive Summary (执行摘要)
- Key findings and insights
- Critical metrics and trends
- Strategic recommendations
2. Business Overview (经营概况)
- Revenue and growth metrics
- Market position and competitive landscape
- Industry context and benchmarks
3. Financial Analysis (财务分析)
- Revenue analysis by segment/product
- Cost structure and profitability
- Key financial ratios and indicators
- Month-over-month and year-over-year comparisons
4. Key Performance Indicators (关键指标)
- Market share and growth rates
- Customer acquisition and retention
- Operational efficiency metrics
5. Insights & Recommendations (专业建议)
- Strategic opportunities
- Risk factors and mitigation
- Actionable recommendations for management
For detailed structure and examples, see references/report_structure.md.
Chart Selection Guide
Choose chart types based on data characteristics:
| Data Type | Recommended Chart | When to Use |
|---|---|---|
| Time series/trends | Line chart | Showing trends over time |
| Comparisons | Bar/Column chart | Comparing categories or periods |
| Composition | Pie/Doughnut chart | Showing parts of a whole |
| Relationships | Scatter plot | Correlation between variables |
| Distribution | Histogram | Frequency distribution |
| Multi-dimensional | Stacked bar/area chart | Multiple data series |
For detailed guidance, see references/chart_guide.md.
Technical Implementation
Data Analysis
Use Python with pandas for data processing:
import pandas as pd
# Read Excel file
df = pd.read_excel('data.xlsx', sheet_name='Sheet1')
# Basic statistics
summary = df.describe()
# Time series analysis
monthly_trend = df.groupby('Month')[['Revenue', 'Profit']].sum()
# Calculate ratios
df['Profit_Margin'] = df['Profit'] / df['Revenue'] * 100
For advanced analysis functions, see scripts/analyze_data.py.
Chart Generation
Generate charts using matplotlib and save as PNG for Word embedding:
import matplotlib.pyplot as plt
import seaborn as sns
# Line chart for trends
plt.figure(figsize=(10, 6))
plt.plot(df['Month'], df['Revenue'])
plt.title('Monthly Revenue Trend')
plt.savefig('revenue_trend.png', dpi=300, bbox_inches='tight')
For chart generation utilities, see scripts/generate_charts.py.
Word Document Creation
Use docx-js (Node.js) to create formatted Word documents:
const { Document, Packer, Paragraph, TextRun, Table, ImageRun } = require('docx');
// Create document with professional formatting
const doc = new Document({
sections: [{
children: [
new Paragraph({
text: 'Monthly Business Analysis Report',
heading: HeadingLevel.HEADING_1
}),
// Add content, tables, and images
]
}]
});
// Save document
Packer.toBuffer(doc).then(buffer => {
fs.writeFileSync('report.docx', buffer);
});
For document generation utilities, see scripts/create_report.py.
Examples
Example 1: Monthly Business Analysis Report
User request: "我上传了公司2024年5月的经营数据(Excel文件),帮我生成一份给老板看的月度经营分析报告。"
Skill workflow:
- Read Excel file with revenue, cost, profit data by department
- Calculate key metrics: total revenue, profit margin, YoY growth
- Generate charts: revenue trend (line), cost breakdown (pie), profit by department (bar)
- Structure report: Executive Summary → Business Overview → Financial Analysis → KPIs → Recommendations
- Generate Word document with professional formatting and embedded charts
Example 2: Financial Performance Report
User request: "基于这份财务年报,生成一份专业的财务分析报告,包括盈利能力、偿债能力和运营效率分析。"
Skill workflow:
- Parse financial statements from the annual report
- Calculate financial ratios: ROE, ROA, current ratio, asset turnover
- Generate charts: ratio trends, comparative analysis
- Structure report with financial analysis focus
- Output Word document with detailed financial insights
Resources
This skill includes the following resources:
scripts/
analyze_data.py- Data analysis and statistical utilitiesgenerate_charts.py- Chart generation with matplotlibcreate_report.py- Word document creation utilities
references/
report_structure.md- Detailed report structure and formatting guidelineschart_guide.md- Chart selection criteria and best practicesfinancial_metrics.md- Common financial metrics and calculations
assets/
report_template.docx- Word document template with professional formatting
当前收录版本
1.0.0
质量评测
满分100 · 来自 SkillPi LAB 实验室的评测报告。
亮点
- 解决财务数据分析与报告生成的明确需求
- 属于通用工具,受众广泛,实用性强
亮点
- 触发词覆盖多种变体(Excel/CSV、数据分析、图表、Word报告、月度/季度报告、财务绩效等)
- 边界清晰
亮点
- Phase/步骤清晰(Data Intake & Analysis, Chart Generation, Report Structure & Content, Word Document Generation)
- 有出口条件,含端到端示例,frontmatter完整,单文件≤500行
亮点
- 工具来源明确(pandas, matplotlib, seaborn, docx-js)
- 参数正确,覆盖主要异常(如文件读取、数据处理、图表生成、文档创建)
- 不可逆操作有确认机制(如保存文件)
取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。
正文静态检测
100 / 100 · skillpi-20261123-no-r3-v1
正文未命中当前规则。
分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。
权限与使用前检查
根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。
-
保存或修改文件
先确认输出目录和同名文件是否会被覆盖;重要文件保留备份,优先写入新的输出目录。
主文档提及 · 第 167 行
安全评级与访问范围
safe · 静态证据核验,不代表运行安全保证。
使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。
用户讨论
还没有已核实的点评。