Agent Skills › genspark-ai/genoffice › sales-forecast

sales-forecast

GitHub

基于历史销售数据,利用趋势和季节性分解进行销售预测。生成包含置信区间、情景分析和敏感性分析的Excel工作簿,支持公式驱动更新及异常值处理。

skills/recommended/sales-forecast/SKILL.md genspark-ai/genoffice

触发场景

用户要求根据历史数据进行销售预测 用户需要生成带有置信区间和敏感性分析的销售预测Excel文件

安装

npx skills add genspark-ai/genoffice --skill sales-forecast -g -y
更多选项

非标准路径

npx skills add https://github.com/genspark-ai/genoffice/tree/main/skills/recommended/sales-forecast -g -y

不安装直接使用

npx skills use genspark-ai/genoffice@sales-forecast

指定 Agent (Claude Code)

npx skills add genspark-ai/genoffice --skill sales-forecast -a claude-code -g -y

安装 repo 全部 skill

npx skills add genspark-ai/genoffice --all -g -y

预览 repo 内 skill

npx skills add genspark-ai/genoffice --list

SKILL.md

Frontmatter
{
    "name": "sales-forecast",
    "category": "data",
    "metadata": {
        "version": "1.0.0"
    },
    "scenarios": "Sales forecasting | Seasonality analysis | Target setting",
    "description": "Forecast sales from historical data using trend and seasonality, with confidence bands, scenarios, sensitivity analysis and an assumptions note, delivered as an Excel workbook",
    "quickPrompts": "Forecast next year from these two years of monthly sales | Give this forecast optimistic, base and pessimistic scenarios"
}

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

  1. 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.
  2. 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).
  3. 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.
  4. 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.
  5. 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.
  6. 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.

版本历史

  • 36a509e 当前 2026-11-02 10:48

同 Skill 集合

skills/recommended/brand-copy/SKILL.md
skills/recommended/budget-planner/SKILL.md
skills/recommended/business-plan/SKILL.md
skills/recommended/business-report/SKILL.md
skills/recommended/campaign-planner/SKILL.md
skills/recommended/contract-drafter/SKILL.md
skills/recommended/course-slides/SKILL.md
skills/recommended/data-analyst/SKILL.md
skills/recommended/data-cleaning/SKILL.md
skills/recommended/deep-research/SKILL.md
skills/recommended/email-drafter/SKILL.md
skills/recommended/executive-deck/SKILL.md
skills/recommended/expense-report/SKILL.md
skills/recommended/financial-statement-analysis/SKILL.md
skills/recommended/interview-coach/SKILL.md
skills/recommended/invoice-tax-checklist/SKILL.md
skills/recommended/job-description/SKILL.md
skills/recommended/kpi-dashboard/SKILL.md
skills/recommended/labor-contract/SKILL.md
skills/recommended/lesson-plan/SKILL.md
skills/recommended/meeting-minutes/SKILL.md
skills/recommended/nda-drafter/SKILL.md
skills/recommended/okr-planner/SKILL.md
skills/recommended/onboarding-plan/SKILL.md
skills/recommended/performance-review/SKILL.md
skills/recommended/personal-finance/SKILL.md
skills/recommended/policy-compliance/SKILL.md
skills/recommended/product-launch/SKILL.md
skills/recommended/proposal-writer/SKILL.md
skills/recommended/quiz-maker/SKILL.md
skills/recommended/resume-polisher/SKILL.md
skills/recommended/seo-content/SKILL.md
skills/recommended/slide-planner/SKILL.md
skills/recommended/social-media/SKILL.md
skills/recommended/sop-writer/SKILL.md
skills/recommended/study-plan/SKILL.md
skills/recommended/survey-analyst/SKILL.md
skills/recommended/swot-strategy/SKILL.md
skills/recommended/terms-of-service/SKILL.md
skills/recommended/thesis-advisor/SKILL.md
skills/recommended/weekly-report/SKILL.md
skills/genoffice/SKILL.md

元信息

文件数
0
版本
d5ebe83
Hash
acbef26b
收录时间
2026-11-02 10:48

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.156.0. UTC+08:00, 2026-11-10 02:33
浙ICP备14020137号-1