Skip to content

Commit f74691e

Browse files
committed
Document the skill more fully
1 parent e7f2983 commit f74691e

File tree

7 files changed

+23
-3
lines changed

7 files changed

+23
-3
lines changed

.claude/skills/mirai

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../dev/skills/mirai

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
.Ruserdata
55
/docs/
66
/revdep/
7-
/.claude/
7+
/.claude/*
8+
!/.claude/skills/
89
/.quarto/
910
**/*.quarto_ipynb
1011
.DS_Store

CLAUDE.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
44

5+
## Skill
6+
7+
The mirai skill at `.claude/skills/mirai/SKILL.md` (symlinked from `dev/skills/mirai/`) provides LLM-optimized guidance for writing correct mirai code. It is also distributed via the `r-lib` skill in the [`posit-dev-skills`](https://github.com/posit-dev/posit-dev-skills) plugin for end users.
8+
59
## Overview
610

711
mirai is a minimalist async evaluation framework for R that provides asynchronous, parallel and distributed computing. Built on nanonext and NNG (Nanomsg-Next-Generation), it implements a message-passing paradigm where daemons (persistent background processes) execute tasks sent by the host process. Only runtime dependency: nanonext. Requires R >= 3.6.

README.Rmd

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,10 +159,12 @@ mirai has become the convergence point for asynchronous and parallel computing a
159159

160160
### Links
161161

162-
[mirai](https://mirai.r-lib.org/) |
163-
[nanonext](https://nanonext.r-lib.org/) |
162+
[mirai](https://mirai.r-lib.org/) |
163+
[nanonext](https://nanonext.r-lib.org/) |
164164
[CRAN HPC Task View](https://cran.r-project.org/view=HighPerformanceComputing)
165165

166+
AI coding agents: the `r-lib` agent skill from the [`posit-dev-skills`](https://github.com/posit-dev/posit-dev-skills) plugin provides mirai-specific guidance.
167+
166168
--
167169

168170
Please note that this project is released with a [Contributor Code of Conduct](https://mirai.r-lib.org/CODE_OF_CONDUCT.html). By participating in this project you agree to abide by its terms.

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,10 @@ discussions.
190190
[nanonext](https://nanonext.r-lib.org/) \| [CRAN HPC Task
191191
View](https://cran.r-project.org/view=HighPerformanceComputing)
192192

193+
AI coding agents: the `r-lib` agent skill from the
194+
[`posit-dev-skills`](https://github.com/posit-dev/posit-dev-skills)
195+
plugin provides mirai-specific guidance.
196+
193197
194198

195199
Please note that this project is released with a [Contributor Code of

dev/vignettes/_v06-packages.Rmd

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ knitr::opts_chunk$set(
1515
)
1616
```
1717

18+
### Agent Skill
19+
20+
AI coding agents: the `r-lib` agent skill from the [`posit-dev-skills`](https://github.com/posit-dev/posit-dev-skills) plugin provides mirai-specific guidance for writing correct async, parallel, and distributed code.
21+
1822
### 1. Developer Interfaces
1923

2024
mirai provides these functions for package authors:

vignettes/v06-packages.Rmd

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ vignette: >
88

99

1010

11+
### Agent Skill
12+
13+
AI coding agents: the `r-lib` agent skill from the [`posit-dev-skills`](https://github.com/posit-dev/posit-dev-skills) plugin provides mirai-specific guidance for writing correct async, parallel, and distributed code.
14+
1115
### 1. Developer Interfaces
1216

1317
mirai provides these functions for package authors:

0 commit comments

Comments
 (0)