r-package-skill

Generate R package skills with a TDD-based workflow and documentation gathering.

19|1|Updated Mar 3, 2026
One-click install
npx skills add https://github.com/arthurgailes/awesome-r-skills --skill r-package-skill
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: r-package-skill
Source: https://github.com/arthurgailes/awesome-r-skills/tree/main/skills/r-package-skill
Command: npx skills add https://github.com/arthurgailes/awesome-r-skills --skill r-package-skill

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automates the process of creating new R package skills by guiding the user through documentation gathering and skill structure definition, ensuring consistency and completeness.

Core Features & Use Cases

  • Guided Skill Creation: Provides a structured workflow (RED-GREEN-REFACTOR) for developing R package skills.
  • Documentation Aggregation: Directs the user to gather necessary documentation, including API references and vignettes.
  • Use Case: When you need to create a new AI skill for the dplyr R package, use this skill to ensure you gather all necessary API documentation and structure the SKILL.md file correctly.

Quick Start

Use the r-package-skill to create a new skill for the 'ggplot2' R package.

Frequently Asked Questions about r-package-skill

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create an AI skill from R package documentation?

Creating an AI skill from R package documentation involves a guided workflow that aggregates API references and vignettes, then structures them into a SKILL.md file. This ensures complete and consistent skill generation.

What is the TDD-based workflow for generating R package skills?

The TDD-based workflow for R package skill generation follows a RED-GREEN-REFACTOR cycle. It guides you through prerequisite checks, baseline testing, documentation gathering, and skill refinement to ensure structural completeness.

Do I need to manually collect API references and vignettes to build an R skill?

Yes, you need to collect API references and vignettes. The skill directs you to gather necessary documentation during the creation process, ensuring the final SKILL.md file correctly captures the required R package information.

Can I use this skill to generate documentation for any R package like ggplot2 or dplyr?

Yes, you can use this guided process to generate skills for R packages like dplyr or ggplot2. The workflow ensures you gather all necessary API documentation and structure the SKILL.md file correctly for the target package.

What files are required when generating an R package skill?

The essential files required when generating an R package skill are SKILL.md and references/API.md. The workflow ensures these files are created to properly structure the gathered API documentation and define the skill.

Why does R package skill generation include mandatory prerequisite checks?

Mandatory prerequisite checks are included to verify the environment before generation begins. This prevents incomplete skill creation by ensuring all necessary documentation and baseline testing requirements are met upfront.