一键导入
custom-environment-setup
Project-specific environment setup for issue workflows. Calculates test ports and provides initialization context for minions.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Project-specific environment setup for issue workflows. Calculates test ports and provides initialization context for minions.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Create a versioned release of claudecode_webui — bump version fields, update CHANGELOG.md, tag the commit, push, and create the GitHub Release.
Project-specific build process for the Builder workflow. Builds frontend assets for claudecode_webui.
Navigate to the Claude Code WebUI application, verify it loads, and optionally select a project and/or session by name. Use when starting any UI test, opening the app, verifying the app is loaded, switching projects, or selecting sessions.
Detect and respond to a permission prompt in the Claude Code WebUI. Use when approving or denying tool permissions, handling permission modals, responding to Claude asking for approval, or unblocking a paused session.
Create a new project in the Claude Code WebUI via the UI. Use when creating a project, adding a project, opening the new project modal, or testing project creation flow.
Delete a project via the Claude Code WebUI. Use when deleting a project, removing a project, testing project deletion, or cleaning up test projects.
| name | custom-environment-setup |
| description | Project-specific environment setup for issue workflows. Calculates test ports and provides initialization context for minions. |
This is a project-specific custom skill called by generic workflow skills at defined checkpoints. It provides environment configuration specific to this project (claudecode_webui).
Generic workflow skills invoke this skill if it exists; if absent, the workflow continues without project-specific environment setup.
issue_number (from $1 argument): The issue number being worked onWhen invoked, this skill should set the following environment variables/context for the caller:
Examples:
test (fixed value for all test servers)
--token test so it survives restartsReturn this context fragment for inclusion in minion initialization:
Test Server Configuration:
- Backend Port: ${BACKEND_PORT} (8000 + issue_number % 1000)
- Backend Host: 0.0.0.0 (required for network-accessible dev server)
- Vite Port: ${VITE_PORT} (5000 + issue_number % 1000)
- Auth Token: test (pinned for testing)
- Data Directory: Default (data/) - DO NOT use --data-dir flag
For /status_workers, provide:
# Check backend ports
lsof -i :8000-8999 2>/dev/null | grep LISTEN
# Check vite ports
lsof -i :5000-5999 2>/dev/null | grep LISTEN
Generic workflow skills call this skill like:
Invoke custom-environment-setup skill with issue_number=$1
The skill returns port configuration and any project-specific init context. If this skill does not exist, the generic workflow proceeds without port/environment configuration.