Skip to content

Commit bc7bcf2

Browse files
committed
Add examples
1 parent 8306de7 commit bc7bcf2

File tree

1 file changed

+60
-0
lines changed

1 file changed

+60
-0
lines changed

docs/hub/workflows/intro.mdx

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,66 @@ To run your first workflow
2626
2. Connect with your GitHub account
2727
3. Enter the prompt for your agent
2828

29+
## Example Workflow Tasks
30+
31+
Here are some example tasks you can try with your workflows:
32+
33+
<AccordionGroup>
34+
<Accordion title="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+
<Accordion title="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+
<Accordion title="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+
<Accordion title="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+
<Accordion title="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+
<Accordion title="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+
2989
## How to use background agents
3090

3191
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

Comments
 (0)