Skillpedia
متفرقات16k · #10868

panes

ما الذي تفعله

تتيح لوكيلك هذه المهارة أن يرتب تخطيط مساحة عمل Paradev. وهي لمن يريد أن تُعرض الطرفيات والألواح بالطريقة التي يحتاجها دون أن ينقلها يدوياً.

متى تستخدمها

  • ✓عندما تريد أن تظهر عدة طرفيات جنباً إلى جنب في Paradev.
  • ✓عندما تريد فتح علامة تبويب جديدة أو تغيير حجم لوح أو نقله أو إغلاقه.
  • ✓عندما تريد فتح الشريط الجانبي الأيمن أو إخفاءه أو توسيعه.

رابط المهارة

https://github.com/ParadevAI/Paradev/blob/main/plugins/superset/skills/panes/SKILL.md

انسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.

طريقة الاستخدام

أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.

رسالة جاهزة للصق

استخدم هذه المهارة لمساعدتي: https://github.com/ParadevAI/Paradev/blob/main/plugins/superset/skills/panes/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

مثال على ما تطلبه من الذكاء الاصطناعي

“قسّم مساحة عملي بحيث يكون مشغّل الاختبارات وخادم التطوير جنباً إلى جنب.”

5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.

كيف تعمل

يتحقق وكيلك من توفر أوامر التخطيط، ويجد مساحة عملك، ويطبق كل تغيير على التخطيط الحي الذي تنظر إليه. يفتح الألواح التي طلبتها فقط، وينظّف الألواح التي فتحها للمهمة.

المحتوى التقني (ملف SKILL.md الأصلي)

النص الأصلي من المؤلف، مباشرة من GitHub.

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
الأسئلة الشائعة

هل سأرى التغييرات فوراً؟

نعم. يُطبق كل تغيير على التخطيط الحي، فتراه على الفور.

هل ينظّف الألواح التي فتحها؟

نعم. تنظّف المهارة الألواح التي فتحتها للمهمة.

ماذا لو كانت أوامر التخطيط مفقودة؟

تقترح المهارة تحديث سطر الأوامر، وفي بعض الحالات تحديث التطبيق.

التفاصيل

الوصف الأصلي من المؤلف

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

الشعبية

نجوم GitHub
16k
الترتيب
#10868
الترخيص
—
آخر تحديث
2‏/11‏/2026

هل هذه المهارة مفيدة؟

0

سجّل الدخول للتصويت.

التعليقات

  • …

المزيد من المهارات من هذا المستودع

مهارات مشابهة