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

panes

Skill này làm gì

Skill này cho phép agent thiết lập bố cục không gian làm việc Paradev. Dành cho người muốn terminal và bảng điều khiển được xếp đúng cách mà không phải kéo thả bằng tay.

Khi nào nên dùng

  • ✓Khi bạn muốn nhiều terminal hiển thị cạnh nhau trong Paradev.
  • ✓Khi bạn muốn mở một tab mới hoặc đổi kích thước, di chuyển hoặc đóng một khung.
  • ✓Khi bạn muốn mở, ẩn hoặc mở rộng thanh bên phải.

Liên kết skill

https://github.com/ParadevAI/Paradev/blob/main/plugins/superset/skills/panes/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/plugins/superset/skills/panes/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

“Chia không gian làm việc của tôi để trình chạy test và máy chủ phát triển nằm cạnh nhau.”

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

Cách hoạt động

Agent kiểm tra các lệnh bố cục đã có sẵn, tìm không gian làm việc của bạn, rồi áp dụng từng thay đổi lên bố cục trực tiếp bạn đang xem. Nó chỉ mở các khung bạn yêu cầu và dọn các khung nó đã mở cho tác vụ.

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 Pane Layout

paradev is an alias for the superset CLI: every superset command here also runs as paradev.

Script the tabs and split panes of a workspace with superset panes. Commands go to the host, then to the desktop app, which applies them to the live layout the user is looking at. Every change is visible immediately, so build layouts the user asked for and clean up what you open.

A workspace has two pane areas, each with its own tabs and split panes: the main area in the center, and the right sidebar beside it, where the app opens Changes, Files, Pages, and the browser. Terminals go in the main area unless the user asks for the sidebar.

Establish the control surface

  1. Run superset schema 2>/dev/null | jq -re '.commands[] | select(.path==["panes"]) | .commands[].path[1]' || superset panes --help and require list, split, new-tab, resize, equalize, move, swap, focus, and close; sidebar control also needs open and sidebar. panes is new in CLI 1.38.0. If it is missing, run superset update and recheck. The app-bundled CLI (~/.superset/bin/superset) updates only with the desktop app, so if it still lacks panes, updating the app is the fix.
  2. Resolve the workspace. Inside a workspace, use $SUPERSET_WORKSPACE_ID; otherwise superset workspaces list --local --json and pick the target.
  3. Panes live in the desktop app. A host with no desktop attached (a standalone superset start) has no panes, and an older desktop app answers "This host is too old for superset panes". Surface either rather than retrying.

Read the layout

superset panes list --workspace "$WS" --json

The result has activeTabId and tabs[] for the main area, and sidebar with open, fullScreen, activeTabId, and tabs[] for the right sidebar. A result without sidebar comes from a desktop app too old to control the sidebar. Each tab has layout, a split tree of { type: "split", direction, ratio, first, second } and { type: "pane", paneId } nodes, plus a flat panes[] with each pane's kind (terminal, chat-v3, browser, …), terminalId, active, and the agent running in it with its state. row splits sit side by side and column splits stack; ratio is the first child's share.

Inside a workspace, the pane you are running in is the one whose terminalId equals $SUPERSET_TERMINAL_ID:

ME=$(superset panes list --workspace "$WS" --json \
  | jq -r --arg t "$SUPERSET_TERMINAL_ID" \
    '[.tabs[], .sidebar.tabs[]?][].panes[] | select(.terminalId==$t) | .id')

Pane IDs are unique across both areas, so every command that takes --pane finds the pane wherever it is. Search both lists, as above.

Change the layout

Every mutating command returns the new pane or tab ID plus the full updated layout, so chain commands from its output instead of listing again. Read IDs with --json | jq -r .paneId (or .tabId, .terminalId); --quiet does not reduce these results to an ID.

Goal Command
Split a pane, new terminal in the new half panes split --workspace $WS --pane P --direction right|left|down|up [--command CMD]
Open a tab with a terminal panes new-tab --workspace $WS [--command CMD] [--sidebar]
Show an existing terminal instead add --terminal <terminal-id> to split or new-tab (not with --command)
Set a pane's share of its split panes resize --workspace $WS --pane P --ratio 0.05–0.95
Even out every split panes equalize --workspace $WS [--tab T]
Exchange two panes, even across tabs panes swap --workspace $WS --pane A --with B
Move a pane beside another panes move --workspace $WS --pane P --to Q --direction right|left|down|up
Move a pane into a tab of its own panes move --workspace $WS --pane P --new-tab
Move a pane to the other area panes move --workspace $WS --pane P --sidebar|--main
Open Changes, Files, Pages, or a browser in the sidebar and show it panes open changes|files|pages|browser --workspace $WS [--url URL] [--slug PAGE] [--background]
Show a file in the editor panes open file PATH --workspace $WS [--line N]
Show one file's diff in Changes panes open changes PATH --workspace $WS [--line N]
Show the sidebar panes sidebar show --workspace $WS [--full-screen]
Hide the sidebar panes sidebar hide --workspace $WS
Bring a pane and its tab to the front
Câu hỏi thường gặp

Tôi có thấy thay đổi ngay không?

Có. Mỗi thay đổi được áp dụng lên bố cục trực tiếp, nên bạn thấy ngay.

Nó có dọn các khung nó đã mở không?

Có. Skill dọn các khung nó mở cho tác vụ.

Nếu thiếu các lệnh bố cục thì sao?

Skill đề nghị cập nhật dòng lệnh, và trong một số trường hợp cập nhật cả ứng dụng.

Chi tiết

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

Arrange the tabs and split panes of a Paradev (formerly Superset) workspace in the desktop app from an agent, in the main area and the right sidebar. Use when the user asks to split a pane, open a tab, run a command in a new pane, resize, swap, move, focus, close, or even out panes, lay out a dashboard of terminals, show them something side by side, or open, show, hide, or expand the right sidebar with Changes, a file in the editor, Files, Pages, or a browser in it, including "split this and run the tests on the right", "open the logs in a new tab", "make this pane bigger", "put the server and

repo: ParadevAI/Paradev

Độ phổ biến

Sao GitHub
16k
Vị trí xếp hạng
#10868
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ự