Generate weekly key product performance reports by updating Excel templates with product metrics from multiple data sources. Use when the user asks to "generate [date] performance report", "update key product performance for [date]", or "create weekly performance report for [date]". Handles special products (非标驱动 series from PDF審表, 汇利现金宝1号 from overview data) and regular products from performance data files.
This skill automates the generation of weekly key product performance reports (重点产品业绩情况表) by:
When user requests a performance report, extract the target date:
Trigger phrases:
Extract date in format: YYYYMMDD (e.g., 20260115)
Choose between two approaches:
Approach A: Use Python Script (Recommended for complex updates)
scripts/update_performance.py when you need to:
Approach B: Direct Excel Manipulation
Default: Use Approach A unless user specifically requests otherwise.
Before processing, read references/data_mapping.md to understand:
python /Users/fanshengxia/.claude/skills/key-product-performance/scripts/update_performance.py \
--date YYYYMMDD
Monitor output for warnings about missing data
Handle errors:
Note: The current script provides a framework. You will likely need to:
Load template using xlsx skill:
/Users/fanshengxia/Desktop/重点业绩产品/部门重点产品业绩v4_*.xlsxLoad data sources:
/Users/fanshengxia/Desktop/周报V2/数据/产品业绩指标数据/内部产品业绩_{date}.xlsx/Users/fanshengxia/Desktop/周报V2/数据/产品运作概览数据-母子产品/产品运作概览信息表增加指标变化_{date}.xlsxUpdate products by type:
/Users/fanshengxia/Desktop/周报V2/数据/合享发行送审表/Save with preserved formatting:
/Users/fanshengxia/Desktop/重点业绩产品/部门重点产品业绩v4_{date}.xlsxAfter generation:
Data source: 内部产品业绩_{date}.xlsx
Matching: By product code
Fields to update:
Data source: Latest PDF in 合享发行送审表/
Extract from PDF:
到期日 - 成立日 + 1Note: PDF extraction may require pdfplumber or manual review
Product code: 9MX00010
Data source: 产品运作概览信息表增加指标变化_{date}.xlsx
Special handling:
0bpMust preserve:
Only update: Cell values/content
Output format: 部门重点产品业绩v4_{YYYYMMDD}.xlsx
Example: 部门重点产品业绩v4_20260115.xlsx
If data file is missing for target date:
User: "生成2026年1月15日的重点业绩情况表"
Response flow:
20260115✓ 已生成 2026年1月15日的重点产品业绩报告
文件位置: /Users/fanshengxia/Desktop/重点业绩产品/部门重点产品业绩v4_20260115.xlsx
更新情况:
- 常规产品: XX个
- 非标驱动系列: 已从送审表提取
- 汇利现金宝1号: 已使用累计年化数据
The Python script (scripts/update_performance.py) is a framework that needs customization:
Required customizations:
To customize:
update_*_product() methods with actual cell referencesnpx skills add xfs96192/key-product-performance下载完整 Skill 目录,包含 SKILL.md 及所有相关文件
Google Workspace CLI for Gmail, Calendar, Drive, Contacts, Sheets, and Docs.
Manage Apple Notes via the `memo` CLI on macOS (create, view, edit, delete, search, move, and export notes). Use when a user asks OpenClaw to add a note, list notes, search notes, or manage note folders.
Work with Obsidian vaults (plain Markdown notes) and automate via obsidian-cli.
Use when you need to control Slack from OpenClaw via the slack tool, including reacting to messages or pinning/unpinning items in Slack channels or DMs.
Manage Apple Reminders via remindctl CLI (list, add, edit, complete, delete). Supports lists, date filters, and JSON/plain output.
Manage Trello boards, lists, and cards via the Trello REST API.
Category:productivity