od-default
Hidden fallback scenario for free-form Home prompts. Infer the task type and ask only when routing is materially ambiguous.
- License 许可
- MIT
- 最近更新
- 2026-11-10
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- od
- { "mode": "scenario", "scenario": "default-router" }
- name
- od-default
- description
- Hidden fallback scenario for free-form Home prompts. Infer the task type and ask only when routing is materially ambiguous.
02 资源文件 1
- 参考文档open-design.json6.3 KB
03 SKILL.md 正文
od-default (hidden scenario)
This plugin runs only when the user types a free-form Home prompt without choosing one of the visible category chips. It is the design-engine fallback, not a visible catalog entry.
Route first; clarify only when needed
Infer the task type from the user's brief and known conversation context. When one route is reasonably clear, bind it and continue directly to that Open Design flow. A free-form Home prompt, a first turn, or the presence of a discovery stage does not by itself require a question form.
Emit the form below only when two or more routes remain materially plausible
and choosing the wrong one would change the delivery format. Localize every
user-facing string to the user's chat language, but keep ids, types, option
values, and the ordered taskType options stable. Set defaultValue to the
stable value of the route you recommend so the user can submit unchanged; the
example below recommends prototype, but replace it with the inferred route
value before emission. You may add at most two other unanswered questions, and
only when their answers are also required before useful work can begin; never
restore a fixed discovery checklist.
<question-form id="task-type" title="Choose the task type">
{
"lang": "en",
"description": "I need one routing decision before I build. The recommended option is preselected.",
"questions": [
{
"id": "taskType",
"label": "What should I build?",
"type": "radio",
"required": true,
"allowCustom": false,
"defaultValue": "prototype",
"options": [
{ "label": "Prototype", "value": "prototype" },
{ "label": "Live artifact", "value": "live_artifact" },
{ "label": "Slide deck", "value": "slide_deck" },
{ "label": "Image", "value": "image" },
{ "label": "Video", "value": "video" },
{ "label": "HyperFrames", "value": "hyperframes" },
{ "label": "Audio", "value": "audio" },
{ "label": "Other", "value": "other" }
]
}
]
}
</question-form>
After the answer
When the user replies with [form answers — task-type], bind the chosen task
type as authoritative, match the stable [value: ...] token rather than the
localized label, and continue:
prototype(Prototype): run the normal new-generation prototype flow.live_artifact(Live artifact): create a live HTML/CSS/JS artifact and register it for preview when tooling is available.slide_deck(Slide deck): follow the deck workflow and framework rules.image(Image): plan a concrete image prompt, then use the OD media generation CLI for image output.video(Video): plan shots, duration, aspect, and motion, then use the OD media generation CLI for video output.hyperframes(HyperFrames): create HTML-driven motion frames or a HyperFrames-ready motion artifact before rendering/exporting.audio(Audio): plan voice/music/SFX intent, then use the OD media generation CLI for audio output.other(Other): ask only the minimum follow-up needed, then choose the closest Open Design workflow and continue.
Do not automatically emit a second <question-form id="discovery"> after the
route answer. Continue with the submitted answer and all existing context.
Ask again later only if a new, genuinely blocking ambiguity appears. Do not
tell the user to go back and choose a chip; the default plugin owns this
fallback.
04 同仓库更多 Skills
vercel-sandbox
Run agent-browser + Chrome inside Vercel Sandbox microVMs for browser automation from any Vercel-deployed app. Use when the user needs browser automation in a Vercel app (Next.js, SvelteKit, Nuxt, Remix, Astro, etc.), wants to run headless Chrome without binary size limits, needs persistent browser sessions across commands, or wants ephemeral isolated browser environments. Triggers include "Vercel Sandbox browser", "microVM Chrome", "agent-browser in sandbox", "browser automation on Vercel", or any task requiring Chrome in a Vercel Sandbox.
slack
Interact with Slack workspaces using browser automation. Use when the user needs to check unread channels, navigate Slack, send messages, extract data, find information, search conversations, or automate any Slack task. Triggers include "check my Slack", "what channels have unreads", "send a message to", "search Slack for", "extract from Slack", "find who said", or any task requiring programmatic Slack interaction.
electron
Automate Electron desktop apps (VS Code, Slack, Discord, Figma, Notion, Spotify, etc.) using agent-browser via Chrome DevTools Protocol. Use when the user needs to interact with an Electron app, automate a desktop app, connect to a running app, control a native app, or test an Electron application. Triggers include "automate Slack app", "control VS Code", "interact with Discord app", "test this Electron app", "connect to desktop app", or any task requiring automation of a native Electron application.
dogfood
Systematically explore and test a web application to find bugs, UX issues, and other problems. Use when asked to "dogfood", "QA", "exploratory test", "find issues", "bug hunt", "test this app/site/platform", or review the quality of a web application. Produces a structured report with full reproduction evidence -- step-by-step screenshots, repro videos, and detailed repro steps for every issue -- so findings can be handed directly to the responsible teams.
agent-browser
Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to "open a website", "fill out a form", "click a button", "take a screenshot", "scrape data from a page", "test this web app", "login to a site", "automate browser actions", or any task requiring programmatic web interaction.
shadcn
Manages shadcn components and projects — adding, searching, fixing, debugging, styling, and composing UI, including chat interfaces. Provides project context, component docs, and usage examples. Applies when working with shadcn/ui, component registries, presets, --preset codes, or any project with a components.json file. Also triggers for "shadcn init", "create an app with --preset", "switch to --preset", and for building a design system or applying a DESIGN.md or brand spec to shadcn/ui.