[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7195JR2K523HAJP1ZPCAGH0":3,"skill-same:01M7195JR2K523HAJP1ZPCAGH0":63},{"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":30,"linkOnly":31,"markdownContent":32,"markdownBody":33,"frontMatter":34,"refName":37,"commitSha":38,"skillDirectory":39,"forksCount":14,"repositoryHtmlUrl":40,"repositoryHomepageUrl":6,"ownerHtmlUrl":41,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":42,"install":43,"resources":56},"01M7195JR2K523HAJP1ZPCAGH0","macos-menubar-tuist-app",null,"Build, refactor, or review SwiftUI macOS menubar apps that use Tuist.","sapsapshen\u002Fai-memory-router","sapsapshen","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F20347959?v=4","01M6XDQEF1DP50DKF37H81J3J5","shenmian","01M6XDQEJPE41Y3DT2763X8ZJN",0,"MIT","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fglobal\u002Fmacos-menubar-tuist-app\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29],"macos","macos menubar tuist app","app","review","safe","refactor","swiftui","use","build","apps","2026","2026-11-10 10:12:30",false,"---\nname: macos-menubar-tuist-app\ndescription: Build, refactor, or review SwiftUI macOS menubar apps that use Tuist.\nrisk: safe\nsource: \"Dimillian\u002FSkills (MIT)\"\ndate_added: \"2026-03-25\"\n---\n\n# macos-menubar-tuist-app\n\nBuild and maintain macOS menubar apps with a Tuist-first workflow and stable launch scripts. Preserve strict architecture boundaries so networking, state, and UI remain testable and predictable.\n\n## When to Use\n\n- When working on LSUIElement menubar utilities built with Tuist and SwiftUI.\n- When you need Tuist manifests, launch scripts, or architecture guidance for a menubar app.\n\n## Core Rules\n\n- Keep the app menubar-only unless explicitly told otherwise. Use `LSUIElement = true` by default.\n- Keep transport and decoding logic outside views. Do not call networking from SwiftUI view bodies.\n- Keep state transitions in a store layer (`@Observable` or equivalent), not in row\u002Fview presentation code.\n- Keep model decoding resilient to API drift: optional fields, safe fallbacks, and defensive parsing.\n- Treat Tuist manifests as the source of truth. Do not rely on hand-edited generated Xcode artifacts.\n- Prefer script-based launch for local iteration when `tuist run` is unreliable for macOS target\u002Fdevice resolution.\n- Prefer `tuist xcodebuild build` over raw `xcodebuild` in local run scripts when building generated projects.\n\n## Expected File Shape\n\nUse this placement by default:\n\n- `Project.swift`: app target, settings, resources, `Info.plist` keys\n- `Sources\u002F*Model*.swift`: API\u002Fdomain models and decoding\n- `Sources\u002F*Client*.swift`: requests, response mapping, transport concerns\n- `Sources\u002F*Store*.swift`: observable state, refresh policy, filtering, caching\n- `Sources\u002F*Menu*View*.swift`: menu composition and top-level UI state\n- `Sources\u002F*Row*View*.swift`: row rendering and lightweight interactions\n- `run-menubar.sh`: canonical local restart\u002Fbuild\u002Flaunch path\n- `stop-menubar.sh`: explicit stop helper when needed\n\n## Workflow\n\n1. Confirm Tuist ownership\n- Verify `Tuist.swift` and `Project.swift` (or workspace manifests) exist.\n- Read existing run scripts before changing launch behavior.\n\n2. Probe backend behavior before coding assumptions\n- Use `curl` to verify endpoint shape, auth requirements, and pagination behavior.\n- If endpoint ignores `limit\u002Fpage`, implement full-list handling with local trimming in the store.\n\n3. Implement layers from bottom to top\n- Define\u002Fadjust models first.\n- Add or update client request\u002Fdecoding logic.\n- Update store refresh, filtering, and cache policy.\n- Wire views last.\n\n4. Keep app wiring minimal\n- Keep app entry focused on scene\u002Fmenu wiring and dependency injection.\n- Avoid embedding business logic in `App` or menu scene declarations.\n\n5. Standardize launch ergonomics\n- Ensure run script restarts an existing instance before relaunching.\n- Ensure run script does not open Xcode as a side effect.\n- Use `tuist generate --no-open` when generation is required.\n- When the run script builds the generated project, prefer `TUIST_SKIP_UPDATE_CHECK=1 tuist xcodebuild build ...` instead of invoking raw `xcodebuild` directly.\n\n## Validation Matrix\n\nRun validations after edits:\n\n```bash\nTUIST_SKIP_UPDATE_CHECK=1 tuist xcodebuild build -scheme \u003CTargetName> -configuration Debug\n```\n\nIf launch workflow changed:\n\n```bash\n.\u002Frun-menubar.sh\n```\n\nIf shell scripts changed:\n\n```bash\nbash -n run-menubar.sh\nbash -n stop-menubar.sh\n.\u002Frun-menubar.sh\n```\n\n## Failure Patterns and Fix Direction\n\n- `tuist run` cannot resolve the macOS destination:\nUse run\u002Fstop scripts as canonical local run path.\n\n- Menu UI is laggy or inconsistent after refresh:\nMove derived state and filtering into the store; keep views render-only.\n\n- API payload changes break decode:\nRelax model decoding with optional fields and defaults, then surface missing data safely in UI.\n\n- Feature asks for quick UI patch:\nTrace root cause in model\u002Fclient\u002Fstore before changing row\u002Fmenu presentation.\n\n## Completion Checklist\n\n- Preserve menubar-only behavior unless explicitly changed.\n- Keep network and state logic out of SwiftUI view bodies.\n- Keep Tuist manifests and run scripts aligned with actual build\u002Frun flow.\n- Run the validation matrix for touched areas.\n- Report concrete commands run and outcomes.\n","# macos-menubar-tuist-app\n\nBuild and maintain macOS menubar apps with a Tuist-first workflow and stable launch scripts. Preserve strict architecture boundaries so networking, state, and UI remain testable and predictable.\n\n## When to Use\n\n- When working on LSUIElement menubar utilities built with Tuist and SwiftUI.\n- When you need Tuist manifests, launch scripts, or architecture guidance for a menubar app.\n\n## Core Rules\n\n- Keep the app menubar-only unless explicitly told otherwise. Use `LSUIElement = true` by default.\n- Keep transport and decoding logic outside views. Do not call networking from SwiftUI view bodies.\n- Keep state transitions in a store layer (`@Observable` or equivalent), not in row\u002Fview presentation code.\n- Keep model decoding resilient to API drift: optional fields, safe fallbacks, and defensive parsing.\n- Treat Tuist manifests as the source of truth. Do not rely on hand-edited generated Xcode artifacts.\n- Prefer script-based launch for local iteration when `tuist run` is unreliable for macOS target\u002Fdevice resolution.\n- Prefer `tuist xcodebuild build` over raw `xcodebuild` in local run scripts when building generated projects.\n\n## Expected File Shape\n\nUse this placement by default:\n\n- `Project.swift`: app target, settings, resources, `Info.plist` keys\n- `Sources\u002F*Model*.swift`: API\u002Fdomain models and decoding\n- `Sources\u002F*Client*.swift`: requests, response mapping, transport concerns\n- `Sources\u002F*Store*.swift`: observable state, refresh policy, filtering, caching\n- `Sources\u002F*Menu*View*.swift`: menu composition and top-level UI state\n- `Sources\u002F*Row*View*.swift`: row rendering and lightweight interactions\n- `run-menubar.sh`: canonical local restart\u002Fbuild\u002Flaunch path\n- `stop-menubar.sh`: explicit stop helper when needed\n\n## Workflow\n\n1. Confirm Tuist ownership\n- Verify `Tuist.swift` and `Project.swift` (or workspace manifests) exist.\n- Read existing run scripts before changing launch behavior.\n\n2. Probe backend behavior before coding assumptions\n- Use `curl` to verify endpoint shape, auth requirements, and pagination behavior.\n- If endpoint ignores `limit\u002Fpage`, implement full-list handling with local trimming in the store.\n\n3. Implement layers from bottom to top\n- Define\u002Fadjust models first.\n- Add or update client request\u002Fdecoding logic.\n- Update store refresh, filtering, and cache policy.\n- Wire views last.\n\n4. Keep app wiring minimal\n- Keep app entry focused on scene\u002Fmenu wiring and dependency injection.\n- Avoid embedding business logic in `App` or menu scene declarations.\n\n5. Standardize launch ergonomics\n- Ensure run script restarts an existing instance before relaunching.\n- Ensure run script does not open Xcode as a side effect.\n- Use `tuist generate --no-open` when generation is required.\n- When the run script builds the generated project, prefer `TUIST_SKIP_UPDATE_CHECK=1 tuist xcodebuild build ...` instead of invoking raw `xcodebuild` directly.\n\n## Validation Matrix\n\nRun validations after edits:\n\n```bash\nTUIST_SKIP_UPDATE_CHECK=1 tuist xcodebuild build -scheme \u003CTargetName> -configuration Debug\n```\n\nIf launch workflow changed:\n\n```bash\n.\u002Frun-menubar.sh\n```\n\nIf shell scripts changed:\n\n```bash\nbash -n run-menubar.sh\nbash -n stop-menubar.sh\n.\u002Frun-menubar.sh\n```\n\n## Failure Patterns and Fix Direction\n\n- `tuist run` cannot resolve the macOS destination:\nUse run\u002Fstop scripts as canonical local run path.\n\n- Menu UI is laggy or inconsistent after refresh:\nMove derived state and filtering into the store; keep views render-only.\n\n- API payload changes break decode:\nRelax model decoding with optional fields and defaults, then surface missing data safely in UI.\n\n- Feature asks for quick UI patch:\nTrace root cause in model\u002Fclient\u002Fstore before changing row\u002Fmenu presentation.\n\n## Completion Checklist\n\n- Preserve menubar-only behavior unless explicitly changed.\n- Keep network and state logic out of SwiftUI view bodies.\n- Keep Tuist manifests and run scripts aligned with actual build\u002Frun flow.\n- Run the validation matrix for touched areas.\n- Report concrete commands run and outcomes.\n",{"name":5,"risk":23,"source":35,"date_added":36,"description":7},"Dimillian\u002FSkills (MIT)","2026-03-25","main","7a38d8e7073e61c16eda85681cb32fb68a8657a5","skills-store\u002Fglobal\u002Fmacos-menubar-tuist-app","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router","https:\u002F\u002Fgithub.com\u002Fsapsapshen","2026-04-14 21:12:12",{"source":8,"skillName":5,"commands":44,"prompt":54,"zipAvailable":55},[45,48,51],{"tool":46,"command":47},"npx","npx skills add sapsapshen\u002Fai-memory-router --skill macos-menubar-tuist-app",{"tool":49,"command":50},"bunx","bunx skills add sapsapshen\u002Fai-memory-router --skill macos-menubar-tuist-app",{"tool":52,"command":53},"pnpm","pnpm dlx skills add sapsapshen\u002Fai-memory-router --skill macos-menubar-tuist-app","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fglobal\u002Fmacos-menubar-tuist-app\u002FSKILL.md",true,[57],{"path":58,"resourceType":59,"resourceTypeDesc":60,"sizeBytes":61,"sourceHtmlUrl":62},"agents\u002Fopenai.yaml","REFERENCE","参考文档",299,"https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fglobal\u002Fmacos-menubar-tuist-app\u002Fagents\u002Fopenai.yaml",[64,74,81,89,95,103],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":68,"licenseFileUrl":69,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":73},"01M72R8PZX1ABFHJGTYPA4CAF1","webapp-testing","To test local web applications, write native Python Playwright scripts.","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fglobal\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fglobal\u002Fwebapp-testing\u002FSKILL.md",[],[],"2026-11-10 22:39:42",{"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":73},"01M72QG37MMZNDY7X7GXPAK5W6","python-packaging","Comprehensive guide to creating, structuring, and distributing Python packages using modern packaging tools, pyproject.toml, and publishing to PyPI.","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fglobal\u002Fpython-packaging\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":68,"licenseFileUrl":85,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":73},"01M72NXR0QMP9G46TW6A2DH59C","canvas-design","These are instructions for creating design philosophies - aesthetic movements that are then EXPRESSED VISUALLY. Output only .md files, .pdf files, and .png files.","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fglobal\u002Fcanvas-design\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fglobal\u002Fcanvas-design\u002FSKILL.md",[],[],{"skillNo":90,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":68,"licenseFileUrl":91,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":73},"01M72N55TK3EEQ4QK4AWDC2KZS","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcursor\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcursor\u002Fwebapp-testing\u002FSKILL.md",[],[],{"skillNo":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":68,"licenseFileUrl":99,"sourceHtmlUrl":100,"categories":101,"keywords":102,"publishedAt":73},"01M72MTWC150CFAP4Y5GSNKF80","slack-gif-creator","A toolkit providing utilities and knowledge for creating animated GIFs optimized for Slack.","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcursor\u002Fslack-gif-creator\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcursor\u002Fslack-gif-creator\u002FSKILL.md",[],[],{"skillNo":104,"name":105,"nameZh":6,"description":106,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":68,"licenseFileUrl":107,"sourceHtmlUrl":108,"categories":109,"keywords":110,"publishedAt":73},"01M72KPT3VVNSP88MNAY466TZT","frontend-design","You are a frontend designer-engineer, not a layout generator.","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcursor\u002Ffrontend-design\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcursor\u002Ffrontend-design\u002FSKILL.md",[],[]]