Answers from the documentation; checking which model is on duty
Hi - I answer from the OpenSmartRoute documentation: routing, the API, plans and quotas, self-hosting. Ask away, or open a support ticket if you need a person.
Grounded in the docs - follow a source before acting on it.
memory-safety-patterns - Skill - OpenSmartRoute
Skillv1.0.0
memory-safety-patterns
Implement memory-safe programming with RAII, ownership, smart pointers, and resource management across Rust, C++, and C.
Imported from rmyndharis/antigravity-skills (skills/memory-safety-patterns/SKILL.md). Install upstream with npx skills add rmyndharis/antigravity-skills --skill memory-safety-patterns. Copyright stays with the author.
Memory Safety Patterns
Cross-language patterns for memory-safe programming including RAII, ownership, smart pointers, and resource management.
Use this skill when
Writing memory-safe systems code
Managing resources (files, sockets, memory)
Preventing use-after-free and leaks
Implementing RAII patterns
Choosing between languages for safety
Debugging memory issues
Do not use this skill when
The task is unrelated to memory safety patterns
You need a different domain or tool outside this scope
Instructions
Clarify goals, constraints, and required inputs.
Apply relevant best practices and validate outcomes.
Provide actionable steps and verification.
If detailed examples are required, open resources/implementation-playbook.md.
Resources
resources/implementation-playbook.md for detailed patterns and examples.
Use it
Copy one of these into your project. Installing also returns the manifest and these snippets.
# after Install: the listing is in your workspace's routing pool - a plan picks it for its slotcurl-s-X POST https://api.opensmartroute.ai/api/v1/route -H 'Authorization: Bearer $OSR_API_KEY' -H 'Content-Type: application/json' -d '{"text": "...", "plan": true}'
Installed into a catalogue, chosen by a router
Install memory-safety-patterns and it becomes one more candidate the router can pick - when it fits.
A listing is a routing target with a manifest: what it does, which domains it covers, what it costs and who publishes it. Once installed it sits beside your own models and tools, is scored like any other candidate for each request, and shows up in the trace when it wins. Ratings come from workspaces that installed it, one per account.
{
"ocm": "1",
"id": "rmyndharis-antigravity-skills-memory-safety-patterns",
"kind": "skill",
"name": "memory-safety-patterns",
"description": "Implement memory-safe programming with RAII, ownership, smart pointers, and resource management across Rust, C++, and C. Use when writing safe systems code, managing resources, or preventing memory bugs.",
"publisher": "rmyndharis",
"version": "1.0.0",
"capabilities": {
"domains": [
"coding"
],
"tags": [
"skill-md",
"skills-sh"
],
"languages": [
"en"
]
},
"quality_prior": 0.6,
"examples": [
"Implement memory-safe programming with RAII, ownership, smart pointers, and resource management across Rust, C++, and C. Use when writing safe systems code, managing resources, or preventing memory bugs."
],
"primary": false,
"metadata": {
"source": {
"provider": "skills.sh",
"repository": "https://github.com/rmyndharis/antigravity-skills",
"path": "skills/memory-safety-patterns/SKILL.md",
"ref": "HEAD",
"url": "https://github.com/rmyndharis/antigravity-skills/blob/HEAD/skills/memory-safety-patterns/SKILL.md",
"key": "rmyndharis/antigravity-skills/skills/memory-safety-patterns/SKILL.md"
}
},
"instructions": "# Memory Safety Patterns\n\nCross-language patterns for memory-safe programming including RAII, ownership, smart pointers, and resource management.\n\n## Use this skill when\n\n- Writing memory-safe systems code\n- Managing resources (files, sockets, memory)\n- Preventing use-after-free and leaks\n- Implementing RAII patterns\n- Choosing between languages for safety\n- Debugging memory issues\n\n## Do not use this skill when\n\n- The task is unrelated to memory safety patterns\n- You need a different domain or tool outside this scope\n\n## Instructions\n\n- Clarify goals, constraints, and required inputs.\n- Apply relevant best practices and validate outcomes.\n- Provide actionable steps and verification.\n- If detailed examples are required, open `resources/implementation-playbook.md`.\n\n## Resources\n\n- `resources/implementation-playbook.md` for detailed patterns and examples.",
"cost": {
"context_tokens": 216
}
}
Fetch it by URL: GET /api/v1/registry/rmyndharis-antigravity-skills-memory-safety-patterns/manifest?version=1.0.0
Reviews
Star ratings from people who tried it. One review per account; edit yours any time.
No reviews yet. Install it, try it, and be the first to rate it.