一键导入
worca-sync-pr
Sync a GitHub PR into a target worca-cc repo clone, rebuild worca-ui, upgrade the runtime, and start a project-scoped UI.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Sync a GitHub PR into a target worca-cc repo clone, rebuild worca-ui, upgrade the runtime, and start a project-scoped UI.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
File a new feature for worca-cc — triage size/complexity, then either create a lightweight GitHub feature request (no W-NNN, no plan file) or a full W-NNN plan (allocate the next plan ID, scaffold docs/plans/W-NNN-slug.md from _TEMPLATE.md, create the GitHub issue with the correct title/structure/labels, and link the plan file). Always asks which path unless the user gave an explicit instruction. Triggers on "new plan", "create plan", "start plan", "new feature plan", "feature request", "worca-plan-new", or any request to file a new feature for this repo.
Sign and POST a synthetic worca event to a configured webhook URL — verifies HMAC signing, network reachability, response handling, and (for control webhooks) the control-action response shape. Useful when adding or tuning a webhook subscriber without running a full pipeline. Triggers on "test webhook", "webhook test", "send test event", "worca-webhook-test", or any request to validate a webhook configuration.
Guided pipeline-template authoring, export, and import — interviews the user for intent, proposes reusing or extending existing templates, composes a minimal config delta, and writes it via CLI. Also exports template bundles (with secret redaction) and imports bundles from files, URLs, or gists. Triggers on "new template", "create pipeline template", "create template", "customize my pipeline", "export template", "import template", "share template", "bundle", "worca-template".
Wire a worca-ui surface to its docs.worca.dev page via the W-061 help-mode toggle — natural-language invocation ("add a docs link for the Pricing tab"). The skill locates the surface in worca-ui/app/views/, searches docs-site/src/content/docs/ for a matching page, picks or extends the HELP_LINKS registry entry, drops a `${helpFor('<id>')}` at the right anchor, updates the mapping table in worca-ui/docs/help-mode-prototype.md, and runs the L1 vitest to verify. If no matching doc page exists, proposes scaffolding a stub or escalating to a docs-authoring skill rather than wiring a 404 link. Triggers on "docs help", "add docs link", "wire help badge", "help-link this surface", "/worca-docs-help".
Author a new chapter for the docs-site video series at docs.worca.dev/introduction/watch. Drafts narration in the established short-sentence style, scaffolds a cue-driven Remotion diagram, registers it in src/lib/script.ts + diagrams/registry.ts, and optionally runs the full build pipeline (voiceover → captions → render → posters → publish). Triggers on "new video", "add a video", "new docs video", "create a video chapter", "worca-docs-video", or any request to add a video chapter to the worca docs site.
Analyze a GitHub issue, surface open design decisions with a recommended option for each, optionally append a `## Decisions` section to the issue body, recommend the most appropriate built-in/project/user pipeline template, and optionally launch a worktree-based pipeline for it. Triggers on `/worca-analyze <issue-url-or-number>`, on the natural phrase "analyze <github-issue-url>", and on "worca-analyze".
| name | worca-sync-pr |
| description | Sync a GitHub PR into a target worca-cc repo clone, rebuild worca-ui, upgrade the runtime, and start a project-scoped UI. |
Checks out a GitHub PR in a target worca-cc clone, rebuilds the UI, upgrades the Python runtime, and starts a project-scoped worca-ui instance. Designed for worca-cc contributors reviewing pipeline output.
Usage:
/worca-sync-pr /path/to/target 43
/worca-sync-pr /path/to/target gh:pr:43
/worca-sync-pr /path/to/target https://github.com/owner/repo/pull/43
/worca-sync-pr /path/to/target gh:pr:43 --clean
43, #43, gh:pr:43) or full GitHub PR URLConfirm the path exists. If not, ask the user to provide a valid path.
The script handles everything: validation, git state check, PR checkout, worca-ui build, Python runtime sync, and project-scoped UI start.
Resolve the worca-cc source repo (where this skill lives):
WORCA_ROOT=$(git rev-parse --show-toplevel)
Run the script:
PYTHONPATH="$WORCA_ROOT/src" python3 "$WORCA_ROOT/src/worca/scripts/sync_pr.py" <target> <pr> [--clean]
Pass all user-provided arguments through to the script as-is.
The script prints a summary. Relay it to the user. If any step failed, show the error and suggest fixes (e.g., --clean if dirty working tree).