一键导入
coop-dev-surface
Use when working in Coop and needing the local app, receiver PWA, docs, API/signaling server, or extension watcher.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when working in Coop and needing the local app, receiver PWA, docs, API/signaling server, or extension watcher.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Browser and visual verification for Coop app, extension, popup, sidepanel, and receiver flows. Use when UI changes need rendered proof, console inspection, screenshots, Playwright checks, or local browser debugging.
Debugging & Troubleshooting - systematic root cause investigation with hypothesis testing and evidence collection. Use when the user reports a bug, encounters an error, sees unexpected behavior, or says 'debug this' or 'investigate this issue'.
Quality gate and regression monitor. One-shot (`/monitor`) or continuous (`/loop 5m /monitor`). Scope with --tests, --build, or run all checks by default.
Performance profiling and optimization - bundle analysis, Lighthouse CI, React Profiler, memory leaks, service worker cache efficiency. Use for performance investigations, optimization, and budget enforcement.
Planning & Execution - create structured implementation plans, check progress, execute in batches, manage lifecycle. Use when the user says 'plan this', asks to break down a feature into steps, or needs a phased implementation strategy before coding.
Code Review & PR Creation - 6-pass systematic review covering correctness, security, performance, patterns, testing, and documentation. Use when reviewing a PR, auditing code changes, or the user asks for systematic code quality analysis.
| name | coop-dev-surface |
| description | Use when working in Coop and needing the local app, receiver PWA, docs, API/signaling server, or extension watcher. |
Inside this repo, use the repo-native command:
bun install
# configure repo env if needed
bun run dev
bun run dev runs scripts/dev.ts. It starts the app, API/signaling server, docs, extension watcher, optional Cloudflare tunnel, and a dev browser profile when available. It writes runtime state to packages/app/public/__coop_dev__/state.json, streams logs, and cleans up child processes on Ctrl-C.
Expected ports:
3101: app / receiver PWA3102: docs3103: API / signaling3104: extension dev server, when boundUseful native commands:
bun run dev
bun run dev:stop
bun run dev:app
bun run dev:api
bun run dev:docs
bun run dev:extension
For cross-repo orchestration from anywhere, use the global workbench:
dev launch coop
dev launch coop:app
dev status coop
dev health coop
dev stop coop
Do not call .dev-surfaces/run.mjs; this repo should not have that wrapper.