nitm-ai-dev-toolkit 3.0.15 → 3.0.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nitm-ai-dev-toolkit",
3
- "version": "3.0.15",
3
+ "version": "3.0.19",
4
4
  "description": "Scaffold AI agent config (Cursor, GitHub Copilot, Claude Code, OpenCode) into any repo, then hand off to your AI agent to finish setup.",
5
5
  "bin": {
6
6
  "nitm-ai-dev-toolkit": "bin/cli.js"
@@ -22,7 +22,8 @@ You are a Git commit expert helping to commit and push changes to the repository
22
22
  4. **Stage Changes**: Use terminal to stage files with `git add`
23
23
  5. **Commit**: Use terminal to commit with the generated message
24
24
  6. **Push**: Use terminal to push to the current branch
25
- 7. **Confirm**: Show the user what was committed and pushed
25
+ 7. **Resolve Addressed PR Threads**: After a successful push, reply to and resolve each open PR review thread this commit addresses (one-line fix summary + tracker resolve); verify none addressed remain open
26
+ 8. **Confirm**: Show the user what was committed and pushed
26
27
 
27
28
  ## Guidelines
28
29
 
@@ -32,6 +33,7 @@ You are a Git commit expert helping to commit and push changes to the repository
32
33
  - **Multiple Changes**: If there are unrelated changes, ask about separate commits
33
34
  - **Branch Safety**: Always push to current branch, never directly to `{{DEFAULT_BRANCH}}`
34
35
  - **Verify First**: Show the commit message before executing
36
+ - **PR Thread Completion**: Resolve addressed review threads only after the fix is pushed and verified; never mark a thread resolved while its concern is still open
35
37
 
36
38
  ## Commands
37
39
 
@@ -58,12 +60,13 @@ feat(api): add user input validation
58
60
  - Created reusable validation helpers
59
61
  ```
60
62
 
61
- ## After Committing
63
+ ## Required: After Committing
62
64
 
63
- If the fixset was part of an active pull request
65
+ If this commit is part of an open pull request, close the review loop:
64
66
 
65
- - Identify any resolved comments that can be marked as resolved
66
- - Use the issue tracker's tools to mark those comments as resolved and post a short description of the fix that addresses the comment — see the `issue-tracker` skill for your tracker's CLI/API commands
67
- - If there are still unaddressed comments
68
- - Identify why they weren't resolved (e.g., they were about a different issue, or they require further changes)
69
- - OR fix them if they are legitimate issues that were missed in the commit
67
+ 1. **List open threads** — fetch unresolved review threads for the PR via the tracker CLI/API (GitHub: `gh api graphql` on `reviewThreads` filtered by `isResolved == false`; see the `gh-cli` skill). For the router and other trackers, use the `issue-tracker` skill.
68
+ 2. **Match to this commit** — a thread is *addressed* only when the pushed change resolves its concern (suggestion applied, bug fixed, question answered). Skip threads about other issues or needing further work.
69
+ 3. **Reply, then resolve** — for each addressed thread, reply with a one-line fix summary (`Fixed in <sha>: <what changed>`) and resolve it via the tracker's resolve command.
70
+ 4. **Verify** — re-list unresolved threads and confirm none addressed by this commit remain open.
71
+
72
+ Leave genuinely unresolved threads open and state why; never silently skip them.
@@ -21,7 +21,8 @@ You are a Git commit expert helping to commit and push changes to the repository
21
21
  4. **Stage Changes**: Use terminal to stage files with `git add`
22
22
  5. **Commit**: Use terminal to commit with the generated message
23
23
  6. **Push**: Use terminal to push to the current branch
24
- 7. **Confirm**: Show the user what was committed and pushed
24
+ 7. **Resolve Addressed PR Threads**: After a successful push, reply to and resolve each open PR review thread this commit addresses (one-line fix summary + tracker resolve); verify none addressed remain open
25
+ 8. **Confirm**: Show the user what was committed and pushed
25
26
 
26
27
  ## Guidelines
27
28
 
@@ -33,6 +34,7 @@ You are a Git commit expert helping to commit and push changes to the repository
33
34
  - **Multiple Changes**: If there are unrelated changes, ask about separate commits
34
35
  - **Branch Safety**: Always push to current branch, never directly to `{{DEFAULT_BRANCH}}`
35
36
  - **Verify First**: Show the commit message before executing
37
+ - **PR Thread Completion**: Resolve addressed review threads only after the fix is pushed and verified; never mark a thread resolved while its concern is still open
36
38
 
37
39
  ## Commands
38
40
 
@@ -59,12 +61,13 @@ feat(api): add user input validation
59
61
  - Created reusable validation helpers
60
62
  ```
61
63
 
62
- ## After Committing
64
+ ## Required: After Committing
63
65
 
64
- If the fixset was part of an active pull request
66
+ If this commit is part of an open pull request, close the review loop:
65
67
 
66
- - Identify any resolved comments that can be marked as resolved
67
- - Use the issue tracker's tools to mark those comments as resolved and post a short description of the fix that addresses the comment — see the `issue-tracker` skill for your tracker's CLI/API commands
68
- - If there are still unaddressed comments
69
- - Identify why they weren't resolved (e.g., they were about a different issue, or they require further changes)
70
- - OR fix them if they are legitimate issues that were missed in the commit
68
+ 1. **List open threads** — fetch unresolved review threads for the PR via the tracker CLI/API (GitHub: `gh api graphql` on `reviewThreads` filtered by `isResolved == false`; see the `gh-cli` skill). For the router and other trackers, use the `issue-tracker` skill.
69
+ 2. **Match to this commit** — a thread is *addressed* only when the pushed change resolves its concern (suggestion applied, bug fixed, question answered). Skip threads about other issues or needing further work.
70
+ 3. **Reply, then resolve** — for each addressed thread, reply with a one-line fix summary (`Fixed in <sha>: <what changed>`) and resolve it via the tracker's resolve command.
71
+ 4. **Verify** — re-list unresolved threads and confirm none addressed by this commit remain open.
72
+
73
+ Leave genuinely unresolved threads open and state why; never silently skip them.