designing-tidy-r-functions

Community

Design intuitive R function APIs.

Authorjsperger
Version1.0.0
Installs0

System Documentation

What problem does it solve?

R function APIs can be hard to discover and use when names are inconsistent, arguments are poorly ordered, and outputs are unpredictable. This Skill guides designing user-friendly R function APIs with naming conventions, argument ordering, and type stability.

Core Features & Use Cases

  • Predictable names and verb-first conventions.
  • Argument ordering that favors most important inputs first and defaults last.
  • Pipe-friendly interfaces with the primary data as the first argument.
  • Type-stable outputs and explicit option validation patterns (e.g., arg_match).
  • Use case: Review a new function API in a package to improve usability and consistency.

Quick Start

Use the designing-tidy-r-functions skill to evaluate the API design of a new function read_data() for naming, argument ordering, and defaults.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: designing-tidy-r-functions
Download link: https://github.com/jsperger/llm-r-skills/archive/main.zip#designing-tidy-r-functions

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.