/ ディレクトリ / プレイグラウンド / mattpocock/skills
● コミュニティ mattpocock ⚡ 即起動

mattpocock/skills

作者 mattpocock · mattpocock/skills

Matt Pocock's personal .claude directory — opinionated TypeScript, testing, and workflow skills straight from a TS OG.

Matt Pocock (TypeScript educator, creator of Total TypeScript) published his personal Claude Code skills directory. Includes TS-specific patterns, testing philosophy, refactoring patterns, and workflow opinions. Not a generic bundle — it's one engineer's actual setup.

なぜ使うのか

主な機能

ライブデモ

実際の動作

準備完了

インストール

クライアントを選択

~/Library/Application Support/Claude/claude_desktop_config.json  · Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "mattpocock-skills-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/mattpocock/skills",
        "~/.claude/skills/skills"
      ],
      "_inferred": true
    }
  }
}

Claude Desktop → Settings → Developer → Edit Config を開く。保存後、アプリを再起動。

~/.cursor/mcp.json · .cursor/mcp.json
{
  "mcpServers": {
    "mattpocock-skills-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/mattpocock/skills",
        "~/.claude/skills/skills"
      ],
      "_inferred": true
    }
  }
}

Cursor は Claude Desktop と同じ mcpServers スキーマを使用。プロジェクト設定はグローバルより優先。

VS Code → Cline → MCP Servers → Edit
{
  "mcpServers": {
    "mattpocock-skills-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/mattpocock/skills",
        "~/.claude/skills/skills"
      ],
      "_inferred": true
    }
  }
}

Cline サイドバーの MCP Servers アイコンをクリックし、"Edit Configuration" を選択。

~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "mattpocock-skills-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/mattpocock/skills",
        "~/.claude/skills/skills"
      ],
      "_inferred": true
    }
  }
}

Claude Desktop と同じ形式。Windsurf を再起動して反映。

~/.continue/config.json
{
  "mcpServers": [
    {
      "name": "mattpocock-skills-skill",
      "command": "git",
      "args": [
        "clone",
        "https://github.com/mattpocock/skills",
        "~/.claude/skills/skills"
      ]
    }
  ]
}

Continue はマップではなくサーバーオブジェクトの配列を使用。

~/.config/zed/settings.json
{
  "context_servers": {
    "mattpocock-skills-skill": {
      "command": {
        "path": "git",
        "args": [
          "clone",
          "https://github.com/mattpocock/skills",
          "~/.claude/skills/skills"
        ]
      }
    }
  }
}

context_servers に追加。保存時に Zed がホットリロード。

claude mcp add mattpocock-skills-skill -- git clone https://github.com/mattpocock/skills ~/.claude/skills/skills

ワンライナー。claude mcp list で確認、claude mcp remove で削除。

ユースケース

実用的な使い方: mattpocock/skills

Apply Matt's TS patterns to an existing project

👤 TypeScript devs upgrading code quality ⏱ ~90 min intermediate

使うタイミング: Your project has anys and shrug-worthy types and you want a principled cleanup.

前提条件
  • Skills installed — git clone https://github.com/mattpocock/skills ~/.claude/skills/mattpocock
フロー
  1. Scan
    Use mattpocock/ts-review. Scan /src and list every any, every unsafe cast, every type hole. Group by file.✓ コピーしました
    → Itemized findings, not a summary
  2. Fix with principles
    Fix the top 20, narrowest fix per case. Respect Matt's "prefer inference" rule — don't explicit-annotate what TS can infer.✓ コピーしました
    → Minimal diffs, type-safety gained
  3. Check
    Run tsc --noEmit. Any regressions?✓ コピーしました
    → Clean compile or precisely-scoped remaining items

結果: A measurably more type-safe codebase following a principled methodology.

注意点
  • Skill applies Matt's opinions where your team disagrees (e.g. interface vs type) — Override with "skip the interface-vs-type conversion, keep existing style"
組み合わせ: filesystem

Build a feature test-first, Matt's way

👤 Devs adopting a more test-forward workflow ⏱ ~60 min intermediate

使うタイミング: You have a new feature to build and want to try test-first with modern TS tooling.

フロー
  1. Write the test
    Use mattpocock/test-first. I want to add a parseInvoice function. Write the test (vitest, integration-over-unit bias) before any impl.✓ コピーしました
    → Failing test with realistic fixtures
  2. Implement
    Now the minimal implementation. Type-safe, no any.✓ コピーしました
    → Green test with clean types
  3. Refactor
    Apply refactor patterns from the skill — extract helpers if they earn it, no premature abstraction.✓ コピーしました
    → Refactor only where the skill's criteria are met

結果: A test suite that tests behavior, an impl that satisfies it, and restraint on the refactor.

注意点
  • Opinions collide with team's existing Jest setup — Ask the skill to adapt — it's opinionated but can be reoriented
組み合わせ: filesystem

組み合わせ

他のMCPと組み合わせて10倍の力を

mattpocock-skills-skill + filesystem

Apply to a full repo

Run ts_review over the whole /src tree and report.✓ コピーしました
mattpocock-skills-skill + github

Open a PR per review

For the top 3 cleanups, create one PR each with a clear description.✓ コピーしました

ツール

このMCPが提供する機能

ツール入力呼び出すタイミングコスト
ts_review path TS-specific audit 0
test_first feature_spec Starting a new feature 0
refactor_with_types path, goal Type-preserving refactor 0

コストと制限

運用コスト

APIクォータ
N/A
呼び出しあたりのトークン
Review-heavy — budget for big reads on large codebases
金額
Free
ヒント
Scope by directory first; don't scan everything

セキュリティ

権限、シークレット、影響範囲

最小スコープ: filesystem-read
認証情報の保管: None
データ送信先: None

トラブルシューティング

よくあるエラーと対処法

Skill feels too opinionated

That's the point — override specific opinions in your prompt, or fork and edit

Recommendations conflict with team style

Share the output with the team; use it as a discussion starter, not a mandate

Doesn't know my niche library

Skills are TS-general — prepend your library's docs to the context

代替案

mattpocock/skills 他との比較

代替案代わりに使う場面トレードオフ
Your team's linter configYou need CI-level enforcement, not interactive reviewNo LLM reasoning, no refactor help
Biome / ESLint with typescript-eslintWant rules-based, deterministicDoesn't explain its reasoning the way Matt's skills do

その他

リソース

📖 GitHub の公式 README を読む

🐙 オープンな issue を見る

🔍 400以上のMCPサーバーとSkillsを見る