Skip to main content

rork-local-dev

Build, restart, and smoke-test the rork-local server when developing this repo. Use after changing anything under src/, before committing server changes, or when the dev server at localhost:3131 misbehaves.

설치로 이동

소스 정보

저장소
rorkai/rork-local
최근 소스 활동
2026년 7월 14일 22:30
감지된 SKILL.md 언어
영어
스타
12
포크
6

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

파일 탐색기
2 개 파일

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
rork-local-dev
description
Build, restart, and smoke-test the rork-local server when developing this repo. Use after changing anything under src/, before committing server changes, or when the dev server at localhost:3131 misbehaves.
# rork-local Development Use this project-scoped skill when working on rork-local itself. End-user usage (driving a running server to publish or capture screenshots) lives in the public `skills/rork-local` skill; do not add internal dev workflows there. ## Workflow 1. After editing `src/`, rebuild and typecheck: ```sh bun run build ``` Static `public/` changes need no rebuild or restart. 2. Restart the dev server. It normally runs under pm2: ```sh npx pm2 restart rork-local --update-env ``` If it isn't registered yet: ```sh ASC_BIN=/path/to/asc npx pm2 start dist/cli.js --name rork-local ``` serve-sim's native helper occasionally segfaults right after startup; pm2 restarts it automatically — wait a few seconds before declaring failure. 3. Smoke-test from the repo root: ```sh sh .codex/skills/rork-local-dev/scripts/smoke.sh # default port 3131 PORT=3199 sh .codex/skills/rork-local-dev/scripts/smoke.sh ``` It checks `/`, `/.sim`, `/api/status`, and a screenshot capture/delete round-trip. All four must pass before committing server changes. 4. If you changed an endpoint, flag, or response shape, update `skills/rork-local/SKILL.md` and the README API table in the same change.
GitHub에서 보기