@impv_npm/task-manager-mcp 1.1.0 → 1.2.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/README.md +0 -99
- package/dist/tools.js +17 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -203,105 +203,6 @@ npx -y @impv_npm/task-manager-mcp
|
|
|
203
203
|
}
|
|
204
204
|
```
|
|
205
205
|
|
|
206
|
-
## Claude Code プラグイン(/task スキル)
|
|
207
|
-
|
|
208
|
-
MCPサーバーに加えて、Claude Code用のプラグイン(スキル)をインストールすると、`/task` コマンドでより便利にタスク管理ができます。
|
|
209
|
-
|
|
210
|
-
### プラグインのインストール
|
|
211
|
-
|
|
212
|
-
```bash
|
|
213
|
-
# リポジトリをクローン後
|
|
214
|
-
cd task-manager
|
|
215
|
-
./claude-plugin/install.sh
|
|
216
|
-
|
|
217
|
-
# 自然言語対応(task-routing.md)も含める場合
|
|
218
|
-
./claude-plugin/install.sh --with-rules
|
|
219
|
-
```
|
|
220
|
-
|
|
221
|
-
### アンインストール
|
|
222
|
-
|
|
223
|
-
```bash
|
|
224
|
-
./claude-plugin/uninstall.sh
|
|
225
|
-
```
|
|
226
|
-
|
|
227
|
-
### 利用可能なコマンド
|
|
228
|
-
|
|
229
|
-
| コマンド | 説明 |
|
|
230
|
-
|---------|------|
|
|
231
|
-
| `/task` | タスクを作成(対話形式) |
|
|
232
|
-
| `/task list` | タスク一覧を表示 |
|
|
233
|
-
| `/task do [N]` | タスク #N を開始 |
|
|
234
|
-
| `/task review [N]` | タスク #N をレビュー待ちに |
|
|
235
|
-
| `/task done [N]` | タスク #N を完了 |
|
|
236
|
-
| `/task close [N]` | タスク #N をクローズ |
|
|
237
|
-
| `/task delete [N]` | タスク #N を削除 |
|
|
238
|
-
| `/task advise` | 次にやるべきタスクを提案 |
|
|
239
|
-
| `/task hello` | 業務開始 |
|
|
240
|
-
| `/task bye` | 業務終了 |
|
|
241
|
-
| `/task board` | タスクボードを開く |
|
|
242
|
-
| `/task today` | 今日の進捗を表示 |
|
|
243
|
-
|
|
244
|
-
### 自然言語対応(--with-rules オプション)
|
|
245
|
-
|
|
246
|
-
`task-routing.md` をインストールすると、自然言語でもタスク操作が可能になります:
|
|
247
|
-
|
|
248
|
-
- 「次何やる?」 → `/task advise`
|
|
249
|
-
- 「タスク一覧」 → `/task list`
|
|
250
|
-
- 「業務開始」 → `/task hello`
|
|
251
|
-
- 「タスク完了」 → `/task done`
|
|
252
|
-
|
|
253
|
-
詳細は `claude-plugin/README.md` を参照してください。
|
|
254
|
-
|
|
255
|
-
## 活用例
|
|
256
|
-
|
|
257
|
-
### 1. 朝の業務開始
|
|
258
|
-
|
|
259
|
-
```
|
|
260
|
-
「業務を開始して」
|
|
261
|
-
→ work_start が呼ばれ、Slackステータスが業務中に更新される
|
|
262
|
-
```
|
|
263
|
-
|
|
264
|
-
### 2. タスクの確認と着手
|
|
265
|
-
|
|
266
|
-
```
|
|
267
|
-
「今日やるべきタスクを教えて」
|
|
268
|
-
→ task_advise が呼ばれ、優先度の高いタスクが提案される
|
|
269
|
-
|
|
270
|
-
「タスク#123を開始する」
|
|
271
|
-
→ task_start が呼ばれ、ステータスがIn Progressに変更される
|
|
272
|
-
```
|
|
273
|
-
|
|
274
|
-
### 3. タスクの作成
|
|
275
|
-
|
|
276
|
-
```
|
|
277
|
-
「Acme社のダッシュボードにグラフ追加するタスクを作成して」
|
|
278
|
-
→ task_add が呼ばれ、新しいタスクが作成される
|
|
279
|
-
```
|
|
280
|
-
|
|
281
|
-
### 4. タスク一覧の確認
|
|
282
|
-
|
|
283
|
-
```
|
|
284
|
-
「進行中のタスク一覧を見せて」
|
|
285
|
-
→ task_list が status: "In Progress" で呼ばれる
|
|
286
|
-
|
|
287
|
-
「Acme社のタスクを教えて」
|
|
288
|
-
→ task_list が client: "Acme" で呼ばれる
|
|
289
|
-
```
|
|
290
|
-
|
|
291
|
-
### 5. タスクの完了
|
|
292
|
-
|
|
293
|
-
```
|
|
294
|
-
「タスク#123を完了した」
|
|
295
|
-
→ task_end が呼ばれ、ステータスがDoneに変更される
|
|
296
|
-
```
|
|
297
|
-
|
|
298
|
-
### 6. 業務終了
|
|
299
|
-
|
|
300
|
-
```
|
|
301
|
-
「業務終了」
|
|
302
|
-
→ work_end が呼ばれ、Slackステータスがクリアされる
|
|
303
|
-
```
|
|
304
|
-
|
|
305
206
|
## トラブルシューティング
|
|
306
207
|
|
|
307
208
|
### APIキーのエラー
|
package/dist/tools.js
CHANGED
|
@@ -80,6 +80,23 @@ export function registerTools(server, client) {
|
|
|
80
80
|
content: [{ type: "text", text: JSON.stringify(result, null, 2) }],
|
|
81
81
|
};
|
|
82
82
|
});
|
|
83
|
+
// task_edit - タスク編集
|
|
84
|
+
server.tool("task_edit", "既存タスクの内容を編集します。変更したいフィールドのみ指定してください。", {
|
|
85
|
+
taskNumber: z.number().describe("タスク番号(#123の123部分)"),
|
|
86
|
+
title: z.string().optional().describe("タスクのタイトル"),
|
|
87
|
+
body: z.string().optional().describe("タスクの説明"),
|
|
88
|
+
client: z.string().optional().describe("クライアント名"),
|
|
89
|
+
project: z.string().optional().describe("プロジェクト名"),
|
|
90
|
+
dueDate: z.string().optional().nullable().describe("期日(YYYY-MM-DD形式)。nullで期日を削除"),
|
|
91
|
+
assignees: z.array(z.string()).optional().describe("担当者のログイン名リスト"),
|
|
92
|
+
ticketUrl: z.string().optional().nullable().describe("関連チケットURL。nullで削除"),
|
|
93
|
+
requestSourceUrl: z.string().optional().nullable().describe("依頼元URL。nullで削除"),
|
|
94
|
+
}, async (params) => {
|
|
95
|
+
const result = await client.call("task_edit", params);
|
|
96
|
+
return {
|
|
97
|
+
content: [{ type: "text", text: JSON.stringify(result, null, 2) }],
|
|
98
|
+
};
|
|
99
|
+
});
|
|
83
100
|
// task_advise - 次のタスク提案
|
|
84
101
|
server.tool("task_advise", "優先度と期日に基づいて、次に取り組むべきタスクを提案します。", {
|
|
85
102
|
assignee: z.string().optional().describe("担当者名でフィルタ"),
|