audit-concurrency
CommunityPrevent UI freezes from bad threading
System Documentation
What problem does it solve?
This Skill prevents UI freezes and crashes by auditing whether the app updates customtkinter widgets only from the main thread and whether worker results are correctly marshaled back using the expected .after() pattern.
Core Features & Use Cases
- Main-thread UI safety checks: Detects direct widget updates (configure/insert/delete/pack/grid) performed from worker threads.
- Worker-to-UI communication verification: Flags missing or incorrect use of .after() (including Queue-based patterns) when returning from background work.
- Blocking-call detection in UI callbacks: Finds heavyweight operations (e.g., indexing, HTTP requests, time.sleep) triggered directly from event handlers that would freeze the interface.
Use case: When the app loads sessions or processes “orphaned PDFs” using background workers, use this Skill to ensure the UI stays responsive and avoids undefined behavior on Windows.
Quick Start
Ask the AI to run the audit-concurrency Skill to check gestor_contable/gui for UI updates from workers and any blocking operations on the main thread.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: audit-concurrency Download link: https://github.com/ElPoot/contabilidad/archive/main.zip#audit-concurrency Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.