From ecabaf796ea139b7f592797e1dd8bb4e2a9f845f Mon Sep 17 00:00:00 2001 From: Robin Olsen Date: Sun, 22 Mar 2026 15:27:05 +0100 Subject: [PATCH] update task descriptions for better readability --- cmd/pm/tasks/backlogRefinement.go | 5 +++-- cmd/pm/tasks/codingTask.go | 12 ++++-------- cmd/pm/tasks/createIssue.go | 2 -- cmd/pm/tasks/dependencyManagement.go | 8 ++------ cmd/pm/tasks/gitTask.go | 10 +++++----- cmd/pm/tasks/issueReviewCleanup.go | 3 +-- cmd/pm/tasks/priorityManagement.go | 8 +++----- 7 files changed, 18 insertions(+), 30 deletions(-) diff --git a/cmd/pm/tasks/backlogRefinement.go b/cmd/pm/tasks/backlogRefinement.go index 30e66ae..e823ca8 100644 --- a/cmd/pm/tasks/backlogRefinement.go +++ b/cmd/pm/tasks/backlogRefinement.go @@ -11,10 +11,11 @@ import ( const backlogRefinementDescription = `You are tasked with backlog refinement. -The product backlog has become cluttered with old and unclear issues. You need to groom the backlog: +The product backlog has become cluttered with old and unclear issues. +You need to groom the backlog: 1. Go to the backlog. -2. Find two issues that got the same name or describe the same problem. +2. Find two issues that have the same name. 3. Open one of these issues. 4. Select "Close issue" 5. Choose "Duplicate issue" as closing reason. diff --git a/cmd/pm/tasks/codingTask.go b/cmd/pm/tasks/codingTask.go index 4bb1a38..cac668a 100644 --- a/cmd/pm/tasks/codingTask.go +++ b/cmd/pm/tasks/codingTask.go @@ -10,17 +10,13 @@ import ( "github.com/LazyBachelor/LazyPM/internal/utils/check" ) -const codingDescription = `You are tasked with doing a chore in the codebase. - -This task will test your ability to read and understand instructions, change text, and save it to a file. - -The MongoDB Driver dependency in the file is outdated and needs to be updated to the latest version. -This is a common task for developers, and it requires attention to detail and the ability to follow instructions carefully. +const codingDescription = `You are tasked with doing a upgrading a dependency in the codebase. Your task: 1. Assign the given issue to yourself as 'Me'. -2. A file will appear in the current directory named "code.txt". - Open it and follow the instructions inside. And save the file after you are done. +2. A text file will appear in the this directory: + - Open it and follow the instructions inside. + - Save the file after you are done. 3. When you are done, mark this task as "Closed".` var textFileDescription = ` diff --git a/cmd/pm/tasks/createIssue.go b/cmd/pm/tasks/createIssue.go index 4893e8d..9bd2bb9 100644 --- a/cmd/pm/tasks/createIssue.go +++ b/cmd/pm/tasks/createIssue.go @@ -10,8 +10,6 @@ import ( const description = `You are tasked with creating a new issue in the project management system. -This task will test your ability to use the issue creation workflow effectively. - Your task: 1. Create a new issue with the title "My first Issue" 2. Add this detailed description "I need to do some coding" diff --git a/cmd/pm/tasks/dependencyManagement.go b/cmd/pm/tasks/dependencyManagement.go index e71bdeb..05ee072 100644 --- a/cmd/pm/tasks/dependencyManagement.go +++ b/cmd/pm/tasks/dependencyManagement.go @@ -14,15 +14,11 @@ const dependencyManagementDescription = `You are tasked with managing issue depe Several issues in your project have dependencies on other issues. You need to: -1. Find 2 issues that mention dependencies in their detail description. - For example: "Depends on Issue '123'". Set their status to "blocked". - +1. Find 2 issues that mention dependencies in their description. 2. Find the issue that is mentioned by the other issues: - Set priority to 3 (high). - Set status to in-progress. - - Assign the to yourself as "Me". - -Resolving dependencies in the right order is critical for a efficient team` + - Assign the to yourself as "Me".` type DependencyManagementTask struct { done bool diff --git a/cmd/pm/tasks/gitTask.go b/cmd/pm/tasks/gitTask.go index c19a329..e89941a 100644 --- a/cmd/pm/tasks/gitTask.go +++ b/cmd/pm/tasks/gitTask.go @@ -14,14 +14,14 @@ import ( const gitTaskDescription = `You are tasked with performing a Git operation. -This task will test your ability to use Git effectively within a project management workflow. -Your goal is to modify a file in a Git repository and commit the change. +Modify a file in a Git repository and commit the change. Your task: 1. Assign the given issue to yourself as 'Me'. -2. A folder called "task" is created in the project directory when you start this task. -3. Inside the folder you will find README.md. Edit this file and add something to it. - The file must be different from its original content. +2. A folder called "task" is created in this directory. +3. Inside the folder you will find README.md. + - Edit this file and add something to it. + - The file must be different from its original content. 4. Commit your change: - Open a terminal and change into the task folder. - Run "git add ." to stage the changes. diff --git a/cmd/pm/tasks/issueReviewCleanup.go b/cmd/pm/tasks/issueReviewCleanup.go index 194d760..1299f28 100644 --- a/cmd/pm/tasks/issueReviewCleanup.go +++ b/cmd/pm/tasks/issueReviewCleanup.go @@ -9,8 +9,7 @@ import ( const issueReviewCleanupDescription = `You are responsible for reviewing and maintaining the current project issues. -Using the system, complete the following steps: - +Complete the following steps: 1. Add a comment to two issues 2. Delete the issue titled "Delete this issue"` diff --git a/cmd/pm/tasks/priorityManagement.go b/cmd/pm/tasks/priorityManagement.go index 338bd6e..73461fb 100644 --- a/cmd/pm/tasks/priorityManagement.go +++ b/cmd/pm/tasks/priorityManagement.go @@ -12,15 +12,13 @@ import ( const priorityManagementDescription = `You are tasked with managing issue priorities. A critical production issue has been reported. - The database is not working properly and users are not able to connect and access their data. You need to rebalance the current sprint priorities: -1. A new issue has appeared in the list that needs urgent attention. - Change the database related issue's priority to 4 (critical). -2. Set the priority of the feature and chore issues in the list to 1 (low). -` +1. A new issue has appeared in the list that needs urgent attention: + - Change the database related issue's priority to 4. +2. Set the priority of the feature and chore issues in the list to 1.` type PriorityManagementTask struct { done bool