translation-strategy
Decide whether it is worth translating a Stata package to other programming languages. Use before performing any translation.
- License 许可
- Apache-2.0
- 最近更新
- 2026-07-13
- Stars
- ★ 2
- Forks
- 0
01 前言 Front Matter
- name
- translation-strategy
- description
- Decide whether it is worth translating a Stata package to other programming languages. Use before performing any translation.
03 SKILL.md 正文
1. Analyse the Stata Package.
-- Is the source code a complete Stata package, including certification tests.? -- List imports, external libraries and dependencies -- Analyse the test in testing/ to understand the expected package behaviour. -- Export results to Analysis/stata.md
2. R Landscape
-- Identify any existing equivalent packages in R and export the results to Stata2R/r-landscape.md -- do you recommend creating a new r package or contributing these changes to one of the existing packages. -- export results to Stata2R/recommendation.md
3. Python Landscape
-- Identify any existing equivalent packages in python and export the results to Stata2Python/python-landscape.md -- do you recommend creating a new python package or contributing these changes to one of the existing packages. -- Export results to Stata2Python/recommendation.md
4. Other Languages.
-- Are there any other relevant target programming languages?
04 同仓库更多 Skills
stata-to-pseudocode
Translare Stata to psuedocode. Use before translating to other languages.
run-stata
Use the Rstata package to run stata code
pseudocode-to-r
Translate pseudocode package to an R package whilst preserving behavior and generating verification tests. Use when translating pseudocode to R
hello
Greet the user with a friendly message
add-stata-tests-r
Iterates 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-missing-tests
Iterates 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"