Communitygithub.com

カスタマー請求業務

Stripeなどの請求ツールを連携して、サブスクリプション管理、返金、解約トリアージ、請求ポータル復旧、プラン分析など、顧客請求ワークフローを実行します。ユーザーが顧客を支援する必要がある場合、サブスクリプション状態を調査する場合、または収益に影響する請求業務を管理する場合に使用します。

カスタマー請求業務 とは?

このスキルは、開発者や運用担当者が、実際の顧客請求業務を安全かつ効率的に遂行するために設計されています。Stripeなどの請求ツールと直接連携し、顧客の特定、問題の分類、最も安全な修正アクションの実行、フォローアップまでの一連のワークフローを提供します。特に、重複購入や支払い失敗、解約リスクなどの一般的な問題を分類し、プラットフォームが提供するセルフサービス機能(請求ポータル)を優先して利用することを推奨します。また、運用側のプロダクトギャップ(例:請求ポータルがない、解約フローがない)を特定し、それを長期改善タスクとして切り分けることで、単発のサポート対応に留まらない体系的な問題解決を支援します。API設計や汎用的な決済処理ではなく、実際の顧客オペレーションに特化している点が特徴です。

対応~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/affaan-m/ECC/tree/main/skills/customer-billing-ops

お気に入りのAIに質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

カスタマー請求業務 は何をしますか?

このスキルは、実際の顧客オペレーションのために使用します。汎用的な決済API設計には使用しないでください。

目的は、オペレーターが「この顧客は誰か」「何が起こったか」「最も安全な修正方法は何か」「どのようなフォローアップを送るべきか」に答えられるようにすることです。

使用すべきケース

  • 顧客が「請求がおかしい」と申し出ている、返金を求めている、または解約できない場合
  • 重複サブスクリプション、誤請求、更新失敗、または解約リスクを調査している場合
  • プランミックス、アクティブなサブスクリプション、年払い/月払いの変換、チームシートの混乱を確認している場合
  • 請求ポータルのフローを作成または検証する場合
  • サブスクリプション、請求書、返金、支払い方法に関するサポートクレームを監査する場合

推奨ツール

  • まずStripeなどの連携済み請求ツールを使用する
  • メール、GitHub、または課題トラッカーは補助的な証拠としてのみ使用する
  • プラットフォームが既に必要な制御を提供している場合は、カスタムアカウント管理コードよりもホスト型の請求/顧客ポータルを優先する

ガードレール

  • シークレットキー、完全なカード詳細、または不要な顧客PIIをレスポンスで公開しない
  • 盲目的に返金せず、まず問題を分類する
  • 以下のケースを区別する:
    • 偶発的な重複購入
    • 意図的なマルチシートまたはチーム購入
    • 製品の不具合 / 価値の不足
    • 決済失敗または不完全なチェックアウト
    • セルフサービス機能の欠如による解約
  • 年間プラン、チームプラン、日割り計算状態の場合は、アクションを起こす前に契約の形状を確認する

ワークフロー

1. 顧客を明確に特定する

利用可能な最も強力な識別子から開始する:

  • 顧客メールアドレス
  • Stripe顧客ID
  • サブスクリプションID
  • 請求書ID
  • 請求にマッピングできることがわかっているGitHubユーザー名またはサポートメール

簡潔な識別サマリーを返す:

  • 顧客
  • アクティブなサブスクリプション
  • 解約済みサブスクリプション
  • 請求書
  • アクティブな重複サブスクリプションなどの明らかな異常

2. 問題を分類する

アクションを起こす前に、ケースを1つのバケットに分類する:

ケース典型的なアクション
個人用の重複サブスクリプション余分なものを解約し、返金を検討する
実際のマルチシート/チーム意図シートを保持し、請求モデルを明確化する
支払い失敗 / 不完全なチェックアウトポータル経由で回復するか、支払い方法を更新する
セルフサービス機能の欠如ポータル、解約パス、請求書アクセスを提供する
製品の障害または信頼の破壊返金し、謝罪し、製品課題を記録する

3. 最初に最も安全で元に戻せるアクションを取る

推奨順序:

  1. セルフサービス管理を復元する
  2. 重複または壊れた請求状態を修正する
  3. 影響を受けた課金または重複のみを返金する
  4. 理由を文書化する
  5. 短い顧客フォローアップを送信する

修正に製品作業が必要な場合は、以下を分離する:

  • 現在の顧客救済
  • バックログ用の製品バグ / ワークフローギャップ

4. 運用側のプロダクトギャップを確認する

顧客の苦痛が運用側の機能不足に起因する場合は、それを明示的に指摘する。一般的な例:

  • 請求ポータルがない
  • 使用量/レート制限の可視性がない
  • プラン/シートの説明がない
  • 解約フローがない
  • 重複サブスクリプション防止機能がない

これらは単なるサポートインシデントとしてではなく、ECCまたはウェブサイトのフォローアップ項目として扱う。

5. 運用担当者への引き継ぎを作成する

以下で締めくくる:

  • 顧客状態のサマリー
  • 実行したアクション
  • 収益への影響
  • 送信するフォローアップテキスト
  • 作成する製品またはバックログ課題

出力形式

以下の構造を使用する:

顧客
- 名前 / メールアドレス
- 関連するアカウント識別子

請求状態
- アクティブなサブスクリプション
- 請求書または更新状態
- 異常

判定
- 問題の分類
- このアクションが正しい理由

実行したアクション
- 返金 / 解約 / ポータル / ノーオペレーション

フォローアップ
- 短い顧客メッセージ

プロダクトギャップ
- 製品またはウェブサイトで修正すべき点

良い推奨例

  • 「適切な修正は請求ポータルであり、まだカスタムダッシュボードは不要です」
  • 「これは実際のチームシート購入ではなく、個人の重複チェックアウトのように見えます」
  • 「重複課金の1つを返金し、残りのアクティブなサブスクリプションを維持し、後で必要に応じて顧客を組織請求に変換します」

Individual skills in this repo

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

accessibility

Design, implement, and audit inclusive digital products using WCAG 2.2 Level AA. Use when building or auditing UI that must meet WCAG 2.2 Level AA, or when reviewing a change for keyboard, contrast, or screen-reader support.

affaan-m/content-engine

Create platform-native content systems for X, LinkedIn, TikTok, YouTube, newsletters, and repurposed multi-platform campaigns. Use when the user wants social posts, threads, scripts, content calendars, or one source asset adapted cleanly across platforms.

affaan-m/ECC

Multi-platform content distribution across X, LinkedIn, Threads, and Bluesky. Adapts content per platform using content-engine patterns. Never posts identical content cross-platform. Use when the user wants to distribute content across social platforms.

affaan-m/fal-ai-media

Unified media generation via fal.ai MCP — image, video, and audio. Covers text-to-image (Nano Banana), text/image-to-video (Seedance, Kling, Veo 3), text-to-speech (CSM-1B), and video-to-audio (ThinkSound). Use when the user wants to generate images, videos, or audio with AI.

affaan-m/manim-video

日本語翻訳:このファイルは manim-video 用の日本語翻訳が必要です

affaan-m/remotion-video-creation

Remotion のベストプラクティス - React で動画を作成する。3D、アニメーション、音声、字幕、チャート、トランジションなどをカバーするドメイン固有の29のルール。

affaan-m/video-editing

AI-assisted video editing workflows for cutting, structuring, and augmenting real footage. Covers the full pipeline from raw capture through FFmpeg, Remotion, ElevenLabs, fal.ai, and final polish in Descript or CapCut. Use when the user wants to edit video, cut footage, create vlogs, or build video content.

agent-architecture-audit

Full-stack diagnostic for agent and LLM applications. Audits the 12-layer agent stack for wrapper regression, memory pollution, tool discipline failures, hidden repair loops, and rendering corruption. Produces severity-ranked findings with code-first fixes. Essential for developers building agent applications, autonomous loops, or any LLM-powered feature. Use when an agent or LLM feature misbehaves and the failing layer is unknown, or before shipping an agent stack.

agent-eval

Head-to-head comparison of coding agents (Claude Code, Aider, Codex, etc.) on custom tasks with pass rate, cost, time, and consistency metrics. Use when choosing between coding agents, or when a change to an agent setup needs measured pass rate, cost, and time rather than an impression.

agent-harness-construction

Design and optimize AI agent action spaces, tool definitions, and observation formatting for higher completion rates. Use when defining or revising an agent

agentic-engineering

Operate as an agentic engineer using eval-first execution, decomposition, and cost-aware model routing. Use when planning or executing engineering work that agents will carry out end to end.

agentic-os

Build persistent multi-agent operating systems on Claude Code. Covers kernel architecture, specialist agents, slash commands, file-based memory, scheduled automation, and state management without external databases. Use when building a persistent multi-agent system on Claude Code with its own memory, commands, and scheduling.

agent-introspection-debugging

Structured self-debugging workflow for AI agent failures using capture, diagnosis, contained recovery, and introspection reports. Use when an agent run fails and you need a reproducible diagnosis instead of a retry.

agent-payment-x402

Add x402 payment execution to AI agents with per-task budgets, spending controls, and non-custodial wallets. Supports Base through agentwallet-sdk and X Layer through OKX Payments / OKX Agent Payments Protocol. Use when an agent must pay for something itself and needs per-task budgets, spending controls, and a non-custodial wallet.

agent-self-evaluation

Use after completing any non-trivial task. The agent self-rates its output on 5 axes — accuracy, completeness, clarity, actionability, conciseness — with concrete evidence per criterion. Produces a structured 1-5 scorecard with specific improvement suggestions.

agent-sort

Build an evidence-backed ECC install plan for a specific repo by sorting skills, commands, rules, hooks, and extras into DAILY vs LIBRARY buckets using parallel repo-aware review passes. Use when ECC should be trimmed to what a project actually needs instead of loading the full bundle.

ai-first-engineering

Engineering operating model for teams where AI agents generate a large share of implementation output. Use when setting team process, review gates, or ownership rules for a codebase largely written by agents.

ai-regression-testing

Regression testing strategies for AI-assisted development. Sandbox-mode API testing without database dependencies, automated bug-check workflows, and patterns to catch AI blind spots where the same model writes and reviews code. Use when adding regression coverage to AI-assisted code, or when the same model both wrote and reviewed a change.

android-clean-architecture

Clean Architecture patterns for Android and Kotlin Multiplatform projects — module structure, dependency rules, UseCases, Repositories, and data layer patterns. Use when structuring modules, layers, or data flow in an Android or KMP project.

angular-developer

Generates Angular code and provides architectural guidance. Trigger when creating projects, components, or services, or for best practices on reactivity (signals, linkedSignal, resource), forms, dependency injection, routing, SSR, accessibility (ARIA), animations, styling (component styles, Tailwind CSS), testing, or CLI tooling.

関連スキル