跳到正文
cccskills
免费在 GitHub 公开

billing

Guide changes to Kortix billing code, admin controls, and pricing screens. Explain how plans, trials, enterprise contracts, and access exceptions should work, where pricing is defined, and which audited routes must handle account changes.

中文简介正在准备中。当前显示英语简介。

原文查看原文说明

Kortix billing: plans (Free, Credits, Enterprise), credits and the wallet, compute and model pricing, trials, enterprise contracts, entitlement overrides and who may manage billing. Load before changing anything under apps/api/src/billing, the admin account billing routes, the web billing/pricing UI, or plan copy.

集成工具Stripe
查看安装方法

适用场景

  • Update billing logic and its specification together
  • Review how trials and enterprise contracts are handled
  • Find the code that defines prices and allowances
  • Update billing screens to show account status

包含的文件(2)

  • SKILL.md2.1 KB
  • references/plans-and-access.md6.3 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Billing

The plan model and its lifecycle are specified in references/plans-and-access.md. Read it before you change billing code. Change the code and the spec together.

Rules

  • The plan alone decides features. Never add a flag that turns on part of a plan. Time-boxed access is a trial; an exception is an entitlement_overrides key.
  • One write path. Plan, trial, contract and override changes go through the audited admin routes in apps/api/src/admin/index.ts. Never write those columns with raw SQL in production.
  • Stripe never overwrites Enterprise. applyStripeSync skips tier writes on an Enterprise account; only activateEnterpriseContract and the contract end set or clear it.
  • Prices live in code once. Credits: billing/services/tiers.ts. Compute: platform/providers/compute-rates.ts, mirrored by apps/web/src/features/billing/compute-pricing.ts. Model fee: LLM_PLATFORM_FEE_PERCENT.
  • Customers always see their state. A new plan state needs an account-state field and a visible label.

Where the code lives

ConcernCode
Plan resolution (plan, trial, overrides, grace)apps/api/src/billing/services/resolve-billing.ts
Plans, prices, allowancesapps/api/src/billing/services/tiers.ts
Enterprise contractsapps/api/src/billing/services/enterprise-contracts.ts
Trialsapps/api/src/billing/services/trial-admin.ts
Warnings and expiry sweepsapps/api/src/billing/rotation-schedule.ts, workers/billing-rotation-worker.ts
Stripe webhooksapps/api/src/billing/services/webhooks.ts, stripe-checkout-webhooks.ts
Account state APIapps/api/src/billing/services/account-state.ts
Admin consoleapps/web/src/app/[locale]/admin/accounts/
Customer UIapps/web/src/features/billing/

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Review Slack access requests against Okta role and team information, then prepare narrowly scoped GitHub or AWS IAM permissions. Apply changes only after an eligible person's approval and record the grant, reasoning, approver, and timestamp.

中文简介正在准备中。当前显示英语简介。

  • Reviewing GitHub repository access requests from Slack
  • Preparing AWS IAM permissions for a specific task
  • Routing sensitive access requests for additional review
kortix-ai/suna2万2026年10月18日 更新

Research companies and people before outreach or meetings. Combines business profiles, recent news, hiring signals, and key contacts into a sourced brief with talking points and suggested questions, adding relationship history when CRM data is connected.

中文简介正在准备中。当前显示英语简介。

  • Research a prospective customer before outreach
  • Prepare background information for meeting attendees
  • Compare a competitor's products and positioning
kortix-ai/suna2万2026年10月18日 更新

Review daily Google Ads and Meta Ads results for budget pacing, declining performance, and unusual activity. Get prioritized findings with supporting numbers and concrete recommendations for a marketing team to assess and carry out.

中文简介正在准备中。当前显示英语简介。

  • Checking whether campaign budgets are being spent on schedule
  • Investigating rising acquisition costs or falling ad returns
  • Finding ads and keywords that spend without converting
kortix-ai/suna2万2026年10月18日 更新

Automate website tasks such as navigating pages, filling forms, clicking buttons, taking screenshots, and extracting data. The skill also supports web app testing, with specialized guides for Electron desktop apps, Slack, and cloud browsers.

中文简介正在准备中。当前显示英语简介。

  • Automate form entry and page navigation
  • Capture screenshots and extract page data
  • Explore web apps for bugs
kortix-ai/suna2万2026年10月18日 更新

Process emailed vendor invoices by extracting details, comparing them with purchase orders and invoice history, and recording duplicates, overcharges, or missing orders. Summarize results in Slack for human review; payment approval and execution remain with people.

中文简介正在准备中。当前显示英语简介。

  • Checking incoming invoices against purchase orders
  • Finding duplicate invoices and likely resends
  • Reviewing unit prices and remaining order balances
kortix-ai/suna2万2026年10月18日 更新

Monitor public news, social platforms, and forums for new brand mentions. Remove previously reported results, classify sentiment, and send a Slack digest with response drafts for negative or notable mentions, leaving public replies to people.

中文简介正在准备中。当前显示英语简介。

  • Track new brand mentions each day
  • Identify negative or widely seen mentions
  • Prepare response drafts for human review
kortix-ai/suna2万2026年10月18日 更新

查看 kortix-ai 的全部技能

报告此技能的问题