跳到正文
cccskills
免费在 GitHub 公开中文介绍

setup

为 Superset 配置仓库,让新建的独立 Git 工作区具备依赖、环境文件和服务访问条件。生成生命周期脚本并写入 `.superset/config.json`,再启动测试工作区确认配置可用。

原文查看原文说明

Make a repository Paradev (formerly Superset)-ready by writing .superset/config.toml (install, setup, terminals, archive, ports) so every new workspace, local or cloud, comes up configured, converting an old .superset/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").

ParadevAI/Paradev星标 15,724(GitHub 15,724 + cccskills 0)

实测评分 未实测

查看安装方法

适用场景

  • 为 Superset 配置仓库
  • 为新工作区安装依赖
  • 准备新工作区的环境文件
  • 排查并修复设置失败

中文介绍

功能

此技能会配置仓库,使新建的 Superset 工作区具备开发所需条件。它会梳理项目需要的依赖、环境文件、服务和开发命令,并将创建、删除和运行时要执行的命令登记到 .superset/config.json。配置完成后,技能会实际创建一个测试工作区,确认它能否启动,然后删除该工作区。

适用场景

在 Superset 中启用项目,或发现新工作区缺少 node_modules、.env 时,可以使用此技能。它会整理每个独立 Git worktree 所需的准备步骤;如果仓库包含多个项目,也会确认命令应在哪个目录运行。

使用示例

  • “请把这个仓库配置成可在 Superset 中使用。”
  • “请确保新工作区也会准备好 .env 文件。”
  • “请查明设置没有运行的原因并修复。”

注意事项

需要能够运行 Superset 命令的环境。写入前,技能会先展示拟议的配置文件和脚本,并取得明确批准。只有 setup.sh 不会被识别,必须在 config.json 中登记。不要提交秘密信息;可以在设置时从主工作副本复制环境文件。

本介绍由 AI(OpenAI Codex)根据公开的 SKILL.md 撰写。准确的规格请查看下方原文。

文档检查

AI 根据 SKILL.md 的内容检查了需要注意的操作和使用前提。评分只依据实际运行的结果(实测对比)。

安全性发送数据、删除文件、执行命令等是否有说明
A良好资料要求写入前取得明确批准,并说明不得提交秘密信息。
安装难易度所需工具和 API 密钥是否少且有说明
B部分不足需要 Superset 命令行工具;依赖和服务需按仓库逐项确认。

不计入评分。 由 AI(OpenAI Codex)于 2026年10月29日 评估。仅供参考,安装前请同时查看原文。

如果您认为评估有误,请申请复核

请写明哪一项有误以及原因。无需登录。我们会对照 SKILL.md 重新评估,并在此处更新结果。

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

包含的文件(2)

  • SKILL.md4.9 KB
  • agents/openai.yaml233 B

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

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?)
  • What is already in .superset/: config.toml, or the old config.json, config.local.json and ports.json

2. Write .superset/config.toml

If the repo still has .superset/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.jsonconfig.toml
setup[setup]
teardown[archive] (outside cleanup only, see below)
run[terminals.dev] with default = true
cwdcwd on each table
.superset/<key>.sh found by namewritten out in run
config.local.json with before/afterconfig.local.toml with full run lists

The format:

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

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

[setup.cloud]                 # replaces keys of [setup] in the cloud
run = ["./.superset/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:

TableLocalCloud
[install]before setup, at creationwhen the environment's image is built
[setup]once, at creationon every boot and resume, so it must be safe to run again
[terminals.<name>]from the Run button; default ones start with itdefault ones start on boot
[archive]before the worktree is removedat 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 .superset/config.local.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 writing.

3. Ship it

Commit the change on a branch. If there is no open pull request for it, offer to open one, and ask before pushing. New workspaces read config.toml from their own branch, so it applies to the whole team once it is on the base branch.

4. Verify for real

Create a throwaway workspace with superset workspaces create --local --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.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

10x

免费有简介

检查 Superset 的使用情况,找出适合当前工作方式但尚未使用的功能,给出建议并介绍选项;用户选定后,可协助设置定时运行、并行工作区或共享任务等功能。

  • 查找尚未使用的 Superset 功能
  • 设置定时运行的智能体
  • 在多个工作区并行处理任务
ParadevAI/Paradev1.6万2026年10月29日 更新

automate

免费有简介

把重复任务配置为 Superset 自动化,整理智能体指令、定时或事件触发条件及运行工作区。经明确确认后创建设置,检查已保存的条件,并查看首次运行结果以调整指令。

  • 按日或按周运行任务
  • GitHub 新建拉取请求时启动任务
  • 收到 Slack 指定表情反应时触发
ParadevAI/Paradev1.6万2026年10月29日 更新

browser

免费有简介

通过 Superset 工作区的浏览器查看网页、点击、输入并检查截图或控制台信息,可用于预览运行中的网页应用、检查界面操作和表单流程。

  • 预览本地网页应用
  • 截取页面图像
  • 查看控制台错误
ParadevAI/Paradev1.6万2026年10月29日 更新

依据 Stripe 官方文档和 API 参数定义实现支付、订阅、发票及 Webhook 集成,涵盖产品选择、沙盒测试和事件处理,并通过 Webhook 判断支付与订阅状态。

  • 选择定期扣费产品
  • 实现 Checkout 或发票处理
  • 排查行为异常的 Stripe 集成
ParadevAI/Paradev1.6万2026年10月29日 更新

cdp-verification

免费有简介

通过 Chrome DevTools Protocol 操作正在运行的 Electron 桌面应用,复现界面问题并验证修改。按实际操作流程检查页面跳转,记录截图,并对照路由、滚动位置、焦点元素和保存状态等信息。

  • 在运行中的应用里复现界面问题
  • 检查修复后的页面行为
  • 验证包含页面跳转的操作流程
ParadevAI/Paradev1.6万2026年10月29日 更新

ci-triage

免费有简介

分析 GitHub Actions 失败日志,定位最早的有效错误,区分代码缺陷、环境问题、间歇性失败和原有故障,并对照基准分支说明失败与 PR 的关系及后续处理建议。

  • 调查 PR 检查失败原因
  • 区分不稳定测试与代码缺陷
  • 确认基准分支是否已有故障
ParadevAI/Paradev1.6万2026年10月29日 更新

查看 ParadevAI 的全部技能

报告此技能的问题