setup-matt-pocock-skills
Sets up an `## Agent skills` block in AGENTS.md/CLAUDE.md and `docs/agents/` so the engineering skills know this repo's issue tracker (GitHub or local markdown), triage label vocabulary, and domain doc layout. Run before first use of `to-issues`, `to-prd`, `triage`, `diagnose`, `tdd`, `improve-codebase-architecture`, or `zoom-out` — or if those skills appear to be missing context about the issue tracker, triage labels, or domain docs.
下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o setup-matt-pocock-skills.zip https://jpskill.com/download/19631.zip && unzip -o setup-matt-pocock-skills.zip && rm setup-matt-pocock-skills.zip
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/19631.zip -OutFile "$d\setup-matt-pocock-skills.zip"; Expand-Archive "$d\setup-matt-pocock-skills.zip" -DestinationPath $d -Force; ri "$d\setup-matt-pocock-skills.zip"
完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。
💾 手動でダウンロードしたい(コマンドが難しい人向け)
- 1. 下の青いボタンを押して
setup-matt-pocock-skills.zipをダウンロード - 2. ZIPファイルをダブルクリックで解凍 →
setup-matt-pocock-skillsフォルダができる - 3. そのフォルダを
C:\Users\あなたの名前\.claude\skills\(Win)または~/.claude/skills/(Mac)へ移動 - 4. Claude Code を再起動
⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。
🎯 このSkillでできること
下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。
📦 インストール方法 (3ステップ)
- 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
- 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
- 3. 展開してできたフォルダを、ホームフォルダの
.claude/skills/に置く- · macOS / Linux:
~/.claude/skills/ - · Windows:
%USERPROFILE%\.claude\skills\
- · macOS / Linux:
Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。
詳しい使い方ガイドを見る →- 最終更新
- 2026-05-18
- 取得日時
- 2026-05-18
- 同梱ファイル
- 1
📖 Skill本文(日本語訳)
※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。
[スキル名] setup-matt-pocock-skills
Matt Pocock のスキルをセットアップする
エンジニアリングスキルが前提とする、リポジトリごとの設定を足場固めします。
- 課題トラッカー — 課題が存在する場所(デフォルトは GitHub、ローカルの Markdown もすぐにサポートされます)
- トリアージラベル — 5つの標準的なトリアージ役割に使用される文字列
- ドメインドキュメント —
CONTEXT.mdと ADR が存在する場所、およびそれらを読むためのコンシューマールール
これはプロンプト駆動型のスキルであり、決定論的なスクリプトではありません。探索し、見つけたものを提示し、ユーザーと確認し、それから書き込みます。
プロセス
1. 探索
現在のリポジトリを見て、その初期状態を理解します。存在するものは何でも読み、仮定しないでください。
git remote -vと.git/config— これは GitHub リポジトリですか?どれですか?- リポジトリルートの
AGENTS.mdとCLAUDE.md— どちらか存在しますか?どちらかにすでに## Agent skillsセクションがありますか? - リポジトリルートの
CONTEXT.mdとCONTEXT-MAP.md docs/adr/と任意のsrc/*/docs/adr/ディレクトリdocs/agents/— このスキルの以前の出力はすでに存在しますか?.scratch/— ローカル Markdown の課題トラッカー規約がすでに使用されている兆候
2. 発見を提示し、質問する
存在する情報と不足している情報を要約します。次に、3つの決定事項を一度に1つずつユーザーに説明します。セクションを提示し、ユーザーの回答を得てから、次のセクションに進みます。3つすべてを一度に提示しないでください。
ユーザーがこれらの用語の意味を知らないと仮定します。各セクションは短い説明(それが何であるか、なぜこれらのスキルが必要とするか、異なる選択をした場合に何が変わるか)から始まります。次に、選択肢とデフォルトを示します。
セクション A — 課題トラッカー。
説明: 「課題トラッカー」は、このリポジトリの課題が存在する場所です。
to-issues、triage、to-prd、qaなどのスキルは、そこから読み書きします。そのため、gh issue createを呼び出すべきか、.scratch/の下に Markdown ファイルを書き込むべきか、またはユーザーが説明する他のワークフローに従うべきかを知る必要があります。このリポジトリで実際に作業を追跡している場所を選択してください。
デフォルトの姿勢:これらのスキルは GitHub 向けに設計されています。git remote が GitHub を指している場合、それを提案します。git remote が GitLab(gitlab.com または自己ホスト型ホスト)を指している場合、GitLab を提案します。それ以外の場合(またはユーザーが好む場合)は、以下を提供します。
- GitHub — 課題はリポジトリの GitHub Issues に存在します(
ghCLI を使用) - GitLab — 課題はリポジトリの GitLab Issues に存在します(
glabCLI を使用) - ローカル Markdown — 課題は、このリポジトリの
.scratch/<feature>/の下のファイルとして存在します(ソロプロジェクトやリモートのないリポジトリに適しています) - その他(Jira、Linear など) — ユーザーにワークフローを1段落で説明するよう依頼します。スキルはそれを自由形式の散文として記録します。
セクション B — トリアージラベルの語彙。
説明:
triageスキルが受信した課題を処理するとき、それは状態マシン(評価が必要、報告者待ち、AFK エージェントが対応可能、人間が対応可能、または修正しない)を通過させます。そのためには、実際に設定した文字列と一致するラベル(または課題トラッカーの同等のもの)を適用する必要があります。リポジトリがすでに異なるラベル名(例:needs-triageの代わりにbug:triage)を使用している場合、ここでそれらをマッピングして、スキルが重複を作成する代わりに正しいものを適用するようにします。
5つの標準的な役割:
needs-triage— メンテナーが評価する必要があるneeds-info— 報告者待ちready-for-agent— 完全に指定されており、AFK 対応(エージェントが人間のコンテキストなしで対応可能)ready-for-human— 人間による実装が必要wontfix— 対応しない
デフォルト:各役割の文字列はその名前と同じです。ユーザーに何かを上書きしたいかどうか尋ねます。課題トラッカーに既存のラベルがない場合、デフォルトで問題ありません。
セクション C — ドメインドキュメント。
説明:一部のスキル(
improve-codebase-architecture、diagnose、tdd)は、プロジェクトのドメイン言語を学習するためにCONTEXT.mdファイルを読み込み、過去のアーキテクチャ上の決定のためにdocs/adr/を読み込みます。リポジトリにグローバルなコンテキストが1つあるのか、それとも複数あるのか(例:個別のフロントエンド/バックエンドコンテキストを持つモノレポ)を知る必要があります。そうすることで、適切な場所を探すことができます。
レイアウトを確認します。
- 単一コンテキスト — リポジトリルートに1つの
CONTEXT.md+docs/adr/。ほとんどのリポジトリがこれに該当します。 - 複数コンテキスト — ルートに
CONTEXT-MAP.mdがあり、コンテキストごとのCONTEXT.mdファイルを指しています(通常はモノレポ)。
3. 確認と編集
ユーザーに以下のドラフトを表示します。
CLAUDE.md/AGENTS.mdのどちらを編集するか(選択ルールはステップ4を参照)に追加する## Agent skillsブロックdocs/agents/issue-tracker.md、docs/agents/triage-labels.md、docs/agents/domain.mdの内容
書き込む前に編集を許可します。
4. 書き込み
編集するファイルを選択します。
CLAUDE.mdが存在する場合、それを編集します。- そうでない場合、
AGENTS.mdが存在する場合、それを編集します。 - どちらも存在しない場合、どちらを作成するかをユーザーに尋ねます。ユーザーに代わって選択しないでください。
CLAUDE.md がすでに存在する場合に AGENTS.md を作成したり(またはその逆)、常に既存のファイルを編集したりしないでください。
選択したファイルに ## Agent skills ブロックがすでに存在する場合、重複を追加するのではなく、その内容をインプレースで更新します。周囲のセクションに対するユーザーの編集を上書きしないでください。
ブロック:
## Agent skills
### Issue tracker
[課題が追跡される場所の1行の要約]。`docs/agents/issue-tracker.md` を参照してください。
### Triage labels
[ラベルの語彙の1行の要約]。`docs/agents/triage-labels.md` を参照してください。
### Domain docs
[レイアウトの1行の要約 — "single-context" または "multi-context"]。`docs/agents/domain.md` を参照してください。
次に、このスキルフォルダのシードテンプレートを起点として、3つのドキュメントファイルを作成します。
- issue-tracker-github.md — GitHub 課題トラッカー
- issue-tracker-gitlab.md — GitLab 課題トラッカー
- issue-tracker-local.md — ローカル Markdown 課題トラッカー
- triage-labels.md — ラベルマッピング
- domain.md — ドメインドキュメントのコンシューマールール + レイアウト
「その他」の課題トラッカーについては、ユーザーの説明を使用して docs/agents/issue-tracker.md をゼロから作成します。
📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開
Setup Matt Pocock's Skills
Scaffold the per-repo configuration that the engineering skills assume:
- Issue tracker — where issues live (GitHub by default; local markdown is also supported out of the box)
- Triage labels — the strings used for the five canonical triage roles
- Domain docs — where
CONTEXT.mdand ADRs live, and the consumer rules for reading them
This is a prompt-driven skill, not a deterministic script. Explore, present what you found, confirm with the user, then write.
Process
1. Explore
Look at the current repo to understand its starting state. Read whatever exists; don't assume:
git remote -vand.git/config— is this a GitHub repo? Which one?AGENTS.mdandCLAUDE.mdat the repo root — does either exist? Is there already an## Agent skillssection in either?CONTEXT.mdandCONTEXT-MAP.mdat the repo rootdocs/adr/and anysrc/*/docs/adr/directoriesdocs/agents/— does this skill's prior output already exist?.scratch/— sign that a local-markdown issue tracker convention is already in use
2. Present findings and ask
Summarise what's present and what's missing. Then walk the user through the three decisions one at a time — present a section, get the user's answer, then move to the next. Don't dump all three at once.
Assume the user does not know what these terms mean. Each section starts with a short explainer (what it is, why these skills need it, what changes if they pick differently). Then show the choices and the default.
Section A — Issue tracker.
Explainer: The "issue tracker" is where issues live for this repo. Skills like
to-issues,triage,to-prd, andqaread from and write to it — they need to know whether to callgh issue create, write a markdown file under.scratch/, or follow some other workflow you describe. Pick the place you actually track work for this repo.
Default posture: these skills were designed for GitHub. If a git remote points at GitHub, propose that. If a git remote points at GitLab (gitlab.com or a self-hosted host), propose GitLab. Otherwise (or if the user prefers), offer:
- GitHub — issues live in the repo's GitHub Issues (uses the
ghCLI) - GitLab — issues live in the repo's GitLab Issues (uses the
glabCLI) - Local markdown — issues live as files under
.scratch/<feature>/in this repo (good for solo projects or repos without a remote) - Other (Jira, Linear, etc.) — ask the user to describe the workflow in one paragraph; the skill will record it as freeform prose
Section B — Triage label vocabulary.
Explainer: When the
triageskill processes an incoming issue, it moves it through a state machine — needs evaluation, waiting on reporter, ready for an AFK agent to pick up, ready for a human, or won't fix. To do that, it needs to apply labels (or the equivalent in your issue tracker) that match strings you've actually configured. If your repo already uses different label names (e.g.bug:triageinstead ofneeds-triage), map them here so the skill applies the right ones instead of creating duplicates.
The five canonical roles:
needs-triage— maintainer needs to evaluateneeds-info— waiting on reporterready-for-agent— fully specified, AFK-ready (an agent can pick it up with no human context)ready-for-human— needs human implementationwontfix— will not be actioned
Default: each role's string equals its name. Ask the user if they want to override any. If their issue tracker has no existing labels, the defaults are fine.
Section C — Domain docs.
Explainer: Some skills (
improve-codebase-architecture,diagnose,tdd) read aCONTEXT.mdfile to learn the project's domain language, anddocs/adr/for past architectural decisions. They need to know whether the repo has one global context or multiple (e.g. a monorepo with separate frontend/backend contexts) so they look in the right place.
Confirm the layout:
- Single-context — one
CONTEXT.md+docs/adr/at the repo root. Most repos are this. - Multi-context —
CONTEXT-MAP.mdat the root pointing to per-contextCONTEXT.mdfiles (typically a monorepo).
3. Confirm and edit
Show the user a draft of:
- The
## Agent skillsblock to add to whichever ofCLAUDE.md/AGENTS.mdis being edited (see step 4 for selection rules) - The contents of
docs/agents/issue-tracker.md,docs/agents/triage-labels.md,docs/agents/domain.md
Let them edit before writing.
4. Write
Pick the file to edit:
- If
CLAUDE.mdexists, edit it. - Else if
AGENTS.mdexists, edit it. - If neither exists, ask the user which one to create — don't pick for them.
Never create AGENTS.md when CLAUDE.md already exists (or vice versa) — always edit the one that's already there.
If an ## Agent skills block already exists in the chosen file, update its contents in-place rather than appending a duplicate. Don't overwrite user edits to the surrounding sections.
The block:
## Agent skills
### Issue tracker
[one-line summary of where issues are tracked]. See `docs/agents/issue-tracker.md`.
### Triage labels
[one-line summary of the label vocabulary]. See `docs/agents/triage-labels.md`.
### Domain docs
[one-line summary of layout — "single-context" or "multi-context"]. See `docs/agents/domain.md`.
Then write the three docs files using the seed templates in this skill folder as a starting point:
- issue-tracker-github.md — GitHub issue tracker
- issue-tracker-gitlab.md — GitLab issue tracker
- issue-tracker-local.md — local-markdown issue tracker
- triage-labels.md — label mapping
- domain.md — domain doc consumer rules + layout
For "other" issue trackers, write docs/agents/issue-tracker.md from scratch using the user's description.
5. Done
Tell the user the setup is complete and which engineering skills will now read from these files. Mention they can edit docs/agents/*.md directly later — re-running this skill is only necessary if they want to switch issue trackers or restart from scratch.