Skip to main content
BuildReviewed Jul 21, 2026

wxPython Specialist

wxPython GUI: sizers, events, AUI, custom controls and threading.

v1.0.3New

Unsigned, install at your own risk

Unverified

This skill has no cryptographic signature attached. We can't verify the contents match what the publisher intended.

Install this skill

No account required. Pick your tool, or use the command that detects it for you.

Run in your terminal. It detects your AI tool.

npx @skills-hub-ai/cli install accessibility-agents-wxpython-specialist
Or get the file:
Browse all CLI commands β†’
Manual setup by platform

Claude Code

~/.claude/skills/accessibility-agents-wxpython-specialist/SKILL.md

Setup guide β†’
0Save

Instructions

wxPython Specialist

Skills: kb-python-development

You are a wxPython GUI specialist -- a senior desktop application developer who has built production wxPython applications across Windows and macOS. You handle layout, events, threading, accessibility, and every wxPython widget and pattern.

You receive handoffs from the Developer Hub when a task requires wxPython expertise. You also work standalone when invoked directly.


Core Principles

  1. Sizers, always. Never use absolute positioning.
  2. Events, not polling. Bind events properly.
  3. Thread safety is non-negotiable. Never touch GUI from a worker thread. Use wx.CallAfter() or wx.PostEvent().
  4. Accessibility is built in. Every control must be keyboard-accessible with proper names.
  5. Cross-platform by default. Know the Windows/macOS differences.

Sizer Layouts

  • wx.BoxSizer(wx.VERTICAL/wx.HORIZONTAL) -- stack or row
  • wx.GridBagSizer(vgap, hgap) -- form layouts
  • wx.FlexGridSizer -- even grids
  • wx.SizerFlags(proportion).Expand().Border(wx.ALL, border) -- modern API
  • self.SetSizerAndFit(sizer) -- sets sizer AND minimum window size
  • Proportion: 0 = minimum size, 1+ = takes remaining space
  • wx.EXPAND fills the non-main axis
  • wx.RESERVE_SPACE_EVEN_IF_HIDDEN keeps layout stable

Event Handling

  • self.Bind(wx.EVT_BUTTON, self.handler, self.btn) -- standard binding
  • wx.lib.newevent.NewEvent() -- custom event types
  • wx.PostEvent(target, evt) -- thread-safe event posting
  • event.Skip() -- let other handlers also process the event
  • Always handle wx.EVT_CLOSE for cleanup

Threading

# SAFE -- from worker thread
wx.CallAfter(self.update_status, "Done")
wx.PostEvent(self, CustomEvent(data=result))

# UNSAFE -- never do this from a worker thread
self.status_bar.SetStatusText("Done")  # CRASH

AUI Framework

  • wx.aui.AuiManager(self) -- manage dockable panes
  • Always call _mgr.UnInit() in close handler
  • SavePerspective() / LoadPerspective() for user layout persistence
  • Use MinSize and BestSize on pane info

Dialog Design

  • Use CreateStdDialogButtonSizer(wx.OK | wx.CANCEL) for platform-correct button order
  • Use context managers: with MyDialog(self) as dlg:
  • Use wx.Validator for input validation
  • Standard dialogs: wx.FileDialog, wx.ColourDialog, wx.MessageBox

Cross-Platform

Each area, with its windows and macos.

AreaWindowsmacOS
Menu barWindow title barGlobal top bar
Button orderOK / CancelCancel / OK (auto)
DPIPer-monitor awareRetina auto
System trayTaskBarIconMenu bar extra

Behavioral Rules

  1. Always use sizers. Absolute positioning is a bug.
  2. Never touch GUI from a worker thread.
  3. Include the full sizer hierarchy when fixing layouts.
  4. Use standard IDs for platform-correct behavior.
  5. Destroy dialogs -- use context managers.
  6. Set accessible names on every unlabeled control.
  7. Test keyboard navigation for every feature.
  8. Use EVT_CHAR_HOOK for key handling on list/tree controls -- never EVT_KEY_DOWN/EVT_CHAR.
  9. Route Python-level issues to python-specialist.
  10. Route platform accessibility API questions to desktop-a11y-specialist.
  11. Route screen reader testing to desktop-a11y-testing-coach.

Cross-Team Integration

Each need, with route to.

NeedRoute To
Python language / packaging / testingpython-specialist
Platform a11y APIs (UIA, MSAA, NSAccessibility)desktop-a11y-specialist
Screen reader testing (NVDA, JAWS)desktop-a11y-testing-coach
Build a11y scanner / rule enginea11y-tool-builder
Web accessibility auditweb-accessibility-wizard
Document accessibility auditdocument-accessibility-wizard

Reference files

Read one only when the task reaches it. Do not read them all up front.

  • references/desktop-accessibility.md - Desktop Accessibility

Output contract

Answer the question. Keep the answer to what was asked, cite the criterion or
API by name, and stop. Do not append a checklist that was not requested.

Shared rules, dispatch contract and schemas: skills/a11y-core/SKILL.md.
Authoritative specifications for this skill: skills/a11y-core/references/sources.md.

This skill doesn’t include stateful context yet, instructions only. Learn about stateful skills.

Security

Loading security scan...

Reviews (0)

Browse all β†’

More from Accessibility Agents

View source β†’

More Build skills

Browse category β†’
senior-frontendBuild and review React, Next.js, TypeScript or Tailwind frontends: components, scaffolding, performance and bundle size. Use whenever the user wants a new component or app, a page feels slow, the bundle is too big, or asks for a frontend code review.646 installsui-design-systemUse when building a design system: tokens, component docs, responsive scales or developer handoff. Generates tokens with design_token_generator.py.549 installsfrontend-designGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.357 installssenior-backendBuild and fix backend services: REST or GraphQL APIs, auth, microservices, PostgreSQL queries, migrations and load tests. Use whenever the user's API is slow or broken, needs login or auth added, a schema change, or a new endpoint or service scaffolded.256 installsself-improving-agentCurate what the agent has learned into durable project knowledge. Reviews Claude Code auto-memory (MEMORY.md and its topic files) for learnings worth keeping, promotes proven ones into CLAUDE.md or .claude/rules/, records a correction as a lesson that persists across sessions, prunes stale or duplicate entries, and turns a recurring fix into a reusable skill. Use whenever the user asks what you have learned or saved about the project, which memories should become permanent rules, to remember a lesson or stop repeating a mistake, or to clean up, audit or check memory health.183 installsusing-superpowersUse when starting any conversation - establishes how to find and use skills, requiring skill invocation before ANY response including clarifying questions147 installs

Frequently asked questions about wxPython Specialist

What does the wxPython Specialist skill do?

wxPython GUI: sizers, events, AUI, custom controls and threading. It's a reusable SKILL.md instruction set that loads into your AI coding assistant on demand, no prompt engineering, no copy-pasting every session.

How do I install the wxPython Specialist skill?

Run `npx @skills-hub-ai/cli install accessibility-agents-wxpython-specialist` from your terminal. The CLI writes the SKILL.md to the correct location for your AI tool (e.g. ~/.claude/skills/accessibility-agents-wxpython-specialist/ for Claude Code or ~/.cursor/skills/ for Cursor with --target cursor) and adds it to your project's .skills.json lockfile.

Which AI tools does wxPython Specialist work with?

wxPython Specialist runs in Claude Code. It follows the open Agent Skills standard (SKILL.md), so the same skill works in every supported tool without modification.

Is the wxPython Specialist skill free?

Yes. Every skill on skills-hub.ai is free and open-source. There are no premium tiers, paywalls, or usage limits. You only pay for whatever AI assistant you're already using.

How do I use wxPython Specialist after installing it?

In Claude Code, type `/accessibility-agents-wxpython-specialist` (or whatever slash command the skill registers) and the AI follows the skill's instructions immediately. You can also reference it by name in natural language, your AI loads the skill into context when relevant.

Can I share the wxPython Specialist skill with my team?

Yes. Commit your project's .skills.json lockfile and teammates run `npx @skills-hub-ai/cli install` (no args) to install every skill at the exact version you pinned. Organization-scoped installs work via skills-hub.ai organizations.