Skip to main content
skill CX Codex

pyqt6-ui-development-rules — Claude Code skill for PyQt6

This skill guides agents working on PyQt6 desktop interfaces, from UI-to-logic wiring to background work and layout. Use it when building or refactoring a Qt app.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add oimiragieo/agent-studio --skill pyqt6-ui-development-rules -a claude-code
Open on GitHub

What pyqt6-ui-development-rules does

The skill gives agents rules for structuring PyQt6 code: keep model, view, and controller separate, and connect UI actions to application logic with signals and slots. It favors Qt layout managers over fixed widget coordinates, and application-level QSS for styling. It guides code changes rather than supplying a ready-made interface.

Long-running work belongs outside the main UI thread. The rules cover QThread, QRunnable, and QThreadPool, and also mention qasync. They apply to files under gui and names such as *_ui.py, *_dialog.py, and *_window.py. Blocking the main thread freezes the interface, so background execution matters. DPI-aware rendering and platform differences are covered too.

What it helps with

  • separate model, view, and controller in a PyQt6 app
  • wire UI actions to application logic with signals and slots
  • move long-running work off the main thread
  • replace fixed widget coordinates with Qt layout managers
  • centralize widget styling with QSS

Example prompts for the agent

  • Separate the model, controller, and view in this PyQt6 app, and connect the UI to logic with signals and slots.
  • Move this long-running operation off the main thread using a QThread worker.
  • Replace fixed widget coordinates with layout managers and check the rules for *_window.py.

How to install pyqt6-ui-development-rules

1Skills CLI (Vercel)

npx skills add oimiragieo/agent-studio --skill pyqt6-ui-development-rules -a claude-code

2Manually: put the files in place

~/.claude/skills/pyqt6-ui-development-rules/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/pyqt6-ui-development-rules/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about pyqt6-ui-development-rules

How do I install pyqt6-ui-development-rules in Claude Code?

Run npx skills add oimiragieo/agent-studio --skill pyqt6-ui-development-rules -a claude-code. The skill file is placed at ~/.claude/skills/pyqt6-ui-development-rules/SKILL.md.

What does pyqt6-ui-development-rules do?

It guides agents writing PyQt6 UI code, with rules for MVC separation, signal-slot connections, background work, QSS styling, and layouts.

Which files do the rules apply to?

They apply under gui and to filenames matching *_ui.py, *_dialog.py, and *_window.py.

Similar skills

Everything for Frontend and UI →

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor