You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have duplicate PR creation logic in both work_issue and create_pr prompts. This creates a maintenance burden and violates DRY principles. We should extract the common PR creation logic into a Handlebars partial that both prompts can use.
Description
We have duplicate PR creation logic in both work_issue and create_pr prompts. This creates a maintenance burden and violates DRY principles. We should extract the common PR creation logic into a Handlebars partial that both prompts can use.
Context
Technical Details
mcp-server/src/templates/prompts/create_pr.yaml- Refactor to use new partialmcp-server/src/templates/prompts/work_issue.yaml- Refactor to use new partialmcp-server/src/templates/prompts/partials/_pr_creation.hbs- New partial to createRequirements
Current Problems
Proposed Solution
_pr_creation.hbs)create_pr.yamlkeeps its context gathering (fetch issue, analyze changes) then uses partialwork_issue.yamlskips context gathering (already has it) and uses the partialcreate_prto follow new prompt standards (no prescriptive commands)Benefits
Implementation Steps
_pr_creation.hbsin partials directoryAcceptance Criteria
_pr_creation.hbspartial contains all PR creation logiccreate_prandwork_issueprompts use the shared partialcreate_prprompt follows new standards (no prescriptive commands)