FreeSkills
Commits, branches and sync with the but CLI
- 361361 downloads
- 198198 likes
- 103103 saves
- Claude Code
- Codex
- Cursor
- and 3 more
Every premium and members-only resource for $9.99/month, as a no-commitment subscription. See the plans
Use this resource to write, review or fix P/Invoke calls to a C or C++ library
New
Free
In a terminal, from the folder you want:
npx --yes palatekit@latest install dotnet-native-interop-pinvokeWith no option, the skill goes to ~/.agents/skills/; add --agent claude-code (or codex, cursor…) to target an agent.
First time: connect the CLI with
npx --yes palatekit@latest loginThe agent chooses between DllImport and LibraryImport, maps native types to .NET types and establishes memory ownership. It uses SafeHandle for native handles and handles errors at the managed and native boundary.
Mostly picked by
Updated November 2, 2026
You say
“Write the LibraryImport declaration for this C function that returns an allocated string.”

Skill published by dotnet under the MIT license, delivered in its original version.
Listed unmodified
« dotnet-pinvoke » (dotnet, MIT) livré dans sa version d'origine : fiche en français et en anglais par PalateKit.
–
No ratings yet
Loading reviews…