{"enrichment":{"faq":[{"a":"Swift Rules provides comprehensive coding standards for Swift development, covering style conventions, naming patterns, type system best practices, and framework guidance. The skill applies standards for SwiftUI, Combine, async/await, and Core Data to ensure consistency across your codebase. Use it when writing or reviewing Swift code to maintain quality and follow established patterns.","q":"What swift coding standards and best practices does Swift Rules cover?"},{"a":"Swift Rules guides you through writing async/await, actor-based, and concurrent Swift code safely. It covers proper patterns for managing asynchronous operations, thread safety with actors, and avoiding common concurrency pitfalls to ensure your code runs reliably in multi-threaded environments.","q":"How does Swift Rules help with async/await concurrency rules?"},{"a":"Swift Rules covers SwiftUI patterns and frameworks for building views with proper state management. It guides you on using @State, @Binding, and other property wrappers correctly, ensuring your UI remains responsive and data flows predictably through your view hierarchy.","q":"What does Swift Rules recommend for SwiftUI state management?"},{"a":"Swift Rules implements guidance for secure authentication, keychain, and data protection. It covers best practices for storing sensitive credentials safely, handling input validation and sanitization, and protecting user data throughout your application lifecycle.","q":"How can Swift Rules help with secure authentication and data protection?"},{"a":"Swift Rules provides guidance for testing Swift code with both XCTest and the Swift Testing framework. It helps you write effective unit tests, integration tests, and understand testing patterns that ensure your code quality and reliability.","q":"What testing frameworks does Swift Rules support?"},{"a":"Yes, Swift Rules includes guidance on dependency injection patterns, memory management with weak self, struct vs class decisions, and optional handling with guard let. These patterns help you write maintainable code that avoids memory leaks and manages object lifecycles properly.","q":"Does Swift Rules cover dependency injection and memory management?"}],"shadow_tags":["concurrency-patterns","ui-framework-guide","memory-safety","api-design","reactive-streams","persistence-layer","authentication-flow","code-quality","testing-strategy","network-protocols"],"summary_rewrite":"Swift Rules provides comprehensive coding standards for Swift development, covering style conventions, naming patterns, type system best practices, and framework guidance. The skill applies standards for SwiftUI, Combine, async/await, and Core Data to ensure consistency across your codebase. Use it when writing or reviewing Swift code to maintain quality and follow established patterns."},"files":[{"bytes":14174,"path":"app/skills/swift-rules/SKILL.md","sha256":"0d21dd42cd04451ade95c4462ebf0d99d120458f46ae7133101328500c17d087","url":"https://skillfed.io/files/softspark/ai-toolkit/swift-rules/aa52f910/SKILL.md"}],"id":"softspark/ai-toolkit/swift-rules","links":{"html":"https://skillfed.io/softspark/ai-toolkit/swift-rules","md":"https://skillfed.io/softspark/ai-toolkit/swift-rules.md","repo":"https://github.com/softspark/ai-toolkit"},"meta":{"agents_supported":[],"first_seen":"2026-07-28","forks":21,"language":"Python","last_updated":"2026-07-27","license":"Apache-2.0","name":"swift-rules","publisher":"softspark","stars":161},"relations":{"similar":[{"id":"softspark/ai-toolkit/swift-patterns"},{"id":"dpearson2699/swift-ios-skills/swift-testing"},{"id":"Jeffallan/claude-skills/swift-expert"},{"id":"miles990/claude-software-skills/swift"},{"id":"irahardianto/awesome-agv/swift-idioms"},{"id":"travisjneuman/.claude/ios-development"},{"id":"dpearson2699/swift-ios-skills/swift-language"},{"id":"johnrogers/claude-swift-engineering/swift-testing"},{"id":"dpearson2699/swift-ios-skills/ios-networking"},{"id":"cometchat/cometchat-skills/cometchat-ios-testing"}]},"slug":{"owner":"softspark","repo":"ai-toolkit","skill":"swift-rules"},"version":"aa52f910"}
