Перейти к содержанию
Skillpedia
Деплой и облако (DevOps)16k · #10863

environment

Что он делает

Этот скилл создаёт облачное окружение, с которого стартуют новые рабочие пространства, поэтому они запускаются уже с зависимостями и сервисами. Он нужен командам, которые хотят не настраивать каждое новое облачное пространство вручную.

Когда использовать

  • ✓Когда вы хотите настроить или доработать облачное окружение для ваших репозиториев.
  • ✓Когда сессия настройки передала вам ID окружения для завершения.
  • ✓Когда хотите, чтобы новые облачные рабочие пространства стартовали с установленными зависимостями и запущенными сервисами.

Ссылка на скилл

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

Скопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.

Как использовать

Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.

Готовое сообщение для вставки

Используй этот скилл, чтобы помочь мне: https://github.com/ParadevAI/Paradev/blob/main/plugins/superset/skills/environment/SKILL.md Прочитай файл SKILL.md по этой ссылке и следуй его инструкциям в моей задаче.
Хотите, чтобы ваш ИИ сам находил такие скиллы?Установите бесплатный MCP Skillpedia: одна строка, и перед каждой задачей он ищет среди 15 000+ скиллов.Установить за 1 минуту →

Пример запроса к вашему ИИ

“Настрой облачное окружение для наших репозиториев, чтобы новые облачные рабочие пространства стартовали готовыми, с установленными зависимостями.”

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
Лицензия
—
Обновлён
02.11.2026

Полезен ли этот скилл?

0

Войдите , чтобы голосовать.

Комментарии

  • …

Другие скиллы из этого репозитория

Похожие скиллы