원클릭으로
pydartsnut-widget-loop
Dartsnut widget main.py guidance for Pillow rendering, widget_params, and update loop behavior.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Dartsnut widget main.py guidance for Pillow rendering, widget_params, and update loop behavior.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Dartsnut asset manifest, loader-helper, placeholder, and apply-mode workflow for art-bearing entities.
Root conf.json schema, defaults, size rules, preview handling, and reload requirements for Dartsnut projects.
Dartsnut workspace scaffold rules, just-in-time skill loading, file constraints, and emulator verification workflow.
Dartsnut display and framebuffer mapping rules for panels, physical screens, layout, clipping, and fonts.
Legacy Dartsnut runtime index that routes to the granular pydartsnut, conf, display, and asset skills.
Pixel-perfect compact UI guidance for console-style Dartsnut games and widgets.
| name | pydartsnut-widget-loop |
| description | Dartsnut widget main.py guidance for Pillow rendering, widget_params, and update loop behavior. |
| license | MIT |
Load when writing or editing widget main.py. Requires pydartsnut-core and conf-contract.
pygame in widget code.Image, ImageDraw, optional ImageFont) only.Dartsnut() instance.widget_params (via dartsnut.widget_params / contract in widget-creator template).while dartsnut.running: loop.Image matching conf.json size.dartsnut.update_frame_buffer(frame) each iteration.time.sleep(...) to limit update rate.Build main.py to satisfy the user's request in conversation history, not a fixed multi-step checklist. Use ImageDraw, fonts, and assets when the request needs them — load widget-fonts before copying or loading font files.
A solid-color loop with no user-visible behavior is only appropriate when the user explicitly asked for a minimal placeholder.
Handle missing or ambiguous params with safe defaults. Keep setup, render/update, and main() clear.
After material changes to main.py or conf.json, reload_emulator then get_emulator_logs. Fix Traceback / SyntaxError / ModuleNotFoundError before finishing.