Chuyển đến nội dung
Skillpedia
Khác16k · #10823

superset-settings

Skill này làm gì

Skill này cho phép agent đọc và thay đổi cài đặt của ứng dụng desktop Paradev mà không cần mở màn hình cài đặt. Dành cho người muốn điều chỉnh ứng dụng nhanh hoặc cài một giao diện tùy chỉnh.

Khi nào nên dùng

  • ✓Khi bạn muốn đổi một cài đặt Paradev như giao diện, phông chữ hoặc thông báo.
  • ✓Khi bạn muốn chuyển sang hoặc tạo một giao diện tùy chỉnh từ file JSON.
  • ✓Khi bạn muốn kiểm tra giá trị hiện tại hoặc các tùy chọn được phép của một cài đặt.

Liên kết skill

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

Sao 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

Hãy dùng skill này để giúp tôi: https://github.com/ParadevAI/Paradev/blob/main/.agents/skills/superset-settings/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Chuyển ứng dụng Paradev của tôi sang giao diện tối và tăng cỡ chữ lên một chút.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Agent chạy lệnh cài đặt, lệnh này kiểm tra từng giá trị với các tùy chọn được phép trước khi lưu. Nó hoạt động offline và lưu mọi thứ trên máy tính này.

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 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
Câu hỏi thường gặp

Tôi có cần đăng nhập không?

Không. Lệnh cài đặt hoạt động offline và không cần đăng nhập, vì mọi thứ được lưu cục bộ trên máy bạn.

Nó có tạo được giao diện tùy chỉnh không?

Có. Skill giải thích cách xuất giao diện dưới dạng JSON, chỉnh sửa và nhập lại.

Nếu tôi đặt một giá trị không được phép thì sao?

Lệnh kiểm tra giá trị, nên một cài đặt không hợp lệ sẽ bị từ chối chứ không được lưu.

Chi tiết

Mô tả gốc của tác giả

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

Độ phổ biến

Sao GitHub
16k
Vị trí xếp hạng
#10823
Giấy phép
—
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự