Skip to content

Commit 95784c6

Browse files
enhance: clarify task completion and PR description update process
1 parent 45115ca commit 95784c6

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

.github/prompts/implement.prompt.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,13 @@ $ARGUMENTS
7676
- For parallel tasks [P], continue with successful tasks and report failed ones
7777
- Provide clear error messages with context for debugging
7878
- Suggest next steps if implementation cannot proceed
79-
- **IMPORTANT**: For completed tasks, make sure to mark the task as [X] in the tasks file.
79+
- **CRITICAL - Update task status immediately after completion**:
80+
* After completing each task, mark it as [X] in tasks.md
81+
* Update the PR description to mark the corresponding task checkbox from `- [ ] T###:` to `- [X] T###:`
82+
* This MUST be done task-by-task as you progress, not at the end
83+
* If GitHub tools are available, use them to update the PR description
84+
* If not available, use: `gh pr edit <PR-number> --body "<updated-description>"`
85+
* Ensure task progress is visible in real-time to users watching the PR
8086

8187
8. Completion validation:
8288
- Verify all required tasks are completed
@@ -152,7 +158,9 @@ $ARGUMENTS
152158
| Breaking change | 🌟 | Major |
153159

154160
- Fallback PR title format (if issue title unavailable): `<Icon> [Type of change]: <Short description>`
155-
- **Write PR description as a release note**:
161+
- **REPLACE the entire PR description with release notes**:
162+
* **IMPORTANT**: Clear the existing PR description completely (including task list) and replace it with the release notes
163+
* This ensures the PR description is ready to be used as GitHub Release notes when merged to main
156164
* **Opening summary** (1-2 paragraphs):
157165
- Start with what was accomplished in user-focused language
158166
- Write in past tense: "Added...", "Improved...", "Fixed..."
@@ -186,7 +194,7 @@ $ARGUMENTS
186194

187195
**GitHub Integration**: If GitHub tools or integrations are available (such as GitHub MCP Server or other GitHub integrations), use them to update the PR description in the target repository. If not available, provide this fallback command:
188196
```bash
189-
# Update PR description
197+
# Replace PR description with release notes
190198
# If fork: gh pr edit <PR-number> --repo <upstream_owner>/<upstream_repo> --body "<release-note-description>"
191199
# If local: gh pr edit <PR-number> --body "<release-note-description>"
192200
gh pr edit <PR-number> --body "<release-note-description>"

0 commit comments

Comments
 (0)