Skip to content

Commit b8c5259

Browse files
chore: added claude reviews (#277)
1 parent e0dfc73 commit b8c5259

File tree

1 file changed

+54
-0
lines changed

1 file changed

+54
-0
lines changed
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
name: Claude Auto Review
2+
3+
on:
4+
pull_request:
5+
types: [opened]
6+
branches: [main]
7+
issue_comment:
8+
types: [created]
9+
10+
jobs:
11+
review:
12+
runs-on: ubuntu-latest
13+
timeout-minutes: 60
14+
if: |
15+
github.event_name == 'pull_request'
16+
|| (
17+
github.event_name == 'issue_comment'
18+
&& github.event.issue.pull_request
19+
&& contains(github.event.comment.body, '@claude review')
20+
)
21+
permissions:
22+
contents: read
23+
pull-requests: write
24+
issues: write
25+
id-token: write
26+
steps:
27+
- name: Checkout
28+
uses: actions/checkout@v4
29+
with:
30+
fetch-depth: 0
31+
32+
- name: Claude Review
33+
uses: WalletConnect/actions/claude/auto-review@master
34+
with:
35+
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
36+
project_context: |
37+
This is the React Native Examples repository for Reown AppKit and WalletKit, containing reference implementations and demo applications.
38+
39+
Repository Structure:
40+
- **Dapps**: Example applications demonstrating AppKit integration with various libraries (Wagmi, Viem, Ethers v5/v6, Universal Provider, Expo)
41+
- **Wallets**: Reference wallet implementations using WalletKit SDK
42+
43+
Key considerations for this project:
44+
- **Example-Driven Development**: Each example should be self-contained, well-documented, and demonstrate best practices
45+
- **React Native Patterns**: Function-based components with hooks (useState, useEffect, useCallback, useMemo)
46+
- **TypeScript Standards**: Strict typing throughout all examples for educational value
47+
- **Multiple Integration Patterns**: Examples showcase different blockchain libraries (Wagmi, Ethers, Viem) and use cases
48+
- **Platform Support**: Examples must work on both iOS and Android, with Expo and bare React Native CLI
49+
- **Documentation**: Each example includes README with setup instructions, dependencies, and key concepts
50+
- **Code Quality**: Clean, readable code that serves as reference for developers integrating AppKit/WalletKit
51+
- **Dependency Management**: Keep dependencies up-to-date with latest AppKit/WalletKit SDK versions
52+
- **Error Handling**: Demonstrate proper error handling patterns for wallet connections and blockchain interactions
53+
- **Performance**: Show efficient rendering patterns, especially for wallet lists and transaction histories
54+
- **Developer Experience**: Easy setup with clear instructions for running on simulators/emulators and physical devices

0 commit comments

Comments
 (0)