skills/dmc-best-practices/SKILL.md
Dash Mantine Components (DMC) best practices and performance optimization guidelines. Use this skill when writing, reviewing, or refactoring Dash apps with DMC to ensure optimal patterns. Triggers on: DMC components, Mantine styling, Dash callbacks, dcc.Store, theming, or performance optimization in Plotly Dash applications.
npx skillsauth add bjornmelin/dev-skills dmc-best-practicesInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Definitive best practices for building Dash applications with Dash Mantine Components. Rules are organized by impact level and category.
| Priority | Category | Impact | Prefix | Rules |
|----------|----------|--------|--------|-------|
| 1 | Architecture | CRITICAL | arch- | 4 |
| 2 | Callbacks | CRITICAL/HIGH | callback- | 6 |
| 3 | Styling | HIGH/MEDIUM | style- | 5 |
| 4 | Data Management | HIGH | data- | 4 |
| 5 | Performance | MEDIUM-HIGH | perf- | 3 |
| 6 | Forms & Validation | MEDIUM | form- | 2 |
| 7 | Theming | MEDIUM | theme- | 3 |
| 8 | DMC v2.x Migrations | MEDIUM | v2- | 2 |
| 9 | Accessibility | MEDIUM | a11y- | 1 |
.m_* dynamic classesSee AGENTS.md for the complete compiled reference with all rules expanded.
When DMC review output needs machine-readable evidence, shape findings as
ui_audit.v1:
target.framework: dmcid: dmc.<rule-id> such as dmc.arch-mantine-providercategory: map DMC rule families deterministically:
architecture -> layout, callbacks -> state, styling -> layout,
data -> state, performance -> performance, forms ->
interaction, theming -> visual, migration -> migration, and
accessibility -> accessibilityseverity: CRITICAL and HIGH rules become error; MEDIUM-HIGH and
MEDIUM rules become warning; lower-risk notes become infolocations: repo-relative files or components when knowndocs: the relevant rule markdown path plus external component docs when the
rule cites themUse observations for inventory facts such as detected DMC version, theme
configuration, or callback counts that do not by themselves require a fix.
tools
Explicit-only Kimi Code CLI frontend/UI advisor for UI audits, redesigns, components, screenshots, before/after comparison, layout, styling, accessibility, responsive behavior, and visual polish. Use only when the user explicitly invokes `$kimi-ui-advisor` and wants Codex to ask Kimi for structured UI suggestions, then review, apply, and verify them in the repo.
development
Run a Codex-only structured code review closeout for local, branch, or commit diffs. Use when the user asks for autoreview, Codex review, structured closeout review, final review before commit/ship, or review after non-trivial code edits.
tools
Use this skill for Firecrawl CLI web work: web search, URL scraping, site mapping, crawling, structured extraction, page interaction, monitoring changes, offline site download via x download, and parsing local documents such as PDF, DOCX, XLSX, HTML, DOC, ODT, or RTF. Trigger for requests to search the web, look up current info, fetch/read/scrape a URL, extract website data, crawl docs, click/fill/login/paginate a page, monitor page changes, save a site offline, or parse a document. Do not trigger for generic local file reads/edits, git/deploy/code tasks, or Firecrawl app integration work.
tools
Triage unresolved Sentry issues into ranked groups, GitHub issue plans, branches, subspawn worktree assignments, PRs, and closeout loops using the sentry CLI, GitHub CLI, and local verification. Use when asked to prioritize Sentry backlogs, group production issues, create GitHub issues or PRs from Sentry evidence, or parallelize Sentry fixes.