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.
npx skills add oimiragieo/agent-studio --skill pyqt6-ui-development-rules -a claude-codeWhat 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
QThreadworker. - 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-code2Manually: put the files in place
~/.claude/skills/pyqt6-ui-development-rules/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/pyqt6-ui-development-rules/
1Skills CLI (Vercel)
npx skills add oimiragieo/agent-studio --skill pyqt6-ui-development-rules -a codex2Manually: put the files in place
.agents/skills/pyqt6-ui-development-rules/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add oimiragieo/agent-studio --skill pyqt6-ui-development-rules -a cursor2Manually: put the files in place
.cursor/skills/pyqt6-ui-development-rules/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install oimiragieo/agent-studio pyqt6-ui-development-rules2Manually: put the files in place
.github/skills/pyqt6-ui-development-rules/SKILL.md1Skills CLI (Vercel)
npx skills add oimiragieo/agent-studio --skill pyqt6-ui-development-rules -a gemini-cli2Platform CLI
gemini skills install https://github.com/oimiragieo/agent-studio --path .claude/skills/pyqt6-ui-development-rulesManually: put the files in place
.devin/skills/pyqt6-ui-development-rules/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add oimiragieo/agent-studio --skill pyqt6-ui-development-rules -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
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.