Individual skill
stata-c-plugins
Develop high-performance C/C++ plugins for Stata using the stplugin.h SDK. Use when the user asks to create a Stata plugin, write C/C++ code for Stata, accelerate a Stata command with C, build cross-platform Stata plugins, or translate/port a Python or R package into Stata. Covers the full lifecycle: SDK setup, data flow, memory safety, .ado wrappers with preserve/merge, cross-platform compilation, performance optimization (pthreads, pre-sorted indices, XorShift RNG), debugging, and distribution via net install. Also includes a translation workflow for porting Python/R packages to Stata — wrapping existing C++ backends when available, or writing C from scratch when not.
plugins/stata-c-plugins/skills/stata-c-plugins/SKILL.md
Source commit 33a7efc85e92cd30edc7b907f1deb9d7038397bc
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- No
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Not checked yet
- Last checked
- Nov 5, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 303
- Repository last updated
- Apr 10, 2026
- License
- NOASSERTION
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- operations Derived category
- writing Derived category
- data Derived category
- testing Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
SKILL.mdcore · 23,973 bytesSKILL.mdcore · 23,973 bytesSKILL.mdcore · 23,973 bytesSKILL.mdcore · 23,973 bytesreferences/cpp_plugins.mddoc · 12,849 bytesreferences/packaging_and_help.mddoc · 11,392 bytesreferences/performance_patterns.mddoc · 6,234 bytesreferences/testing_strategy.mddoc · 12,438 bytesreferences/translation_workflow.mddoc · 24,342 bytes
No licensed excerpt is available. You can inspect the pinned source.