nim-ownership-hooks
CommunityImplement correct Nim ARC/ORC move hooks.
Authorplanetis-m
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill helps you design and review Nim ownership hooks so ARC/ORC can safely destroy, move, copy, and transfer resources without leaks, double-frees, or incorrect warnings.
Core Features & Use Cases
- Ownership model classification: Determine whether a type is compiler-managed, move-only, deep-owning, shared/refcounted, or borrowing/view before writing any hooks.
- Minimal correct hook sets: Implement only the hook functions required for the real ownership model, keeping behavior consistent with local Nim style.
- Hook ordering and verification: Avoid phase-order hook declaration errors and verify changes with focused compile/runtime tests.
Quick Start
Ask the AI to review your Nim type under ARC/ORC ownership semantics and produce the minimal correct set of =destroy, =wasMoved, =sink, =copy, =dup, and optional =trace implementations, plus a short checklist of targeted tests to run.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: nim-ownership-hooks Download link: https://github.com/planetis-m/skills_experiment/archive/main.zip#nim-ownership-hooks Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.