/unwind:uw-publishfrom unwind
Publishes the Unwind dashboard to a project's GitHub Pages gh-pages branch in an unwind/ subdir without overwriting existing content. Confirms target before pushing.
Ships in unwind. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Purpose: Publish the interactive Unwind dashboard for this scanned project to
its own gh-pages branch, so anyone can view it at
https://<owner>.github.io/<repo>/unwind/ — no local server needed.
Why a subdir? GitHub Pages serves a project repo at /<repo>/. We publish into an
unwind/ subdir of gh-pages and only ever replace that subdir, so an existing
gh-pages branch (project docs, Storybook, coverage, …) is never blatted — every
sibling file is preserved. A fresh branch is created as an orphan only when none exists.
Graceful fallback: if
git,pnpm, or@unwind/coreare unavailable, or the project has no GitHub remote / no scan yet, this skill reports what's missing and stops cleanly (rununwind:uw-scanfirst if there's no scan).
Safety: all git work happens in an isolated worktree — your working tree and current branch are never touched. The push is outward-facing, so it only happens after you confirm the target.
# Locate the installed Unwind plugin, then load the core helper.
# $0/BASH_SOURCE are unreliable under `bash -c`, so glob the install cache.
UNWIND_PLUGIN_ROOT="${CLAUDE_PLUGIN_ROOT:-${UNWIND_PLUGIN_ROOT:-}}"
[ -f "$UNWIND_PLUGIN_ROOT/skills/scripts/_resolve-plugin-root.sh" ] || \
UNWIND_PLUGIN_ROOT="$(ls -dt "$HOME"/.claude/plugins/cache/*/unwind/*/ 2>/dev/null | head -1)"
source "${UNWIND_PLUGIN_ROOT%/}/skills/scripts/_resolve-plugin-root.sh"
ensure_unwind_core || { echo "core unavailable — cannot publish dashboard"; exit 0; }
Show the user exactly what will happen before anything is built or pushed:
node "$UNWIND_PLUGIN_ROOT/skills/scripts/deploy-gh-pages.mjs" "$(pwd)" --plan
Relay the printed plan — remote, owner/repo, branch action (create orphan
vs augment existing), subdir, and the resulting Pages URL. If it reports no
git remote or no scan, stop and tell the user what to fix.
Build the dashboard at the sub-path and commit it into the unwind/ subdir of a local
gh-pages branch (still no push):
node "$UNWIND_PLUGIN_ROOT/skills/scripts/deploy-gh-pages.mjs" "$(pwd)"
This leaves a local gh-pages branch with the new commit. Confirm with the user
that they want to publish to the reported Pages URL.
If the user declines, nothing was pushed. The only local artifact is the
gh-pagesbranch; they can drop it withgit branch -D gh-pages.
Push the prepared branch:
git push origin gh-pages
(Equivalently, re-run the script with --push to rebuild + commit + push in one shot.)
Tell the user:
https://<owner>.github.io/<repo>/unwind/.gh-pages
branch. If the GitHub CLI is authenticated, this can be done once with:
gh api -X POST repos/<owner>/<repo>/pages -f 'source[branch]=gh-pages' -f 'source[path]=/'.deploy-gh-pages.mjs)--subdir <name> — publish into a different subdir (default unwind).--branch <name> — Pages branch (default gh-pages).--remote <name> — git remote to read/push (default origin).--base <path> — override the Vite base path for a custom domain / CNAME
(e.g. --base /unwind/ when the repo serves at the domain root).--push — rebuild + commit + push in one step (skips the prepare-only stop).<subdir>/** and a root .nojekyll are written; all other
files on gh-pages are preserved. Re-running is idempotent.VITE_BASE_URL so asset/data fetches resolve under /<repo>/<subdir>/.docs/unwind/ from the project; it writes solely to the
isolated worktree and (on push) the remote gh-pages branch.What SKILL.md sets; muted values are Claude Code's defaults
25 skills in this plugin
/uw-analyzeUse after unwind:uw-scan to orchestrate layer-by-layer analysis using specialist subagents/uw-analyze-apiUse when analyzing REST/GraphQL API endpoints, contracts, authentication, and client-facing interfaces/uw-analyze-databaseUse when analyzing the database layer including schema, migrations, ORM configuration, and data access patterns/uw-analyze-domainUse when analyzing domain entities, value objects, aggregates, and business rules encoded in the model/uw-analyze-e2e-testsUse when analyzing end-to-end tests including browser automation, API workflows, and full system testing/uw-analyze-frontendUse when analyzing frontend/UI layer including components, state management, routing, and API integration (optional - skip if no frontend exists)npx claudepluginhub nearform/unwind --plugin unwindOther plugins' skills for the same job