[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M74XHR9Y8VAQT53XEC4JVTPD":3,"skill-same:01M74XHR9Y8VAQT53XEC4JVTPD":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},"01M74XHR9Y8VAQT53XEC4JVTPD","ios26-toolbar-leading-title-truncation",null,"A SwiftUI screen title placed in ToolbarItem(placement .topBarLeading) renders on iOS 26 as a single letter plus ellipsis (\"C…\") inside a small glassy circle\u002Fcapsule, instead of the full title text — happens with .navigationBarTitleDisplayMode(.inline) and a custom Text (especially large\u002Fserif font) in a leading or trailing toolbar slot. Use when a title looks truncated-to-one-glyph in a Liquid Glass toolbar button on iOS 26, when deciding where to put a screen title that also needs an adjacent action button, or when tempted to move a title out of .navigationTitle into a ToolbarItem for layout control.","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\u002Fios26-toolbar-leading-title-truncation\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: ios26-toolbar-leading-title-truncation\ndescription: A SwiftUI screen title placed in ToolbarItem(placement .topBarLeading) renders on iOS 26 as a single letter plus ellipsis (\"C…\") inside a small glassy circle\u002Fcapsule, instead of the full title text — happens with .navigationBarTitleDisplayMode(.inline) and a custom Text (especially large\u002Fserif font) in a leading or trailing toolbar slot. Use when a title looks truncated-to-one-glyph in a Liquid Glass toolbar button on iOS 26, when deciding where to put a screen title that also needs an adjacent action button, or when tempted to move a title out of .navigationTitle into a ToolbarItem for layout control.\n---\n\n# iOS 26 Toolbar Leading\u002FTrailing Title Truncates to One Glyph\n\n## Symptom\n\nA custom title `Text` placed in `ToolbarItem(placement: .topBarLeading)` (or\n`.topBarTrailing`) renders on iOS 26 as just its **first character followed by\nan ellipsis**, e.g. \"Cubby\" → \"C…\", inside a small glass capsule\u002Fcircle. This\nhappens even though the same title works fine as `.navigationTitle`, and even\nthough short symbols (`+`, `xmark`) in other toolbar slots render correctly.\n`.navigationBarTitleDisplayMode(.inline)` is typically set to keep the bar\nthin. The bug reads like a font or Dynamic Type problem but isn't — it\nreproduces at default text sizes with any sufficiently wide title.\n\n## Root cause\n\nA leading\u002Ftrailing toolbar item is a **compact bar-button placement** — sized\nand Liquid-Glass-wrapped for an icon or a one-to-two-character label, not a\nfree-form title. `.navigationTitle` is laid out and scaled by the system\n(it owns truncation\u002Fscaling behavior for the nav bar); a `ToolbarItem` slot is\nnot — it treats its content like a button label and clips it hard once it\noverflows the capsule, degenerating to first-glyph-plus-ellipsis. Wide or\nserif fonts overflow the slot faster, making this easy to trigger with a\nbranded\u002Flarge title font specifically. The failure is placement-specific, not\nfont-specific: any title long enough to exceed the compact bar-button width\nwill do this.\n\n## Fix\n\nDon't put a screen title in a toolbar item at all. Render it as an in-content\nheader row at the top of the scrollable content instead, and keep\n`.navigationBarTitleDisplayMode(.inline)` with an empty system title so the\nnav bar stays thin. This also gives you a natural home for a trailing action\nbutton on the same row as the title.\n\n```swift\n\u002F\u002F WRONG — title text in a bar-button placement; iOS 26 clips to \"C…\"\n\u002F\u002F inside a glass capsule once the title is wider than a compact button.\n.toolbar {\n    ToolbarItem(placement: .topBarLeading) {\n        Text(\"Cubby\").font(.largeTitle.bold())\n    }\n}\n```\n\n```swift\n\u002F\u002F CORRECT — title rendered in content, not in a toolbar slot.\nstruct ScreenHeader\u003CTrailing: View>: View {\n    let title: String\n    let trailing: Trailing\n\n    init(title: String, @ViewBuilder trailing: () -> Trailing) {\n        self.title = title\n        self.trailing = trailing()\n    }\n\n    var body: some View {\n        HStack(alignment: .firstTextBaseline) {\n            Text(title)\n                .font(.title.bold())\n                .accessibilityAddTraits(.isHeader)\n            Spacer(minLength: 8)\n            trailing   \u002F\u002F e.g. a \"+\" quick-add button, same row as the title\n        }\n    }\n}\n\nextension ScreenHeader where Trailing == EmptyView {\n    init(title: String) { self.init(title: title) { EmptyView() } }\n}\n\n\u002F\u002F In the screen:\n\u002F\u002F .navigationBarTitleDisplayMode(.inline)   \u002F\u002F keep the system title empty\u002Fthin\n\u002F\u002F ScrollView { ScreenHeader(title: \"Cubby\") { addButton }; ... }\n```\n\nToolbar slots remain fine for genuinely short content — single glyphs, SF\nSymbols, one- or two-character labels. The trap is specifically a *title*\n(long text, custom\u002Flarge font) placed in a *bar-button* placement.\n\n## Evidence\n\n- **cubby** — a branded serif \"Cubby\" title in `ToolbarItem(.topBarLeading)`\n  rendered as \"C…\" in a glass circle on iOS 26; fixed by replacing it with an\n  in-content `ScreenHeader` row and keeping `.navigationBarTitleDisplayMode(.inline)`\n  for a thin, title-less system bar.\n\n## Related skills\n\n- `mainactor-runtime-isolation-trap` — unrelated failure class (runtime actor\n  isolation crashes\u002Fre-entrancy), not a layout issue; don't confuse \"compiles\n  clean but misbehaves at runtime\" framing across the two.\n","# iOS 26 Toolbar Leading\u002FTrailing Title Truncates to One Glyph\n\n## Symptom\n\nA custom title `Text` placed in `ToolbarItem(placement: .topBarLeading)` (or\n`.topBarTrailing`) renders on iOS 26 as just its **first character followed by\nan ellipsis**, e.g. \"Cubby\" → \"C…\", inside a small glass capsule\u002Fcircle. This\nhappens even though the same title works fine as `.navigationTitle`, and even\nthough short symbols (`+`, `xmark`) in other toolbar slots render correctly.\n`.navigationBarTitleDisplayMode(.inline)` is typically set to keep the bar\nthin. The bug reads like a font or Dynamic Type problem but isn't — it\nreproduces at default text sizes with any sufficiently wide title.\n\n## Root cause\n\nA leading\u002Ftrailing toolbar item is a **compact bar-button placement** — sized\nand Liquid-Glass-wrapped for an icon or a one-to-two-character label, not a\nfree-form title. `.navigationTitle` is laid out and scaled by the system\n(it owns truncation\u002Fscaling behavior for the nav bar); a `ToolbarItem` slot is\nnot — it treats its content like a button label and clips it hard once it\noverflows the capsule, degenerating to first-glyph-plus-ellipsis. Wide or\nserif fonts overflow the slot faster, making this easy to trigger with a\nbranded\u002Flarge title font specifically. The failure is placement-specific, not\nfont-specific: any title long enough to exceed the compact bar-button width\nwill do this.\n\n## Fix\n\nDon't put a screen title in a toolbar item at all. Render it as an in-content\nheader row at the top of the scrollable content instead, and keep\n`.navigationBarTitleDisplayMode(.inline)` with an empty system title so the\nnav bar stays thin. This also gives you a natural home for a trailing action\nbutton on the same row as the title.\n\n```swift\n\u002F\u002F WRONG — title text in a bar-button placement; iOS 26 clips to \"C…\"\n\u002F\u002F inside a glass capsule once the title is wider than a compact button.\n.toolbar {\n    ToolbarItem(placement: .topBarLeading) {\n        Text(\"Cubby\").font(.largeTitle.bold())\n    }\n}\n```\n\n```swift\n\u002F\u002F CORRECT — title rendered in content, not in a toolbar slot.\nstruct ScreenHeader\u003CTrailing: View>: View {\n    let title: String\n    let trailing: Trailing\n\n    init(title: String, @ViewBuilder trailing: () -> Trailing) {\n        self.title = title\n        self.trailing = trailing()\n    }\n\n    var body: some View {\n        HStack(alignment: .firstTextBaseline) {\n            Text(title)\n                .font(.title.bold())\n                .accessibilityAddTraits(.isHeader)\n            Spacer(minLength: 8)\n            trailing   \u002F\u002F e.g. a \"+\" quick-add button, same row as the title\n        }\n    }\n}\n\nextension ScreenHeader where Trailing == EmptyView {\n    init(title: String) { self.init(title: title) { EmptyView() } }\n}\n\n\u002F\u002F In the screen:\n\u002F\u002F .navigationBarTitleDisplayMode(.inline)   \u002F\u002F keep the system title empty\u002Fthin\n\u002F\u002F ScrollView { ScreenHeader(title: \"Cubby\") { addButton }; ... }\n```\n\nToolbar slots remain fine for genuinely short content — single glyphs, SF\nSymbols, one- or two-character labels. The trap is specifically a *title*\n(long text, custom\u002Flarge font) placed in a *bar-button* placement.\n\n## Evidence\n\n- **cubby** — a branded serif \"Cubby\" title in `ToolbarItem(.topBarLeading)`\n  rendered as \"C…\" in a glass circle on iOS 26; fixed by replacing it with an\n  in-content `ScreenHeader` row and keeping `.navigationBarTitleDisplayMode(.inline)`\n  for a thin, title-less system bar.\n\n## Related skills\n\n- `mainactor-runtime-isolation-trap` — unrelated failure class (runtime actor\n  isolation crashes\u002Fre-entrancy), not a layout issue; don't confuse \"compiles\n  clean but misbehaves at runtime\" framing across the two.\n",{"name":5,"description":7},"main","153711dd9432743d97f0b33b080ada5798ea623c","plugins\u002Fios-dev\u002Fskills\u002Fios26-toolbar-leading-title-truncation","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 ios26-toolbar-leading-title-truncation",{"tool":35,"command":36},"bunx","bunx skills add abhijitbansal\u002Fclaude-skills --skill ios26-toolbar-leading-title-truncation",{"tool":38,"command":39},"pnpm","pnpm dlx skills add abhijitbansal\u002Fclaude-skills --skill ios26-toolbar-leading-title-truncation","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fabhijitbansal\u002Fclaude-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fios-dev\u002Fskills\u002Fios26-toolbar-leading-title-truncation\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",[],[]]