[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7AFQ5TX873P41M6SQDNN4D9":3,"skill-same:01M7AFQ5TX873P41M6SQDNN4D9":51},{"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":30,"commitSha":31,"skillDirectory":32,"forksCount":33,"repositoryHtmlUrl":34,"repositoryHomepageUrl":34,"ownerHtmlUrl":35,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":36,"install":37,"resources":50},"01M7AFQ5TX873P41M6SQDNN4D9","trove-swift",null,"Swift 6 and SwiftUI coding conventions for iOS development. Auto-activates when working with Swift files. Covers @Observable, async\u002Fawait, NavigationStack, Swift Testing, and accessibility.","bravew\u002Ftrove","bravew","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F10855844?v=4","01M7ACJ91JZSQYHT81XPVYR7VA","Yong","01M7AFERNR92HDPGNGP5QA16DM",10,"MIT","https:\u002F\u002Fgithub.com\u002Fbravew\u002Ftrove\u002Fblob\u002Fmain\u002Fplugins\u002Ftrove-dev\u002Fskills\u002Ftrove-swift\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: trove-swift\ndescription: \"Swift 6 and SwiftUI coding conventions for iOS development. Auto-activates when working with Swift files. Covers @Observable, async\u002Fawait, NavigationStack, Swift Testing, and accessibility.\"\npaths:\n  - \"**\u002F*.swift\"\nwhen_to_use: \"swift conventions; swiftui view; swift testing\"\nuser-invocable: false\nmetadata:\n  trove-category: code\n  trove-category-label: Code\n---\n\u003C!-- AUTO-GENERATED from SKILL.md.tmpl — do not edit directly -->\n\u003C!-- Regenerate: bun run build:skills -->\n\n## Session Init\n\nThis skill ships Trove conventions. Prefer existing project patterns over generic best practices when they conflict.\n\n# Swift 6 \u002F SwiftUI Conventions\n\n## @Observable (Preferred over ObservableObject)\n\n```swift\n@Observable\nfinal class UserViewModel {\n    var name = \"\"\n    var isLoading = false\n\n    func load() async {\n        isLoading = true\n        defer { isLoading = false }\n        name = try await fetchUserName()\n    }\n}\n```\n\nUse `@Observable` instead of `ObservableObject` + `@Published` in new code.\n\n## Async\u002FAwait\n\n- Use structured concurrency (`async let`, `TaskGroup`)\n- Annotate main-actor-bound code with `@MainActor`\n- Use `Task { }` only at boundaries (view lifecycle, button actions)\n\n```swift\n\u002F\u002F Parallel fetching\nasync let user = fetchUser(id)\nasync let posts = fetchPosts(userId: id)\nlet (userData, postsData) = try await (user, posts)\n```\n\n## NavigationStack\n\n```swift\nNavigationStack(path: $router.path) {\n    ContentView()\n        .navigationDestination(for: Route.self) { route in\n            switch route {\n            case .detail(let id): DetailView(id: id)\n            case .settings: SettingsView()\n            }\n        }\n}\n```\n\n## Error Handling\n\n- Use typed `throws` where possible\n- Define domain-specific error enums conforming to `LocalizedError`\n- Never force-unwrap (`!`) outside of tests\n\n## AI Gotchas\n\n- **Sendable**: Mark types shared across concurrency domains as `Sendable`\n- **MainActor**: UI updates must happen on `@MainActor`\n- **Observation**: `@Observable` replaces `ObservableObject` in Swift 5.9+\n- **SwiftUI previews**: Use `#Preview` macro instead of `PreviewProvider`\n","\u003C!-- AUTO-GENERATED from SKILL.md.tmpl — do not edit directly -->\n\u003C!-- Regenerate: bun run build:skills -->\n\n## Session Init\n\nThis skill ships Trove conventions. Prefer existing project patterns over generic best practices when they conflict.\n\n# Swift 6 \u002F SwiftUI Conventions\n\n## @Observable (Preferred over ObservableObject)\n\n```swift\n@Observable\nfinal class UserViewModel {\n    var name = \"\"\n    var isLoading = false\n\n    func load() async {\n        isLoading = true\n        defer { isLoading = false }\n        name = try await fetchUserName()\n    }\n}\n```\n\nUse `@Observable` instead of `ObservableObject` + `@Published` in new code.\n\n## Async\u002FAwait\n\n- Use structured concurrency (`async let`, `TaskGroup`)\n- Annotate main-actor-bound code with `@MainActor`\n- Use `Task { }` only at boundaries (view lifecycle, button actions)\n\n```swift\n\u002F\u002F Parallel fetching\nasync let user = fetchUser(id)\nasync let posts = fetchPosts(userId: id)\nlet (userData, postsData) = try await (user, posts)\n```\n\n## NavigationStack\n\n```swift\nNavigationStack(path: $router.path) {\n    ContentView()\n        .navigationDestination(for: Route.self) { route in\n            switch route {\n            case .detail(let id): DetailView(id: id)\n            case .settings: SettingsView()\n            }\n        }\n}\n```\n\n## Error Handling\n\n- Use typed `throws` where possible\n- Define domain-specific error enums conforming to `LocalizedError`\n- Never force-unwrap (`!`) outside of tests\n\n## AI Gotchas\n\n- **Sendable**: Mark types shared across concurrency domains as `Sendable`\n- **MainActor**: UI updates must happen on `@MainActor`\n- **Observation**: `@Observable` replaces `ObservableObject` in Swift 5.9+\n- **SwiftUI previews**: Use `#Preview` macro instead of `PreviewProvider`\n",{"name":5,"paths":24,"metadata":26,"description":7,"when_to_use":29,"user-invocable":20},[25],"**\u002F*.swift",{"trove-category":27,"trove-category-label":28},"code","Code","swift conventions; swiftui view; swift testing","main","f88db1f1cf0e0703dd962051ebc142db961d7799","plugins\u002Ftrove-dev\u002Fskills\u002Ftrove-swift",1,"https:\u002F\u002Fgithub.com\u002Fbravew\u002Ftrove","https:\u002F\u002Fgithub.com\u002Fbravew","2026-11-12 07:56:32",{"source":8,"skillName":5,"commands":38,"prompt":48,"zipAvailable":49},[39,42,45],{"tool":40,"command":41},"npx","npx skills add bravew\u002Ftrove --skill trove-swift",{"tool":43,"command":44},"bunx","bunx skills add bravew\u002Ftrove --skill trove-swift",{"tool":46,"command":47},"pnpm","pnpm dlx skills add bravew\u002Ftrove --skill trove-swift","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fbravew\u002Ftrove\u002Fblob\u002Fmain\u002Fplugins\u002Ftrove-dev\u002Fskills\u002Ftrove-swift\u002FSKILL.md",true,[],[52,59,66,73,80,87],{"skillNo":53,"name":54,"nameZh":6,"description":55,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":56,"categories":57,"keywords":58,"publishedAt":19},"01M7AGJDHTQAS1VK6P7VJAV79G","using-trove","Skill discipline anchor for the Trove marketplace. Loaded once per session; routes the agent to the right trove-* skill before code, planning, review, or git actions.","https:\u002F\u002Fgithub.com\u002Fbravew\u002Ftrove\u002Fblob\u002Fmain\u002Fskills\u002Fworkflow\u002Fusing-trove\u002FSKILL.md",[],[],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":19},"01M7AGJAS4V4TXE6TV6F839BGZ","trove-write-skill","Skill authoring workflow. Use when creating or updating a Codex or Trove skill, including rubrics, tasks, metadata, and validation.","https:\u002F\u002Fgithub.com\u002Fbravew\u002Ftrove\u002Fblob\u002Fmain\u002Fskills\u002Fworkflow\u002Ftrove-write-skill\u002FSKILL.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":19},"01M7AGJ87K41ZAC8DDBAV17QFW","trove-worktree","Git worktree workflow for spikes, risky experiments, and broad refactors that should not disturb the user's current branch.","https:\u002F\u002Fgithub.com\u002Fbravew\u002Ftrove\u002Fblob\u002Fmain\u002Fskills\u002Fworkflow\u002Ftrove-worktree\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M7AGJ32V58VYBFYMS9EMHRY4","trove-why","Reconstruct design rationale and decision history from evidence — source control, issue tracker (Linear), docs (Notion), chat (Slack), error tracking (Sentry) — with calibrated confidence. Use for \"why does X work this way\", \"why did we pick Y\", regressions, and postmortems. Use trove-explain for how it works now.","https:\u002F\u002Fgithub.com\u002Fbravew\u002Ftrove\u002Fblob\u002Fmain\u002Fskills\u002Fworkflow\u002Ftrove-why\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":19},"01M7AGJ0FHJSRR8MMXC3V8XNHF","trove-verify","Completion verification workflow. Use before claiming done, fixed, complete, ready, or shipped.","https:\u002F\u002Fgithub.com\u002Fbravew\u002Ftrove\u002Fblob\u002Fmain\u002Fskills\u002Fworkflow\u002Ftrove-verify\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":19},"01M7AGHWV4B9SDS60RH5W0B0K5","trove-unslop","Cut AI tells from writing — PR descriptions, release notes, specs, commit bodies, and replies. Use before finalizing prose, or when the user asks to clean up, de-slop, or make text sound human.","https:\u002F\u002Fgithub.com\u002Fbravew\u002Ftrove\u002Fblob\u002Fmain\u002Fskills\u002Fworkflow\u002Ftrove-unslop\u002FSKILL.md",[],[]]