본문으로 건너뛰기
cccskills
무료GitHub에 공개

deploy-coolify-review-env

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/openase스타 269(GitHub 269 + cccskills 0)

실행 점수 미검증

설치 방법 보기

포함된 파일(3)

  • SKILL.md4.2 KB
  • scripts/common.sh14.0 KB
  • scripts/delete_review_env.sh4.8 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Deploy Coolify Review Env

Goal

  • Deploy the current ticket branch into a deterministic Coolify preview environment with a single command.
  • Delete the same preview environment with a single command.
  • Keep all configuration env-driven so the skill stays lightweight and reusable.
  • Default to a single fixed Coolify project/environment pair so agents can call the scripts directly without reconstructing deployment coordinates each run.

Required Runtime Environment

Set these environment variables either in the skill-local .env file or on the agent machine / provider runtime:

  • COOLIFY_BASE_URL
  • COOLIFY_API_TOKEN
  • COOLIFY_PROJECT_UUID
  • COOLIFY_SERVER_UUID
  • COOLIFY_DESTINATION_UUID
  • COOLIFY_GIT_REPOSITORY
  • COOLIFY_PORTS_EXPOSES
  • COOLIFY_ENVIRONMENT_NAME
  • COOLIFY_TEMPLATE_APPLICATION_UUID

Repository Access Mode

Set COOLIFY_REPOSITORY_MODE to one of:

  • public (default)
  • private-github-app
  • private-deploy-key

If COOLIFY_REPOSITORY_MODE=private-github-app, also set:

  • COOLIFY_GITHUB_APP_UUID

If COOLIFY_REPOSITORY_MODE=private-deploy-key, also set:

  • COOLIFY_PRIVATE_KEY_UUID

Optional Runtime Environment

  • COOLIFY_BUILD_PACK (default dockerfile)
  • COOLIFY_BASE_DIRECTORY
  • COOLIFY_PUBLISH_DIRECTORY
  • COOLIFY_DOCKERFILE_LOCATION
  • COOLIFY_INSTALL_COMMAND
  • COOLIFY_BUILD_COMMAND
  • COOLIFY_START_COMMAND
  • COOLIFY_HEALTH_CHECK_ENABLED
  • COOLIFY_HEALTH_CHECK_PATH
  • COOLIFY_HEALTH_CHECK_PORT
  • COOLIFY_AUTOGENERATE_DOMAIN
  • COOLIFY_DOMAIN_TEMPLATE where {{name}} becomes the generated app name
  • COOLIFY_DESCRIPTION_PREFIX (default OpenASE review env)
  • COOLIFY_ENV_PREFIX (default review)
  • COOLIFY_NAME_MAX_LENGTH (default 48)

Secret Storage

  • The scripts automatically load .codex/skills/deploy-coolify-review-env/.env when the skill is injected into a runtime.
  • Explicit runtime environment variables override values from the skill-local .env.
  • Start from .env.example, then fill the real secrets into .env.

Naming Model

  • If COOLIFY_ENVIRONMENT_NAME is set, the scripts always deploy into that fixed Coolify environment.
  • Otherwise the scripts derive the review environment name from the branch:
    • review-<slugged-branch>
  • The application name defaults to the same value.
  • You can override with --env-name or --app-name if needed.

Current Default Wiring

This skill is currently wired for:

  • Coolify project: My first project
  • Coolify environment: review
  • Template application for runtime env + file mount sync: openase-main
  • Review domain template: http://{{name}}.100.90.170.69.sslip.io

Application names still remain branch-scoped so each review deployment gets its own temporary application under the same environment.

Commands

Deploy or update a review environment:

.codex/skills/deploy-coolify-review-env/scripts/deploy_review_env.sh --branch feature/my-change

Delete the same review environment:

.codex/skills/deploy-coolify-review-env/scripts/delete_review_env.sh --branch feature/my-change

Delete a ticket-scoped app from the shared review environment by ticket id:

.codex/skills/deploy-coolify-review-env/scripts/delete_review_env.sh --env-name review --ticket-identifier ASE-623

Notes

  • The deploy command is idempotent:
    • if the app does not exist, it creates it
    • if the app already exists, it updates the branch and triggers a new deploy
  • Before deployment, the skill syncs runtime envs and template file storages such as the production codex-config.toml / codex wrapper mounts
  • The delete command is also idempotent:
    • if the app or environment is already missing, it exits successfully
  • In the current shared review environment wiring, ticket cleanup targets the matching application and skips deleting the shared environment itself.
  • Use --wait-seconds on deploy when a workflow should wait for a terminal deployment state before moving a ticket to human review.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 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일 업데이트

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/openase2692026년 8월 9일 업데이트

PacificStudio의 스킬 모두 보기

이 스킬의 문제 신고