跳到正文
cccskills
免费在 GitHub 公开

deploy-openase

Build and locally redeploy OpenASE from the current branch, including web static assets and the Go binary, then restart the local service and verify health. Use when asked to compile, deploy, restart, or locally upgrade the current checkout.

中文简介正在准备中。当前显示原文说明。

PacificStudio/openase星标 269(GitHub 269 + cccskills 0)

实测评分 未实测

查看安装方法

包含的文件(2)

  • SKILL.md2.2 KB
  • scripts/redeploy_local.sh4.0 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Deploy OpenASE

Goals

  • Build the current checkout deterministically.
  • Regenerate embedded web assets.
  • Restart the local OpenASE process.
  • Verify the new process is actually serving health checks.

Related Skills

  • pull: use this first if the user wants the branch updated from remote before deployment.

Environment Assumptions

  • Repo root is /home/yuzhong/workspace/openase.
  • Local runtime env lives in ~/.openase/.env.
  • Preferred Go toolchain:
    • $PWD/.tooling/go/bin
    • fallback /home/yuzhong/.local/go1.26.1/bin

Standard Flow

  1. Confirm current branch and commit.
  2. Build frontend assets:
    • corepack pnpm --dir web install --frozen-lockfile
    • corepack pnpm --dir web run build
  3. Build backend binary:
    • PATH=$PWD/.tooling/go/bin:/home/yuzhong/.local/go1.26.1/bin:$PATH go build -o ./bin/openase ./cmd/openase
  4. Stop old local openase processes started from this repo.
  5. Source ~/.openase/.env.
  6. Start the requested mode with setsid.
  7. Verify success:
    • serve / all-in-one: curl http://127.0.0.1:19836/healthz
    • orchestrate: process stays alive and logs show runtime ready

Failure Handling

  • Do not silently downgrade modes.
  • If all-in-one fails, surface the exact logs and let the user decide whether a serve-only fallback is acceptable.
  • If port binding fails, report the listener conflict explicitly.
  • If startup crashes, include the relevant stdout/stderr tail in the summary.

Commands

Use the helper script:

  • .codex/skills/deploy-openase/scripts/redeploy_local.sh

Examples:

.codex/skills/deploy-openase/scripts/redeploy_local.sh --mode all-in-one
.codex/skills/deploy-openase/scripts/redeploy_local.sh --mode serve

Notes

  • all-in-one and serve both expose the panel on http://127.0.0.1:19836 with the current local defaults.
  • This skill is for local redeploy of the current checkout, not for git branch updates by itself.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Diagnose and strengthen a repository's harness layer: AGENTS.md rules, knowledge layout, architecture boundaries, lint and type gates, API and generated-client contracts, test scaffolding, structured logging, and technical-debt tracking. Use when Codex needs to audit drift-prone semantics that are repeated across code, docs, schemas, generated artifacts, frontend/backend boundaries, or CI, then design or implement guardrails with progressive disclosure and zero-tolerance contract checks.

中文简介正在准备中。当前显示原文说明。

PacificStudio/openase2692026年8月9日 更新

commit

免费

Create a well-formed git commit from current changes using session history for rationale and summary; use when asked to commit, prepare a commit message, or finalize staged work.

中文简介正在准备中。当前显示原文说明。

PacificStudio/openase2692026年8月9日 更新

commit

免费

Write concise Conventional Commit messages that match the actual scope of the change.

中文简介正在准备中。当前显示原文说明。

PacificStudio/openase2692026年8月9日 更新

create-pr

免费

Prepare a crisp pull request summary with scope, validation, and rollout notes.

中文简介正在准备中。当前显示原文说明。

PacificStudio/openase2692026年8月9日 更新

Clarify ambiguous requests with a focused, Socratic interview before planning or implementation.

中文简介正在准备中。当前显示原文说明。

PacificStudio/openase2692026年8月9日 更新

Create or update a branch-scoped Coolify review environment with one command, and delete it with one command. Use when a ticket must deploy a preview before human review, while keeping the workflow simple and fast.

中文简介正在准备中。当前显示原文说明。

PacificStudio/openase2692026年8月9日 更新

查看 PacificStudio 的全部技能

报告此技能的问题