Created
August 4, 2025 18:25
-
-
Save maddada/865364f5be840a20311f88ba43d84fd2 to your computer and use it in GitHub Desktop.
Goal: Organize my tabs into groups
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Goal: Organize my tabs into groups | |
| Here is a list of ungrouped tabs provided in the following format: | |
| id ||| title ||| url | |
| <tabs_list> | |
| ${tabs.map((t) => `${t.id} ||| ${t.title} ||| ${t.url}`).join("\n")} | |
| </tabs_list> | |
| Please adhere strictly to the following rules: | |
| <User's custom prompt goes here> | |
| Group these tabs into logical groups | |
| Max length of the group name should be around 14 characters | |
| Max number of tabs in a group should be 14 | |
| You should split related tabs into different groups if there are too many in 1 group: for example Youtube Gaming, Youtube Programming, etc. | |
| Please make sure that each tab id is only in 1 group. There should be no duplicate tab ids in the response | |
| If any tab ids cannot be grouped with the others then create a new group called "Other", IT HAS TO BE THE LAST GROUP IN THE RESPONSE | |
| Sort the groups you return alphabetically by the group name but always put the "Other" group at the end | |
| IMPORTANT: Make absolutely sure that ALL THE GIVEN TAB IDS ARE GROUPED in the end | |
| IMPORTANT: Make absolutely sure that ONLY the given tab ids are in the response. The program will crash if any tab ids are added or not there in the response! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment