Skip to content

Commit 786ed21

Browse files
fix(tasks): address Copilot review feedback
- Fix escaped-backtick rendering bug in governed example (tasks.md:175): use double-backtick outer span so inner backtick displays correctly - Add missing info strings (text) to four bare fenced code blocks in implement.md (MD040 compliance) - pre-hook and post-hook sections
1 parent 498251f commit 786ed21

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

templates/commands/implement.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ You **MUST** consider the user input before proceeding (if not empty).
2525
- If the hook defines a non-empty `condition`, skip the hook and leave condition evaluation to the HookExecutor implementation
2626
- For each executable hook, output the following based on its `optional` flag:
2727
- **Optional hook** (`optional: true`):
28-
```
28+
```text
2929
## Extension Hooks
3030
3131
**Optional Pre-Hook**: {extension}
@@ -36,7 +36,7 @@ You **MUST** consider the user input before proceeding (if not empty).
3636
To execute: `/{command}`
3737
```
3838
- **Mandatory hook** (`optional: false`):
39-
```
39+
```text
4040
## Extension Hooks
4141
4242
**Automatic Pre-Hook**: {extension}
@@ -181,7 +181,7 @@ Note: This command assumes a complete task breakdown exists in tasks.md. If task
181181
- If the hook defines a non-empty `condition`, skip the hook and leave condition evaluation to the HookExecutor implementation
182182
- For each executable hook, output the following based on its `optional` flag:
183183
- **Optional hook** (`optional: true`):
184-
```
184+
```text
185185
## Extension Hooks
186186
187187
**Optional Hook**: {extension}
@@ -192,7 +192,7 @@ Note: This command assumes a complete task breakdown exists in tasks.md. If task
192192
To execute: `/{command}`
193193
```
194194
- **Mandatory hook** (`optional: false`):
195-
```
195+
```text
196196
## Extension Hooks
197197
198198
**Automatic Hook**: {extension}

templates/commands/tasks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ Every task MUST strictly follow this format:
172172
- ✅ CORRECT: `- [ ] T005 [P] Implement authentication middleware in src/middleware/auth.py`
173173
- ✅ CORRECT: `- [ ] T012 [P] [US1] Create User model in src/models/user.py`
174174
- ✅ CORRECT: `- [ ] T014 [US1] Implement UserService in src/services/user_service.py`
175-
- ✅ CORRECT (governed): `- [ ] T008 Push packages to NuGet feed: \`dotnet nuget push "*.nupkg" --api-key $NUGET_API_KEY --source $NUGET_FEED_URL\``
175+
- ✅ CORRECT (governed): ``- [ ] T008 Push packages to NuGet feed: `dotnet nuget push "*.nupkg" --api-key $NUGET_API_KEY --source $NUGET_FEED_URL````
176176
- ❌ WRONG: `- [ ] Create User model` (missing ID and Story label)
177177
- ❌ WRONG: `T001 [US1] Create model` (missing checkbox)
178178
- ❌ WRONG: `- [ ] [US1] Create User model` (missing Task ID)

0 commit comments

Comments
 (0)