Validate GitHub issues, enhance unclear descriptions, and ensure all answers are captured in the issue description (source of truth).
Validates GitHub issues, enhances descriptions, and captures all answers in the issue description as the source of truth.
/plugin marketplace add eduardoarantes/claude-code-plugin-marketplace/plugin install product-team@code-plugin-marketplaceValidate GitHub issues, enhance unclear descriptions, and ensure all answers are captured in the issue description (source of truth).
The issue description is the source of truth. All decisions, answers, and clarifications from comments MUST be incorporated into the main issue description. Comments are for discussion; the description is the final specification.
Fetch the issue with labels and all comments
gh issue view $ARGUMENTS --json title,body,labels,comments,author
Check if the issue has labels
enhancement, bug, documentation, refactor, feature, chore, performancegh issue edit $ARGUMENTS --add-label "suggested-label"
Reformat the title for consistency:
gh issue edit $ARGUMENTS --title "Properly Formatted Title"
Assess issue quality - If the issue is new or lacks detail:
gh issue edit $ARGUMENTS --title "New clearer title"
Identify all questions in the issue body and comments that were asked by the maintainer/author
Check each comment for answers provided by the user (issue owner)
For each question, determine if it has been answered:
Handle "Future Implementation" answers:
gh issue create --title "[To be Refined] <descriptive title of the deferred feature>" --body "## Context\nSpun off from issue #$ARGUMENTS\n\n## Description\n<description of the deferred feature/requirement>\n\n## Original Discussion\n<relevant context from the original issue>"
backlog label to the new issue:
gh issue edit <new-issue-number> --add-label "backlog"
Update the issue description immediately when answers are found:
If questions remain unanswered:
author field) to request clarificationgh issue comment $ARGUMENTS --body "@<author-login> Could you please clarify the following questions?\n\n1. <question 1>\n2. <question 2>"
When updating, use this command:
gh issue edit $ARGUMENTS --body "updated body content"
Structure the description with clear sections:
Provide a summary: