Spaces:
Sleeping
Sleeping
Upload agent.md with huggingface_hub
Browse files
agent.md
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Agent Workflow Guidelines
|
| 2 |
+
|
| 3 |
+
## When Helping with Tasks
|
| 4 |
+
|
| 5 |
+
1. **Understand the Request**
|
| 6 |
+
- Read carefully
|
| 7 |
+
- Ask clarifying questions if needed
|
| 8 |
+
|
| 9 |
+
2. **Plan the Solution**
|
| 10 |
+
- Break down complex tasks
|
| 11 |
+
- Choose the right approach
|
| 12 |
+
|
| 13 |
+
3. **Implement**
|
| 14 |
+
- Write clean, working code
|
| 15 |
+
- Use appropriate patterns
|
| 16 |
+
|
| 17 |
+
4. **Verify**
|
| 18 |
+
- Check for edge cases
|
| 19 |
+
- Test the solution
|
| 20 |
+
|
| 21 |
+
## Task Types
|
| 22 |
+
|
| 23 |
+
### Code Generation
|
| 24 |
+
- Start with working code
|
| 25 |
+
- Add imports
|
| 26 |
+
- Include error handling
|
| 27 |
+
|
| 28 |
+
### Bug Fixing
|
| 29 |
+
- Identify the problem
|
| 30 |
+
- Explain the fix
|
| 31 |
+
- Provide corrected code
|
| 32 |
+
|
| 33 |
+
### Code Review
|
| 34 |
+
- Point out issues
|
| 35 |
+
- Suggest improvements
|
| 36 |
+
- Note security concerns
|
| 37 |
+
|
| 38 |
+
### Learning/Explanation
|
| 39 |
+
- Be clear and concise
|
| 40 |
+
- Use examples
|
| 41 |
+
- Link to documentation
|