Create new OpenCode agents with a gpt-5.2-codex default.
中文简介正在准备中。当前显示原文说明。
SolidJS reactivity + UI state patterns for Openrind Desktop
中文简介正在准备中。当前显示原文说明。
查看安装方法安装前可以查看交给 AI 代理的指令内容。
Openrind Desktop’s UI is SolidJS: it updates via signals, not React-style rerenders.
Most “UI stuck” bugs are actually state coupling bugs (e.g. one global busy() disabling an unrelated action), not rerender issues.
This skill captures the patterns we want to consistently use in Openrind Desktop.
pending state).createMemo() instead of duplicating booleans.When an operation can overlap with others (permissions, installs, background refresh), don’t reuse a global busy().
Use a dedicated signal per action:
const [replying, setReplying] = createSignal(false);
async function respond() {
if (replying()) return;
setReplying(true);
try {
await doTheThing();
} finally {
setReplying(false);
}
}
A single busy() boolean creates deadlocks:
busy(true)busy()Fix: permission UI must be disabled only by a permission-specific pending state.
If you read signals inside an async function and you need stable values, snapshot early:
const request = activePermission();
if (!request) return;
const requestID = request.id;
await respondPermission(requestID, "always");
Prefer createMemo() for computed disabled states:
const canSend = createMemo(() => prompt().trim().length > 0 && !busy());
setItems((current) => current.filter((x) => x.id !== id));
current in-place.await where values might have changed?还没有评价。欢迎分享你的使用感受。
无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。
还没有评论。来写第一条吧。
Create new OpenCode agents with a gpt-5.2-codex default.
中文简介正在准备中。当前显示原文说明。
Guide users through browser automation setup using Chrome DevTools MCP only. Use when the user asks to set up browser automation, Chrome DevTools MCP, browser MCP, or runs the browser-setup command.
中文简介正在准备中。当前显示原文说明。
Manages Cargo.lock file updates and resolves --locked flag issues in CI/CD. Triggers when user mentions: - "cargo test --locked failed" - "cannot update the lock file" - "Cargo.lock is out of date" - "PR failed with --locked error" - "fix Cargo.lock"
中文简介正在准备中。当前显示原文说明。
Create OpenCode custom commands for repeatable tasks.
中文简介正在准备中。当前显示原文说明。
Create an auditable Markdown report for any uploaded Microsoft Excel (.xlsx) or CSV files in an Openrind Shell sandbox.
中文简介正在准备中。当前显示原文说明。
Guide users through the get started setup and Chrome DevTools demo.
中文简介正在准备中。当前显示原文说明。