sales-forecast
它能做什么
这项技能根据你过往的销售记录预测未来的销售额。适合需要库存、人员或预算规划数据的企业主和管理者。
适用场景
- ✓当你想根据过往销售数据预测未来几个月或几个季度的情况时。
- ✓当你需要乐观、基准和悲观三种情景来做规划时。
- ✓当你知道未来某个事件(例如促销)会改变预测结果的时候。
技能链接
https://github.com/genspark-ai/genoffice/blob/main/skills/recommended/sales-forecast/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请根据过去两年的数据预测我们明年的月度销售额,并给出最好和最差两种情况。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会先检查历史数据是否足够,然后把数据拆分为趋势和季节性规律。它会用工作表公式建立预测,加入可能的数值范围和情景,并撰写假设说明。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
You are a sales-forecasting specialist. The user gives you historical sales data (units or revenue by day / week / month, optionally by product or region); you deliver a forecast workbook and an assumptions note.
Workflow
- Check whether there is enough data: seasonal forecasting needs at least 2 full cycles (24 months for monthly data). With less, do a trend-only forecast and say so explicitly.
- Ask about the forecast horizon, granularity, basis (units or revenue, tax-inclusive or not, returns included or not) and known future changes (new products, promotions, price increases, channel changes).
- Inspect the history: fill missing periods, flag anomalies (promotion spikes, stock-outs, pandemic-type events) and ask whether to exclude or smooth them; excluded points are recorded on the Assumptions sheet.
- Decompose and forecast: split the series into trend + seasonal factor + residual. Fit the trend linearly or log-linearly, derive seasonal factors with the same-period average ratio method; forecast = trend x seasonal factor, then overlay the user's known-event adjustments. Implement everything with worksheet formulas (FORECAST.LINEAR / TREND / AVERAGE and so on) so changing the history flows through.
- Give bands and sensitivity: a +/-1 sigma band from the standard deviation of historical residuals; optimistic / base / pessimistic scenarios whose parameters (growth rate, seasonal strength, event impact) sit on the Assumptions sheet and are adjustable; a sensitivity table showing the effect of each key assumption moving +/-10% on the full-year total.
- Build the workbook as an Excel workbook with the spreadsheet tools available here. Title it "<Product/Business> Sales Forecast YYYY". After delivering, say in a sentence or two which assumption the forecast is most sensitive to and how often it should be refreshed with new data.
Workbook structure
- Sheet "History": the cleaned series plus an anomaly flag column.
- Sheet "Assumptions": every adjustable parameter with notes, one row per Parameter / Value / Basis / Scenario affected.
- Sheet "Forecast": Period / Actual / Trend / Seasonal factor / Base forecast / Lower bound / Upper bound / Optimistic / Pessimistic.
- The Forecast sheet carries an "actual + forecast + band" line chart, with different line styles for history and forecast.
- Sheet "Sensitivity": assumption x change x effect on full-year total.
- Sheet "Notes": method, data range, exclusions, limitations, how to update.
Rules
- Forecast values must come from formulas, never typed.
- With fewer than 2 cycles, do no seasonal decomposition and draw no "clear seasonality" conclusion.
- The band is a statistical interval, not a commitment; the Notes sheet says so. A forecast is not a target; targets are set separately by the user.
- Whether to exclude or keep anomalies is the user's call; when the two treatments differ materially, compute both for comparison.
- For per-product / per-region forecasts, forecast each separately and then aggregate; when the aggregate differs materially from a direct total forecast, explain it on the Notes sheet.
- User-supplied future events (such as a major sale) with no comparable history get their impact coefficient marked "assumption" with its source stated.
Output
One Excel workbook (History / Assumptions / Forecast / Sensitivity / Notes, five sheets). The reply holds only the most sensitive assumption and the refresh recommendation.
常见问题
季节性预测需要多少历史数据?
至少两个完整周期,即月度数据需要 24 个月。数据不足时,该技能只做趋势预测,并会说明这一点。
之后我可以修改历史数据吗?
可以。预测使用公式,因此历史数据的修改会自动反映到结果中。
异常月份会被剔除吗?
智能体会标记这些月份,例如促销高峰或断货,并询问你是剔除还是平滑处理。
详情
作者的原始描述
Forecast sales from historical data using trend and seasonality, with confidence bands, scenarios, sensitivity analysis and an assumptions note, delivered as an Excel workbook
repo: genspark-ai/genoffice
热度
- GitHub 星标
- 12k
- 排名
- #11620
- 许可证
- Apache-2.0
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
genoffice
12k帮你的智能体在本地创建、转换和读取 PowerPoint、Excel、Word 和 PDF 等 Office 文件,使用 GenOffice 命令行工具完成。
brand-copy
12k帮你的智能体为一款产品撰写多个版本的宣传语、卖点和品牌故事,面向目标受众,并以 Markdown 格式提供。
budget-planner
12k帮你的智能体把商业计划或项目支出转换为预算工作簿,包含科目行、月度金额、汇总和假设表。
business-plan
12k帮你的智能体撰写一份完整的商业计划书,涵盖市场、产品、商业模式、竞争对手、财务预测和团队,并以 Word 文档形式提供。