跳到正文
Skillpedia
其他16k · #10823

superset-settings

它能做什么

这个技能让你的智能体无需打开设置界面,就能读取和修改 Paradev 桌面应用的设置。适合想快速调整应用或安装自定义主题的人。

适用场景

  • ✓当你想修改 Paradev 的设置,例如主题、字体或通知的时候。
  • ✓当你想从 JSON 文件切换到或创建自定义主题的时候。
  • ✓当你想查看某个设置的当前值或可选项的时候。

技能链接

https://github.com/ParadevAI/Paradev/blob/main/.agents/skills/superset-settings/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/ParadevAI/Paradev/blob/main/.agents/skills/superset-settings/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请把我的 Paradev 应用切换成深色主题,并把字体调大一点。”

每周 5 个新技能,1 分钟读完。

工作原理

智能体会运行设置命令,命令会先检查每个值是否在允许的选项中,然后才保存。它可以离线工作,所有内容都保存在这台电脑上。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Paradev settings via CLI

Change the desktop app's user settings from the command line with superset settings. Works offline, no login required; everything is local to this machine.

Commands

superset settings list                 # every key: value, default, allowed values
superset settings get <key>            # effective value (default if unset)
superset settings set <key> <value>    # validated write
superset settings reset <key>          # back to the app default

superset settings theme list           # system + built-ins + imported custom themes
superset settings theme get
superset settings theme set <id>       # e.g. dark | light | monokai | system | <custom id>
superset settings theme set system --system-light light --system-dark monokai

superset settings theme export <id> [--out <file>]  # dump full theme JSON (starter)
superset settings theme import <file>               # add/replace custom themes (validated)
superset settings theme remove <id>                 # delete a custom theme

Prefer --json (auto-on in agent environments; parse it rather than matching the human sentences) and superset settings list to discover keys and allowed values instead of guessing. In Paradev terminals superset is already on PATH. SUPERSET_HOME_DIR overrides the target profile (~/.paradev by default); useful for testing against a sandbox copy.

Creating custom themes

Two paths; both end with import → set (a running app restyles live).

From scratch: a minimal file is enough. Every color you omit is filled in from the built-in base theme for your declared type, so start small and override only what you care about:

{
  "name": "Midnight Ocean",
  "type": "dark",
  "ui": {
    "background": "#071A2E",
    "sidebar": "#061426",
    "primary": "#38BDF8"
  },
  "terminal": { "background": "#071A2E", "cursor": "#38BDF8" }
}
superset settings theme import ocean.json   # -> Imported 1 theme: midnight-ocean
superset settings theme set midnight-ocean  # a running app applies it live

From a starter: export any theme's complete definition (all ~38 ui + 21 terminal colors) and edit it. Best when restyling everything:

superset settings theme export dark --out my-theme.json
# edit, then:
superset settings theme import my-theme.json && superset settings theme set my-theme

Theme file anatomy

Field Notes
name / id either works; the id is slugified ("Midnight Ocean" → midnight-ocean). Reserved: dark, light, monokai, system
type "dark" or "light" (defaults to dark); picks the base theme that fills omitted colors
ui app chrome. Highest-impact keys: background, foreground, sidebar, card, popover, primary, accent, muted, border, input, ring, plus sidebar* variants
terminal xterm colors: background, foreground, cursor, selectionBackground, and the 16 ANSI names (red, brightRed, ...)
editor optional { "colors": {...}, "syntax": {...} } for the file editor; generated from ui/type when omitted
author, version, description optional metadata

Rules (same parser as the app's Appearance → Import): all colors are CSS color strings; missing colors inherit from the base; a file can hold one theme, an array, or a pack { "themes": [...] }; max 256 KB; re-importing an id replaces that theme; import never activates; theme set does.

Verify and iterate

superset settings theme list      # SOURCE column shows custom; * marks active
superset settings theme get       # active theme id
superset settings theme export midnight-ocean   # round-trip the stored result
superset settings theme remove midnight-ocean   # active falls back to dark

Iterating on colors: each import replaces the theme, and a running app applies it live; the loop is edit → import → theme set <id> (re-set to re-apply the active theme after edits).

How changes take effect

After every write the CLI nudges the running desktop app (POST /settings-changed on its local server) and the app refreshes immediately, themes included, no restart. The command output tells you which happened: "refreshed immediately" / "Applied to the running desktop app" means the nudge landed. The notes below are the fallback behavior when no app acknowledged (app not running, or an older app version):

  • Regular settings (most of settings set): written to local.db in th
常见问题

我需要登录吗?

不需要。设置命令可以离线运行,无需登录,因为所有内容都只在你的电脑上。

它可以创建自定义主题吗?

可以。这个技能会说明如何把主题导出为 JSON、编辑后再导入回去。

如果我设置了不允许的值会怎样?

命令会验证数值,无效的设置会被拒绝,而不会被保存。

详情

作者的原始描述

Read and update the Paradev desktop app's user settings (theme, fonts, terminal, git, notifications, behavior) via the superset CLI, including creating and installing custom themes from JSON. Use when asked to change app settings, switch or create a theme, adjust fonts, or configure desktop preferences without opening the settings UI.

repo: ParadevAI/Paradev

热度

GitHub 星标
16k
排名
#10823
许可证
—
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能