[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6EFZRJGKBRPM4ABRC7WFPQ4":3,"skill-same:01M6EFZRJGKBRPM4ABRC7WFPQ4":55},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":20,"frontMatter":21,"refName":22,"commitSha":23,"skillDirectory":24,"forksCount":25,"repositoryHtmlUrl":26,"repositoryHomepageUrl":27,"ownerHtmlUrl":28,"ownerBlogUrl":6,"ownerDescription":29,"updatedAt":30,"install":31,"resources":44},"01M6EFZRJGKBRPM4ABRC7WFPQ4","raycast",null,"ComeOnOliver\u002Fskillshub","ComeOnOliver","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F43215937?v=4","01M6E5JNFECJAAVFE0W7SMWWD2","Haoran Shu","01M6E5JNNDQS7AJZDYFQ8TPZCK",67,"MIT","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002FTerminalSkills\u002Fskills\u002Fraycast\u002FSKILL.md",[],[5],"2026-11-10 10:12:30",false,"# Raycast — macOS Launcher Extension Development\n\n\n## Overview\n\n\nBuilding Raycast extensions — custom commands, views, and integrations for the Raycast launcher on macOS. Helps developers create productivity extensions using React, TypeScript, and Raycast's API for lists, forms, actions, and preferences.\n\n\n## Instructions\n\n### List View Command\n\nBuild a searchable list command:\n\n```tsx\n\u002F\u002F src\u002Fsearch-projects.tsx — Search and open projects from a list\nimport { List, Action, ActionPanel, Icon, Color, getPreferenceValues } from \"@raycast\u002Fapi\";\nimport { useFetch } from \"@raycast\u002Futils\";\n\ninterface Project {\n  id: string;\n  name: string;\n  url: string;\n  language: string;\n  stars: number;\n  updatedAt: string;\n}\n\nexport default function SearchProjects() {\n  const prefs = getPreferenceValues\u003C{ githubToken: string }>();\n\n  const { data, isLoading } = useFetch\u003C{ items: Project[] }>(\n    \"https:\u002F\u002Fapi.github.com\u002Fuser\u002Frepos?sort=updated&per_page=50\",\n    {\n      headers: { Authorization: `Bearer ${prefs.githubToken}` },\n      mapResult: (result: any) => ({\n        data: { items: result },\n      }),\n    }\n  );\n\n  return (\n    \u003CList isLoading={isLoading} searchBarPlaceholder=\"Search your repos...\">\n      {data?.items.map((project) => (\n        \u003CList.Item\n          key={project.id}\n          title={project.name}\n          subtitle={project.language}\n          accessories={[\n            { text: `⭐ ${project.stars}` },\n            { date: new Date(project.updatedAt), tooltip: \"Last updated\" },\n          ]}\n          icon={{ source: Icon.Code, tintColor: Color.Blue }}\n          actions={\n            \u003CActionPanel>\n              \u003CAction.OpenInBrowser url={project.url} title=\"Open on GitHub\" \u002F>\n              \u003CAction.CopyToClipboard\n                content={`git clone ${project.url}.git`}\n                title=\"Copy Clone URL\"\n              \u002F>\n              \u003CAction.Open\n                title=\"Open in VS Code\"\n                target={project.url}\n                application=\"Visual Studio Code\"\n              \u002F>\n            \u003C\u002FActionPanel>\n          }\n        \u002F>\n      ))}\n    \u003C\u002FList>\n  );\n}\n```\n\n### Detail View\n\nShow rich content with markdown:\n\n```tsx\n\u002F\u002F src\u002Fshow-readme.tsx — Display a project README with rich formatting\nimport { Detail, Action, ActionPanel } from \"@raycast\u002Fapi\";\nimport { useFetch } from \"@raycast\u002Futils\";\n\nexport default function ShowReadme({ repoName }: { repoName: string }) {\n  const { data, isLoading } = useFetch\u003Cstring>(\n    `https:\u002F\u002Fapi.github.com\u002Frepos\u002F${repoName}\u002Freadme`,\n    {\n      headers: { Accept: \"application\u002Fvnd.github.raw\" },\n      mapResult: (result: any) => ({ data: result }),\n    }\n  );\n\n  const markdown = data ?? \"Loading...\";\n\n  return (\n    \u003CDetail\n      isLoading={isLoading}\n      markdown={markdown}\n      metadata={\n        \u003CDetail.Metadata>\n          \u003CDetail.Metadata.Label title=\"Repository\" text={repoName} \u002F>\n          \u003CDetail.Metadata.Link title=\"GitHub\" target={`https:\u002F\u002Fgithub.com\u002F${repoName}`} text=\"Open\" \u002F>\n          \u003CDetail.Metadata.Separator \u002F>\n          \u003CDetail.Metadata.TagList title=\"Topics\">\n            \u003CDetail.Metadata.TagList.Item text=\"typescript\" color={Color.Blue} \u002F>\n            \u003CDetail.Metadata.TagList.Item text=\"react\" color={Color.Green} \u002F>\n          \u003C\u002FDetail.Metadata.TagList>\n        \u003C\u002FDetail.Metadata>\n      }\n      actions={\n        \u003CActionPanel>\n          \u003CAction.CopyToClipboard content={markdown} title=\"Copy README\" \u002F>\n        \u003C\u002FActionPanel>\n      }\n    \u002F>\n  );\n}\n```\n\n### Form Command\n\nCollect user input with forms:\n\n```tsx\n\u002F\u002F src\u002Fcreate-issue.tsx — Form to create a GitHub issue\nimport { Form, Action, ActionPanel, showToast, Toast, popToRoot } from \"@raycast\u002Fapi\";\nimport { useState } from \"react\";\n\nexport default function CreateIssue() {\n  const [isSubmitting, setIsSubmitting] = useState(false);\n\n  async function handleSubmit(values: {\n    repo: string;\n    title: string;\n    body: string;\n    labels: string[];\n    priority: string;\n  }) {\n    setIsSubmitting(true);\n\n    try {\n      const response = await fetch(`https:\u002F\u002Fapi.github.com\u002Frepos\u002F${values.repo}\u002Fissues`, {\n        method: \"POST\",\n        headers: {\n          Authorization: `Bearer ${getPreferenceValues().githubToken}`,\n          \"Content-Type\": \"application\u002Fjson\",\n        },\n        body: JSON.stringify({\n          title: values.title,\n          body: values.body,\n          labels: values.labels,\n        }),\n      });\n\n      if (!response.ok) throw new Error(\"Failed to create issue\");\n\n      const issue = await response.json();\n      await showToast({\n        style: Toast.Style.Success,\n        title: \"Issue Created\",\n        message: `#${issue.number}: ${issue.title}`,\n        primaryAction: {\n          title: \"Open in Browser\",\n          onAction: () => open(issue.html_url),\n        },\n      });\n      popToRoot();\n    } catch (error) {\n      await showToast({ style: Toast.Style.Failure, title: \"Error\", message: String(error) });\n    } finally {\n      setIsSubmitting(false);\n    }\n  }\n\n  return (\n    \u003CForm\n      isLoading={isSubmitting}\n      actions={\n        \u003CActionPanel>\n          \u003CAction.SubmitForm title=\"Create Issue\" onSubmit={handleSubmit} \u002F>\n        \u003C\u002FActionPanel>\n      }\n    >\n      \u003CForm.TextField id=\"repo\" title=\"Repository\" placeholder=\"owner\u002Frepo\" \u002F>\n      \u003CForm.TextField id=\"title\" title=\"Title\" placeholder=\"Bug: ...\" \u002F>\n      \u003CForm.TextArea id=\"body\" title=\"Description\" placeholder=\"Describe the issue...\" enableMarkdown \u002F>\n      \u003CForm.TagPicker id=\"labels\" title=\"Labels\">\n        \u003CForm.TagPicker.Item value=\"bug\" title=\"? Bug\" \u002F>\n        \u003CForm.TagPicker.Item value=\"feature\" title=\"✨ Feature\" \u002F>\n        \u003CForm.TagPicker.Item value=\"docs\" title=\"? Docs\" \u002F>\n      \u003C\u002FForm.TagPicker>\n      \u003CForm.Dropdown id=\"priority\" title=\"Priority\" defaultValue=\"medium\">\n        \u003CForm.Dropdown.Item value=\"low\" title=\"Low\" \u002F>\n        \u003CForm.Dropdown.Item value=\"medium\" title=\"Medium\" \u002F>\n        \u003CForm.Dropdown.Item value=\"high\" title=\"High\" \u002F>\n        \u003CForm.Dropdown.Item value=\"critical\" title=\"Critical\" \u002F>\n      \u003C\u002FForm.Dropdown>\n    \u003C\u002FForm>\n  );\n}\n```\n\n### Local Storage and Cache\n\nPersist data across command runs:\n\n```typescript\n\u002F\u002F src\u002Flib\u002Fstorage.ts — Cache and persist data\nimport { LocalStorage, Cache } from \"@raycast\u002Fapi\";\n\nconst cache = new Cache();\n\n\u002F\u002F Cache for frequently accessed data (memory + disk, auto-evicts)\nasync function getCachedRepos(): Promise\u003CProject[]> {\n  const cached = cache.get(\"repos\");\n  if (cached) return JSON.parse(cached);\n\n  const repos = await fetchRepos();\n  cache.set(\"repos\", JSON.stringify(repos), { ttl: 300_000 }); \u002F\u002F 5-minute TTL\n  return repos;\n}\n\n\u002F\u002F LocalStorage for persistent user data (survives restarts)\nasync function addToFavorites(repoId: string) {\n  const favorites = JSON.parse((await LocalStorage.getItem\u003Cstring>(\"favorites\")) ?? \"[]\");\n  if (!favorites.includes(repoId)) {\n    favorites.push(repoId);\n    await LocalStorage.setItem(\"favorites\", JSON.stringify(favorites));\n  }\n}\n\nasync function getFavorites(): Promise\u003Cstring[]> {\n  return JSON.parse((await LocalStorage.getItem\u003Cstring>(\"favorites\")) ?? \"[]\");\n}\n```\n\n### Menu Bar Command\n\nCreate a persistent menu bar item:\n\n```tsx\n\u002F\u002F src\u002Fmenu-bar.tsx — Always-visible status in the macOS menu bar\nimport { MenuBarExtra, Icon, open, getPreferenceValues } from \"@raycast\u002Fapi\";\nimport { useFetch } from \"@raycast\u002Futils\";\n\nexport default function StatusMenuBar() {\n  const { data, isLoading } = useFetch\u003Cany[]>(\n    \"https:\u002F\u002Fapi.github.com\u002Fnotifications\",\n    {\n      headers: { Authorization: `Bearer ${getPreferenceValues().githubToken}` },\n      keepPreviousData: true,\n      initialData: [],\n    }\n  );\n\n  const unread = data?.length ?? 0;\n\n  return (\n    \u003CMenuBarExtra\n      icon={Icon.Bell}\n      title={unread > 0 ? String(unread) : undefined}\n      isLoading={isLoading}\n    >\n      \u003CMenuBarExtra.Section title=\"Notifications\">\n        {data?.slice(0, 10).map((notification) => (\n          \u003CMenuBarExtra.Item\n            key={notification.id}\n            title={notification.subject.title}\n            subtitle={notification.repository.name}\n            onAction={() => open(notification.subject.url)}\n          \u002F>\n        ))}\n      \u003C\u002FMenuBarExtra.Section>\n      {unread > 10 && (\n        \u003CMenuBarExtra.Item\n          title={`${unread - 10} more...`}\n          onAction={() => open(\"https:\u002F\u002Fgithub.com\u002Fnotifications\")}\n        \u002F>\n      )}\n    \u003C\u002FMenuBarExtra>\n  );\n}\n```\n\n### Extension Manifest\n\nConfigure commands and preferences:\n\n```json\n\u002F\u002F package.json — Extension configuration\n{\n  \"name\": \"my-github-extension\",\n  \"title\": \"GitHub Tools\",\n  \"description\": \"Manage GitHub repos, issues, and notifications\",\n  \"icon\": \"github-icon.png\",\n  \"author\": \"your-name\",\n  \"categories\": [\"Developer Tools\"],\n  \"license\": \"MIT\",\n  \"commands\": [\n    {\n      \"name\": \"search-projects\",\n      \"title\": \"Search Projects\",\n      \"description\": \"Search and open your GitHub repositories\",\n      \"mode\": \"view\"\n    },\n    {\n      \"name\": \"create-issue\",\n      \"title\": \"Create Issue\",\n      \"description\": \"Create a new GitHub issue\",\n      \"mode\": \"view\"\n    },\n    {\n      \"name\": \"menu-bar\",\n      \"title\": \"GitHub Notifications\",\n      \"description\": \"Show unread notifications in menu bar\",\n      \"mode\": \"menu-bar\",\n      \"interval\": \"5m\"\n    }\n  ],\n  \"preferences\": [\n    {\n      \"name\": \"githubToken\",\n      \"title\": \"GitHub Token\",\n      \"description\": \"Personal access token with repo scope\",\n      \"type\": \"password\",\n      \"required\": true\n    }\n  ]\n}\n```\n\n## Installation\n\n```bash\n# Create a new extension\nnpx create-raycast-extension my-extension\n\n# Development (opens Raycast with hot reload)\nnpm run dev\n\n# Build and lint\nnpm run build\nnpm run fix-lint\n\n# Publish to Raycast Store\nnpx ray publish\n```\n\n\n## Examples\n\n\n### Example 1: Setting up Raycast with a custom configuration\n\n**User request:**\n\n```\nI just installed Raycast. Help me configure it for my TypeScript + React workflow with my preferred keybindings.\n```\n\nThe agent creates the configuration file with TypeScript-aware settings, configures relevant plugins\u002Fextensions for React development, sets up keyboard shortcuts matching the user's preferences, and verifies the setup works correctly.\n\n### Example 2: Extending Raycast with custom functionality\n\n**User request:**\n\n```\nI want to add a custom detail view to Raycast. How do I build one?\n```\n\nThe agent scaffolds the extension\u002Fplugin project, implements the core functionality following Raycast's API patterns, adds configuration options, and provides testing instructions to verify it works end-to-end.\n\n\n## Guidelines\n\n1. **Fast time-to-interaction** — Show cached data immediately, then update in background; use `keepPreviousData: true`\n2. **Use useFetch from @raycast\u002Futils** — Handles caching, revalidation, and loading states automatically\n3. **Meaningful accessories** — Show dates, counts, and status in list item accessories; saves users from opening details\n4. **Action panel hierarchy** — Most common action first; Cmd+Enter triggers the primary action\n5. **Preferences for secrets** — API keys and tokens go in preferences (type: \"password\"), not hardcoded\n6. **Show toasts for feedback** — Success\u002Ffailure toasts keep users informed without blocking the UI\n7. **Menu bar for monitoring** — Use menu bar commands for status that users check frequently (notifications, CI status)\n8. **Cache aggressively** — Raycast commands should feel instant; cache API responses and pre-fetch data\n",{},"main","def8531e65114c0fca8fb8551c1871ee0eed705c","skills\u002FTerminalSkills\u002Fskills\u002Fraycast",24,"https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub","https:\u002F\u002Fskillshub.wtf","https:\u002F\u002Fgithub.com\u002FComeOnOliver","AI & Blockchain Engineer\r\n","2026-06-24 22:07:19",{"source":7,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add ComeOnOliver\u002Fskillshub --skill raycast",{"tool":37,"command":38},"bunx","bunx skills add ComeOnOliver\u002Fskillshub --skill raycast",{"tool":40,"command":41},"pnpm","pnpm dlx skills add ComeOnOliver\u002Fskillshub --skill raycast","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002FTerminalSkills\u002Fskills\u002Fraycast\u002FSKILL.md",true,[45,51],{"path":46,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":49,"sourceHtmlUrl":50},"patterns.md","REFERENCE","参考文档",16146,"https:\u002F\u002Fgithub.com\u002Fvitalikpestov\u002FSkills-Catalog\u002Fblob\u002Fmain\u002F_Mobile-Dev\u002Ffrom-article-18-ui-ux\u002Fclaude-code-apple-skills\u002Fskills\u002Fcore-ml\u002Fpatterns.md",{"path":52,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":53,"sourceHtmlUrl":54},"templates.md",32281,"https:\u002F\u002Fgithub.com\u002Fvitalikpestov\u002FSkills-Catalog\u002Fblob\u002Fmain\u002F_Mobile-Dev\u002Ffrom-article-18-ui-ux\u002Fclaude-code-apple-skills\u002Fskills\u002Fcore-ml\u002Ftemplates.md",[56,65,74,83,89,95],{"skillNo":57,"name":58,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":18},"01M6FKJN13GMG4KY57J3QD8GY5","model-hierarchy-skill","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzscole\u002Fmodel-hierarchy-skill\u002Fmodel-hierarchy-skill\u002FSKILL.md",[],[62,63,64],"model","model hierarchy","model hierarchy skill",{"skillNo":66,"name":67,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":18},"01M6FKJJJ6GCAMR4PPPRD12M5X","zoom-mcp","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-mcp\u002FSKILL.md",[],[71,72,73],"MCP","zoom","zoom mcp",{"skillNo":75,"name":76,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":18},"01M6FKJE3KYT3KPEZMEEHYKA6K","zoom-apps-sdk","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-apps-sdk\u002FSKILL.md",[],[80,81,82,72],"sdk","zoom apps sdk","apps",{"skillNo":84,"name":85,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":18},"01M6FKJ9EDH9Q5VWDF8HAJRSP0","windows","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwindows\u002FSKILL.md",[],[85],{"skillNo":90,"name":91,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":18},"01M6FKJ666BEEFC3AE9GJ72Q93","whiteboard","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwhiteboard\u002FSKILL.md",[],[91],{"skillNo":96,"name":97,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":18},"01M6FKJ21WFCDGTJQ2Q91T9DVW","websockets","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwebsockets\u002FSKILL.md",[],[97]]