https://llm.ai-nebula.com/v1 (Fixed address)| Model ID | Features |
|---|---|
claude-sonnet-4-20250514 | Claude 4 latest version, extremely strong coding capability |
o4-mini | OpenAI reasoning model, top choice for programming tasks |
gemini-2.5-pro | Supports 2M context, strong multimodal capability |
deepseek-coder | Code-specialized model, 128K context |
| Model ID | Features |
|---|---|
o3 | Latest reasoning model, significantly reduced price |
claude-sonnet-4-20250514-thinking | Claude 4 Chain of Thought mode, transparent reasoning process |
deepseek-r1 | Latest reasoning model, 64K context |
grok-3-mini | Lightweight model with reasoning capability |
| Model ID | Features |
|---|---|
gpt-3.5-turbo | Classic model, high cost-performance ratio |
gemini-2.5-flash | Fast speed, low cost, 1M context |
claude-3-haiku | Lightweight fast version, 200K context |
gpt-4o-mini | Lightweight fast version, 128K context |
| Model ID | Features |
|---|---|
deepseek-chat | 128K context, strong comprehensive capability |
qwen-turbo | Alibaba Tongyi Qianwen Turbo version |
gpt-4.1-nano | Ultra-low cost version, 128K context |
Cline: Explain Code: Explains code logic, purpose, and key steps.Cline: Explain Error: Analyzes error messages, locates error causes, and provides fix suggestions.| Command | Shortcut | Description |
|---|---|---|
Cline: Ask | Ctrl+Shift+L | Ask AI (e.g., code questions) |
Cline: Explain | Ctrl+Shift+E | Explain selected code |
Cline: Refactor | Ctrl+Shift+R | Refactor selected code |
Cline: Generate | Ctrl+Shift+G | Generate code based on requirements |
"Move the formatDate function from utils.js to helpers.js and update all files referencing this function"Please design an architecture for an e-commerce backend management system, including:
- User management (login, permissions)
- Product management (CRUD, categories)
- Order processing (creation, payment, logistics)
- Data analysis (sales statistics, user profiling)
Tech stack: React + Node.js + PostgreSQLReview PR:
- Check if it conforms to ESLint standards
- Find potential bugs (e.g., unhandled exceptions)
- Performance optimization suggestions (e.g., duplicate calculation optimization)
- Security vulnerability scan (e.g., SQL injection risks){
"cline.customPrompts": {
"codeReview": "Review code, focusing on performance, security, and team code standards",
"optimize": "Optimize code performance (reduce redundant calculations) and readability (add JSDoc comments)",
"document": "Generate detailed Chinese documentation, including function description, parameter explanation, and usage examples"
}
}.cline/config.json in the project root directory to unify code style:{
"model": "claude-3-5-sonnet-20241022", // Default model
"temperature": 0.7, // Generation randomness (0-1)
"language": "zh-CN", // Prioritize Chinese interaction
"codeStyle": {
"naming": "camelCase", // Variable naming style
"indent": 4, // Indentation spaces
"quotes": "single" // String quote type
}
}Base URL must be https://llm.ai-nebula.com/v1, and API Key must be valid.gemini-2.5-flash), split large tasks (e.g., "design function interface first, then implement logic").claude-sonnet-4-20250514), clarify requirement details (avoid vague descriptions).| Task Type | Recommended Model | Cost Level | Reason |
|---|---|---|---|
| Simple Completion | gpt-3.5-turbo / gemini-2.5-flash | Very Low | Fast speed, low cost, meets basic needs |
| Code Generation | claude-sonnet-4-20250514 / o4-mini | Medium | Strongest coding capability, rigorous logic |
| Complex Reasoning | o3 / deepseek-r1 | Low-Mid | Strong reasoning capability, o3 cost-performance optimized |
| Architecture Design | deepseek-r1 + claude-4-sonnet | Low | Plan first then implement, balancing efficiency and cost |
| Code Review | gemini-2.5-pro / claude-4-sonnet | Medium | Long context support, understands multi-file associations |
| Batch Refactoring | deepseek-chat / qwen-turbo | Very Low | Fast processing of repetitive tasks, controllable cost |
| Doc Generation | gpt-4.1 / qwen-max | Low-Mid | Natural and fluent expression, adapted for Chinese scenarios |
| Long Text | gemini-2.5-pro (2M Context) | Medium | Supports understanding of ultra-long codebases or documents |
"Fix this function""Fix the floating-point precision issue in the calculateTotal function, ensuring amounts are calculated to two decimal places (e.g., 1.995 should be rounded to 2.00)"npm audit).Planning Stage → DeepSeek-R1 or o3 (Strong reasoning, low cost)
Implementation Stage → Claude-4-Sonnet or o4-mini (Strongest coding capability)
Simple Tasks → GPT-3.5-Turbo or Gemini-2.5-Flash (Fast speed)
Long Text → Gemini-2.5-Pro (2M Context).clinerules file in the project root directory to constrain operation scope:# Limit Cline operation scope
- Not allowed to modify node_modules directory
- Not allowed to delete important files marked in .gitignore
- Limit single modification file count ≤ 5
- Must prompt for confirmation before executing destructive operations (e.g., deleting code blocks)qwen-turbo (Alibaba), glm-4 (Zhipu), ernie-4.0 (Baidu), low cost and adapted for Chinese scenarios.o3).claude-sonnet-4).# 1. Planning Stage (Reasoning Model)
"Use o3 or DeepSeek-R1 to analyze requirements and output architecture plans and interface designs"
# 2. Implementation Stage (Programming Model)
"Switch to Claude-4-Sonnet or o4-mini to generate core code by module"
# 3. Test Optimization (Fast Model)
"Use Gemini-2.5-Flash to generate unit tests and fix errors"
# 4. Documentation Stage (Comprehensive Model)
"Use GPT-4.1 to generate API documentation and usage instructions"
# 5. Code Review (Long Context Model)
"Use Gemini-2.5-Pro to review full project code and optimize details"