You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/hub/workflows/intro.mdx
+60Lines changed: 60 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,6 +26,66 @@ To run your first workflow
26
26
2. Connect with your GitHub account
27
27
3. Enter the prompt for your agent
28
28
29
+
## Example Workflow Tasks
30
+
31
+
Here are some example tasks you can try with your workflows:
32
+
33
+
<AccordionGroup>
34
+
<Accordiontitle="Bug Fixes & Code Quality">
35
+
36
+
- "Fix the TypeError in api/users.ts where the user object might be undefined"
37
+
- "Add null checks to all database query results in the services/ directory"
38
+
- "Fix all ESLint warnings in the components folder"
39
+
- "Update deprecated React lifecycle methods to hooks in legacy components"
40
+
41
+
</Accordion>
42
+
43
+
<Accordiontitle="Feature Development">
44
+
45
+
- "Create a new REST endpoint for user profile updates with validation and error handling"
46
+
- "Add pagination to the products list page with previous/next buttons"
47
+
- "Implement dark mode toggle using Tailwind CSS classes across all pages"
48
+
- "Add unit tests for the authentication service using Jest"
49
+
50
+
</Accordion>
51
+
52
+
<Accordiontitle="Security & Compliance">
53
+
54
+
- "Scan the codebase for hardcoded API keys and move them to environment variables"
55
+
- "Add input sanitization to all user-facing form fields"
56
+
- "Update all npm packages with known security vulnerabilities"
57
+
- "Implement rate limiting on the /api/login endpoint"
58
+
59
+
</Accordion>
60
+
61
+
<Accordiontitle="Documentation & Boilerplate">
62
+
63
+
- "Add JSDoc comments to all exported functions in the utils/ directory"
64
+
- "Create a README.md for the new payment-processing module with setup instructions"
65
+
- "Generate TypeScript interfaces for all API response schemas"
66
+
- "Add error handling boilerplate to all async functions missing try-catch blocks"
67
+
68
+
</Accordion>
69
+
70
+
<Accordiontitle="Investigation & Analysis">
71
+
72
+
- "Investigate why the login API is returning 500 errors intermittently and suggest fixes"
73
+
- "Analyze the performance bottleneck in the data processing pipeline"
74
+
- "Review the database schema for the orders table and suggest optimizations"
75
+
- "Find all TODO comments related to authentication and create a summary"
76
+
77
+
</Accordion>
78
+
79
+
<Accordiontitle="Refactoring">
80
+
81
+
- "Extract the repeated validation logic in controllers into a shared utility function"
82
+
- "Convert all class components in src/legacy to functional components with hooks"
83
+
- "Rename all instances of 'userId' to 'accountId' across the codebase"
84
+
- "Split the 500-line UserService.ts into smaller, single-responsibility services"
85
+
86
+
</Accordion>
87
+
</AccordionGroup>
88
+
29
89
## How to use background agents
30
90
31
91
The practice of using background agents, which we call Continuous AI, requires practice and forethought to set up the right guiderails and habits to fit your development workflow, much like learning to work with a larger engineering team. We are constantly sharing our learnings on the [Continuous AI Blog](https://blog.continue.dev), but these few high-level tips are a great way to quickly become successful with workflows:
0 commit comments