npx skills add ...
npx skills add superset-sh/skills --skill superset-setup
Make a repository Superset-ready — author .superset/config.json with setup/teardown/run scripts so every new workspace boots configured, then verify with a real workspace. Use when the user wants to set up a project or repo for Superset, configure workspace setup scripts, or fix a failing workspace setup.
npx skills add superset-sh/skills --skill superset-setup
Goal: every new workspace (isolated git worktree) for this repo comes up ready — dependencies installed, env present, services reachable — without manual steps.
Work out what a fresh worktree needs, and ask about anything ambiguous:
.env is usually gitignored, so new worktrees need it copied from the main checkout or generated from .env.examplecwd?).superset/config.jsonThis file is what wires lifecycle scripts in — a bare setup.sh without config.json is NOT picked up. Schema:
Each key is an array of shell commands run inside the worktree on workspace create / delete / run. Guidelines:
.superset/config.local.json (gitignored) lets an individual user extend scripts with before/after arrays without touching the shared configShow the user the proposed files and get explicit approval before writing.
Create a throwaway workspace with superset workspaces create --project <id> --name "setup-test" and watch the "Workspace Setup" terminal output. Fix and repeat until it completes cleanly, then delete the test workspace. Setup is not done until a real workspace boots green.