@critical-path/mcp 0.18.1 → 0.20.0
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/CHANGELOG.md +37 -0
- package/README.md +70 -25
- package/dist/bin/args.d.ts +8 -0
- package/dist/bin/args.d.ts.map +1 -1
- package/dist/bin/args.js +20 -0
- package/dist/bin/args.js.map +1 -1
- package/dist/bin/cli.js +37 -3
- package/dist/bin/cli.js.map +1 -1
- package/dist/bin/skills.d.ts +15 -0
- package/dist/bin/skills.d.ts.map +1 -0
- package/dist/bin/skills.js +28 -0
- package/dist/bin/skills.js.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/server/index.d.ts +6 -0
- package/dist/server/index.d.ts.map +1 -1
- package/dist/server/index.js +27 -13
- package/dist/server/index.js.map +1 -1
- package/dist/skills/catalog.generated.d.ts +3 -0
- package/dist/skills/catalog.generated.d.ts.map +1 -0
- package/dist/skills/catalog.generated.js +33 -0
- package/dist/skills/catalog.generated.js.map +1 -0
- package/dist/skills/index.d.ts +13 -0
- package/dist/skills/index.d.ts.map +1 -0
- package/dist/skills/index.js +7 -0
- package/dist/skills/index.js.map +1 -0
- package/dist/tools/definitions.d.ts +86 -8
- package/dist/tools/definitions.d.ts.map +1 -1
- package/dist/tools/definitions.js +302 -52
- package/dist/tools/definitions.js.map +1 -1
- package/dist/tools/instructions.d.ts +10 -0
- package/dist/tools/instructions.d.ts.map +1 -0
- package/dist/tools/instructions.js +48 -0
- package/dist/tools/instructions.js.map +1 -0
- package/dist/tools/outputs.d.ts +2443 -0
- package/dist/tools/outputs.d.ts.map +1 -0
- package/dist/tools/outputs.js +190 -0
- package/dist/tools/outputs.js.map +1 -0
- package/dist/web/index.d.ts +16 -0
- package/dist/web/index.d.ts.map +1 -1
- package/dist/web/index.js +13 -12
- package/dist/web/index.js.map +1 -1
- package/package.json +13 -8
- package/skills/analyze-schedule/SKILL.md +44 -0
- package/skills/investigate-task/SKILL.md +41 -0
- package/skills/plan-capacity/SKILL.md +32 -0
- package/skills/plan-project/SKILL.md +46 -0
- package/skills/report-status/SKILL.md +46 -0
- package/skills/triage-tasks/SKILL.md +41 -0
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: triage-tasks
|
|
3
|
+
description: Review new, unprioritized or stale tasks and set priority, estimate, tags and blocked state consistently. Use when the user asks to triage, groom or clean up a backlog.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Triage tasks
|
|
7
|
+
|
|
8
|
+
Make every task in scope actionable: a clear title, a priority, an estimate and an honest blocked state.
|
|
9
|
+
|
|
10
|
+
## 1. Gather the tasks
|
|
11
|
+
|
|
12
|
+
1. Get the `projectId` with `list_projects` if you do not have it, then `get_project` to learn the workflow status keys.
|
|
13
|
+
2. Call `list_tasks` with filters that match the request, for example:
|
|
14
|
+
- untriaged: `priority: "none"`;
|
|
15
|
+
- a backlog: `status` set to the backlog key from the workflow;
|
|
16
|
+
- one person's work: `assigneeId`.
|
|
17
|
+
Page with `nextCursor` until it is empty, or stop at a sensible batch (about 25) and say how many remain.
|
|
18
|
+
3. For tasks whose description is thin or which look blocked, read the discussion with `list_comments`.
|
|
19
|
+
|
|
20
|
+
## 2. Decide, task by task
|
|
21
|
+
|
|
22
|
+
| Field | Rule |
|
|
23
|
+
| --- | --- |
|
|
24
|
+
| `priority` | `urgent`: blocks other people now or a live problem. `high`: needed for the next deliverable. `medium`: planned work. `low`: nice to have. Reserve `urgent` for a handful of tasks. |
|
|
25
|
+
| `estimatedHours` | Effort in hours. If a task is over about 24 hours, propose splitting it instead of estimating it. |
|
|
26
|
+
| `tags` | Reuse tags already used in the project; do not invent a new scheme. |
|
|
27
|
+
| `isBlocked` / `blockedReason` | Blocked only when work cannot continue; the reason names what it waits for. |
|
|
28
|
+
| title | Starts with a verb and says the outcome. Rewrite only when it is unclear. |
|
|
29
|
+
|
|
30
|
+
Flag likely duplicates (same outcome, different words) instead of deleting them.
|
|
31
|
+
|
|
32
|
+
## 3. Propose, then apply
|
|
33
|
+
|
|
34
|
+
1. Show the user a table: task title, current values, proposed values, one-line reason.
|
|
35
|
+
2. After the user approves (all or some), apply each change with `update_task`, passing only the fields that change.
|
|
36
|
+
3. For any non-obvious change, record why with `add_comment` on the task.
|
|
37
|
+
|
|
38
|
+
## Guardrails
|
|
39
|
+
|
|
40
|
+
- Do not change `status` or `assigneeId` during triage unless the user asked for it.
|
|
41
|
+
- Never call `delete_task` during triage. Suggest canceling duplicates and let the user decide.
|