SafaTinaztepe

Project Router

開発v1.0.0
作者:SafaTinaztepe更新日 2026-05-18project-router@clawhub_safatinaztepe/project-router
スクリプトツール

AlphaMoatによると、2026-09時点でProject Routerのダウンロード数は3,191、スター数は0で、AIスキル全体5,078件中3,572位、開発では577件中455位です。

インストール数
106
ダウンロード数
3191
スター数
-
総合順位
#3,572
全体の上位 71% · 開発の上位 79%
プラットフォームインストール数ダウンロード数スター数コメント
ClawHub ↗1063125--
SkillHub ↗1053191-—

プラットフォームごとに集計方法と集計時点が異なります。

このスキルでできること

主文ではプロジェクトの検出、.project コンテキストの読み込み、宣言済みターゲットの実行、プロジェクトバンドルの初期化、成果物管理、任意の Trello 同期を説明しています。リポジトリで定義された target はローカルでコマンドを実行する可能性があり、apply 処理はプロジェクトファイルを書き込みます。実行前にリポジトリを信頼できるか確認し .project/targets.json を確認してください。適用前に計画 JSON を確認し、実行記録を保存します。

資料公開日 2026-10-29

できること

  • 現在のプロジェクト概要と進行中タスクを読む
  • 標準のビルド、テスト、デプロイ用ターゲットを確認する
  • プロジェクトバンドルと成果物索引の初期化を計画する

使う場面

  • 信頼できるワークスペースでプロジェクトの切り替えや成果物管理が必要なとき
  • ターゲットコマンドと計画ファイルを先に確認できるとき
  • ローカル書き込みが承認され、監査記録を残せるとき

プロンプト例

スキルのドキュメントをもとに生成した例であり、実際の実行結果ではありません。

target を実行せずプロジェクトの文脈を読む
.project/targets.json のコマンドを確認してから実行を提案する
apply 計画をプレビューし、書き込むパスを特定する

月次の推移

ダウンロード数3191
1976262932812026-03 · ダウンロード数 20662026-05 · ダウンロード数 26262026-07 · ダウンロード数 29542026-08 · ダウンロード数 30462026-09 · ダウンロード数 319126-0326-09
スター数-
0112026-03 · スター数 -2026-05 · スター数 -2026-07 · スター数 -2026-08 · スター数 -2026-09 · スター数 -26-0326-09

2026-09 から集計方法を変更し、同名スキルを作者ごとに分けて集計し、全スキルを対象にしました。破線は変更前の月で、変更後のデータとは直接比較せず、変更をまたぐ増減も計算していません。

月ダウンロード数前月比スター数
2026-093191—-
2026-083046+3.1%-
2026-072954—-
2026-052626—-
2026-032066—-

SKILL.md 原文

作者が公開した元のファイルをテキストのまま表示しています。AlphaMoat による編集や審査はしていません。リンクはクリックできません。コマンドは内容を確認してから実行してください。取得日 2026-10-23。

4.5 KB・ClawHub v1.0.0
---
name: project-router
description: "Terminal-first project bootstrapper and workspace context manager. Use when the user asks for /project-style workflows: detect current project, read project context/brief, run standardized targets (build/test/lint/deploy), init a .project bundle via plan/apply, manage artifacts, or expose these actions via MCP server mcp-project-router and CLI project."
---

# project-router

This skill is Safa’s **canonical project management + context switching control plane**.

Core idea:
すべて表示(全 128 行)
- **Canonical PM is local + queryable (SQLite)**: projects, tasks, context packs.
- **Trello is a tracking backend/UI**: cards mirror canonical tasks; lists mirror status; labels mirror priority.
- The “killer feature” is **context switching**: load the right docs/code/index for a project/task quickly and deterministically.

It provides:
- CLI: `project <verb> ...`
- MCP server: `mcp-project-router` (tools mirror the CLI)
- Per-project bundle stored in `.project/` (brief, targets, artifact index)
- A canonical task store (SQLite) + Trello sync adapter

## Project bundle layout (v1)

The `.project/` bundle is the **project-local** context nucleus. The canonical PM DB points at these bundles.

Inside a project root:
- `.project/project.json` — structured manifest
- `.project/PROJECT.md` — living brief
- `.project/targets.json` — target definitions (commands)
- `.project/index/artifacts.json` — artifact index
- `.project/history/plans/*.json` — plans
- `.project/history/applies/*.json` — apply receipts

## CLI quick start

### Baseline / existing commands

From anywhere inside a repo/workspace:
- `project detect`
- `project context`
- `project target list`
- `project target run <name>`

Initialize a bundle (dry-run plan + apply):
- `project init` (prints plan)
- `project apply <planId>`

Artifacts:
- `project artifact add <path|url> [--tags a,b,c]` (plan + apply)

### Canonical PM + context switching (new)

> Note: these verbs are the target UX. Implementations should remain idempotent and safe.

Project registration:
- `project pm project add <slug> --name "..." --root <path>`
- `project pm project list`

Task management:
- `project pm task add <slug> "<title>" --priority P0|P1|P2|P3 [--status inbox|next|doing|blocked|waiting|done]`
- `project pm task list [--project <slug>] [--status ...]`
- `project pm task set-status <taskId> <status>`

Context switching:
- `project pm switch <slug>`
  - prints pinned docs + top targets + active tasks
- `project pm focus <taskId>`
  - loads task-linked files/artifacts and updates the task activity log

Trello sync:
- `project pm trello sync [--project <slug>]`
  - ensures the single "Safa — PM" Trello board exists
  - ensures lists exist (Inbox/Next/Doing/Blocked/Waiting/Done)
  - upserts cards for canonical tasks
  - moves cards to match status
  - applies priority labels (P0..P3)

## MCP quick start (via mcporter)

- `mcporter list mcp-project-router --schema --timeout 120000 --json`

Examples:
- Detect:
  - `mcporter call --server mcp-project-router --tool project_detect --args '{}'`
- Read context:
  - `mcporter call --server mcp-project-router --tool project_context_read --args '{}'`
- Run target:
  - `mcporter call --server mcp-project-router --tool project_target_run --args '{"target":"test"}'`

## Trello backend conventions

Single-board setup:
- Board name: `Safa — PM` (or configurable)
- Lists == canonical statuses:
  - `Inbox`, `Next`, `Doing`, `Blocked`, `Waiting`, `Done`
- Card title: `[<project_slug>] <task_title>`
- Card description begins with a machine block for idempotency:
  ```yaml
  --- pm ---
  task_id: <stable-id>
  project: <slug>
  status: <status>
  priority: P0|P1|P2|P3
  ---
  ```
- Labels (priority, color-coded):
  - `P0` = red
  - `P1` = orange
  - `P2` = yellow
  - `P3` = blue

## Canonical PM storage (SQLite)

Recommended DB location (in workspace):
- `/home/safa/clawd/data/pm/pm.sqlite`

Minimum tables (v0):
- `projects(slug PRIMARY KEY, name, root_path, created_at, updated_at)`
- `tasks(task_id PRIMARY KEY, project_slug, title, status, priority, created_at, updated_at)`
- `task_refs(task_id, kind, ref)` (file paths / urls / artifacts)
- `external_refs(task_id, system, external_id, meta_json)` (e.g., Trello card_id/list_id)

## Safety

- Project bundle writes remain **plan/apply**.
- Canonical PM writes should be idempotent and auditable (timestamps + activity log).
- Trello sync should be safe to re-run repeatedly (upsert by `task_id` marker; never duplicate cards).
- `project_target_run` executes commands defined in `.project/targets.json`.

開発の人気スキル

SafaTinaztepeのその他のスキル

データ月:2026-09 · ダウンロード数、スター数、インストール数は公開スキルレジストリ(ClawHub、SkillHub)から月単位で集計しています。詳しくはデータの方法論をご覧ください。