Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 1.08 KB

File metadata and controls

27 lines (18 loc) · 1.08 KB

CustomTkinter Agent Skill

Agent Skill cho Cursor – hướng dẫn AI viết GUI Python với CustomTkinter.

Cấu trúc

.cursor/skills/customtkinter/
├── SKILL.md      # Hướng dẫn chính, quick start, quy tắc
├── reference.md  # API: widgets, windows, themes, packaging
└── examples.md   # Mẫu code: app, form, tabview, menu, candlestick chart

Nội dung

  • SKILL.md: Quick start, quy tắc (CTk thay Tk, mainloop, Toplevel), theme, màu sắc
  • reference.md: Bảng API 16 widgets, CTkImage, appearance mode, PyInstaller
  • examples.md: 11 mẫu – app cơ bản, form, Toplevel, Tabview, ScrollableFrame, theme, InputDialog, Menu (tkinter + CTkMenuBarPlus), Candlestick chart

Sử dụng

Skill tự kích hoạt khi user yêu cầu GUI Python, CustomTkinter, CTk hoặc giao diện desktop hiện đại.

Yêu cầu

  • CustomTkinter: pip install customtkinter
  • Một số ví dụ cần thêm: CTkMenuBarPlus, matplotlib, mplfinance, pandas