Pyqt6 Ui Development Rules
Generates PyQt6 UI code adhering to oimiragieo's style guide for consistent layout, naming, and best practices.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add pyqt6-ui-development-rules npx -- -y @trustedskills/pyqt6-ui-development-rules
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"pyqt6-ui-development-rules": {
"command": "npx",
"args": [
"-y",
"@trustedskills/pyqt6-ui-development-rules"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
PyQt6 UI Development Rules
What it does
This skill provides a structured framework for AI agents to generate compliant, maintainable, and modern PyQt6 user interface code. It enforces best practices specific to the Qt6 ecosystem, ensuring generated applications adhere to current design patterns and coding standards.
When to use it
- Rapid Prototyping: Quickly scaffold functional desktop GUIs with consistent styling and layout logic.
- Code Refactoring: Convert legacy PyQt5 or Tkinter scripts into modern PyQt6 architecture automatically.
- Standardization: Ensure team-generated code follows a unified set of rules for widget handling and event management.
- Complex Layouts: Generate intricate interface structures that respect Qt's native flexbox-like layout capabilities.
Key capabilities
- Enforces strict adherence to PyQt6-specific syntax and API usage.
- Generates modular, object-oriented UI components rather than monolithic scripts.
- Applies modern design patterns for signal/slot connections and event loops.
- Produces clean, documented code ready for integration into larger Python applications.
Example prompts
- "Generate a responsive data entry form using PyQt6 that validates user input in real-time."
- "Refactor this legacy Tkinter script to use PyQt6 while maintaining the same visual layout."
- "Create a modular settings dialog with tabbed interfaces following PyQt6 development best practices."
Tips & gotchas
Ensure your environment has PyQt6 installed before relying on generated code, as older Qt versions may lack specific features referenced by these rules. Complex animations or custom painting may require additional manual tuning beyond standard rule enforcement.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.