Prompt file imported from takoeight0821/malgo (
.github/prompts/issue.prompt.md). Fill in{{issue_number}}before use. Copyright stays with the author.
Steps
Follow Planning → Action. Obtain user approval between Planning and Action.
Planning
- Fetch the issue body and discussion from GitHub:
- Use GitHub MCP server or
gh issue view {{issue_number}}.
- Use GitHub MCP server or
- Propose a branch name prefixed with
fix/{{issue_number}}/based on the issue summary. - (Optional) Search codebase to locate relevant implementation points and draft an implementation plan.
- Present the branch name and implementation plan to the user for approval.
Action
- After approval, verify the working directory is clean (
git status). - Create the new branch and switch to it:
git checkout -b fix/{{issue_number}}/<short-description> - Implement the changes according to the plan.
- Run project checks:
mise run build # compile the project mise run test # execute test suite - If checks pass, stage changes.
- Commit the changes with a concise message summarizing the fix.
- Push the branch and create a draft pull request.
Pull Request Format
- Title: concise summary of the fix.
- Body: must start with
fix: #{{issue_number}} Auto-generated PRand include:- A brief description of the changes
- Any relevant references or special considerations
- Any questions or concerns
- Base branch:
master