Skip to content

chore: add debug-widget Claude Code skill#2174

Open
rahmanunver wants to merge 1 commit intomainfrom
chore/add-debug-widget-skill
Open

chore: add debug-widget Claude Code skill#2174
rahmanunver wants to merge 1 commit intomainfrom
chore/add-debug-widget-skill

Conversation

@rahmanunver
Copy link
Copy Markdown
Contributor

@rahmanunver rahmanunver commented Apr 13, 2026

Pull request type


Description

Adds .claude/skills/debug-widget/ — a Claude Code skill for debugging Mendix pluggable widgets.

Why: Widget bugs in this repo follow repeatable patterns (stale state, layout regressions, data not updating). Without a shared process each session re-discovers the same things: which page to open, how to find widget selectors, how the Gate/MobX reactive chain works. This skill encodes that knowledge once.

Core constraint: reproduce the bug with a Playwright script before reading source code; verify the fix with the same script before claiming success.

Files added:

File Purpose
SKILL.md 4-phase loop: Reproduce → Analyze+Fix → Build+Deploy → Verify
diagnostic-patterns.md Playwright script templates by bug category (Layout, Data, Stale State, Interaction, Performance)
page-discovery.md Tier 0–3 page discovery from live app → URL → XML grep → Playwright crawl
reactive-chain.md Simple vs. DI+MobX architecture tiers, trace procedure, key files for datagrid-web

Example: WC-3355 (combobox value not updating externally) — skill drove writing a Stale State diagnostic script, tracing the issue to combobox-web's hook not reacting to external attribute changes, and verifying the fix via Playwright before declaring success.

…ebugging

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@rahmanunver rahmanunver requested a review from a team as a code owner April 13, 2026 14:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant