首页/ AI 技能 / @skilllib/skill-2014279409417531393
Skill站外收录 @skilllib/skill-2014279409417531393

openwork-core

集成开发环境与 OpenCode 核心系统深度协同,实现跨平台桌面与移动应用的高效构建,通过标准化命令支持开发调试、数据库交互及文件操作,确保行为透明与性能流畅。

0.0 (0) 675 次安装 原作者 编程导航
收录于 2026-01-22
软件开发 AI 技能

Skills.MD

## Quick Usage (Already Configured) ### Orientation - Read `AGENTS.md` and `MOTIVATIONS-PHILOSOPHY.md` before changing behavior. - Ensure `vendor/opencode` exists for self-reference. - Use the `tauri-solidjs` skill for stack-specific guidance. ### Update the OpenCode mirror ```bash git -C vendor/opencode pull --ff-only ``` ### Development workflow ```bash pnpm tauri dev # Desktop development pnpm tauri ios dev # iOS development pnpm tauri android dev # Android development # Or run directly in the desktop package: pnpm -C packages/desktop tauri dev ``` ## OpenCode Integration ### Spawn OpenCode CLI ```bash opencode -p "your prompt" -f json -q ``` ### Read OpenCode database ``` ~/.opencode/opencode.db # SQLite database ``` ### Key tables - `sessions` — Task runs - `messages` — Chat messages and tool calls - `history` — File change tracking ## Common Gotchas - OpenWork must stay within OpenCode's tool surface; avoid inventing new capabilities. - Always expose plans, permissions, and progress for non-technical users. - Use Tauri commands for all system access (file, shell, database). - Keep UI at 60fps; avoid blocking the main thread. - Mobile builds require platform-specific setup (Xcode, Android Studio). ## UI Principles - **Slick and fluid**: animations, transitions, micro-interactions. - **Mobile-first**: touch targets, gestures, adaptive layouts. - **Transparency**: show plans, steps, and tool calls. - **Progressive disclosure**: hide advanced controls until needed. ## First-Time Setup (If Not Configured) ### Clone the OpenCode mirror ```bash git clone https://github.com/anomalyco/opencode vendor/opencode ``` ### Initialize Tauri project ```bash pnpm create tauri-app . --template solid-ts ``` ### Add mobile targets ```bash pnpm tauri ios init pnpm tauri android init ``` ## Common Gotchas - OpenWork must stay within OpenCode’s tool surface; avoid inventing new capabilities. - Always expose plans, permissions, and progress for non-technical users. ## First-Time Setup (If Not Configured) ### Clone the OpenCode mirror ```bash git clone https://github.com/anomalyco/opencode vendor/opencode ```

评论 0

还没有评论,来抢沙发。