/ Каталог / Песочница / skills
● Сообщество posit-dev ⚡ Сразу

skills

автор posit-dev · posit-dev/skills

Posit's curated Claude Skills collection — R, data-science, Quarto, and workflow skills from the people behind RStudio and Shiny.

Posit Skills is the skill pack from Posit (RStudio/Shiny). It's biased toward R and data-science workflows but covers Quarto authoring, package development, and reproducible analysis patterns. Higher quality bar than most community collections because Posit ships it as a vendor-maintained catalog.

Зачем использовать

Ключевые функции

Живое демо

Как выглядит на практике

skills-skill-2.replay ▶ готово
0/0

Установка

Выберите клиент

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

Откройте Claude Desktop → Settings → Developer → Edit Config. Перезапустите после сохранения.

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

Cursor использует ту же схему mcpServers, что и Claude Desktop. Конфиг проекта приоритетнее глобального.

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

Щёлкните значок MCP Servers на боковой панели Cline, затем "Edit Configuration".

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

Тот же формат, что и Claude Desktop. Перезапустите Windsurf для применения.

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

Continue использует массив объектов серверов, а не map.

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

Добавьте в context_servers. Zed перезагружается автоматически.

claude mcp add skills-skill-2 -- git clone https://github.com/posit-dev/skills ~/.claude/skills/skills

Однострочная команда. Проверить: claude mcp list. Удалить: claude mcp remove.

Сценарии использования

Реальные сценарии: skills

How to scaffold a proper R package

👤 R developers starting a new package and wanting usethis/devtools conventions ⏱ ~30 min intermediate

Когда использовать: You're tired of hand-writing DESCRIPTION, NAMESPACE, and roxygen2 boilerplate.

Предварительные требования
  • Skill installed — git clone https://github.com/posit-dev/skills ~/.claude/skills/posit-skills
  • R + devtools — install.packages('devtools')
Поток
  1. Scaffold
    Use Posit R-package skill. Create a new package 'tidylaundry' with 2 exported functions: wash() and fold().✓ Скопировано
    → Directory with DESCRIPTION, NAMESPACE, R/, tests/testthat/, README
  2. Add roxygen
    Add roxygen2 docs with @param, @return, @examples for each function.✓ Скопировано
    → Inline docs that devtools::document() converts to man/
  3. Smoke test
    Write testthat tests covering happy path + one edge case each.✓ Скопировано
    → Tests passing under devtools::test()

Итог: A package that passes R CMD check on day one.

Подводные камни
  • Generated code uses base R where tidyverse would be clearer (or vice versa) — State the style preference upfront

Author a reproducible Quarto report

👤 Analysts publishing reports with code + narrative ⏱ ~45 min intermediate

Когда использовать: You need to share analysis with stakeholders in a reproducible format.

Поток
  1. Scaffold Quarto doc
    Use Posit Quarto skill. Create a report template with YAML header, exec defaults, and Tufte theme.✓ Скопировано
    → .qmd file with chunked code + narrative
  2. Fill with analysis
    Load data/sales.csv and produce a monthly revenue chart with ggplot + a 2-paragraph insight.✓ Скопировано
    → Chunks that render to HTML/PDF
  3. Pin environment
    Capture versions with renv::snapshot().✓ Скопировано
    → renv.lock produced

Итог: A reproducible report anyone can re-render given the data.

Подводные камни
  • Quarto render fails silently on missing system deps — Check quarto check output; common issue is missing tinytex or chromium for PDF

Scaffold a Shiny app with modern patterns

👤 R developers building internal apps ⏱ ~40 min intermediate

Когда использовать: New Shiny app, want modules + bslib theming from the start.

Поток
  1. Scaffold
    Use Posit Shiny skill. Create an app with bslib::page_fluid, 2 modules: upload + plot.✓ Скопировано
    → app.R with module files in R/
  2. Add reactive flow
    Wire upload module's reactive output into plot module's input.✓ Скопировано
    → Reactives connected; app runs

Итог: A modular Shiny app that's easy to extend.

Комбинации

Сочетайте с другими MCP — эффект x10

Use Posit skills as reference patterns when authoring new skills

Show me the structure of a Posit skill, then /build a parallel skill for Julia package dev.✓ Скопировано

Инструменты

Что предоставляет этот MCP

ИнструментВходные данныеКогда вызыватьСтоимость
R package scaffolding - New package 0
Quarto authoring - Reports and docs 0
Shiny patterns - Internal app dev 0
Reproducibility (renv) - Pinning environment 0

Стоимость и лимиты

Во что обходится

Квота API
None
Токенов на вызов
Varies per skill
Деньги
Free
Совет
R package scaffolds are small token-wise; Quarto with data analysis can balloon.

Безопасность

Права, секреты, радиус поражения

Хранение учётных данных: No credentials
Исходящий трафик: None by default

Устранение неполадок

Частые ошибки и исправления

Generated R code uses outdated tidyverse APIs

State target package versions: 'dplyr 1.1+, tidyselect 1.2+'

Skill not triggered on R contexts

Claude auto-triggers on file extensions; explicitly invoke 'Use Posit R skills ...' to guarantee

Альтернативы

skills в сравнении

АльтернативаКогда использоватьКомпромисс
Hand-written with usethisYou already know the conventions coldMore control, slower setup

Ещё

Ресурсы

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

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

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