Targets R Skill — Development skill for Claude Code
Claude Code and Codex skill for the targets R package (targets = 1.12).
How to install Targets R Skill
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open statzhero/targets-r-skill and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Targets R Skill does
Claude Code and Codex skill for the targets R package (targets >= 1.12). Modern patterns for reproducible analysis pipelines.
Alternatives in Development
- Auto Update — Pull the latest ECC repo changes and reinstall the current managed targets 243.5k ★
- Jupyter Notebook — Create clean, reproducible Jupyter notebooks for experiments and tutorials 14.6k ★
- Ship Studio — The professional studio for modern development — build it, ship it, host it without leaving the app 249 ★
README
targets-r-skill
An LLM skill for the [`targets`](https://docs.ropensci.org/targets/) R package using `targets` >= 1.12.0 and `tarchetypes` >= 0.14.1.
What does it do?
When you ask an LLM to write a `_targets.R` file, it draws on training data that mixes drake idioms, pre-1.10 `targets` patterns, and current best practice. This skill gives the model a structured reference for the current API so it produces pipelines that match the 1.11-era defaults and uses the modern tarchetypes factories.
The skill covers: `tar_target()` and option setup, storage formats (including `format = "auto"`), dynamic and static branching, debugging with `tar_workspace()` and `tar_igraph()`, scoped `tar_make()` / `tar_invalidate()` / `tar_destroy()` for safe reruns, cloud and CAS repositories, Quarto and R Markdown integration with `tar_quarto()` / `tar_render()`, Typst/LaTeX compilation patterns, and anti-patterns specific to `targets`.
Installation
Claude Code (one command)
Clone directly into your skills directory:
git clone https://github.com/statzhero/targets-r-skill.git ~/.claude/skills/targets-r
That's it. The skill is available immediately as `/targets-r` in any Claude Code session.
If you prefer not to use the terminal, you can add skills from the Claude desktop app:
- Download the repository as a ZIP from GitHub.
- Open the Claude desktop app and switch to the Code tab.
- Click Customize in the left sidebar, then select Skills.
- Click the + button, choose Upload a skill, and select the ZIP file.
Codex
Clone into your user skills directory (available across all projects):
git clone https://github.com/statzhero/targets-r-skill.git ~/.codex/skills/targets-r
If you prefer not to use the terminal, download the ZIP, unzip it, and move the folder to `~/.codex/skills/targets-r/` or `.codex/skills/targets-r/` inside your project.
Test the skill
After installing, try this prompt in your CLI:
/targets-
Related Skills
iOS New App
Scaffold a new iOS/SwiftUI app or SPM package/workspace with modern Swift 6.2 / iOS 26 defaults
Autonomous Loops
Patterns and architectures for autonomous coding-agent loops — from simple sequential pipelines to RFC-driven
Swift Patterns Skill
Modern Swift/SwiftUI best practices
Ma Assessment
End-to-end M&A assessment playbook — combines due diligence, financial modeling, competitive analysis, and str
Seance
Read-only survey of a whole repository at a ref for standing simplification targets — pattern contention, dead
Code History
Quick analysis of code evolution and key patterns
Related Agents
Code Csharp Analyst
Use PROACTIVELY for C# analysis - provides modern C# patterns, async/await best practices, LINQ optimization,
GitHub Actions Agent
CI workflow owner for secure, reproducible GitHub Actions pipelines.
Senior Code Architect
Use this agent when you need expert-level code review, architecture decisions, or framework guidance. This age