move-to-package
Procedure for moving files from src/ into monorepo packages. Use when moving, extracting, or migrating files into @blockstacking/* packages.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Procedure for moving files from src/ into monorepo packages. Use when moving, extracting, or migrating files into @blockstacking/* packages.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Take a set of local feature branches/worktrees all the way to merged PRs — discover unmerged work, fix commit-time hygiene, push, raise PRs, watch CI, auto-fix mechanical failures, merge on green, and cascade-rebase the rest. Use when the user says "shepherd PRs" or wants several branches driven to merge autonomously.
Read BEFORE invoking `playwright test` in any form, for any reason — running e2e, visual regression, room snapshots, or verifying a change 'via e2e'. Covers required project scoping (chromium-desktop, matching CI), the sandbox browser-build bridge, and the pnpm webServer failure. Also load on these failure signatures: every test failing at browserType.launch, 'Executable doesn't exist at /opt/pw-browsers/...', or 'Process from config.webServer was not able to start'.
Run the true-site-size GitHub Action locally via `act` inside the Claude Code web sandbox, to measure the game/editor cold-load journey byte cost without a CI round-trip. Use when asked to measure or verify build/wire size, or to check a byte-saving change, in the sandbox.
Fetch a campaign from the Supabase DB and save as local JSON. Use when the user asks to load, download, or fetch a campaign from the database.
Drive the Head over Heels remake's UI via the chrome-devtools MCP. Use this skill when the user asks for browser automation, capturing localStorage, dispatching game actions, or anything that involves driving the running game on localhost.
Run Docker — and tools that need it, like `act` (local GitHub Actions) — inside the Claude Code web sandbox, where image pulls and in-container networking collide with the egress proxy. Use when `docker pull` returns 403 on image layers, when a container can't reach the network, or when running `act`/CI-in-docker locally (e.g. the `act-true-site-size.sh` script).
| name | move-to-package |
| description | Procedure for moving files from src/ into monorepo packages. Use when moving, extracting, or migrating files into @blockstacking/* packages. |
Use git mv + manual import rewriting (grep/sed) for all file moves. Do not use ts-morph's sourceFile.move() — it rewrites all cross-package imports as relative paths instead of converting them to @blockstacking/* barrel imports, creating more cleanup than it saves.
git mv src/old/path.ts packages/<pkg>/src/path.tsgrep -rn for the old import path across src/ and packages/@blockstacking/<pkg> barrelsrc/ paths → @blockstacking/* barrel imports where the target already lives in a package@blockstacking/<pkg> before the move (when it was external to that package), those imports are now self-imports through the barrel and must become direct relative paths (e.g. @blockstacking/hoh-db → ./campaign). Self-imports create circular dependencies caught by dpdm. Easy to miss because the import was correct before the move.src/index.ts barrelpnpm fix to auto-fix import ordering