chore(ai): add comprehensive CLI configurations for all AI assistants

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
This commit is contained in:
Krypto Kajun
2025-09-14 10:09:55 -05:00
parent 2c4f663728
commit a410f637cd
34 changed files with 2391 additions and 5 deletions

View File

@@ -0,0 +1,38 @@
# Debug Code Issues
Debug the following code issues: $ARGUMENTS
## Debugging Protocol:
1. **Issue Understanding**: Analyze the problem description and expected vs actual behavior
2. **Log Analysis**: Examine relevant log files and error messages
3. **Code Investigation**: Review related source code and recent changes
4. **Reproduction**: Attempt to reproduce the issue in a controlled environment
5. **Root Cause**: Identify the underlying cause and contributing factors
## Debugging Commands:
```bash
# For Go backend
go run -race ./cmd/mev-bot
LOG_LEVEL=debug ./mev-bot start
# For Solidity contracts
npx hardhat test
forge test -vvv
# For Frontend
npm run dev
npm run test:unit
```
## Investigation Areas:
- **Go Backend**: Concurrency issues, memory leaks, parsing errors
- **Solidity Contracts**: Gas issues, reentrancy, overflow/underflow
- **Frontend**: Vue component issues, state management, web3 integration
- **Integration**: API communication, contract interactions, data flow
## Output Requirements:
- Clear problem identification with code references
- Step-by-step reproduction instructions
- Root cause analysis with technical details
- Proposed solution with implementation steps
- Test plan to verify the fix