汎用ソフトウェア開発⭐ リポ 34品質スコア 70/100
swift-conventions
モダンなSwift開発における標準的なコーディング規約とベストプラクティスです。Swiftコードの記述、レビュー、リファクタリング時に利用できます。命名規則、アクセス制御、async/awaitパターン、SwiftUIおよびフレームワークのベストプラクティスとの一貫性を確保します。
description の原文を見る
Swift coding conventions and best practices for modern Swift development. Use when writing, reviewing, or refactoring Swift code to ensure consistency with naming conventions, access control, async/await patterns, and SwiftUI/framework best practices.
SKILL.md 本文
注意: このスキルのライセンスは ライセンス未確認 です。本サイトでは本文プレビューのみを表示しています。利用前に GitHub の原本でライセンス条件をご確認ください。
Swift コーディング規約
命名規約
型(クラス、構造体、列挙型、プロトコル)
すべての型名に PascalCase を使用します:
public class ProcessManager { }
public struct Location { }
public enum ProcessQuality { }
public protocol ProcessController { }
プロパティと変数
プロパティ、変数、インスタンス名に camelCase を使用します:
let locationManager = LocationManager()
var subscriptions: [ProcessSubscription] = []
private let updateInterval: TimeInterval = 60
関数とメソッド
説明的な動作動詞を含む camelCase を使用します:
func refreshData(for location: Location) async throws -> ProcessSensor?
func updateLocation(location: Location)
pri
...
詳細情報
- 作者
- diegosouzapw
- ライセンス
- 不明
- 最終更新
- 2026/3/2
Source: https://github.com/diegosouzapw/awesome-omni-skill / ライセンス: 未指定