feat: 实现用户画像、占卜历史与后端用户管理模块
This commit is contained in:
@@ -41,3 +41,35 @@ Do not place backend/frontend implementation details here.
|
||||
## Database Access
|
||||
|
||||
When viewing data in the database, use `supabase mcp` tools (`supabase_execute_sql`, `supabase_list_tables`, etc.) instead of direct queries or other methods.
|
||||
|
||||
## Mobile Automation
|
||||
|
||||
Use Midscene Skills for mobile UI automation.
|
||||
|
||||
### When to trigger
|
||||
If the user asks to open app, navigate pages, tap, input text, scroll, verify UI, reproduce bug, or run mobile tests → treat as executable automation, not just explanation.
|
||||
|
||||
### Platform
|
||||
- iOS → use Midscene iOS (requires WebDriverAgent at http://localhost:8100/status)
|
||||
- Android → use Midscene Android (requires `adb devices` available)
|
||||
|
||||
If platform not specified:
|
||||
- Use current project platform if obvious
|
||||
- Otherwise ask
|
||||
|
||||
### Preconditions
|
||||
- iOS: WDA must be ready
|
||||
- Android: device/emulator must be connected
|
||||
|
||||
If not ready → stop and report missing requirement
|
||||
|
||||
### Execution
|
||||
- Perform actual UI actions via Midscene Skills
|
||||
- Do not only describe test plan
|
||||
- Capture result (screen state / success / failure step)
|
||||
|
||||
### Output
|
||||
Return:
|
||||
- success or failure
|
||||
- first failing step (if any)
|
||||
- key observation
|
||||
|
||||
Reference in New Issue
Block a user