Communitygithub.com

YepAPI/skills

營收儀表板、MRR/ARR 計算、燃燒率追蹤與財務預測。

skills 是什麼?

本技能提供一套完整的財務規劃工具,專注於 SaaS 或訂閱制業務的核心指標。它能自動計算每月經常性收入 (MRR) 與年度經常性收入 (ARR),並將 MRR 拆解為新增、擴張、收縮、流失與重新啟動等組成部分,以瀑布圖呈現變化原因。同時,技能會根據現金餘額計算燃燒率與跑道,並支援三種情境(保守、基準、樂觀)的 12-24 個月財務預測。所有金額均以「分」為整數單位儲存,避免浮點數誤差;營收儀表板每日更新,顯示 MRR、ARR、月成長率、淨收入留存率及客戶總數等關鍵指標。該技能適用於 Claude Code、Cursor 等支援技能系統的 AI 代理平台,可透過 SQL 模型與規則驅動的計算邏輯,協助團隊進行資料驅動的財務決策。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/YepAPI/skills/tree/HEAD/skills/financial-planning

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

財務規劃

規則

  • MRR 計算:所有活躍訂閱月費的總和 — 年繳方案除以 12,排除一次性費用
  • ARR:MRR * 12 — 儀表板上同時顯示兩者,使用 MRR 觀察月度趨勢,ARR 用於年度規劃
  • MRR 組成:追蹤新增 MRR、擴張 MRR(升級)、收縮 MRR(降級)、流失 MRR(取消)、重新啟動 MRR — 以瀑布圖呈現
  • 燃燒率:(期初現金 - 期末現金) / 月數 — 每月計算,以當前消耗速度顯示剩餘跑道月數
  • 營收儀表板:顯示 MRR、ARR、MRR 月成長率 (MoM%)、淨收入留存率、客戶總數 — 每日更新
  • 財務預測:建立三種情境(保守、基準、樂觀)— 調整成長率與流失率,預測 12-24 個月
  • 貨幣處理:所有金額以「分」(整數)儲存 — 絕不使用浮點數處理金錢 — 使用 Intl.NumberFormat 顯示
  • 日期範圍:預設為過去 12 個月,允許自訂範圍 — 按月份匯總觀察趨勢,按日匯總觀察近期活動

儀表板資料模型

CREATE TABLE revenue_events (
  id UUID PRIMARY KEY DEFAULT gen_random_uuid(),
  type TEXT NOT NULL, -- 'new' | 'expansion' | 'contraction' | 'churn' | 'reactivation'
  amount_cents INTEGER NOT NULL,
  customer_id UUID NOT NULL,
  occurred_at DATE NOT NULL,
  created_at TIMESTAMP DEFAULT NOW()
);

按月匯總 MRR:SELECT date_trunc('month', occurred_at), type, SUM(amount_cents) FROM revenue_events GROUP BY 1, 2。

避免

  • 使用浮點數處理金錢 — 一律使用整數「分」
  • 不區分組成項目就算 MRR — 你必須了解 MRR 變化的原因
  • 僅有月粒度 — 儲存每日事件,為顯示而匯總
  • 忽略收縮 MRR — 降級是早期流失訊號

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

YepAPI/skills

WCAG 2.1 AA — semantic HTML, keyboard navigation, screen readers.

YepAPI/skills

Experiment setup, variant splitting, statistical significance, and feature flag integration.

YepAPI/skills

CRUD generators, data tables, user management, role-based access, and bulk operations.

YepAPI/skills

Monitor what ChatGPT and Gemini say about your brand using YepAPI.

YepAPI/skills

Queue workers with BullMQ/Inngest/Trigger.dev, job retries, dead letter queues, concurrency.

YepAPI/skills

Commander.js, interactive prompts with Clack, spinners, colors, config files, exit codes, and npm publishing.

YepAPI/skills

cmdk integration, Cmd+K trigger, fuzzy search, grouped actions, keyboard navigation, and dynamic action registration.

YepAPI/skills

Content planning with trend and sentiment data from YepAPI.

YepAPI/skills

Content calendar, keyword-driven planning, and content briefs.

YepAPI/skills

Theme switching with CSS variables, system preference detection, next-themes, and persistence.

YepAPI/skills

Threaded comments, @mentions, reactions, moderation queue, optimistic UI, and cursor pagination.

YepAPI/skills

Competitive analysis between domains using YepAPI.

YepAPI/skills

Layout grids, KPI cards, data tables with sorting/filtering, sidebar navigation, and responsive breakpoints.

YepAPI/skills

Data encryption — TLS everywhere, AES-256-GCM for PII, bcrypt passwords, encrypted backups.

YepAPI/skills

Chart patterns with Recharts/Nivo/D3, responsive containers, color scales, and accessibility.

YepAPI/skills

Drizzle schema definition, push vs migrate, type-safe queries, relations, transactions, and prepared statements.

YepAPI/skills

Upload handling, resize/compress, CDN delivery, blur placeholders, and next/image patterns.

YepAPI/skills

Local business and Google Maps research using YepAPI.

YepAPI/skills

Cursor-based pagination, IntersectionObserver, virtualized lists with @tanstack/react-virtual, and scroll position restoration.

YepAPI/skills

Chat UI components, streaming responses with AI SDK, context window management, and RAG patterns.

相關技能