본문으로 건너뛰기
Skillpedia
배포 및 클라우드 (DevOps)16k · #10870

setup

하는 일

이 스킬은 코드 저장소를 Paradev용으로 준비해 새 워크스페이스가 설정된 상태로 시작되게 합니다. 새 워크스페이스마다 같은 설정 단계를 손으로 반복하지 않으려는 개발자를 위한 스킬입니다.

사용하는 경우

  • ✓Paradev용으로 프로젝트나 저장소를 설정하고 싶을 때.
  • ✓오래된 config.json을 새 config.toml로 바꾸고 싶을 때.
  • ✓새 워크스페이스에 필요한 의존성이나 서비스가 없을 때.

스킬 링크

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

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/ParadevAI/Paradev/blob/main/plugins/superset/skills/setup/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“Paradev용으로 이 저장소를 설정해 주세요. 새 워크스페이스에서 의존성이 자동으로 설치되고 개발 서버가 자동으로 시작되게 해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 저장소가 어떻게 설치되고 실행되는지 살펴보고, 불분명한 것은 묻고, 설정 파일을 작성합니다. 그다음 실제 워크스페이스로 결과를 확인한 뒤 완료라고 알립니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Paradev Project Setup

paradev is an alias for the superset CLI: every superset command here also runs as paradev.

Goal: every new workspace for this repo, a local worktree or a cloud box, comes up ready, with dependencies installed, env present and services reachable, without manual steps.

1. Inspect the repo

Work out what a fresh workspace needs, and ask about anything ambiguous:

  • Package manager and install command (lockfiles decide: bun/pnpm/yarn/npm, cargo, uv, ...)
  • Env files: .env is usually gitignored, so a new worktree needs it copied from the main checkout or generated from .env.example
  • Services (docker-compose, databases), the dev command and its ports
  • Monorepo layout (does a step need a cwd?)
  • Where the config lives. New repos use .paradev/. A repo set up before the rename has it in .superset/, which Paradev still reads: keep editing it there (a .paradev/ folder holding only pdev's settings.json, agents/ or prompts/ does not count). Note what is already there: config.toml, or the old config.json, config.local.json and ports.json

2. Write config.toml

In the folder from step 1 (.paradev/ for a new repo; for a repo still on .superset/, read .superset/ wherever the examples below say .paradev/). Moving an existing .superset/ to .paradev/ is optional; do it only if the user asks, in one commit: move its files into .paradev/ (keep pdev's files already there; git mv .superset .paradev is only right when .paradev/ doesn't exist), and change ./.superset/ paths in the config's commands and in scripts to ./.paradev/.

If the repo still has config.json, convert it. config.json is the old format: Paradev reads config.toml first and ignores config.json when both exist. Tell the user, translate it, and delete config.json and ports.json in the same change.

config.json config.toml
setup [setup]
teardown [archive] (outside cleanup only, see below)
run [terminals.dev] with default = true
cwd cwd on each table
<key>.sh in the config folder, found by name written out in run
config.local.json with before/after config.local.toml with full run lists

The format:

[install]                     # cacheable prep, no per-workspace state
run = ["bun install"]

[setup]                       # get this workspace ready
run = ["./.paradev/setup.sh"]

[setup.cloud]                 # replaces keys of [setup] in the cloud
run = ["./.paradev/setup.cloud.sh"]

[terminals.dev]               # long-running
run = "bun dev"
default = true

[archive]                     # outside cleanup only
run = ["docker compose down"]

[ports.web]
default = 3000
label = "Web"
preview = true                # cloud: gets a preview URL

When each table runs:

Table Local Cloud
[install] before setup, at creation when the environment's image is built
[setup] once, at creation on every boot and resume, so it must be safe to run again
[terminals.<name>] from the Run button; default ones start with it default ones start on boot
[archive] before the worktree is removed at archive, before the box stops; never blocks the archive
[ports.<name>] default is the port; preview = true publishes it (at most 13)

Rules:

  • run is a string or an array of commands, each in its own shell. setup and install stop at the first failure. run = [] turns a table off.
  • [x.cloud] and [x.local] are merged key by key over [x] in that environment.
  • Names match ^[a-z][a-z0-9_]*$. Unknown keys are errors.
  • Every step gets SUPERSET_ENV (local or cloud), SUPERSET_WORKSPACE_NAME and, locally, SUPERSET_ROOT_PATH (the main checkout). Per-port variables are not set yet: do not rely on SUPERSET_PORT_<NAME>.
  • Keep setup idempotent and fast; put workspace-independent installs in [install].
  • [archive] is for outside resources (a database branch, docker compose down). Paradev already stops processes and deletes the worktree.
  • Copy secrets and .env from the main checkout ($SUPERSET_ROOT_PATH) at setup time; never commit them.
  • Personal tweaks go in config.local.toml, next to config.toml in the main checkout. It is gitignored, applies to every worktree, is merged over the shared file, and the cloud never reads it.

Show the user the proposed files and get explicit approval before writ

자주 묻는 질문

기존 설정을 옮기나요?

요청하지 않으면 옮기지 않습니다. 설정이 있는 위치에서 계속 편집합니다.

환경 파일은 어떻게 하나요?

보통 git에서 제외되므로, 스킬은 메인 체크아웃에서 복사하거나 예시 파일로 생성합니다.

설정을 어떻게 확인하나요?

작업을 끝냈다고 말하기 전에 실제 새 워크스페이스로 결과를 확인합니다.

상세 정보

작성자의 원본 설명

Make a repository Paradev (formerly Superset)-ready by writing .paradev/config.toml (install, setup, terminals, archive, ports) so every new workspace, local or cloud, comes up configured, converting an old config.json, then verifying with a real workspace. Use when the user wants to set up a project or repo for Paradev, configure workspace setup scripts, convert config.json to config.toml, or fix a failing workspace setup ("new workspaces don't have node_modules", "my .env is missing in workspaces", "setup script isn't running").

repo: ParadevAI/Paradev

인기도

GitHub 스타
16k
순위
#10870
라이선스
—
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬