/stata-translation:pseudocode-to-rfrom stata-translation
Translate pseudocode package to an R package whilst preserving behavior and generating verification tests. Use when translating pseudocode to R
Ships in stata-translation. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Prompt the user for a location to create the new package. Suggest {../package-name R}
Translate the code in the pseudocode directory to an R package, whilst preserving behaviour, adapting idioms, and generating verification tests.
Create tests to verify package functions:
Test generation approach:
Compare the documentation in the .sthlp and examples/ directory with the R directory. Port any missing elements from stata to the R package.
Look through the source files in the package for any additional documentation or history information and port it to the R package.
Use examples to create vignettes
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub stata-translations/stata2r --plugin stata-translation7 skills in this plugin
/add-missing-testsIterates through each file in stata testing directory, summarises matching tests in R, adds missing tests, and summarises again. runs when user askes to "compare tests"/add-stata-tests-rIterates through each file in stata testing directory, summarises matching tests in R, adds missing tests, and summarises again. runs when user askes to "compare tests"/helloGreet the user with a friendly messageOther plugins' skills for the same job