mcpField
B
billing-behaviors

billing-behaviors

github.com/commet-labsDevelopment351 installsUpdated 3w ago
Repository

About billing-behaviors

A skill providing behavioral rules for integrating billing systems, aimed at developers working with billing APIs and SDKs. It directs users to version-specific references, emphasizes operation-specific billing behavior, and sets safeguards for actions that affect billing resources.

Key features

  1. 01Resolve SDK references before naming APIs
  2. 02Choose behavior guides by billing topic
  3. 03Verify renewal discovery rules
  4. 04Require context before billing changes
  5. 05Restrict live effects to authorized requests

Use cases

  1. 01Check billing behavior during SDK integration
  2. 02Determine the right reference for a billing change
  3. 03Validate renewal eligibility logic
  4. 04Safeguard sandbox and live billing operations

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/commet-labs/skills --skill billing-behaviors

After installing, type/billing-behaviorsin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

references/
billing-and-dunning.md
catalog-pricing-and-offers.md
subscriptions-and-plan-changes.md
usage-balances-and-seats.md

Details

From the project README

Billing behavior rules

Separate exact API shape from billing behavior:

  • Resolve the installed SDK's docs/manifest.json, entrypoint, generated reference, and relevant Platform documents before naming a method, field, error, event, or version.
  • Use the references in this skill for behavioral policy that generated types cannot express.
  • When current product code is available, treat its service path and focused tests as stronger evidence than this skill.

In Node projects, run commet doctor --output agent before integration changes and resolve failed documentation, compatibility, API-version, or project-context checks.

Choose the relevant behavior reference

Do not derive behavior from a generic fairness slogan. Scheduling, charging, discounts, retries, and resets are explicit per operation. For renewal timing, verify the current discovery predicate; never infer that a subscription is due from a date-only dashboard value, a legacy billing-day column, or the cron schedule.

Guard effects

Reasoning, code edits, and local tests do not require remote context. Before creating or changing billing resources, invoices, subscriptions, balances, usage, credits, or retries, state the exact organization and sandbox or live mode. Use a passing PROJECT_CONTEXT_VALID doctor check in Node projects; otherwise require explicit project or user context. Do not perform a live billing effect unless the user's request explicitly authorizes it.

Comments

Markdown supported