sales-forecast
Skill này làm gì
Skill này dự đoán doanh số tương lai từ hồ sơ bán hàng trước đây. Dành cho chủ doanh nghiệp và quản lý cần số liệu lập kế hoạch cho hàng tồn, nhân sự hoặc ngân sách.
Khi nào nên dùng
- ✓Khi bạn muốn dự báo các tháng hoặc quý tới dựa trên dữ liệu bán hàng quá khứ.
- ✓Khi bạn muốn các kịch bản lạc quan, cơ sở và bi quan để lập kế hoạch.
- ✓Khi bạn biết một sự kiện sắp tới, như chương trình khuyến mãi, sẽ thay đổi dự báo.
Liên kết skill
https://github.com/genspark-ai/genoffice/blob/main/skills/recommended/sales-forecast/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Dự báo doanh số hằng tháng của chúng tôi cho năm tới từ hai năm dữ liệu gần nhất, với trường hợp tốt nhất và trường hợp xấu nhất.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent kiểm tra xem có đủ lịch sử không, rồi tách dữ liệu thành xu hướng và mẫu mùa vụ. Nó xây dựng dự báo bằng công thức trong bảng tính, thêm khoảng giá trị có thể xảy ra và các kịch bản, rồi viết ghi chú giả định.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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.
Câu hỏi thường gặp
Tôi cần bao nhiêu lịch sử để dự báo theo mùa?
Ít nhất hai chu kỳ đầy đủ, tức 24 tháng với dữ liệu hằng tháng. Nếu ít hơn, skill chỉ dự báo theo xu hướng và nói rõ điều đó.
Tôi có thể thay đổi lịch sử sau này không?
Có. Dự báo dùng công thức nên thay đổi trong lịch sử sẽ lan đến kết quả.
Các tháng bất thường có bị loại bỏ không?
Agent đánh dấu chúng, như đợt tăng đột biến do khuyến mãi hoặc hết hàng, và hỏi bạn có nên loại trừ hay làm mượt không.
Chi tiết
Mô tả gốc của tác giả
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
Độ phổ biến
- Sao GitHub
- 12k
- Vị trí xếp hạng
- #11620
- Giấy phép
- Apache-2.0
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
genoffice
12kGiúp agent của bạn tạo, chuyển đổi và đọc các file Office như PowerPoint, Excel, Word và PDF ngay trên máy, bằng công cụ dòng lệnh GenOffice.
brand-copy
12kGiúp agent của bạn viết nhiều phiên bản slogan, điểm bán hàng và câu chuyện thương hiệu cho một sản phẩm và khán giả, trình bày dưới dạng Markdown.
budget-planner
12kGiúp agent của bạn biến kế hoạch kinh doanh hoặc chi tiêu dự án thành workbook ngân sách gồm dòng tài khoản, số tiền theo tháng, tổng hợp và trang giả định.
business-plan
12kGiúp agent của bạn viết kế hoạch kinh doanh đầy đủ về thị trường, sản phẩm, mô hình kinh doanh, đối thủ, dự báo tài chính và đội ngũ, dạng Word.
Skill tương tự
gitcrawl
394kCho phép agent của bạn tìm trong kho lưu trữ issue và pull request GitHub, gom các mục trùng lặp và kiểm tra trạng thái hiện tại trên GitHub.
slacrawl
394kCho phép agent của bạn tìm và đếm tin nhắn trong kho lưu trữ Slack cục bộ, kiểm tra kho đó mới đến mức nào và làm mới khi cần.
goplaces
394kGiúp agent của bạn tìm địa điểm, lấy chi tiết và đánh giá, và xác định tên địa điểm bằng Google Places, với đầu ra JSON cho script.