Repository navigation
feat(r-lib): add r-mizu skill - #101
shikokuchuo wants to merge 2 commits into
Conversation
shikokuchuo
left a comment
There was a problem hiding this comment.
mizu routes to mirai for distributed work. At the moment this is one way as the mirai skill doesn't route to mizu. This is fine for now, but when mizu is more mature, we'd want to update the mirai skill for bi-directional routing.
|
Thanks @shikokuchuo! I've been thinking about this a bit and I kind of think we should keep package-specific skills in their packages. I think that what's a good fit here would be skills that span several packages (eg mirai ecosystem) that wouldn't fit nicely in one package source. Maybe instead we could move to a list at the top of the readme? Something like an "Awesome Package Skills" section? |
|
@gadenbuie agree skills living in packages is a good idea - and it's what I do already. This submission was for the specific purpose of the Positron bundle / what PA has access to. I realise that I will need to make changes to the mirai skill to have them work well together, so pls hold off on this. |
Purpose
Adds the
r-mizuskill: guidance for writing correct R code for async and parallel computing with the mizu package — task pools,mizu_map()parallel map, channels, and promises over shared memory on one machine. The content ships in the mizu package atinst/skills/r-mizuand is synced here byte-identically.Use cases
Running R code in parallel or in the background, speeding up a loop or
lapply(), using promises or ShinyExtendedTask, sharing data with R or Python processes, or converting from future/parallel/mirai. Defers to ther-miraiskill for work spanning more than one machine.Testing
diff), where the skill has eval coverage..claude-plugin/marketplace.jsonunder ther-libplugin and documented in the root andr-libREADMEs.Dependencies
R >= 4.3, 64-bit, Linux kernel >= 5.3, with the mizu package installed. No harness assumptions.
Documentation
Single comprehensive
SKILL.md; category notes inr-lib/README.mdand a listing entry in the rootREADME.md.Token count