Aller au contenu
Skillpedia
Déploiement et cloud (DevOps)16k · #10870

setup

Ce qu’il fait

Cette skill prépare un dépôt de code pour Paradev afin que les nouveaux espaces de travail démarrent configurés. Elle s'adresse aux développeurs qui veulent arrêter de répéter les mêmes étapes de configuration à la main pour chaque nouvel espace de travail.

Quand l’utiliser

  • ✓Quand vous voulez configurer un projet ou un dépôt pour Paradev.
  • ✓Quand vous voulez convertir un ancien config.json en le nouveau config.toml.
  • ✓Quand un nouvel espace de travail démarre sans les dépendances ou les services dont il a besoin.

Lien du skill

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

Copiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.

Comment l’utiliser

Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.

Message prêt à coller

Utilise ce skill pour m’aider : https://github.com/ParadevAI/Paradev/blob/main/plugins/superset/skills/setup/SKILL.md Lis le fichier SKILL.md de ce lien et suis ses instructions pour ma tâche.
Envie que votre IA trouve seule des skills comme celui-ci ?Installez le MCP gratuit de Skillpedia : une ligne, et elle cherche parmi 15 000+ skills avant chaque tâche.Installer en 1 minute →

Exemple de demande à votre IA

“Configure ce dépôt pour Paradev afin que les nouveaux espaces de travail installent les dépendances et démarrent automatiquement le serveur de développement.”

5 nouveaux skills par semaine. 1 minute de lecture.

Comment ça marche

L'agent examine le dépôt pour voir comment il s'installe et se lance, pose des questions sur ce qui n'est pas clair, puis rédige un fichier de configuration. Il vérifie ensuite le résultat avec un vrai espace de travail avant de considérer le travail comme terminé.

Contenu technique (SKILL.md original)

Texte original de l’auteur, en anglais, directement depuis 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

Questions fréquentes

Va-t-il déplacer ma configuration existante ?

Non, sauf si vous le demandez. Il continue de modifier la configuration à son emplacement actuel.

Qu'en est-il des fichiers d'environnement ?

Ils sont généralement exclus de git, la skill les copie donc depuis la copie principale ou les génère à partir du fichier d'exemple.

Comment vérifie-t-elle la configuration ?

Elle vérifie le résultat avec un vrai nouvel espace de travail avant de considérer le travail comme terminé.

Détails

Description originale de l’auteur

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

Popularité

Étoiles GitHub
16k
Position au classement
#10870
Licence
—
Mis à jour
02/11/2026

Ce skill vous est-il utile ?

0

Connectez-vous pour voter.

Commentaires

  • …

Autres skills de ce dépôt

Skills similaires