[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M74XRPMG9A8MSMV3C0SMBHRZ":3,"skill-same:01M74XRPMG9A8MSMV3C0SMBHRZ":43},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":25,"forksCount":13,"repositoryHtmlUrl":26,"repositoryHomepageUrl":6,"ownerHtmlUrl":27,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":28,"install":29,"resources":42},"01M74XRPMG9A8MSMV3C0SMBHRZ","xcodegen-test-targets",null,"Adding Swift Testing unit tests and XCUITest targets to an XcodeGen (project.yml) iOS app that has none. Covers the exact TEST_HOST \u002F BUNDLE_LOADER shape for hosted unit tests, wiring the scheme's test action (tests silently don't run if the target isn't listed), regenerating before every xcodebuild test (sources are globbed at generate time), matching SWIFT_DEFAULT_ACTOR_ISOLATION so @testable import doesn't break, and overriding @AppStorage per-launch via NSArgumentDomain in UI tests. Trigger on \"add tests\" to an XcodeGen iOS app, or when xcodebuild test reports fewer suites than test files exist.","abhijitbansal\u002Fclaude-skills","abhijitbansal","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F271802621?v=4","01M74XA5M33XYNJ2D2TJDS7W9E","01M74XA5MQ8GMWJW10ZJ4V0NVG",1,"MIT","https:\u002F\u002Fgithub.com\u002Fabhijitbansal\u002Fclaude-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fios-dev\u002Fskills\u002Fxcodegen-test-targets\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: xcodegen-test-targets\ndescription: Adding Swift Testing unit tests and XCUITest targets to an XcodeGen (project.yml) iOS app that has none. Covers the exact TEST_HOST \u002F BUNDLE_LOADER shape for hosted unit tests, wiring the scheme's test action (tests silently don't run if the target isn't listed), regenerating before every xcodebuild test (sources are globbed at generate time), matching SWIFT_DEFAULT_ACTOR_ISOLATION so @testable import doesn't break, and overriding @AppStorage per-launch via NSArgumentDomain in UI tests. Trigger on \"add tests\" to an XcodeGen iOS app, or when xcodebuild test reports fewer suites than test files exist.\n---\n\n# Adding Test Targets to an XcodeGen (project.yml) iOS Project\n\n## Why this skill exists\n\nXcodeGen ships no test-target template. Hosted unit tests fail to link or run\nwithout the exact `TEST_HOST` \u002F `BUNDLE_LOADER` shape; tests silently don't run\nif the scheme's test action omits the target; and freshly created test files\naren't compiled until the project is regenerated (so the suite count quietly\nfails to grow).\n\n## When to use\n\n- \"Add tests\" to any XcodeGen-managed iOS app\n- `xcodebuild test` reports fewer suites than test files exist (stale generate)\n- `@testable import` fails with actor-isolation errors in a fresh test target\n\n## Unit test target (Swift Testing, hosted in the app)\n\n```yaml\n  AppTests:\n    type: bundle.unit-test\n    platform: iOS\n    sources: [AppTests]\n    dependencies:\n      - target: App\n    settings:\n      base:\n        BUNDLE_LOADER: \"$(TEST_HOST)\"\n        TEST_HOST: \"$(BUILT_PRODUCTS_DIR)\u002FApp.app\u002FApp\"   # .app\u002F\u003Cexecutable>, iOS shape\n        GENERATE_INFOPLIST_FILE: YES\n        # Match the app target's isolation or @testable import breaks:\n        SWIFT_DEFAULT_ACTOR_ISOLATION: MainActor\n        SWIFT_APPROACHABLE_CONCURRENCY: YES\n```\n\n## UI test target\n\n`type: bundle.ui-testing`, a dependency on the app target, and\n`TEST_TARGET_NAME: App` (no `TEST_HOST`).\n\n## Scheme — tests DO NOT run unless listed\n\n```yaml\nschemes:\n  App:\n    test:\n      config: Debug\n      targets: [AppTests, AppUITests]\n```\n\nRun:\n\n```bash\nxcodegen generate && \\\nxcodebuild test -project App.xcodeproj -scheme App \\\n  -destination 'platform=iOS Simulator,name=\u003Cinstalled iPhone sim>'\n```\n\nLook up an installed simulator name with `xcrun simctl list devices available`.\n\n## Traps\n\n- **Regenerate before every `xcodebuild test`** after adding test files —\n  sources are globbed at generate time; stale projects skip new files and the\n  suite count won't grow (you'll see `TEST SUCCEEDED` running 0 tests).\n- Use `import Testing` + `#expect` (Swift Testing) for unit tests; XCUITest\n  still requires `import XCTest`.\n- `@MainActor struct MyTests` works fine under Swift Testing when the app\n  target defaults to MainActor isolation.\n- UI tests: override `@AppStorage` per-launch *without* touching persisted\n  defaults via the NSArgumentDomain — `app.launchArguments = [\"-hasSeenOnboarding\", \"YES\"]`;\n  `UserDefaults` reads the argument domain first.\n- SwiftUI `List` rows render as `staticTexts`, not `buttons`, and bottom\n  sections need `app.swipeUp()` before querying.\n\n## Related skills\n\n- `swiftdata-inmemory-test-harness` — in-memory SwiftData containers for the\n  unit tests this skill sets up.\n- `swift6-mainactor-compile-fixes` — the `SWIFT_DEFAULT_ACTOR_ISOLATION`\n  errors behind the matching-isolation setting above.\n- `xcode-cloud-post-clone-contract` — Xcode Cloud's clean clone needs\n  `xcodegen generate` in `ci_post_clone.sh` before any build or test.\n","# Adding Test Targets to an XcodeGen (project.yml) iOS Project\n\n## Why this skill exists\n\nXcodeGen ships no test-target template. Hosted unit tests fail to link or run\nwithout the exact `TEST_HOST` \u002F `BUNDLE_LOADER` shape; tests silently don't run\nif the scheme's test action omits the target; and freshly created test files\naren't compiled until the project is regenerated (so the suite count quietly\nfails to grow).\n\n## When to use\n\n- \"Add tests\" to any XcodeGen-managed iOS app\n- `xcodebuild test` reports fewer suites than test files exist (stale generate)\n- `@testable import` fails with actor-isolation errors in a fresh test target\n\n## Unit test target (Swift Testing, hosted in the app)\n\n```yaml\n  AppTests:\n    type: bundle.unit-test\n    platform: iOS\n    sources: [AppTests]\n    dependencies:\n      - target: App\n    settings:\n      base:\n        BUNDLE_LOADER: \"$(TEST_HOST)\"\n        TEST_HOST: \"$(BUILT_PRODUCTS_DIR)\u002FApp.app\u002FApp\"   # .app\u002F\u003Cexecutable>, iOS shape\n        GENERATE_INFOPLIST_FILE: YES\n        # Match the app target's isolation or @testable import breaks:\n        SWIFT_DEFAULT_ACTOR_ISOLATION: MainActor\n        SWIFT_APPROACHABLE_CONCURRENCY: YES\n```\n\n## UI test target\n\n`type: bundle.ui-testing`, a dependency on the app target, and\n`TEST_TARGET_NAME: App` (no `TEST_HOST`).\n\n## Scheme — tests DO NOT run unless listed\n\n```yaml\nschemes:\n  App:\n    test:\n      config: Debug\n      targets: [AppTests, AppUITests]\n```\n\nRun:\n\n```bash\nxcodegen generate && \\\nxcodebuild test -project App.xcodeproj -scheme App \\\n  -destination 'platform=iOS Simulator,name=\u003Cinstalled iPhone sim>'\n```\n\nLook up an installed simulator name with `xcrun simctl list devices available`.\n\n## Traps\n\n- **Regenerate before every `xcodebuild test`** after adding test files —\n  sources are globbed at generate time; stale projects skip new files and the\n  suite count won't grow (you'll see `TEST SUCCEEDED` running 0 tests).\n- Use `import Testing` + `#expect` (Swift Testing) for unit tests; XCUITest\n  still requires `import XCTest`.\n- `@MainActor struct MyTests` works fine under Swift Testing when the app\n  target defaults to MainActor isolation.\n- UI tests: override `@AppStorage` per-launch *without* touching persisted\n  defaults via the NSArgumentDomain — `app.launchArguments = [\"-hasSeenOnboarding\", \"YES\"]`;\n  `UserDefaults` reads the argument domain first.\n- SwiftUI `List` rows render as `staticTexts`, not `buttons`, and bottom\n  sections need `app.swipeUp()` before querying.\n\n## Related skills\n\n- `swiftdata-inmemory-test-harness` — in-memory SwiftData containers for the\n  unit tests this skill sets up.\n- `swift6-mainactor-compile-fixes` — the `SWIFT_DEFAULT_ACTOR_ISOLATION`\n  errors behind the matching-isolation setting above.\n- `xcode-cloud-post-clone-contract` — Xcode Cloud's clean clone needs\n  `xcodegen generate` in `ci_post_clone.sh` before any build or test.\n",{"name":5,"description":7},"main","153711dd9432743d97f0b33b080ada5798ea623c","plugins\u002Fios-dev\u002Fskills\u002Fxcodegen-test-targets","https:\u002F\u002Fgithub.com\u002Fabhijitbansal\u002Fclaude-skills","https:\u002F\u002Fgithub.com\u002Fabhijitbansal","2026-11-07 12:59:51",{"source":8,"skillName":5,"commands":30,"prompt":40,"zipAvailable":41},[31,34,37],{"tool":32,"command":33},"npx","npx skills add abhijitbansal\u002Fclaude-skills --skill xcodegen-test-targets",{"tool":35,"command":36},"bunx","bunx skills add abhijitbansal\u002Fclaude-skills --skill xcodegen-test-targets",{"tool":38,"command":39},"pnpm","pnpm dlx skills add abhijitbansal\u002Fclaude-skills --skill xcodegen-test-targets","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fabhijitbansal\u002Fclaude-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fios-dev\u002Fskills\u002Fxcodegen-test-targets\u002FSKILL.md",true,[],[44,51,58,65,72,79],{"skillNo":45,"name":46,"nameZh":6,"description":47,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":48,"categories":49,"keywords":50,"publishedAt":18},"01M74XTV2V7GZM8FDBXQZZ74VX","second-wind","Orchestrate long unattended Claude Code runs across multiple repos with the wind CLI. Use when the user wants to run Claude Code overnight, resume sessions after the 5-hour usage limit, run Claude in many repos at once via tmux, or says \"set up second wind\", \"wind up\", \"overnight run\", \"resume after limit\", \"usage limit orchestrator\".","https:\u002F\u002Fgithub.com\u002Fabhijitbansal\u002Fclaude-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fsecond-wind\u002Fskills\u002Fsecond-wind\u002FSKILL.md",[],[],{"skillNo":52,"name":53,"nameZh":6,"description":54,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":55,"categories":56,"keywords":57,"publishedAt":18},"01M74XTPGN1HDQSKGCZZX0AZPC","structured-output-adaptive-thinking-token-bloat","A Claude API call using output_config.format (json_schema structured outputs) with thinking:{type:\"adaptive\"} burns most of its output budget on thinking (observed ~21k of ~24k tokens) without improving JSON quality, making the run up to ~5x more expensive than the same call with thinking omitted — use when calling the Messages API with a json_schema output format for extraction, ranking, classification, or summarization tasks, or when a schema-constrained call's usage.output_tokens is far larger than the returned JSON.","https:\u002F\u002Fgithub.com\u002Fabhijitbansal\u002Fclaude-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fprompt-craft\u002Fskills\u002Fstructured-output-adaptive-thinking-token-bloat\u002FSKILL.md",[],[],{"skillNo":59,"name":60,"nameZh":6,"description":61,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":18},"01M74XTKTRHAMC2JFHQ1P1E6GR","review","Apply a code-review lens to a diff, branch, or file — find correctness bugs, security issues, and quality problems, ranked by severity, with a concrete fix for each. Use when the user says \"review this\", \"review my diff\", \"check this PR\", \"look this over before I commit\", or \"is this safe\". Skip when the user wants the code written, not reviewed.","https:\u002F\u002Fgithub.com\u002Fabhijitbansal\u002Fclaude-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fprompt-craft\u002Fskills\u002Freview\u002FSKILL.md",[],[],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":18},"01M74XTGGCW7GWDDHPEMJQC7Y1","refresh","Rebuild the prompt-craft command registry and usage profile, and print a summary of installed commands and your personalized recommendations. Use when you install or update plugins and want the advisor to pick them up immediately, or say \"refresh prompt-craft\", \"rebuild the command registry\".","https:\u002F\u002Fgithub.com\u002Fabhijitbansal\u002Fclaude-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fprompt-craft\u002Fskills\u002Frefresh\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":18},"01M74XTCNGNR4G19P3Z95KTHQJ","refactor","Apply a refactoring lens — restructure code without changing behavior, guarded by tests that pass before and after. Use when the user says \"refactor\", \"clean this up\", \"extract this\", \"simplify this\", \"reduce duplication\", or \"make this readable\" on existing working code. Skip when the change is meant to alter behavior (that's a feature or a fix).","https:\u002F\u002Fgithub.com\u002Fabhijitbansal\u002Fclaude-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fprompt-craft\u002Fskills\u002Frefactor\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":18},"01M74XT9FKXN3N106G7Q3X56XR","plan","Decompose a non-trivial task into an explicit, tracked plan with goals and per-step acceptance criteria before writing code. Use when the user says \"plan this\", \"break this down\", \"what's the plan\", or asks for a multi-step feature\u002Frefactor that touches more than one file. Pairs with plan mode. Skip for single-edit changes that need no decomposition.","https:\u002F\u002Fgithub.com\u002Fabhijitbansal\u002Fclaude-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fprompt-craft\u002Fskills\u002Fplan\u002FSKILL.md",[],[]]