Implementing a New Feature
Type | Task Instruction | Code Context |
---|---|---|
Feature | Make a new page for listing use cases, using similar layout as the release page. | app/release/page.tsx |
Feature | Add a new setting to allow users to toggle between light and dark mode. | app/settings.tsx , app/HomePage.tsx |
Fixing a Bug
Type | Task Instruction | Code Context |
---|---|---|
Fix | Fix the bug where the user is unable to login, showing error for invalid credentials. | login.tsx , api.ts , auth.ts |
Refactoring
Type | Task Instruction | Code Context |
---|---|---|
Refactor | Refactor the component to avoid duplicated code | OptionsComponent.vue |
Refactor | Refactor the code to extract a reusable OptionButton component | OptionsComponent.vue |
Tedious Tasks
ChatGPT can assist with tedious tasks, such as bulk editing, renaming variables, and reformatting code.
An example of a tedious task from Reddit
Using 16x Prompt for such tasks can save time and effort in writing prompt and copy pasting code snippets.