Ensure accessibility in UI components including semantic HTML, ARIA attributes, keyboard navigation, and WCAG 2.2 AA compliance.
中文简介正在准备中。当前显示原文说明。
Flutter and Dart expert including widgets, state management, and platform integration
中文简介正在准备中。当前显示原文说明。
查看安装方法安装前可以查看交给 AI 代理的指令内容。
When reviewing or writing code, apply these guidelines:
When reviewing or writing code, apply these guidelines:
When reviewing or writing code, apply these guidelines:
When reviewing or writing code, apply these guidelines:
When reviewing or writing code, apply these guidelines:
This expert skill consolidates 1 individual skills:
const constructors for widgets that don't depend on mutable state — non-const widgets rebuild on every parent rebuild, causing unnecessary repaints and dropped frames.build() — async calls in build() fire on every rebuild, causing duplicate network requests, race conditions, and unpredictable UI state.setState for shared state that spans multiple widgets — setState only rebuilds the local widget subtree; shared state must be lifted to a state management layer.! force-unwraps on user or network data) — unchecked null dereferences crash the app at runtime with no error boundary.| Anti-Pattern | Why It Fails | Correct Approach |
|---|---|---|
| Non-const stateless widgets | Rebuilt on every parent setState; wastes frame budget | Add const to all stateless widget constructors and their instantiation |
Calling Future in build() | Re-fires on every rebuild; duplicates API calls and causes flickering | Use FutureBuilder with a stored Future field initialized in initState |
| Business logic in widgets | Untestable; coupled to widget lifecycle; duplicated across screens | Move logic to BLoC/Cubit or Riverpod providers; widgets observe state only |
setState for cross-widget state | Only rebuilds local subtree; sibling widgets stay stale | Use InheritedWidget, Provider, or BLoC streams for shared state |
| Force-unwrapping nullable API data | Runtime null crash with no recovery path | Use null-aware operators (?., ??) and handle null states explicitly in UI |
Before starting:
cat .claude/context/memory/learnings.md
After completing: Record any new patterns or exceptions discovered.
ASSUME INTERRUPTION: Your context may reset. If it's not in memory, it didn't happen.
还没有评价。欢迎分享你的使用感受。
无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。
还没有评论。来写第一条吧。
Ensure accessibility in UI components including semantic HTML, ARIA attributes, keyboard navigation, and WCAG 2.2 AA compliance.
中文简介正在准备中。当前显示原文说明。
Use when you want to improve response quality through meta-cognitive reasoning. Applies 15+ reasoning methods to reconsider and refine initial outputs.
中文简介正在准备中。当前显示原文说明。
N-round opposing-stance debates for trade-off analysis. Assigns pro/con roles to agents, runs structured debate rounds with quality scoring, and produces a moderator synthesis with confidence-rated recommendation. Generalizable to architecture, technology, security, and design decisions.
中文简介正在准备中。当前显示原文说明。
Force adversarial code review stance that eliminates confirmation bias — reviewer must find issues or re-analyze
中文简介正在准备中。当前显示原文说明。
Creates specialized AI agents on-demand when no existing agent matches a request. Use when the Router cannot find a suitable agent for a task. Enables self-evolution by generating persistent agents.
中文简介正在准备中。当前显示原文说明。
LLM-as-judge evaluation framework with 5-dimension rubric (accuracy, groundedness, coherence, completeness, helpfulness) for scoring AI-generated content quality with weighted composite scores and evidence citations
中文简介正在准备中。当前显示原文说明。