setup
Skill này làm gì
Skill này chuẩn bị một repository mã nguồn cho Paradev để các không gian làm việc mới được cấu hình sẵn. Dành cho lập trình viên muốn ngừng lặp lại các bước thiết lập bằng tay cho mỗi không gian làm việc mới.
Khi nào nên dùng
- ✓Khi bạn muốn thiết lập một dự án hoặc repository cho Paradev.
- ✓Khi bạn muốn chuyển một config.json cũ sang config.toml mới hơn.
- ✓Khi một không gian làm việc mới khởi động mà thiếu phụ thuộc hoặc dịch vụ cần thiết.
Liên kết skill
https://github.com/ParadevAI/Paradev/blob/main/plugins/superset/skills/setup/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Thiết lập repository này cho Paradev để các không gian làm việc mới tự cài phụ thuộc và khởi động máy chủ phát triển.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent kiểm tra repository để xem nó cài đặt và chạy như thế nào, hỏi về những điểm chưa rõ, rồi viết tệp cấu hình. Sau đó nó kiểm tra kết quả bằng một không gian làm việc thật trước khi coi là xong.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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:
.envis 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'ssettings.json,agents/orprompts/does not count). Note what is already there:config.toml, or the oldconfig.json,config.local.jsonandports.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:
runis a string or an array of commands, each in its own shell.setupandinstallstop 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(localorcloud),SUPERSET_WORKSPACE_NAMEand, locally,SUPERSET_ROOT_PATH(the main checkout). Per-port variables are not set yet: do not rely onSUPERSET_PORT_<NAME>. - Keep
setupidempotent 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
.envfrom the main checkout ($SUPERSET_ROOT_PATH) at setup time; never commit them. - Personal tweaks go in
config.local.toml, next toconfig.tomlin 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
Câu hỏi thường gặp
Nó có di chuyển cấu hình hiện có của tôi không?
Không, trừ khi bạn yêu cầu. Nó tiếp tục chỉnh sửa cấu hình ở nơi nó đang nằm.
Còn các tệp môi trường thì sao?
Chúng thường không được đưa vào git, nên skill sao chép từ bản checkout chính hoặc tạo từ tệp mẫu.
Nó kiểm tra thiết lập bằng cách nào?
Nó xác minh kết quả bằng một không gian làm việc mới thật trước khi coi công việc đã xong.
Chi tiết
Mô tả gốc của tác giả
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
Độ phổ biến
- Sao GitHub
- 16k
- Vị trí xếp hạng
- #10870
- Giấy phép
- —
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
decide
16kHướng dẫn bạn từng quyết định về thiết kế hoặc code, mỗi lần một việc, có lựa chọn rõ ràng và khuyến nghị. Ghi lại mọi câu trả lời và đưa ra bản tóm tắt cuối.
mobile-demo-film
16kBiến video quay màn hình điện thoại thành video demo gọn gàng, có thẻ tiêu đề, khung điện thoại và thẻ kết thúc. Hợp với demo tính năng và clip ra mắt.
redesign
16kXem xét một thành phần giao diện và đề xuất cách sửa cụ thể về khoảng cách, độ tương phản, thứ bậc và bố cục. Cũng có thể áp dụng thay đổi.
superset-settings
16kCho phép agent xem và thay đổi cài đặt ứng dụng desktop Paradev, như giao diện, phông chữ và thông báo, từ dòng lệnh.
Skill tương tự
openclaw-update
394kGiúp agent của bạn cập nhật OpenClaw Gateway đang có, chọn cách cập nhật phù hợp với cách cài đặt và giữ phiên làm việc của bạn hoạt động.
diagnose-gateway
394kGiúp agent của bạn tìm hiểu vì sao OpenClaw Gateway bị lỗi bằng cách kiểm tra cài đặt, kênh và cổng mà không thay đổi gì.
crabbox-apps
394kGiúp agent của bạn mở và chạy một app trên máy đám mây tạm thời, rồi hiển thị giao diện của nó trong thanh bên của chat.