charleswiltgen avatar

Axiom Ownership Conventions

This teaches Claude about Swift's borrowing and consuming ownership modifiers, which matter when you're working with large value types or noncopyable types that can't be copied around freely. The guidance is straightforward: use it to avoid unnecessary copies in performance-critical paths or when dealing with types marked ~Copyable, but skip it for simple types where the compiler already optimizes well. It's niche Swift stuff, but if you're profiling and seeing copy overhead or building APIs around noncopyable types, having Claude understand these annotations will keep it from fighting the type system. Most codebases won't need this, but when you do, you really do.

skills.sh installs
158
GitHub stars
1.3K
last updated
Aug 21, 2026

Install

$ npx -y skills add charleswiltgen/axiom --skill axiom-ownership-conventions --agent claude-code

Installs into .claude/skills of the current project.

Files

This teaches Claude about Swift's borrowing and consuming ownership modifiers, which matter when you're working with large value types or noncopyable types that can't be copied around freely. The guidance is straightforward: use it to avoid unnecessary copies in performance-critical paths or when dealing with types marked ~Copyable, but skip it for simple types where the compiler already optimizes well. It's niche Swift stuff, but if you're profiling and seeing copy overhead or building APIs around noncopyable types, having Claude understand these annotations will keep it from fighting the type system. Most codebases won't need this, but when you do, you really do.

Browse the repository on GitHub

Sponsors

Details

Repository
github.com/charleswiltgen/axiom
Categories
Debugging, Rust, Marketing & SEO
First seen
Jun 3, 2026

More from charleswiltgen/axiom

All 167

Recommended

More Debugging
1getsentry avatarsentry-react-native-setupgetsentry/sentry-agent-skillsSetup Sentry in React Native using the wizard CLI. Use when asked to add Sentry to React Native, install @sentry/react-native, or configure error monitoring for150skills.sh installs
2awslabs avatarhyperpod-version-checkerawslabs/agent-pluginsCheck and compare software component versions on SageMaker HyperPod cluster nodes - NVIDIA drivers, CUDA toolkit, cuDNN, NCCL, EFA, AWS OFI NCCL, GDRCopy, MPI, 149skills.sh installs
3win4r avataropenclawwin4r/openclaw-skillComprehensive guide for installing, configuring, operating, and troubleshooting OpenClaw — a self-hosted, multi-channel AI agent gateway. Use when the user asks149skills.sh installs
4itsmostafa avatariamitsmostafa/aws-agent-skillsAWS Identity and Access Management for users, roles, policies, and permissions. Use when creating IAM policies, configuring cross-account access, setting up ser145skills.sh installs
5itsmostafa avatarapi-gatewayitsmostafa/aws-agent-skillsAWS API Gateway for REST and HTTP API management. Use when creating APIs, configuring integrations, setting up authorization, managing stages, implementing rate142skills.sh installs
6opensensenova avatarsn-da-large-file-analysisopensensenova/sensenova-skills万行以上 Excel 数据集的高性能分析引擎。提供 openpyxl read_only 流式读取(iter_rows 支持 10 万行以上)、Parquet 转换加速、内存优化、分块处理和大文件写入模式。**遇到以下任一情况就主动使用本 skill**:①数据行数 ≥ 10k(由 sn-da-excel-workfl135skills.sh installs