[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7B3BAG740C90P97F4X0WV7N":3,"skill-same:01M7B3BAG740C90P97F4X0WV7N":45},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":14,"repositoryHtmlUrl":27,"repositoryHomepageUrl":27,"ownerHtmlUrl":28,"ownerBlogUrl":6,"ownerDescription":29,"updatedAt":30,"install":31,"resources":44},"01M7B3BAG740C90P97F4X0WV7N","vvkit-swift-swift-style",null,"Use when creating or editing a Swift type — member ordering, file layout, and choosing between guard and if.","vadimvitvickiy\u002Fvv-agent-kit","vadimvitvickiy","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F5019512?v=4","01M7B3ABRYF7KHBCDW6GB2XH0C","Vadim Vitvitskii","01M7B3ABSZYG9MXP1CC7BQYM25",0,"MIT","https:\u002F\u002Fgithub.com\u002Fvadimvitvickiy\u002Fvv-agent-kit\u002Fblob\u002Fmain\u002Fcodex\u002Fplugins\u002Fvvkit-swift\u002Fskills\u002Fvvkit-swift-swift-style\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: vvkit-swift-swift-style\ndescription: \"Use when creating or editing a Swift type \\u2014 member ordering, file layout, and choosing between guard and if.\"\n---\n\n# Swift style\n\n**REQUIRED BACKGROUND:** `$vvkit-writing-comments` — comment limits and doc-comment rules.\n\n## Codex runtime\n\nLoad referenced skills by reading their SKILL.md. Surveyor, reviewer and runner\nskills are role instructions, not registered agent types or enforced tool allowlists.\nUse a generic subagent only when delegation is available and permitted; otherwise\nperform the role inline. Follow the active session's model, context and permission\nrules. User authorization takes precedence over imported workflow approval gates.\nClaude hooks and plugin commands are not active in this package. Existing\n`.claude\u002Fcontext\u002F` paths refer to project documents, not Codex configuration.\n\n**Where the project has a convention, follow the project.** A diff that reorders existing members to\na house style the file never used is noise. What follows is the default for new code.\n\n## Member order\n\n1. File header comment, then imports\n2. File-private free-standing helpers — error enums, option sets, small structs (optional)\n3. The type declaration, with a type-level `\u002F\u002F\u002F` overview\n4. Nested types — private enums and structs for internal state\n5. **Injected dependencies** — `private let`, assigned in `init` — **before** `init`\n6. `init`, then `deinit`\n7. **Private stored state** — caches, flags, counters — **after** `init`\n8. Public methods and public computed properties\n9. Private methods\n10. Extensions at the bottom, one per protocol conformance\n\n- The relative order is the hard rule. `\u002F\u002F MARK: -` dividers on any non-trivial type.\n- **Dependencies precede `init`, working state follows it:** the top shows what the type was handed,\n  below `init` what it built for itself.\n\n## Example\n\n```swift\n\u002F\u002F\n\u002F\u002F  ExampleService.swift\n\u002F\u002F\n\nimport Foundation\n\n\u002F\u002F\u002F Owns example fetching and caching for a single session.\n\u002F\u002F\u002F A type-level overview may run several lines to orient the reader.\nfinal class ExampleService: ExampleServicing {\n\n    \u002F\u002F MARK: - Types\n\n    private enum State {\n        case idle\n        case loading\n    }\n\n    \u002F\u002F MARK: - Dependencies\n\n    private let api: ExampleAPI\n    private let clock: Clock\n\n    \u002F\u002F MARK: - Init\n\n    init(api: ExampleAPI, clock: Clock) {\n        self.api = api\n        self.clock = clock\n    }\n\n    \u002F\u002F MARK: - State\n\n    private var state: State = .idle\n    private var cache: [String: ExampleItem] = [:]\n\n    \u002F\u002F MARK: - Public Methods\n\n    func start() async {\n        state = .loading\n        await fetch()\n    }\n\n    var itemCount: Int {\n        cache.count\n    }\n\n    \u002F\u002F MARK: - Private Methods\n\n    private func fetch() async {\n        \u002F\u002F ...\n    }\n}\n\n\u002F\u002F MARK: - ExampleFeedListener\n\nextension ExampleService: ExampleFeedListener {\n\n    func feedDidUpdate(_ items: [ExampleItem]) {\n        \u002F\u002F ...\n    }\n}\n```\n\n## Sections and extensions\n\n- Labels: `Types` · `Dependencies` (or `Properties`) · `Init` · `State` · `Public Methods` (or\n  `Public API`) · `Private Methods` · `Configuration` · `Debug`.\n- Suffix by topic as a file grows: `\u002F\u002F MARK: - Private Methods - Queue Management`.\n- One `extension` per conformance, at the bottom, labelled `\u002F\u002F MARK: - \u003CProtocolName>`. The primary\n  defining protocol may sit on the type signature; secondary delegate conformances go in extensions.\n\n## `guard` or `if`\n\n- **`if` \u002F `else` at the top of a function when both branches carry real logic** — both read at the\n  same indentation. Same inside small closures with two return arms.\n- **`guard let x else { … }` for optional unwraps.** `if let` pyramids are worse.\n- **Sequential `if condition { return value }` cascades are fine** — a pseudo-switch; do not force an\n  `else-if` tree.\n\n## Formatting\n\n- Multi-line bodies over one-liners. `if` \u002F `guard` \u002F `else` bodies on their own lines; do not collapse\n  `{ return x }`.\n- Indentation and line length are project settings.\n\n## Carve-outs\n\n- **Singletons:** `static let shared` and `private init() {}` at the very top of the body.\n- **Static-namespace types** with no dependencies or `init`: group static members logically with MARKs.\n","# Swift style\n\n**REQUIRED BACKGROUND:** `$vvkit-writing-comments` — comment limits and doc-comment rules.\n\n## Codex runtime\n\nLoad referenced skills by reading their SKILL.md. Surveyor, reviewer and runner\nskills are role instructions, not registered agent types or enforced tool allowlists.\nUse a generic subagent only when delegation is available and permitted; otherwise\nperform the role inline. Follow the active session's model, context and permission\nrules. User authorization takes precedence over imported workflow approval gates.\nClaude hooks and plugin commands are not active in this package. Existing\n`.claude\u002Fcontext\u002F` paths refer to project documents, not Codex configuration.\n\n**Where the project has a convention, follow the project.** A diff that reorders existing members to\na house style the file never used is noise. What follows is the default for new code.\n\n## Member order\n\n1. File header comment, then imports\n2. File-private free-standing helpers — error enums, option sets, small structs (optional)\n3. The type declaration, with a type-level `\u002F\u002F\u002F` overview\n4. Nested types — private enums and structs for internal state\n5. **Injected dependencies** — `private let`, assigned in `init` — **before** `init`\n6. `init`, then `deinit`\n7. **Private stored state** — caches, flags, counters — **after** `init`\n8. Public methods and public computed properties\n9. Private methods\n10. Extensions at the bottom, one per protocol conformance\n\n- The relative order is the hard rule. `\u002F\u002F MARK: -` dividers on any non-trivial type.\n- **Dependencies precede `init`, working state follows it:** the top shows what the type was handed,\n  below `init` what it built for itself.\n\n## Example\n\n```swift\n\u002F\u002F\n\u002F\u002F  ExampleService.swift\n\u002F\u002F\n\nimport Foundation\n\n\u002F\u002F\u002F Owns example fetching and caching for a single session.\n\u002F\u002F\u002F A type-level overview may run several lines to orient the reader.\nfinal class ExampleService: ExampleServicing {\n\n    \u002F\u002F MARK: - Types\n\n    private enum State {\n        case idle\n        case loading\n    }\n\n    \u002F\u002F MARK: - Dependencies\n\n    private let api: ExampleAPI\n    private let clock: Clock\n\n    \u002F\u002F MARK: - Init\n\n    init(api: ExampleAPI, clock: Clock) {\n        self.api = api\n        self.clock = clock\n    }\n\n    \u002F\u002F MARK: - State\n\n    private var state: State = .idle\n    private var cache: [String: ExampleItem] = [:]\n\n    \u002F\u002F MARK: - Public Methods\n\n    func start() async {\n        state = .loading\n        await fetch()\n    }\n\n    var itemCount: Int {\n        cache.count\n    }\n\n    \u002F\u002F MARK: - Private Methods\n\n    private func fetch() async {\n        \u002F\u002F ...\n    }\n}\n\n\u002F\u002F MARK: - ExampleFeedListener\n\nextension ExampleService: ExampleFeedListener {\n\n    func feedDidUpdate(_ items: [ExampleItem]) {\n        \u002F\u002F ...\n    }\n}\n```\n\n## Sections and extensions\n\n- Labels: `Types` · `Dependencies` (or `Properties`) · `Init` · `State` · `Public Methods` (or\n  `Public API`) · `Private Methods` · `Configuration` · `Debug`.\n- Suffix by topic as a file grows: `\u002F\u002F MARK: - Private Methods - Queue Management`.\n- One `extension` per conformance, at the bottom, labelled `\u002F\u002F MARK: - \u003CProtocolName>`. The primary\n  defining protocol may sit on the type signature; secondary delegate conformances go in extensions.\n\n## `guard` or `if`\n\n- **`if` \u002F `else` at the top of a function when both branches carry real logic** — both read at the\n  same indentation. Same inside small closures with two return arms.\n- **`guard let x else { … }` for optional unwraps.** `if let` pyramids are worse.\n- **Sequential `if condition { return value }` cascades are fine** — a pseudo-switch; do not force an\n  `else-if` tree.\n\n## Formatting\n\n- Multi-line bodies over one-liners. `if` \u002F `guard` \u002F `else` bodies on their own lines; do not collapse\n  `{ return x }`.\n- Indentation and line length are project settings.\n\n## Carve-outs\n\n- **Singletons:** `static let shared` and `private init() {}` at the very top of the body.\n- **Static-namespace types** with no dependencies or `init`: group static members logically with MARKs.\n",{"name":5,"description":7},"main","cc22a222a76add5759a2df5fadf231a758691db5","codex\u002Fplugins\u002Fvvkit-swift\u002Fskills\u002Fvvkit-swift-swift-style","https:\u002F\u002Fgithub.com\u002Fvadimvitvickiy\u002Fvv-agent-kit","https:\u002F\u002Fgithub.com\u002Fvadimvitvickiy","Senior iOS engineer. Architecture, SDKs and apps for iOS, tvOS and watchOS.","2026-11-13 19:10:29",{"source":8,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add vadimvitvickiy\u002Fvv-agent-kit --skill vvkit-swift-swift-style",{"tool":37,"command":38},"bunx","bunx skills add vadimvitvickiy\u002Fvv-agent-kit --skill vvkit-swift-swift-style",{"tool":40,"command":41},"pnpm","pnpm dlx skills add vadimvitvickiy\u002Fvv-agent-kit --skill vvkit-swift-swift-style","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fvadimvitvickiy\u002Fvv-agent-kit\u002Fblob\u002Fmain\u002Fcodex\u002Fplugins\u002Fvvkit-swift\u002Fskills\u002Fvvkit-swift-swift-style\u002FSKILL.md",true,[],[46,53,60,67,74,81],{"skillNo":47,"name":48,"nameZh":6,"description":49,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":50,"categories":51,"keywords":52,"publishedAt":19},"01M7B3JN7VG0YJ4JB8RP6HYZSJ","no-heading","Use when proving that the validator rejects a body with no H1 and a force-loading @-link.","https:\u002F\u002Fgithub.com\u002Fvadimvitvickiy\u002Fvv-agent-kit\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fskills\u002Fno-heading\u002FSKILL.md",[],[],{"skillNo":54,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":57,"categories":58,"keywords":59,"publishedAt":19},"01M7B3JJMEW4E710ZG6HYJ7BWV","wrong-name-does-not-match-dir","Dispatches a subagent per task and reviews between each one.","https:\u002F\u002Fgithub.com\u002Fvadimvitvickiy\u002Fvv-agent-kit\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fskills\u002Fbroken-skill\u002FSKILL.md",[],[],{"skillNo":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":19},"01M7B3JGE9MFT1HRP41YRVKN97","writing-tests","Use when adding or changing behavior, fixing a bug, or judging whether an existing or generated test earns its place.","https:\u002F\u002Fgithub.com\u002Fvadimvitvickiy\u002Fvv-agent-kit\u002Fblob\u002Fmain\u002Fskills\u002Fwriting-tests\u002FSKILL.md",[],[],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":19},"01M7B3JD5X32VEBDBN7HB8E17Z","writing-skills","Use when authoring or editing a skill, agent, command or hook for this kit, or when deciding whether a piece of guidance belongs in a skill at all.","https:\u002F\u002Fgithub.com\u002Fvadimvitvickiy\u002Fvv-agent-kit\u002Fblob\u002Fmain\u002Fskills\u002Fwriting-skills\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":19},"01M7B3J992MZH2QVZRED0DRPD9","writing-project-instructions","Use when creating or editing a CLAUDE.md or AGENTS.md, when it has grown long, or when a rule in it also exists in an installed skill.","https:\u002F\u002Fgithub.com\u002Fvadimvitvickiy\u002Fvv-agent-kit\u002Fblob\u002Fmain\u002Fskills\u002Fwriting-project-instructions\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":19},"01M7B3J55C5WPWN20QXP9ET848","writing-logs","Use when adding or reviewing log statements, or when deciding what level a message belongs at.","https:\u002F\u002Fgithub.com\u002Fvadimvitvickiy\u002Fvv-agent-kit\u002Fblob\u002Fmain\u002Fskills\u002Fwriting-logs\u002FSKILL.md",[],[]]