kanban-zone-mcp-server 0.3.1 → 0.3.2
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/PROMPTS.md +12 -8
- package/package.json +1 -1
- package/src/constants.js +1 -1
- package/src/prompts.js +12 -8
package/PROMPTS.md
CHANGED
|
@@ -21,13 +21,16 @@ Steps:
|
|
|
21
21
|
1. Call kanbanzone_get_board with board "<BOARD_PUBLIC_ID>" (response_format: "json") to confirm the board exists.
|
|
22
22
|
2. Call kanbanzone_list_board_columns for the board (response_format: "json"). Each column is wrapped as
|
|
23
23
|
{ ColumnItem: ... }; the WIP limit is ColumnItem.maxWIP and the lower bound is ColumnItem.minWIP.
|
|
24
|
-
|
|
25
|
-
3. Call kanbanzone_list_cards for the board with
|
|
26
|
-
|
|
24
|
+
Collect the columnId of every column whose maxWIP is set (not null or 0) - only those need cards.
|
|
25
|
+
3. Call kanbanzone_list_cards for the board with columns set to those columnIds (comma-separated),
|
|
26
|
+
count: 100, response_format: "json". Fetch further pages until a page comes back short or empty;
|
|
27
|
+
do not rely on has_more alone. Group cards by columnId, never by column title - boards can have
|
|
28
|
+
identically named columns under different parents.
|
|
27
29
|
4. Compare each limited column's card count against its maxWIP and note violations.
|
|
28
|
-
5. A card is aging when it has sat in its current column for more than 7 days. Check
|
|
29
|
-
|
|
30
|
-
column
|
|
30
|
+
5. A card is aging when it has sat in its current column for more than 7 days. Check the
|
|
31
|
+
oldest few candidates per work column (by lastActionAt) with kanbanzone_get_card_metrics. In the
|
|
32
|
+
metrics, the current column is the segment with endAt null - its totalTime reads 0, so compute the
|
|
33
|
+
days from its startAt.
|
|
31
34
|
|
|
32
35
|
Output format:
|
|
33
36
|
- WIP violations: column name - limit N, actual M.
|
|
@@ -69,8 +72,9 @@ Arguments: `board`, `hours`
|
|
|
69
72
|
Draft a standup update (yesterday / today / blockers) from recent movement on Kanban Zone board <BOARD_PUBLIC_ID>.
|
|
70
73
|
|
|
71
74
|
Steps:
|
|
72
|
-
1. Call kanbanzone_list_cards for the board with count: 100 (response_format: "json")
|
|
73
|
-
|
|
75
|
+
1. Call kanbanzone_list_cards for the board with count: 100 (response_format: "json"). Fetch further
|
|
76
|
+
pages until a page comes back short or empty (do not rely on has_more alone), and stop after five
|
|
77
|
+
pages - on a larger board, ask for a narrower scope instead.
|
|
74
78
|
2. Preselect from the list itself: cards whose doneAt falls in the last 48 hours (yesterday), cards
|
|
75
79
|
in work columns with recent lastActionAt (today), and cards with blocked: true (blockers - the
|
|
76
80
|
blockedReason is already on the card, no extra calls needed).
|
package/package.json
CHANGED
package/src/constants.js
CHANGED
package/src/prompts.js
CHANGED
|
@@ -18,13 +18,16 @@ const boardReviewText = (board, agingDays) =>
|
|
|
18
18
|
`1. Call kanbanzone_get_board with board "${board}" (response_format: "json") to confirm the board exists.`,
|
|
19
19
|
'2. Call kanbanzone_list_board_columns for the board (response_format: "json"). Each column is wrapped as',
|
|
20
20
|
' { ColumnItem: ... }; the WIP limit is ColumnItem.maxWIP and the lower bound is ColumnItem.minWIP.',
|
|
21
|
-
'
|
|
22
|
-
|
|
23
|
-
'
|
|
21
|
+
' Collect the columnId of every column whose maxWIP is set (not null or 0) - only those need cards.',
|
|
22
|
+
'3. Call kanbanzone_list_cards for the board with columns set to those columnIds (comma-separated),',
|
|
23
|
+
' count: 100, response_format: "json". Fetch further pages until a page comes back short or empty;',
|
|
24
|
+
' do not rely on has_more alone. Group cards by columnId, never by column title - boards can have',
|
|
25
|
+
' identically named columns under different parents.',
|
|
24
26
|
"4. Compare each limited column's card count against its maxWIP and note violations.",
|
|
25
|
-
`5. A card is aging when it has sat in its current column for more than ${agingDays} days. Check
|
|
26
|
-
'
|
|
27
|
-
' column
|
|
27
|
+
`5. A card is aging when it has sat in its current column for more than ${agingDays} days. Check the`,
|
|
28
|
+
' oldest few candidates per work column (by lastActionAt) with kanbanzone_get_card_metrics. In the',
|
|
29
|
+
' metrics, the current column is the segment with endAt null - its totalTime reads 0, so compute the',
|
|
30
|
+
' days from its startAt.',
|
|
28
31
|
'',
|
|
29
32
|
'Output format:',
|
|
30
33
|
'- WIP violations: column name - limit N, actual M.',
|
|
@@ -56,8 +59,9 @@ const standupSummaryText = (board, hours) =>
|
|
|
56
59
|
`Draft a standup update (yesterday / today / blockers) from recent movement on Kanban Zone board ${board}.`,
|
|
57
60
|
'',
|
|
58
61
|
'Steps:',
|
|
59
|
-
`1. Call kanbanzone_list_cards for the board with count: 100 (response_format: "json")
|
|
60
|
-
'
|
|
62
|
+
`1. Call kanbanzone_list_cards for the board with count: 100 (response_format: "json"). Fetch further`,
|
|
63
|
+
' pages until a page comes back short or empty (do not rely on has_more alone), and stop after five',
|
|
64
|
+
' pages - on a larger board, ask for a narrower scope instead.',
|
|
61
65
|
`2. Preselect from the list itself: cards whose doneAt falls in the last ${hours} hours (yesterday), cards`,
|
|
62
66
|
' in work columns with recent lastActionAt (today), and cards with blocked: true (blockers - the',
|
|
63
67
|
' blockedReason is already on the card, no extra calls needed).',
|