/ Каталог / Песочница / 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 использует ту же схему mcpServers, что и Claude Desktop. Конфиг проекта приоритетнее глобального.

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

Щёлкните значок MCP Servers на боковой панели Cline, затем "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 использует массив объектов серверов, а не map.

~/.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 — эффект x10

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

Ещё

Ресурсы

📖 Читать официальный README на GitHub

🐙 Открытые задачи

🔍 Все 400+ MCP-серверов и Skills