MCP HubMCP Hub
스킬 목록으로 돌아가기

install-putior

pjt222
업데이트됨 Yesterday
7 조회
17
2
17
GitHub에서 보기
메타aiapimcpautomationdesign

정보

이 스킬은 코드 주석에서 워크플로우 시각화를 생성하기 위한 `putior` R 패키지를 설치하고 구성합니다. CRAN 또는 GitHub에서의 설치를 처리하며, 선택적 종속성을 설정하고 주석-다이어그램 파이프라인의 완전성을 검증합니다. 초기 설정, 환경 준비, 또는 다운스트림 스킬에서 `putior`가 필요할 때 사용하십시오.

빠른 설치

Claude Code

추천
기본
npx skills add pjt222/agent-almanac -a claude-code
플러그인 명령대체
/plugin add https://github.com/pjt222/agent-almanac
Git 클론대체
git clone https://github.com/pjt222/agent-almanac.git ~/.claude/skills/install-putior

Claude Code에서 이 명령을 복사하여 붙여넣어 스킬을 설치하세요

문서

Install putior

Install putior R package + optional dependencies so annotation-to-diagram pipeline ready to use.

When Use

  • Setting up putior for first time in project or environment
  • Preparing machine for workflow visualization tasks
  • Downstream skill (analyze-codebase-workflow, generate-workflow-diagram) needs putior installed
  • Restoring environment after R version upgrade or renv wipe

Inputs

  • Required: Access to R installation (>= 4.1.0)
  • Optional: Install from CRAN (default) or GitHub dev version
  • Optional: Which optional dependency groups to install: MCP (mcptools, ellmer), interactive (shiny, shinyAce), logging (logger), ACP (plumber2)

Steps

Step 1: Verify R Installation

Confirm R available + meets minimum version requirement.

R.Version()$version.string
# Must be >= 4.1.0
# From WSL with Windows R
"/mnt/c/Program Files/R/R-4.5.2/bin/Rscript.exe" -e "cat(R.version.string)"

Got: R version string printed, >= 4.1.0.

If fail: Install or upgrade R. On Windows, download from https://cran.r-project.org/bin/windows/base/. On Linux, use sudo apt install r-base.

Step 2: Install putior

Install from CRAN (stable) or GitHub (dev).

# CRAN (recommended)
install.packages("putior")

# GitHub dev version (if latest features needed)
remotes::install_github("pjt222/putior")

Got: Package installs no errors. library(putior) loads silently.

If fail: CRAN installation fails with "not available for this version of R"? Use GitHub version. GitHub fails? Check remotes installed: install.packages("remotes").

Step 3: Install Optional Dependencies

Install optional packages based on required functionality.

# MCP server integration (for AI assistant access)
remotes::install_github("posit-dev/mcptools")
install.packages("ellmer")

# Interactive sandbox
install.packages("shiny")
install.packages("shinyAce")

# Structured logging
install.packages("logger")

# ACP server (agent-to-agent communication)
install.packages("plumber2")

Got: Each package installs no errors.

If fail: mcptools → ensure remotes installed first. System dependency errors on Linux? Install required libraries (sudo apt install libcurl4-openssl-dev for httr2 dependency).

Step 4: Verify Installation

Run basic pipeline to confirm everything works.

library(putior)

# Check package version
packageVersion("putior")

# Verify core functions are available
stopifnot(
  is.function(put),
  is.function(put_auto),
  is.function(put_diagram),
  is.function(put_generate),
  is.function(put_merge),
  is.function(put_theme)
)

# Test basic pipeline with a temp file
tmp <- tempfile(fileext = ".R")
writeLines("# put id:'test', label:'Hello putior'", tmp)
cat(put_diagram(put(tmp)))

Got: Mermaid flowchart code printed to console containing test + Hello putior.

Key defaults: All scan functions (put(), put_auto(), put_generate(), put_merge()) default to recursive = TRUE, scanning subdirectories automatic. Breaking change from pre-0.2.0 versions where default was FALSE. All scan functions also accept exclude parameter for regex-based file filtering (put("./src/", exclude = "test_")).

Optional shiny package installed? Try interactive sandbox:

putior::run_sandbox()

Launches browser-based editor where you experiment with PUT annotation syntax + see diagrams rendered real time.

If fail: put not found? Package didn't install correctly. Reinstall with install.packages("putior", dependencies = TRUE). Diagram empty? Verify temp file created + annotation syntax uses single quotes inside double quotes.

Checks

  • library(putior) loads no errors
  • packageVersion("putior") returns valid version
  • put() with file containing valid PUT annotation returns data frame with one row
  • put_diagram() produces Mermaid code starting with flowchart
  • All requested optional dependencies load no errors

Pitfalls

  • Wrong quote nesting: PUT annotations use single quotes inside annotation: id:'name', not id:"name" (conflicts with comment string delimiter in some contexts).
  • Missing Pandoc for vignettes: Plan to build putior vignettes locally? Ensure RSTUDIO_PANDOC set in .Renviron.
  • renv isolation: Project uses renv? Must install putior inside renv library. Run renv::install("putior") not install.packages("putior").
  • GitHub rate limits: Installing mcptools from GitHub may fail without GITHUB_PAT. Set one via usethis::create_github_token().

See Also

  • analyze-codebase-workflow — next step after installation to survey codebase
  • configure-putior-mcp — set up MCP server after installing optional deps
  • manage-renv-dependencies — manage putior within renv environment
  • configure-mcp-server — general MCP server configuration

GitHub 저장소

pjt222/agent-almanac
경로: i18n/caveman/skills/install-putior
0
agentsagentskillsai-assisted-developmentclaude-codeskillsteams

연관 스킬

content-collections

메타

이 스킬은 콘텐츠 콜렉션(Content Collections)을 위한 프로덕션 검증된 설정을 제공합니다. 콘텐츠 콜렉션은 Markdown/MDX 파일을 Zod 검증이 포함된 타입 안전한 데이터 콜렉션으로 변환해주는 TypeScript 최우선 도구입니다. 블로그, 문서 사이트 또는 콘텐츠 중심의 Vite + React 애플리케이션을 구축할 때 타입 안전성과 자동 콘텐츠 검증을 보장하기 위해 사용하세요. Vite 플러그인 구성과 MDX 컴파일부터 배포 최적화 및 스키마 검증에 이르기까지 모든 것을 다룹니다.

스킬 보기

polymarket

메타

이 스킬은 개발자들이 Polymarket 예측 시장 플랫폼을 활용한 애플리케이션을 구축할 수 있도록 지원하며, 거래 및 시장 데이터를 위한 API 통합 기능을 포함합니다. 또한 WebSocket을 통한 실시간 데이터 스트리밍을 제공하여 실시간 거래와 시장 활동을 모니터링할 수 있습니다. 이를 통해 거래 전략을 구현하거나 실시간 시장 업데이트를 처리하는 도구를 생성하는 데 활용할 수 있습니다.

스킬 보기

creating-opencode-plugins

메타

이 스킬은 개발자들이 명령어, 파일, LSP 작업 등 25개 이상의 이벤트 유형에 연결되는 OpenCode 플러그인을 만들 수 있도록 돕습니다. JavaScript/TypeScript 모듈을 위한 플러그인 구조, 이벤트 API 명세, 구현 패턴을 제공합니다. OpenCode AI 어시스턴트의 라이프사이클을 사용자 정의 이벤트 기반 로직으로 가로채거나, 모니터링하거나, 확장해야 할 때 사용하세요.

스킬 보기

sglang

메타

SGLang은 RadixAttention 프리픽스 캐싱을 활용하여 JSON, 정규식, 에이전트 워크플로우를 위한 고속 구조화 생성에 특화된 고성능 LLM 서빙 프레임워크입니다. 특히 반복되는 프리픽스가 있는 작업에서 상당히 빠른 추론 속도를 제공하여 복잡한 구조화 출력 및 다중 턴 대화에 이상적입니다. 제약 디코딩이 필요하거나 광범위한 프리픽스 공유가 있는 애플리케이션을 구축할 때는 vLLM과 같은 대안보다 SGLang을 선택하십시오.

스킬 보기