Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问许可证需确认审计提醒

enonic-sandbox-managerenonic 沙箱管理器

Agent Skill

enonic-sandbox-manager 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

1,764

周安装

75

GitHub Stars

公开资料未说明

下载量

618
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:enonic-sandbox-manager(enonic 沙箱管理器)
来源仓库:https://github.com/webmaxru/enonic-agent-skills
仓库路径:skills/enonic-sandbox-manager
安装命令:
npx skills add https://github.com/webmaxru/enonic-agent-skills --skill enonic-sandbox-manager
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/webmaxru/enonic-agent-skills --skill enonic-sandbox-manager

简介

管理本地 Enonic XP 沙箱环境,支持项目检测与 CLI 工具初始化。

  • 可自动识别项目名、XP 版本及关联沙箱,辅助启动开发或调试流程。
  • 依赖 gradle.properties 或 build.gradle 中的配置信息进行上下文判断。
  • 首次使用时建议验证 CLI 安装状态,避免因缺失 wrangler 或 sops 导致失败。
  • enonic-sandbox-manager 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Enonic CLI & Local Dev Environment Helper

Procedures

Step 1: Detect Workspace Context

  1. Execute node scripts/find-enonic-targets.mjs from the skill root to scan the current workspace for Enonic project markers (.enonic, build.gradle with com.enonic.xp plugin, gradle.properties with xpVersion).
  2. If markers are found, note the project name, linked sandbox, and XP version from the output. Use these values as defaults for subsequent commands.
  3. If no markers are found, treat the request as a greenfield setup and proceed to sandbox creation or project scaffolding as appropriate.

Step 2: Ensure CLI is Available

  1. Verify the Enonic CLI is installed by running enonic --version.
  2. If the command fails, read references/cli-reference.md for installation instructions and guide through the appropriate method for the detected OS:

- npm (any OS): npm install -g @enonic/cli - macOS: brew tap enonic/cli && brew install --no-quarantine enonic - Linux: wget -qO- https://repo.enonic.com/public/com/enonic/cli/installer/cli-linux/1.0.0/cli-linux-1.0.0.sh | sh - Windows: scoop bucket add enonic https://github.com/enonic/cli-scoop.git && scoop install enonic

  1. After installation, verify with enonic --version.

Step 3: Sandbox Management

  1. Read references/cli-reference.md for the full sandbox command catalog.
  2. Match the request to the correct operation:

- Create: enonic sandbox create <name> [-v <version>] [-t <template>] [--skip-template] [-f] - List: enonic sandbox ls - Start: enonic sandbox start <name> [--detach] [--prod] [--debug] - Stop: enonic sandbox stop - Upgrade: enonic sandbox upgrade <name> -v <version> - Delete: enonic sandbox delete <name> -f - Copy: enonic sandbox copy <source> <target>

  1. When creating a sandbox, prompt for the XP version if not specified. Use -f flag for non-interactive execution when the version and name are known.
  2. If the request mentions templates, list available templates or use -t <template> flag. Use --skip-template to create a bare sandbox with no pre-installed apps.

Step 4: Project Scaffolding

  1. For new project creation, use the simplified command: enonic create <name> [-r <starter>] [-s <sandbox>] [-f]
  2. Common starters include starter-vanilla, starter-headless, and starter-nextjs. Read references/cli-reference.md for the full list of options.
  3. To link an existing project to a different sandbox: enonic project sandbox <name>
  4. Ensure the project folder contains build.gradle and .enonic configuration after creation.

Step 5: Development Workflow

  1. Determine the appropriate development command:

- Dev mode (hot-reload): enonic dev — starts the sandbox in detached mode and runs the app with file watching. Execute from the project root. - Build only: enonic project build - Deploy to sandbox: enonic project deploy [sandbox-name] [-c] — use -c for continuous deployment. - Install to running XP: enonic project install - Run tests: enonic project test - Clean build artifacts: enonic project clean - Arbitrary Gradle task: enonic project gradle <tasks>

  1. If the sandbox is not running, start it first: enonic sandbox start <name> -d
  2. To terminate dev mode, use Ctrl-C. The CLI will attempt to stop the detached sandbox automatically.

Step 6: App Management on Running XP

  1. For managing applications on a running XP instance, read references/cli-reference.md for the XP app commands.
  2. Match the operation:

- Install from URL: enonic app install --url <jar-url> - Install from file: enonic app install --file <path-to-jar> - Start app: enonic app start <app-key> - Stop app: enonic app stop <app-key>

  1. Authentication is required for XP commands. Use --cred-file <path> (XP 7.15+), --client-key <path> + --client-cert <path> for mTLS (XP 7.15+), or set ENONIC_CLI_REMOTE_USER and ENONIC_CLI_REMOTE_PASS environment variables.

Step 7: CI/CD Pipeline Generation

  1. Read assets/enonic-ci.template.yml for the GitHub Actions workflow template.
  2. Customize the template based on the project:

- Set the correct XP version in the sandbox creation step. - Set the app name and Gradle build parameters. - Configure deployment targets (sandbox for staging, cloud for production).

  1. Place the generated workflow file at .github/workflows/enonic-ci.yml in the project repository.

Step 8: Troubleshooting

  1. If a sandbox fails to start or a deployment fails, read references/troubleshooting.md for common issues and resolutions.
  2. Key diagnostic commands:

- enonic sandbox ls — check sandbox status and XP version. - enonic system info — check running XP instance details. - Check port 8080 (HTTP) and 5005 (debug) availability.

  1. Read references/compatibility.md for CLI-to-XP version compatibility if version mismatch errors occur.

Error Handling

  • If scripts/find-enonic-targets.mjs returns no results, proceed with greenfield setup instructions rather than failing.
  • If enonic --version fails, guide through CLI installation per Step 2 before proceeding.
  • If sandbox creation fails with a version error, read references/compatibility.md and suggest a compatible XP version.
  • If port conflicts occur during sandbox start, read references/troubleshooting.md for resolution steps.
  • If enonic dev fails, verify the project has a Gradle dev task (present in all official starters) and that the linked sandbox exists and is not already running in another terminal.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

35.39%
按下载量换算219

Claude

31.01%
按下载量换算192

Cursor

19.19%
按下载量换算119

Gemini CLI

8.99%
按下载量换算56

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills