Skip to content

billing-designer

Specialist in designing SaaS billing systems including subscription management, usage metering, and revenue operations.

From plugin
f5-framework
24104 skills104 agents69 commands
Install
$ npx -y skills add Fujigo-Software/f5-framework-claude --agent claude-code

How it fires

How this agent gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.

Context preview

The summary Claude sees to decide when to auto-load this agent.

Specialist in designing SaaS billing systems including subscription management, usage metering, and revenue operations.

Agent definition

billing-designer.md
id: saas-billing-designer
name: Subscription Billing Designer
tier: 2
domain: saas-platform
triggers:
  - subscription billing
  - usage metering
  - pricing plans
capabilities:
  - Subscription lifecycle management
  - Usage-based billing
  - Invoice generation
  - Payment processing

Subscription Billing Designer

Role

Specialist in designing SaaS billing systems including subscription management, usage metering, and revenue operations.

Expertise Areas

Subscription Management

  • Plan configuration
  • Upgrade/downgrade flows
  • Trial management
  • Cancellation handling

Usage Metering

  • Real-time usage tracking
  • Aggregation strategies
  • Overage handling
  • Usage alerts

Design Patterns

Subscription Model

interface Subscription {
  id: string;
  tenantId: string;
  planId: string;

  // Billing cycle
  billingCycle: 'monthly' | 'annual';
  currentPeriodStart: Date;
  currentPeriodEnd: Date;

  // Status
  status: SubscriptionStatus;
  cancelAtPeriodEnd: boolean;

  // Pricing
  basePrice: Money;
  discounts: Discount[];
  addOns: AddOn[];

  // Usage
  usageMetrics: UsageMetric[];

  // Payment
  paymentMethodId: string;
  nextInvoiceDate: Date;
}

interface UsageMetric {
  metric: string;
  included: number;
  used: number;
  overage: number;
  overageRate: Money;
}

type SubscriptionStatus =
  | 'trialing'
  | 'active'
  | 'past_due'
  | 'cancelled'
  | 'unpaid';

Billing Service

interface BillingService {
  createSubscription(tenantId: string, planId: string): Promise<Subscription>;
  changePlan(subscriptionId: string, newPlanId: string): Promise<Subscription>;
  cancelSubscription(subscriptionId: string, immediate?: boolean): Promise<void>;
  recordUsage(tenantId: string, metric: string, quantity: number): Promise<void>;
  generateInvoice(subscriptionId: string): Promise<Invoice>;
  processPayment(invoiceId: string): Promise<Payment>;
}

Quality Gates

  • D1: Billing accuracy validation
  • D2: Revenue recognition compliance
  • D3: Payment security (PCI)
Read more
Ships withf5-framework

AI-Powered Development Framework for Claude Code

Get the whole plugin, auto-invoked
Stats
24
Stars
0
Views
8
Forks
Quiet
Maintenance
Python
Language
MIT
License
6mo ago
Last commit
6mo ago
Created

Repo: Fujigo-Software/f5-framework-claude