本文へスキップ
Skillpedia
デプロイとクラウド(DevOps)16k · #10863

environment

できること

このスキルは、新しいワークスペースが開始時点でその状態になるように、クラウド環境を構築します。ワークスペースごとの手作業の設定を省きたいチーム向けです。

使う場面

  • ✓リポジトリのためにクラウド環境を設定または仕上げたいとき。
  • ✓セットアップのセッションから、仕上げるための環境IDを受け取ったとき。
  • ✓新しいクラウドワークスペースを、依存関係の導入済みでサービスが動いた状態で開始させたいとき。

スキルのリンク

https://github.com/ParadevAI/Paradev/blob/main/plugins/superset/skills/environment/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/ParadevAI/Paradev/blob/main/plugins/superset/skills/environment/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“私たちのリポジトリ用にクラウド環境を設定してください。新しいクラウドワークスペースが、依存関係を導入済みで準備完了の状態で起動するようにしてください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

エージェントは、リポジトリに必要なものを割り出し、環境の変数を設定し、その環境でクラウドマシンを起動して、プロジェクトをそこで動かします。その後、以降のワークスペースが同じ状態から始まるようにチェックポイントを保存します。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

Cloud environment setup

Goal: a cloud environment that new cloud workspaces boot straight into, with dependencies installed, variables set, and services starting on boot. You run on the user's machine with their Paradev login. You build the environment by driving a cloud box from here.

Terms you will use with the user:

  • Environment: what a cloud workspace boots from. It has repositories (the first is primary), variables, a region, and a visibility.
  • Box: one cloud workspace running on the environment.
  • Checkpoint: a snapshot of the box saved into the environment, so the next workspace starts from it. superset environments replace saves one. Only the latest checkpoint is kept.

What a box already has

Do not install or upgrade these:

  • Node 24, Bun, Python 3 (pip, pipx, venv), a JDK, build-essential, clang, git, git-lfs, gh, and Docker with Compose. They come with the image, and a checkpoint keeps the versions it was saved with.
  • Chrome, Claude Code, Codex and the superset CLI. Every boot updates them to the platform's current release, so a checkpoint does not freeze their versions.
  • A Linux desktop (XFCE over VNC, Xvfb), ffmpeg and ImageMagick.
  • GitHub access for git and gh. Do not run gh auth login or put a token in the box.

There is no macOS: no Xcode, iOS simulator or Safari. If the project needs one, tell the user. Install only what the project needs, and do it through the repository's config.toml so a fresh checkout repeats it.

0. Connect GitHub

Boxes check out repositories through the organization's Paradev GitHub App. Run superset integrations github status. If the App is not installed, run superset integrations github connect and ask the user to finish the install in the browser. It needs the Pro plan and a GitHub account that can install apps on the repositories' owner.

superset environments repos lists the repositories the App can see; only these are valid for --repo. If a repository the project needs is missing, ask the user to add it to the App's repository access in GitHub, or to ask whoever manages that installation.

Then run superset connections github status. Without a personal connection, boxes push and open pull requests as the App. Offer superset connections github connect so they act as the user instead.

1. Find the environment

If you were given an environment ID, run superset environments list --json and confirm it exists. Otherwise, look there for a personal environment on the same repositories from an earlier session and offer to continue it. Create one only if there is none:

superset environments create --name <name> --repo <owner/name> [--repo ...] --scope personal

A new environment is named after its primary repository until you rename it in step 6.

2. Intake

Read each repository before asking anything. Use the local clone when there is one (superset projects list), otherwise the GitHub API. Check:

  • the README, package manifests and lockfiles (they decide the package manager and install command);
  • CI config (it is the most honest list of what a working build needs);
  • .env.example and the repository's config folder (.paradev/, or .superset/ in repos set up before the rename): config.toml, or the old config.json;
  • services the project expects, such as Postgres, Redis or Docker Compose.

Then ask only what you could not infer: missing secret values and extra repositories. Check extra repositories against superset environments repos as in step 0.

The repository list cannot change after the first checkpoint. Confirm it with the user before step 5, and fix it with superset environments update while you still can.

3. Variables

Ask the user before you read any local .env* file, and name the files you would read. Only with a yes, read them and list the keys you would set, never the values, and set only the keys the user confirms:

printf %s "$VALUE" | superset environments secrets set --environment <environment-id> KEY
superset environments secrets set --environment <environment-id> --env-file path/to/.env

Use --env-file only when the user confirms every key in that file. If the user says no, ask for each value the code needs instead.

Never pass a value with --body: it ends up in the process list and the shell history. Reserved keys (SUPERSET_*, HOST_SERVICE_*, PATH, HOME, PORT and similar) and agent credentials are skipped; tell the user if one they need i

よくある質問

ベースイメージにすでにあるツールも入れますか?

いいえ。イメージに既に含まれているツールは省きます。

MacやiOSのツールを設定できますか?

いいえ。クラウドマシンはLinuxで動くため、プロジェクトがそこで動かないものを必要とする場合は、スキルがその旨を伝えます。

チェックポイントはいくつ保存されますか?

最新のチェックポイントだけが保存されます。

詳細

作者による元の説明

Set up a Paradev (formerly Superset) cloud environment end to end from this machine - work out what the repositories need, set the environment's variables, boot a cloud box on it, get the project running there, and save checkpoints until new cloud workspaces start ready. Use when the user asks to set up, onboard, or finish a cloud environment, or when a setup session hands you an environment ID.

repo: ParadevAI/Paradev

人気

GitHubのスター
16k
ランキング
#10863
ライセンス
—
更新日
2026/11/2

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル