raycast-extensions
Build and maintain Raycast extensions using the Raycast API. Triggers on @raycast/api, List, Grid, Detail, Form, AI.ask, LocalStorage, Cache, showToast, and BrowserExtension. Use this repo's references/api/*.md files as the primary source of truth for component specs and API usage.
- License 许可
- MIT
- 最近更新
- 2026-08-23
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- raycast-extensions
- description
- Build and maintain Raycast extensions using the Raycast API. Triggers on @raycast/api, List, Grid, Detail, Form, AI.ask, LocalStorage, Cache, showToast, and BrowserExtension. Use this repo's references/api/*.md files as the primary source of truth for component specs and API usage.
02 资源文件 36
- 参考文档_meta.json264 B
- 参考文档examples.md2.3 KB
- 参考文档references/api/action-panel.md7.2 KB
- 参考文档references/api/actions.md19.1 KB
- 参考文档references/api/ai.md13.9 KB
- 参考文档references/api/alert.md3.4 KB
- 参考文档references/api/browser-extension.md3.9 KB
- 参考文档references/api/caching.md6.9 KB
- 参考文档references/api/clipboard.md4.8 KB
- 参考文档references/api/colors.md4.3 KB
- 参考文档references/api/command-related-utilities.md4.6 KB
- 参考文档references/api/detail.md2.2 KB
- 参考文档references/api/environment.md5.8 KB
- 参考文档references/api/feedback.md278 B
- 参考文档references/api/form.md58.7 KB
- 参考文档references/api/grid.md29.0 KB
- 参考文档references/api/hud.md1.6 KB
- 参考文档references/api/icons-images.md99.9 KB
- 参考文档references/api/keyboard.md4.4 KB
- 参考文档references/api/list.md38.6 KB
- 参考文档references/api/menu-bar-commands.md15.3 KB
- 参考文档references/api/navigation.md1.5 KB
- 参考文档references/api/oauth.md24.5 KB
- 参考文档references/api/pikachu-1.md1.1 KB
- 参考文档references/api/pikachu-2.md1.1 KB
- 参考文档references/api/pikachu-3.md1.7 KB
- 参考文档references/api/pikachu-4.md574 B
- 参考文档references/api/pikachu.md1.2 KB
- 参考文档references/api/preferences.md4.8 KB
- 参考文档references/api/raycast-window-search-bar.md3.4 KB
- 参考文档references/api/storage.md4.7 KB
- 参考文档references/api/system-utilities.md7.1 KB
- 参考文档references/api/toast.md5.2 KB
- 参考文档references/api/tool.md2.7 KB
- 参考文档references/api/user-interface.md1.6 KB
- 参考文档references/api/window-management.md5.8 KB
03 SKILL.md 正文
Raycast Extensions Skill
Build powerful extensions with React, TypeScript, and the Raycast API.
Quick Start (Agent Workflow)
Follow these steps when tasked with implementing or fixing Raycast features:
- Identify the core component: Determine if the UI needs a
List,Grid,Detail, orForm. - Consult Reference: Open and read the corresponding file in
references/api/(e.g.,references/api/list.md). - Use Defaults:
- Feedback: Use
showToastfor Loading/Success/Failure. UseshowHUDonly for quick background completions. - Data: Use
Cachefor frequent/transient data,LocalStoragefor persistent user data. - Access: Always check
environment.canAccess(AI)orenvironment.canAccess(BrowserExtension)before use.
- Feedback: Use
- Implementation: Provide a concise implementation using
@raycast/apicomponents. - Citing: Link back to the specific
references/api/*.mdfile you used.
Cookbook Patterns
1. List & Grid (Searchable UI)
Use List for text-heavy data and Grid for image-heavy data.
<List isLoading={isLoading} searchBarPlaceholder="Search items..." throttle>
<List.Item
title="Item Title"
subtitle="Subtitle"
accessories={[{ text: "Tag" }]}
actions={
<ActionPanel>
<Action.Push title="View Details" target={<Detail markdown="# Details" />} />
<Action.CopyToClipboard title="Copy" content="value" />
</ActionPanel>
}
/>
</List>
2. Detail (Rich Markdown)
Use for displaying long-form content or item details.
<Detail
isLoading={isLoading}
markdown="# Heading\nContent here."
metadata={
<Detail.Metadata>
<Detail.Metadata.Label title="Status" text="Active" icon={Icon.Checkmark} />
</Detail.Metadata>
}
/>
3. Form (User Input)
Always include a SubmitForm action.
<Form
actions={
<ActionPanel>
<Action.SubmitForm onSubmit={(values) => console.log(values)} />
</ActionPanel>
}
>
<Form.TextField id="title" title="Title" placeholder="Enter title" />
<Form.TextArea id="description" title="Description" />
</Form>
4. Feedback & Interactivity
Prefer showToast for most feedback.
// Success/Failure
await showToast({ style: Toast.Style.Success, title: "Success!" });
// HUD (Overlay)
await showHUD("Done!");
5. Data Persistence
Use Cache for performance, LocalStorage for persistence.
// Cache (Sync/Transient)
const cache = new Cache();
cache.set("key", "value");
// LocalStorage (Async/Persistent)
await LocalStorage.setItem("key", "value");
6. AI & Browser Extension (Restricted APIs)
Always wrap in environment.canAccess checks.
if (environment.canAccess(AI)) {
const result = await AI.ask("Prompt");
}
if (environment.canAccess(BrowserExtension)) {
const tabs = await BrowserExtension.getTabs();
}
Additional Resources
API Reference Tree
- UI Components
- Interactivity
- Utilities & Services
- Data & Configuration
- Advanced
Examples
For end-to-end examples combining multiple components and APIs, see examples.md.
04 同仓库更多 Skills
crowd-prompting
A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.
dilemm-ai
Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).
arxiv-paper-reviews
Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, or submitting paper reviews via API at http://150.158.152.82:8000.
arxiv-paper-reviews
Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, or submitting paper reviews via API at http://150.158.152.82:8000.
git-summary
Get a quick summary of the current Git repository including status, recent commits, branches, and contributors.
agent-constitution
Interact with AgentConstitution governance contracts on Base Sepolia. Check compliance, read rules, log actions, query governance state.