axiom-swift

Guide Swift 6.4+ development with modern idioms and ownership conventions.

34|2|Updated Mar 16, 2026
One-click install
npx skills add https://github.com/DengNaichen/Stet --skill axiom-swift
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: axiom-swift
Source: https://github.com/DengNaichen/Stet/tree/main/.agents/skills/axiom-swift
Command: npx skills add https://github.com/DengNaichen/Stet --skill axiom-swift

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a centralized, authoritative source for modern Swift idioms, ownership conventions, and platform-specific development patterns, preventing the use of outdated or hallucinated code.

Core Features & Use Cases

  • Modern Idioms: Replaces legacy patterns like Date() and CGFloat with modern, type-safe alternatives.
  • Ownership & Performance: Provides guidance on ~Copyable types, borrowing/consuming modifiers, and InlineArray for high-performance code.
  • Platform Specialization: Offers critical patterns for tvOS development (Focus Engine, Siri Remote) and debug deep-link automation.
  • Use Case: When implementing a high-performance data pipeline, use this Skill to determine if a struct should be passed as borrowing or consuming to minimize ARC overhead.

Quick Start

Use the axiom-swift skill to audit my current implementation of noncopyable types and suggest modern ownership modifiers.

Frequently Asked Questions about axiom-swift

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I use consuming and borrowing modifiers for noncopyable types in Swift?

Use consuming and borrowing modifiers in Swift to manage noncopyable types and minimize ARC overhead. This approach optimizes memory ownership conventions for high-performance data pipelines without runtime reference counting.

What are modern Swift idioms to replace legacy patterns like Date() and CGFloat?

Modern Swift idioms replace legacy patterns like Date() and CGFloat with type-safe alternatives. This ensures code conforms to current Swift 6.4+ standards, preventing outdated or hallucinated code during modernization.

How do I implement drag-and-drop and deep-link navigation in tvOS?

Implement tvOS drag-and-drop and deep-link navigation using platform-specific patterns. This involves leveraging the Focus Engine and Siri Remote interactions, alongside debug deep-link automation for reliable navigation.

Should I pass a struct as borrowing or consuming to optimize Swift performance?

Pass a struct as borrowing or consuming to optimize Swift performance by reducing ARC overhead. Evaluate noncopyable types and ownership conventions to determine the most efficient memory management approach for your specific use case.

Does this Swift guidance apply to code reviews and type-safe feature implementation?

Yes, this Swift guidance applies to code reviews, performance optimization, and implementing complex features. It satisfies requirements for type-safe, performant, and idiomatic Swift 6.4+ development across modernization tasks.