/uxd-prototype:uxd-prototype-publishfrom uxd-prototype
Publishes a completed prototype to a git merge request, GitHub Pages, GitLab Pages, or Vercel. Updates the source Jira ticket with links and eval summary.
Ships in uxd-prototype. 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.
Read when SKILL.md points to them; scripts run unread.
Shares a completed prototype: merge request for team review, or a sanitized Pages/Vercel deploy for stakeholders. Updates the source Jira ticket with the link, eval summary, and labels when Jira is available.
Family: uxd-prototype-create → uxd-prototype-evaluate → publish.
| Input | Source | Required |
|---|---|---|
| Prototype files | .artifacts/{ID}/prototype/ or workspace files | Yes |
metadata.json | .artifacts/{ID}/metadata.json | Yes |
| Changeset | .artifacts/{ID}/changeset.md | Yes (workspace mode) |
| Workspace analysis | .artifacts/{ID}/workspace-analysis.json | Yes (repo target, workspace mode) |
| Eval report | .artifacts/{ID}/eval/evaluation-report.csv | Recommended |
| Pages base URL | --pages-base-url or product config | Optional (repo target) |
If {ID} is missing or artifacts are incomplete, stop and list what is missing.
| Output | Description |
|---|---|
| Published prototype | GitLab MR, GitHub Pages, GitLab Pages, or Vercel URL |
Updated metadata.json | status: submitted plus submission target/date/url |
| Jira comment + labels | Preview/MR links and eval summary (unless --skip-jira) |
$ARGUMENTS
Parse as: <ID> [--target repo|github|gitlab|vercel|<git-url>] …
| Flag | Values | Default | Description |
|---|---|---|---|
--target | repo, github, gitlab, vercel, or a git URL | github | Where to publish. A git URL means open an MR/PR against that repo (implies repo) |
--target-branch | branch name | from workspace-analysis.json | MR/PR base (repo target) |
--remote | Git URL | workspace origin | Push remote override only — not the MR base |
--repo | owner/repo or GitHub URL | — | GitHub repo for github target |
--pages-base-url | URL | — | GitLab Pages base for MR preview polling |
--pages-timeout | seconds | 600 | Pages poll timeout |
--dry-run | flag | Off | Preview without external writes |
--skip-jira | flag | Off | Skip Jira comment and labels |
--force | flag | Off | Submit even if eval has FAIL verdicts |
--no-ssl-verify | flag | Off | Skip SSL for git push (self-signed certs) |
If the user says "share", "publish", "deploy", "submit", or "I'm done" without a target, ask:
Your prototype is ready to share. Where should it go?
- Create a merge request — I'll push to the repo so your team can review and comment. You can also paste a git URL to open the MR/PR against that repo.
- Publish to GitHub — I'll deploy a sanitized version to GitHub Pages with a shareable URL.
- Deploy to GitLab — I'll deploy a sanitized version to GitLab Pages (self-hosted or gitlab.com).
- Deploy to Vercel — I'll deploy a sanitized version to Vercel with a preview URL.
Workspace mode (workspace-analysis.json present): workspace path accessible, changeset.md lists at least one file, metadata.json has required fields.
Standalone mode (.artifacts/{ID}/prototype/ present): index.html (or at least one HTML file) and metadata.json.
If validation fails: "Prototype {ID} is incomplete. Missing: [list]. Fix before publishing."
Read .artifacts/{ID}/eval/evaluation-report.csv if it exists.
FAIL in Section 1 → label rubric-pass (or eval-pass)FAIL → label needs-attentionuxd-prototype-evaluate {ID} <URL>. Proceed in --dry-run or --force.Unless --force, block submission when any AC verdict is FAIL.
Legacy fallback: .artifacts/{ID}/reviews/summary.md if no CSV; prefer a fresh Playwright eval.
Required for repo, github, gitlab, and vercel when an eval report exists. Copy the report into public/ so Eval works on the hosted preview (no export-helper):
EXPORT_SKILL="${CLAUDE_SKILL_DIR}/../uxd-prototype-export"
WORKSPACE=".artifacts/{ID}/code" # or workspace path from workspace-analysis.json
bash "${EXPORT_SKILL}/scripts/install-prototype-bar.sh" \
--artifacts ".artifacts/{ID}" \
--source "$WORKSPACE" \
--mode workspace
Copy-only alternative: copy-eval-for-pages.sh --artifacts .artifacts/{ID} --pages-root "$WORKSPACE/public".
public/
evals/{ID}/index.html ← copy of .artifacts/{ID}/eval/evaluation-report.html
uxd-prototype-bar/ ← bar runtime
submit_to_repo.py auto-stages public/evals/{ID}/ and public/uxd-prototype-bar/ even if they are missing from changeset.md. Still run this step so the files exist on disk.
Do not delete public/ during sanitize — only strip internal metadata. See references/sensitive-files.md.
Scan .gitlab-ci.yml, .github/workflows/*, Jenkinsfile, .circleci/config.yml, Dockerfile, docker-compose*.yml for hardcoded tokens, internal registries, inline keys, and secret-like variables: (vs $CI_* / ${{ secrets.* }}).
github / gitlab / vercel: publish scripts replace CI with clean templates. Still warn — secrets may exist elsewhere in the repo.repo: CI is pushed as-is. Flag hardcoded secrets; do not block the MR.Push and create a GitLab merge request. A git-URL --target normalizes to repo and is the MR/PR base (upstream). Read target_repo_url / upstream_url from pipeline-config.yaml or workspace-analysis.json when present.
Workspace mode — submit_to_repo.py (fork-aware glab mr create):
python3 "${CLAUDE_SKILL_DIR}/scripts/submit_to_repo.py" \
--rfe-key {ID} --title "{title}" \
[--upstream "{TARGET_REPO_URL}"] \
[--target-branch "{TARGET_BRANCH}"] \
[--pages-base-url {url}] [--pages-timeout 600] \
[--jira-comment-id {id}] \
[--no-ssl-verify] [--dry-run]
Requires authenticated glab. Details: references/repo-submit-details.md. Git push needs required_permissions: ["all"] in Cursor.
Standalone mode: git init in .artifacts/{ID}/prototype, commit, add remote, push.
These three share the same flow: stage a copy, strip sensitive files (references/sensitive-files.md), replace CI with a clean template, deploy.
GitHub
gh repo create <repo-name> --public --description "UX Prototype — {title}"bash "${CLAUDE_SKILL_DIR}/scripts/publish-github-pages.sh" \
--repo "<owner/repo>" \
--source "<path-to-prototype>"
gh api repos/<owner>/<repo>/pages -X POST -f build_type=workflowhttps://<owner>.github.io/<repo-name>/GitLab (gitlab.com or self-hosted; same sanitization)
namespace/project or a full self-hosted URL. The script can create the project (GITLAB_TOKEN with api scope).bash "${CLAUDE_SKILL_DIR}/scripts/publish-gitlab-pages.sh" \
--project "<namespace/project>" \
--source "<path-to-prototype>" \
[--gitlab-url "<https://gitlab.example.com>"] \
[--no-ssl-verify]
https://<namespace>.gitlab.io/<project>/. Self-hosted: instance Pages domain (or pages_url from the GitLab API).Vercel
bash "${CLAUDE_SKILL_DIR}/scripts/publish-vercel.sh" \
--source "<path-to-prototype>" \
[--project-name "<vercel-project-name>"]
https://<project-name>.vercel.appIf Jira is available and --skip-jira is not set:
PASS/FAIL/FLAGGED from the CSV), and refinement count. Prefer wiki-markup: [Preview|https://…], [Merge request|https://…].pages_url from submit_to_repo.py when present (--jira-comment-id to update).uxd-prototype-created plus rubric-pass / needs-attention from Step 2.Uses Atlassian MCP if available; otherwise skip silently.
Set .artifacts/{ID}/metadata.json status to submitted with submission.target, date, and url. A git-URL --target stores submission.target as "repo"; the MR base lives in workspace-analysis.json as upstream_url.
python3 "${CLAUDE_SKILL_DIR}/../uxd-prototype-create/scripts/frontmatter.py" set ".artifacts/{ID}/rfe-snapshot.md" \
status="submitted" updated_at="$(date -u +%Y-%m-%dT%H:%M:%SZ)"
Print ID, target, eval FAIL count, labels, Jira status, MR/Pages URL, and warnings. --dry-run: show what would happen without external writes.
Same workflow again. github / gitlab force-push; vercel redeploys; repo creates a new branch/MR.
--force.github / gitlab / vercel (AGENTS.md, .env, agent configs, credentials). See references/sensitive-files.md.public/ when sanitizing — Eval and the Prototype Bar live there.--dry-run.| Scenario | Handling |
|---|---|
| No eval exists | Warn; recommend evaluate. Proceed with --force. |
| Eval has FAIL | Block unless --force. |
| Empty MR after push | submit_to_repo.py auto-recovers; report verification.verified: false if still failing. |
| No Jira key in metadata | Skip Jira; log a warning. |
| Already submitted | Proceed (new submission record). |
--dry-run with missing deps | Succeeds — validates local state only. |
| Large prototype (5+ MB) | Warn before push. |
| Doc | When to load |
|---|---|
| sensitive-files.md | Sanitized github/gitlab/vercel deploys |
| repo-submit-details.md | Fork-aware GitLab MR submit |
README.md (opens in a new tab)eval/cases/asks-target/annotations.yaml (opens in a new tab)eval/cases/asks-target/input.yaml (opens in a new tab)eval/cases/blocks-ac-fail/annotations.yaml (opens in a new tab)eval/cases/blocks-ac-fail/input.yaml (opens in a new tab)eval/cases/dry-run-incomplete/annotations.yaml (opens in a new tab)eval/cases/dry-run-incomplete/input.yaml (opens in a new tab)eval/cases/sensitive-files-github/annotations.yaml (opens in a new tab)eval/cases/sensitive-files-github/input.yaml (opens in a new tab)eval/eval.yaml (opens in a new tab)references/repo-submit-details.md (opens in a new tab)references/sensitive-files.md (opens in a new tab)scripts/publish-github-pages.sh (opens in a new tab)scripts/publish-gitlab-pages.sh (opens in a new tab)scripts/publish-vercel.sh (opens in a new tab)scripts/submit_to_repo.py (opens in a new tab)templates/github-ci.yaml (opens in a new tab)templates/github-deploy-pages.yaml (opens in a new tab)templates/gitlab-ci-pages.yml (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
prototype-publishing, deployment, jira-integration, git-pages
npx claudepluginhub rh-uxd/ai-helpers --plugin uxd-prototype4 skills in this plugin
/uxd-prototype-createCreate or refine a UX prototype from a Jira ticket, Figma design, feature description, or rough idea. Enumerates user journeys and page states (empty/error/alternate conditions), wires mock data via ?state=, writes a design spec for QE test-plan ingest, and supports export of each step × state. Use when starting a new prototype, integrating into an existing codebase, generating standalone HTML, or applying evaluation feedback./uxd-prototype-evaluateEvaluate a running prototype against a Jira ticket's acceptance criteria, automatically fix what fails, then run persona-based usability walkthroughs. Produces an HTML evidence report with screenshots, scores, and findings. Use when you want to validate a prototype, check usability, or generate evidence for an MR review./uxd-prototype-exportExport a prototype page or journey step as static HTML, a React component tree, or a PatternFly implementation spec, and install the Prototype Bar (Sources, Prototype|Eval, State, Export). Use when capturing the current view, batch-exporting journey screens and page scenarios, or wiring provenance/eval/scenario navigation into a prototype.Other plugins' skills for the same job