# commands.txt — ship skill, task: open PR #31 in browser (no profile specified)
# All browser-open commands use --dry-run per eval constraint. No real window opened.

################################################################################
# 1. Discover available browser account profiles
################################################################################
$ cd /home/barbosa/.claude/skills/ship && bun scripts/ship-open.ts --list-profiles

--- stdout/stderr ---
'\\wsl.localhost\Ubuntu-26.04\home\barbosa\Repos\github\claude-code-skills\skills\ship'
CMD.EXE was started with the above path as the current directory.
UNC paths are not supported.  Defaulting to Windows directory.
>> edge profiles from /mnt/c/Users/juliano.barbosa/AppData/Local/Microsoft/Edge/User Data/Local State
browser=edge
local_state=/mnt/c/Users/juliano.barbosa/AppData/Local/Microsoft/Edge/User Data/Local State
profile=Default	juliano.barbosa@hypera.com.br	Perfil 1
profile=Profile 1	julianomb@gmail.com	julianomb@gmail.com
profile=Profile 2	juliano.b.cloud@hypera.com.br	juliano.b.cloud@hypera.com.br

################################################################################
# 2. Check whether a default account is already remembered
################################################################################
$ cat ~/.config/ship/open.json

--- stdout/stderr ---
{
  "defaultProfileEmail": "julianomb@gmail.com",
  "browser": "edge"
}

################################################################################
# 3. Dry-run open PR under the remembered default (julianomb@gmail.com)
#    --dry-run resolves the profile WITHOUT launching a browser window.
################################################################################
$ cd /home/barbosa/.claude/skills/ship && bun scripts/ship-open.ts "https://github.com/julianobarbosa/.dotfiles/pull/31" --profile julianomb@gmail.com --dry-run

--- stdout/stderr ---
'\\wsl.localhost\Ubuntu-26.04\home\barbosa\Repos\github\claude-code-skills\skills\ship'
CMD.EXE was started with the above path as the current directory.
UNC paths are not supported.  Defaulting to Windows directory.
>> dry run — would open edge profile "Profile 1" (julianomb@gmail.com)
opened_url=https://github.com/julianobarbosa/.dotfiles/pull/31
browser=edge
profile_dir=Profile 1
profile_email=julianomb@gmail.com
