Skip to contents

A collection of curated, opinionated skills and agent instructions to improve agentic coding of R packages.

Installation

You can install pkgskills from GitHub with:

# install.packages("pak")
pak::pak("api2r/pkgskills")

Usage

pkgskills installs AGENTS.md and curated skill files into an R package project, giving AI coding agents the project-specific context they need to contribute effectively. The quickest way to get started is a single call to use_ai():

pkgskills::use_ai()

This installs:

  • AGENTS.md — a top-level context file describing your repository layout, standard workflow, and available skills.
  • A GitHub Copilot workflow — so Copilot Coding Agent can work on your repository.
  • Seven skills in .github/skills/ — opinionated guidance for creating issues, implementing issues, writing R code, test-driven development, documenting functions, code search, and GitHub CLI usage.

See vignette("pkgskills") for a full walkthrough.

Code of Conduct

Please note that the pkgskills project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.