# Bitget Wallet Developer Skills
Two AI coding skills that enable **Cursor**, **Claude Code**, and other AI agents to generate production-ready Bitget Wallet DApp integration code.
## Architecture
```
dapp-common-skill bitget-wallet-developer-skill
┌───────────────────────┐ ┌──────────────────────────────┐
│ DApp Common Patterns │ │ Bitget Wallet API Integration│
│ │ │ │
│ • Page layout + Header│ ──────→ │ • Provider detection │
│ • Transfer forms │ combine │ • Chain-level API calls │
│ • Chain switching UI │ ←────── │ • Adapter configuration │
│ • Signing panel │ │ • DeepLink / Mini App │
│ • Transaction lifecycle│ │ • Error handling │
│ • Responsive + Dark │ │ • Bitget Swap integration │
└───────────────────────┘ └──────────────────────────────┘
│ │
└──────────── Complete DApp ────────────┘
```
- **Wallet Skill alone** — correct wallet API calls, basic UI
- **Common Skill alone** — complete DApp UI, no wallet-specific knowledge
- **Both together** — full DApp with great UX and correct wallet integration
## Supported Chains
| Chain | Provider | Compatible With |
|-------|----------|-----------------|
| EVM (Ethereum, BSC, Polygon, Arbitrum, Base) | `window.bitkeep.ethereum` | MetaMask / EIP-1193 / EIP-6963 |
| Solana | `window.bitkeep.solana` | Phantom / Wallet Standard |
| Bitcoin | `window.bitkeep.unisat` | UniSat |
| TON | `window.bitkeep.ton` | OpenMask / TonConnect |
| Aptos | `window.bitkeep.aptos` | Petra |
| Cosmos | `window.bitkeep.keplr` | Keplr |
| Tron | `window.bitkeep.tronWeb` | TronLink |
| Sui | `window.bitkeep.suiWallet` | Wallet Standard |
## Supported Adapters
Wagmi | RainbowKit | WalletConnect | TonConnect | Web3-Onboard
## Installation
### Bitget Wallet Developer Skill
```bash
cd bitget-wallet-developer-skill
./install.sh # Cursor (default)
./install.sh --claude # Claude Code (~/.claude/skills/)
./install.sh --project # Claude Code (project-level)
```
### DApp Common Skill
```bash
cd dapp-common-skill
./install.sh # Cursor (default)
./install.sh --claude # Claude Code
./install.sh --project # Claude Code (project-level)
```
## Repository Structure
```
├── README.md
├── bitget-wallet-developer-skill/ # Skill 1: Wallet API integration
│ ├── skill/
│ │ ├── SKILL.md # Entry point — routing + core knowledge
│ │ └── references/ # 13 chain/scenario reference files
│ ├── evals/evals.json # Evaluation cases
│ ├── install.sh
│ ├── README.md
│ └── LICENSE
└── dapp-common-skill/ # Skill 2: DApp common patterns
├── skill/
│ ├── SKILL.md # Entry point — routing + UX rules
│ └── references/ # 10 module reference files
├── evals/evals.json # Evaluation cases
├── install.sh
├── README.md
└── LICENSE
```
## Example Prompts
```
"Create a Next.js app that connects to Bitget Wallet on Ethereum"
"Build a multi-chain DApp supporting ETH, SOL, and BTC"
"Add Bitget Wallet to my existing Wagmi project"
"Build a Solana NFT minting page with Bitget Wallet"
"Create a TON Mini App with wallet connection"
"Build a transfer page with chain switching and dark mode"
```
## How It Works
Both skills use **progressive disclosure**:
1. `SKILL.md` is loaded first — it contains routing logic and core knowledge
2. Based on the user's request, the AI loads only the relevant `references/*.md` files
3. Each reference is self-contained with TypeScript types, error handling, and runnable code
This keeps the AI's context window efficient while providing deep knowledge when needed.
## Resources
- [Bitget Wallet](https://web3.bitget.com)
- [Developer Documentation](https://web3.bitget.com/en/docs/)
- [Chrome Extension](https://chromewebstore.google.com/detail/jiidiaalihmmhddjgbnbgdfflelocpak)
- [Integration Demos](https://github.com/bitgetwallet/dapp-integration-demos)
## License
MIT