agentleFS
fideguchfideguch/my_pm_tools/SKILL.md

my_pm_tools

Skill1 starsChanged 8 months agoMITView on GitHub

GitHub Projects V2 のPM支援スキル。 新規プロジェクト構築(14ステータス・6ビュー・13ラベル・テンプレート・ワークフロー、`--lite` で小規模チーム向け簡素構成にも対応)、 日常運用(Issue発行・PR作成・ステータス変更・Sprint管理)、 分析(Sprintレポート・ベロシティ追跡)、 移行(Jira/Linear/Notion CSV インポート)を統合的にサポート。

  • Commits and pushes

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 5 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Every Issue / PR / session links to a measurable outcome (SLO, conversion, retention, North Star).

    line 137
  2. Distinctive:

    After incidents: systemic causes, not individual (or agent) blame.

    line 153
  3. Distinctive:

    Before fixing recurring issues, ask: is this parameter / rule / paradigm?

    line 169
  4. Distinctive:

    Prefer capped-downside + uncapped-upside.

    line 173
  5. Distinctive:

    If your team has internalized the 7-principle version, the 12 principles are the same ideas with citations, reversibility, and measurement …

    line 246

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

My PM Tools

GitHub Projects V2 のPM日常アシスタント。環境構築・日常運用・分析・移行を統合サポートする。

前提条件: gh CLI 認証済み、Classic PAT(ghp_)、スコープ project,repo,read:org


🛡️ PM Operator Stance — AI 時代の PM 自己規律(12 原則)

Source paper: references/ai-pm-principles-research.md — 200+ sources synthesized (Amazon / Google SRE / DORA / Cagan / Perri / Torres / Klein / Snowden / Taleb / Meadows / Anthropic / MAST 2025 / CALM ICLR 2025) Companion refs: references/anti-patterns.md · references/cynefin-guide.md · references/premortem-template.md · references/spec-quality-gate.md · references/self-evaluation-protocol.md v5.4.0 non-destructive upgrade. The prior 7-principle stance is superseded by the 12-principle evidence-based version below; nothing else in this skill changes.

Why this chapter exists

In parallel AI-agent coding setups (multiple concurrent sessions, isolated worktrees, autonomous writer/gatekeeper agents), the PM is less "roadmap owner" and more last-line-of-defense coordinator — closer to incident commander than traditional PM. Multi-Agent System Taxonomy research (MAST, UC Berkeley 2025) shows 41.77% of multi-agent failures are spec-layer, 36.94% coordination-layer, 21.30% verification-layer. Classical PM canon is necessary but insufficient against these three failure modes. The 12 principles below target all three.

Each principle carries (a) citation, (b) reversal condition (when it does NOT apply), (c) measurement. A principle without a reversal clause is a dogma; dogmas make the PM brittle.

The 12 principles

P1 — Outcomes over outputs Every Issue / PR / session links to a measurable outcome (SLO, conversion, retention, North Star). Velocity without outcome is speculation. Source: Perri Escaping the Build Trap 2018; Cagan Empowered. Reversal: exploratory spike explicitly labeled as learning. Measure: % merged PRs with linked outcome (≥ 95%).

P2 — Cynefin-aware routing Classify Clear / Complicated / Complex / Chaotic before any non-trivial dispatch. Match practice to domain. Source: Snowden (HBR 2007). Reversal: obvious one-line fix in Clear; skip classification ritual. Measure: decision log carries domain tag. See references/cynefin-guide.md.

P3 — Chain-of-Verification over self-report trust Agent self-reports are hypotheses, not facts. Before accepting completion: read the git SHA, the test output, the actual file. Not the prose summary. Source: Dhuliawala et al 2023; MAST 2025 (verification failures 21.30%). Reversal: low-blast-radius Clear-domain work where the cost of verification exceeds the cost of rollback. Measure: evidence artifact recorded for every P0/P1 completion.

P4 — Premortem before commit For any work > 4 hours or blast-radius > single-file, run a 5-minute premortem. Imagine the failure, list 5 causes, define rollback SLO. Source: Klein HBR 2007 (+30% risk identification). Reversal: typo fix, doc-only change, reversible in < 5 min. Measure: premortem artifact exists for every P0/P1. See references/premortem-template.md.

P5 — Blameless postmortem + Just Culture After incidents: systemic causes, not individual (or agent) blame. Timeline, contributing factors, action items with owner + date. Source: Dekker Just Culture 2007; Allspaw (Etsy 2012). Reversal: none — even trivial incidents deserve the form. Measure: postmortem filled for every Sev-3+.

P6 — Working Backwards artifact as SSOT The spec / PR-FAQ / Issue body is source of truth. Orchestration prompts stay orchestration-only; they do not encode requirements. Source: Amazon Working Backwards 2021; OpenAI Codex spec-quality evals 2024. Reversal: quick exploratory probe where spec formality is premature. Measure: prompt ≤ 500 words; spec content lives in Issue body. See references/spec-quality-gate.md.

P7 — Error Budget discipline / SLO-first Define error budget for system reliability AND for agent delivery correctness. Burned → freeze. Healthy → ship faster. Source: Google SRE Book. Reversal: regulatory or security incident overrides budget; ship fix regardless. Measure: monthly burn-down published.

P8 — Trunk-Based + small PRs + fast CI Short-lived branches, small PRs, CI < 10 min. Parallel agent work amplifies long-branch cost 3×. Source: Humble Continuous Delivery; DORA 2024-25. Reversal: long-lived feature flag branches intentionally held for coordinated launch. Measure: median PR size; median branch age (< 7 days).

P9 — Leverage-point prioritization Before fixing recurring issues, ask: is this parameter / rule / paradigm? Prefer higher leverage. Source: Meadows Thinking in Systems. Reversal: immediate hotfix — parameter fix first, paradigm fix in follow-up. Measure: same bug-category recurrence ≤ 2.

P10 — Antifragile posture, convex bets Prefer capped-downside + uncapped-upside. Small reversible experiments over large irreversible commits. Source: Taleb Antifragile. Reversal: platform migration with explicit one-way-door risk acceptance. Measure: % changes reversible within 1 hour.

P11 — Continuous Discovery, user evidence at human cadence Agents deliver; humans discover. Weekly user touchpoints remain human. Source: Torres Continuous Discovery Habits. Reversal: pre-product / pre-user stage. Measure: ≥ 3 user interviews / week in active product phase.

P12 — LNO triage + CALM bias audit Classify tasks Leverage / Neutral / Overhead. PM keeps Leverage. Before judgments, run the 12-bias CALM check. Source: Doshi LNO; CALM ICLR 2025 (12 biases, 64-68% LLM-judge alignment). Reversal: none — bias audit is cheap. Measure: weekly LNO log + CALM flag count. See references/self-evaluation-protocol.md.

How to apply — recommended decision template

## PM Decision: <subject>

### Facts (measured, not inferred)
- <observation + source>

### Cynefin domain (P2)
- [ ] Clear / [ ] Complicated / [ ] Complex / [ ] Chaotic / [ ] Disorder

### Outcome link (P1)
- Target metric: <SLO / conversion / retention / Star contribution>

### Value × effort
- Value: <launch blocker / post-launch / nice-to-have>
- Effort: <time estimate>
- Verdict: <GO / Defer / Reject / Split into separate Issue>

### Premortem (P4, for P0/P1 only)
- Obituary + 5 causes + rollback SLO → see `references/premortem-template.md`

### Evidence (P3)
- Primary evidence I read: <files / SHA / logs>
- NOT just: <session self-report>

### Recommended action (≤ 3 steps)
1.
2.
3.

### CALM bias audit (P12)
- [ ] Ran 12-bias check — flags: <none / list>

### Trade-offs / risks
-

Quick-reference: top anti-patterns

Cross-reference references/anti-patterns.md for the full 30-row list. Most-triggered six:

#PatternCounter
16Self-report blind trustIngest log / SHA, not prose
26Labeling as reasoningFacts first, labels last
22Authority biasFresh evidence every time
8Shared-worktree branch switch1:1 worktree:session
25Dogma formationEach principle carries reversibility
1Prompt bloatKeep orchestration prompt < 500 words

Non-destructive upgrade note

Prior 7-principle stance (added v5.3.0) is preserved in spirit and subsumed by the 12 principles:

  • Old P1 (MVP 価値 × 工数) → new P1 + P2 (outcomes + Cynefin)
  • Old P2 (慎重に baseline) → new P3 (Chain-of-Verification)
  • Old P3 (勤勉に 7 点クエリ) → new P3 + P8 (CoV + Trunk-Based)
  • Old P4 (網羅性) → new P4 (Premortem)
  • Old P5 (介入判断) → new P2 + P9 (Cynefin + Leverage)
  • Old P6 (コミュ品質) → new P6 (Working Backwards SSOT)
  • Old P7 (自己批判) → new P5 + P12 (Blameless + CALM)

If your team has internalized the 7-principle version, the 12 principles are the same ideas with citations, reversibility, and measurement added — not a reset.


Help Command

「ヘルプ」「help」「使い方」で表示。初回起動時にも自動表示。

My PM Tools — クイックガイド

3つのモードで GitHub Projects V2 を統合管理します。

Mode A: 環境構築(新規プロジェクト)
  「プロジェクト環境を構築して」→ 14ステータス・6ビュー・13ラベル・テンプレートを一括セットアップ
  「Jira から移行したい」→ CSV インポートで Issue を一括作成

Mode B: 日常運用(毎日使う)★メイン
  「ログイン画面のバグを Issue にして」→ Issue 作成 + ラベル + Priority 自動設定
  「#42 を開発中にして」→ ステータス変更
  「#42 の修正 PR を作って」→ ブランチ名提案 + PR 本文生成
  「バックログの P0/P1 を見せて」→ 優先度別アイテム一覧
  「ブロッカーを確認」→ blocked ラベル付きアイテム一覧

Mode C: 分析・レポート
  「Sprint レポートを出して」→ ベロシティ・完了率・ブロッカー統計
  「前回の Sprint と比較して」→ Sprint 間の推移

前提条件
  - gh CLI インストール済み & 認証済み
  - Classic PAT (ghp_) with scopes: project, repo, read:org

連携スキル
  /code-quality              → ESLint + Prettier + Husky 導入
  /ci-cd-pipeline            → GitHub Actions CI/CD パイプライン構築
  /typescript-best-practices → TypeScript 初期設定
  /git-workflow              → ブランチ戦略 + Conventional Commits
  /requirements_designer     → 要件定義(Issue の元ネタ作成)

Onboarding(初回プロジェクト接続)

.github-project-config.json

初回起動時にプロジェクト情報を収集し、ワーキングディレクトリに保存。以降はこのファイルを読み込み即座に操作可能。

{
  "owner": "fideguch",
  "repo": "fideguch/my-app",
  "projectNumber": 3,
  "projectId": "PVT_xxx",
  "statusFieldId": "PVTSSF_xxx",
  "mode": "operations",
  "createdAt": "2026-03-27T12:00:00Z"
}

初回起動フロー

.github-project-config.json が存在しない場合:

  1. プロジェクト情報の収集
    • 「このプロジェクトのリポジトリを教えてください(OWNER/REPO)」
    • プロジェクト番号を確認(gh project list --owner <OWNER> で自動検出も可能)
  2. プロジェクト状態の自動検出

    # ラベル・フィールド・ビュー・テンプレートの存在を自動チェック
    gh label list --repo <OWNER/REPO> --json name
    gh project field-list <NUMBER> --owner <OWNER>
    gh api repos/<OWNER/REPO>/contents/.github/ISSUE_TEMPLATE
  3. モード判定
    • 未構築 → 「環境構築から始めましょう(Mode A)」
    • 構築済み → 「日常運用モードで起動します(Mode B)」
    • 部分構築 → 「未設定の項目があります。補完しますか?」
  4. 設定ファイル生成
    • .github-project-config.json を作成
    • プロジェクトID、StatusフィールドIDを自動取得して保存

designs/ 検出(requirements_designer 連携)

.github-project-config.json 読み込み後、designs/ ディレクトリの存在を確認。

存在する場合:

  1. designs/README.md を読み、プロジェクト概要を把握
  2. designs/user_stories.md を読み、ユーザーストーリー一覧を把握
  3. designs/functional_requirements.md を読み、機能要件を把握
  4. 「要件情報を検出しました。Issue 作成時に参照します」と報告

Issue 作成時:

  • designs/ の内容をコンテキストとして参照し、関連する要件やストーリーがあれば提案に活用

不在の場合:

  • 通常どおり操作を継続(designs/ は任意)

再起動時

.github-project-config.json が存在する場合:

  • 設定を読み込み、即座に操作可能状態に
  • designs/ があれば要件コンテキストも再読み込み
  • 「プロジェクト <REPO> (#<NUMBER>) に接続しました。何をしますか?」

Mode A: 環境構築 (Setup)

新規プロジェクトの環境を6フェーズで一括構築する。

一括実行

./scripts/setup-all.sh <OWNER/REPO> <PROJECT_NUMBER>

Phase 1: カスタムフィールド作成

1.1 認証確認

gh auth status

project スコープがない場合:

gh auth refresh --scopes "project,repo,read:org"

1.2 プロジェクト情報取得

gh project list --owner "<OWNER>"
gh project view <NUMBER> --owner "<OWNER>"

1.3 Priority / Estimate / Target フィールド作成

gh project field-create <NUMBER> --owner "<OWNER>" --name "Priority" --data-type "SINGLE_SELECT" --single-select-options "P0 - 即日着手,P1 - 高 (1〜3営業日),P2 - 中 (スプリント内),P3 - 低 (時間あれば),P4 - 未定 (保留中)"
gh project field-create <NUMBER> --owner "<OWNER>" --name "Estimate" --data-type "NUMBER"
gh project field-create <NUMBER> --owner "<OWNER>" --name "Target" --data-type "TEXT"

1.4 Status 14オプション設定

./scripts/setup-status.sh <OWNER> <PROJECT_NUMBER>

14ステータス: Icebox, 進行待ち, 要件作成中, デザイン待ち, デザイン作成中, アサイン待ち, 開発待ち, 開発中, コードレビュー, テスト中, テスト落ち, リリース待ち, リリース済み, Done

1.5 Sprint(Iteration)フィールド

GitHub UI → Project Settings → Custom fields → New field → Iteration → 1週間サイクル

Phase 2: ラベル一括作成

./scripts/setup-labels.sh <OWNER/REPO>

13ラベル: feature, bug, refine, infra, docs, research, frontend, backend, design, growth, blocked, needs-review, good-first-issue

Phase 3: ビュー作成

./scripts/setup-views.sh <OWNER> <PROJECT_NUMBER>

5ビュー: Product Backlog (Board), Sprint Board (Board), Sprint Table (Table), Roadmap (Timeline), My Items (Table)

Phase 4-5: テンプレート&ワークフロー自動配置

./scripts/setup-templates.sh <OWNER/REPO> <PROJECT_NUMBER>

Issue/PR テンプレート + 5 GitHub Actions ワークフローをターゲットリポジトリに自動配置。

Phase 6: 最終チェックリスト

#確認項目
1Status に14ステータスが設定されている
2Priority (P0-P4) フィールドが存在する
3Estimate (Number) フィールドが存在する
4Target (Text) フィールドが存在する
5Sprint (Iteration) フィールドが存在する
613ラベルが作成されている
7-115ビューが作成されている
12-13Issue/PR テンプレートが存在する
14Built-in Workflows が有効

Lite モード(小〜中規模チーム向け)

--lite フラグで、1-3人チーム向けの簡素構成を構築:

構成ステータスビューラベル推奨チーム規模
Lite8351-3人
Full (デフォルト)146134人以上
./scripts/setup-all.sh owner/repo 1 --lite

Lite → Full への移行は setup-all.sh を --lite なしで再実行するだけで完了。

他ツールからの移行

./scripts/migrate-import.sh <OWNER/REPO> <PROJECT_NUMBER> export.csv --format jira|linear|notion|generic [--dry-run] [--lite]

Mode B: 日常運用 (Operations) ★メインモード

構築済みプロジェクトの日常的なPM操作。.github-project-config.json の情報を使って操作する。

Issue 作成

ユーザーの指示から Issue を作成する。MCP ツール project_create_issue を使用。 日本語のタイトル・本文を直接サポート。

ユーザー: 「ログイン画面のバグを Issue にして」
動作:
  1. .github-project-config.json から REPO を読み込み
  2. テンプレート選択: bug(バグ報告)
  3. ユーザーに詳細をヒアリング(再現手順、深刻度)
  4. project_create_issue(repo, title, body, labels: ["bug"], template: "bug_report.yml")
  5. プロジェクトに追加: project_add_item
  6. Priority 設定: project_set_priority
ユーザー: 「ダッシュボードにグラフ機能を追加する Issue を作って」
動作:
  1. テンプレート選択: feature(機能要望)
  2. project_create_issue(repo, title: "ダッシュボードグラフ機能", labels: ["feature"], template: "feature_request.yml")
  3. プロジェクトに追加 + Priority 設定

PR 作成支援

ユーザー: 「#42 の修正 PR を作って」
動作:
  1. Issue #42 の情報を取得(タイトル、ラベル)
  2. ブランチ名を提案: fix/42-login-screen-bug
  3. git checkout -b fix/42-login-screen-bug
  4. (ユーザーがコード変更後)
  5. PR 本文を生成(closes #42 自動挿入、テンプレート適用)
  6. gh pr create --title "fix: ログイン画面のバグ修正" --body "..."

ステータス変更

ユーザー: 「#42 を開発中にして」
動作:
  1. Issue #42 の Project Item ID を取得
  2. ./scripts/project-ops.sh <OWNER> <NUMBER> move <ITEM_ID> "開発中"
ユーザー: 「#42 をコードレビューに移して、P1 にして」
動作:
  1. project-ops.sh move <ITEM_ID> "コードレビュー"
  2. project-ops.sh set-priority <ITEM_ID> P1

バックログ確認

ユーザー: 「バックログの P0/P1 を見せて」
動作:
  1. project-ops.sh list-items を実行
  2. Priority が P0 または P1 のアイテムをフィルタ表示

ブロッカー確認

ユーザー: 「ブロッカーを確認して」
動作:
  1. project-ops.sh list-items を実行
  2. blocked ラベル付きアイテムを抽出表示

フィールド更新

# Priority 設定
./scripts/project-ops.sh <OWNER> <NUMBER> set-priority <ITEM_ID> P0

# Issue/PR をプロジェクトに追加
./scripts/project-ops.sh <OWNER> <NUMBER> add-issue <REPO> <ISSUE_NUMBER>
./scripts/project-ops.sh <OWNER> <NUMBER> add-pr <REPO> <PR_NUMBER>

# アイテム一覧
./scripts/project-ops.sh <OWNER> <NUMBER> list-items

# フィールドID確認
./scripts/project-ops.sh <OWNER> <NUMBER> list-fields

Workspace Bridge(Notion + Google Workspace 連携)

外部ツールのデータを MCP 経由で読み書きし、GitHub Projects と連携する。

ユーザー: 「Notionのページを読んで」→ notion_get_page
ユーザー: 「NotionのDBから取得して」→ notion_query_database
ユーザー: 「Notionに書き出して」→ notion_create_page / notion_append_blocks
ユーザー: 「Notionのページを更新して」→ notion_update_page
ユーザー: 「Notionのページをアーカイブして」→ notion_archive_page
ユーザー: 「Notionで検索して」→ notion_search
ユーザー: 「スプシのデータを取得して」→ workspace_get_sheet
ユーザー: 「スプシのセルを更新して」→ workspace_update_sheet
ユーザー: 「スプシに行を追加して」→ workspace_append_sheet
ユーザー: 「Driveでファイルを検索して」→ workspace_search_drive
ユーザー: 「Googleドキュメントを読んで」→ workspace_get_doc
ユーザー: 「プレゼン資料を読んで」→ workspace_get_slides
ユーザー: 「カレンダーの予定を確認して」→ workspace_list_events
ユーザー: 「カレンダーに予定を追加して」→ workspace_create_event
ユーザー: 「メールを検索して」→ workspace_search_gmail

Issue Sync(バックログ自動棚卸し)

コードベースとIssueボードをクロスリファレンスし、乖離を自動検出する。 絶対に自動Closeしない — すべて提案のみ。PMの承認後に実行。

ユーザー: 「ゾンビIssueを検出して」
動作:
  1. Open Issue 一覧を取得
  2. 各Issueのキーワードでコードベースを grep
  3. git log でコミット参照を確認
  4. 判定: implemented / partial / unconfirmed / no_code_found
  5. 証拠付きレポートを出力(ファイルパス + コミットSHA)
  ツール: project_scan_zombies
ユーザー: 「コードのTODOをIssue化して」
動作:
  1. TODO/FIXME/HACK/XXX をコードから収集
  2. 既存 Open Issue と重複チェック
  3. 優先度を自動提案(XXX→P0, FIXME→P1, HACK→P2, TODO→P3)
  4. 確認後、Issue 一括作成(最大10件/回)
  ツール: project_scan_todos
ユーザー: 「バックログを棚卸しして」
動作:
  1. ゾンビスキャン + TODO スキャン + Issue 統計を統合
  2. 健全性スコア (0-100) を算出
  3. 推奨アクションを生成
  ツール: project_backlog_report

自動ステータス遷移(project-automation.yml)

PR 操作に連動して関連 Issue のステータスが自動変更される:

イベントステータス変更条件
PR 作成→ コードレビューPR 本文に closes #XX 記載
レビュー承認→ テスト中同上
PR マージ→ Done同上

Mode C: 分析・レポート (Analytics)

Sprint レポート

./scripts/sprint-report.sh <OWNER> <PROJECT_NUMBER>                    # 現在の Sprint
./scripts/sprint-report.sh <OWNER> <PROJECT_NUMBER> --sprint previous  # 前回の Sprint
./scripts/sprint-report.sh <OWNER> <PROJECT_NUMBER> --json             # JSON 出力

出力: ベロシティ(完了ポイント)、完了率、ステータス分布、Priority 分布、ブロッカー一覧。

ユーザー: 「今週の Sprint の状況を教えて」
動作: sprint-report.sh を実行してレポート表示

ユーザー: 「前回の Sprint と比較して」
動作: current + previous のレポートを並べて差分を表示

スクリプトリファレンス

スクリプト用途
setup-all.sh全環境一括構築(Mode A)
setup-labels.shラベル13種一括作成
setup-fields.shカスタムフィールド作成
setup-status.shStatus 14オプション設定
setup-views.sh5ビュー作成
setup-templates.shテンプレート&ワークフロー自動配置
project-ops.sh日常運用操作(Mode B)
migrate-import.shJira/Linear/Notion CSV 移行
sprint-report.shSprint レポート生成(Mode C)

MCP ツール一覧(31ツール)

カテゴリツール数内容
GitHub Projects12list-fields, list-items, add-item, move-status, set-priority, sprint-report, get-issue, create-issue, edit-issue, manage-labels, manage-assignees, set-issue-state
Issue Sync3scan-zombies, scan-todos, backlog-report
Notion7search, get-page, query-database, create-page, append-blocks, update-page, archive-page
Google Workspace9search-drive, get-doc, get-sheet, get-slides, list-events, search-gmail, update-sheet, append-sheet, create-event

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.