wallet-recharge-flow

Community

Automate wallet recharge and coin accounting.

Authorsmile95137a
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill centralizes and automates wallet balance management by handling gold coins and bonus coins directly in the user data, enforcing atomic updates and consistent transaction logging.

Core Features & Use Cases

  • Balance tracking in user records (gold coins, bonus coins, total recharged, optimistic lock version)
  • Deterministic deduction rules (only Gold is deducted for draws, with explicit recharge prompts when insufficient)
  • WalletTransaction logging for every balance change, with types and context
  • End-to-end Recharge flow (validate user, validate plan, transactional update, log transaction, produce result)
  • Admin adjustments via API with guardrails

Quick Start

Set up a test user and run a sample RechargePlan to verify gold and bonus balances, as well as wallet transaction logs update atomically.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: wallet-recharge-flow
Download link: https://github.com/smile95137a/kuji-client/archive/main.zip#wallet-recharge-flow

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.