Skip to main content

worktree-ports

Discover and use stable per-app ports assigned to a local monorepo worktree. Use when starting, opening, testing, or debugging local apps, or when worktree slots, localhost ports, PORT, app URLs, or .worktree-env.json are involved.

ソース情報

リポジトリ
FranciscoMoretti/chat-js
ソースの最終更新活動
2026年10月11日 08:00
検出された SKILL.md の言語
英語
スター
1,200
フォーク
124

インストール方法

デフォルトでは、最初にソースを確認する Prompt が選択されています。直接コマンドに切り替えるか、ローカルコピーをダウンロードすることもできます。

ソースファイルを確認

インストールを決める前に、SKILL.md と SkillsMP に表示されている付属ファイルをお読みください。

ファイルエクスプローラー
6 ファイル

SKILL.md を表示中

SKILL.md
ソースの指示 · 読み取り専用プレビュー
name
worktree-ports
description
Discover and use stable per-app ports assigned to a local monorepo worktree. Use when starting, opening, testing, or debugging local apps, or when worktree slots, localhost ports, PORT, app URLs, or .worktree-env.json are involved.
# Worktree Ports - Run `bun dev:info --json` before accessing local apps. Use the returned app URLs; never assume a port. - Start apps through the root `bun dev*` scripts so `.env.worktree.local` and `.env.local` are loaded before the wrapper runs. - Set the slot environment variable declared in `.worktree-env.json` in a worktree-local environment file. - Keep app offsets unique and below the configured range stride. - Declare every variable an app needs under its `exports`, including `PORT`. - Configure cross-app environment variables with `{apps.<name>.url}` templates. The generic resolver and command wrapper are bundled in `scripts/`.
GitHubで見る