5.1 KiB
5.1 KiB
name, description, x-personal-mcp
| name | description | x-personal-mcp | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| nicegui | Reference hub for NiceGUI and FastAPI application structure, UI composition, styling, bindable state, interactions, troubleshooting, testing, and source documentation. Use when planning, implementing, reviewing, or debugging NiceGUI applications; load only the references relevant to the task. |
|
NiceGUI Reference
Use this skill as a progressive reference for NiceGUI applications built with FastAPI. Start with the routing map, load only the material needed for the current question, and reconcile it with the target project's NiceGUI version and established conventions.
When to Use
- Planning or reviewing NiceGUI application structure and FastAPI composition.
- Building or refactoring pages, components, layouts, and static assets.
- Modeling UI state with bindings or bindable dataclasses.
- Implementing forms, uploads, refreshes, live updates, or background work.
- Diagnosing UI state, concurrency, navigation, or asset problems.
- Verifying framework behavior against primary documentation.
How to Use This Skill
- Classify the request using the discovery map below.
- Load the smallest relevant reference, or at most two references for a mixed concern.
- Inspect the target repository before applying guidance; preserve its sound local patterns.
- Check the pinned NiceGUI and integration versions before relying on version-specific APIs.
- Validate the changed behavior with focused tests and, for UI work, relevant viewport checks.
Progressive Discovery Map
Application Architecture
Load application architecture for:
- FastAPI app factories and lifespan ownership
- package boundaries and dependency direction
- page registration and health routes
- optional persistence, LangGraph, or mounted documentation
- async responsiveness and baseline tests
Components And Styling
Load architecture and styling for:
- page, component, and service boundaries
- component extraction decisions
- Tailwind and Quasar styling order
- responsive layout and static asset conventions
Bindable State
Load bindable dataclasses for:
- typed local UI state
- propagation and refresh behavior
- nested structures and strict bindings
- mutable defaults, performance, and version notes
Interaction Patterns
Load interaction patterns for:
- uploads and form submission
- explicit refreshes
- server-sent events and WebSockets
- background work and duplicate-submission guards
Troubleshooting And Quality
Load troubleshooting and quality gates for:
- upload failures and UI race conditions
- stale assets and navigation drift
- responsiveness, accessibility, reliability, and maintainability checks
Primary Sources
Load source documentation when:
- behavior is version-sensitive or uncertain
- an integration recommendation needs verification
- upstream NiceGUI, FastAPI, Tailwind, Quasar, SQLAlchemy, Pydantic, or LangGraph documentation is required
Common Discovery Paths
New Application Or Architecture Review
- Load application architecture.
- Add architecture and styling only when page and component design is in scope.
Page Or Component Work
- Load architecture and styling.
- Add interaction patterns or bindable dataclasses according to the page behavior.
Debugging Or Production Review
- Start with troubleshooting and quality gates.
- Follow the symptom to one detailed reference.
- Confirm uncertain behavior in source documentation.
General Defaults
- Keep composition, transport, services, pages, and components directionally separated.
- Keep business logic out of UI components and event handlers.
- Avoid blocking I/O and CPU-heavy work in the UI event loop.
- Prefer event-driven updates and explicit refreshes over unrelated polling.
- Prefer Tailwind utilities, then Quasar props, then reusable component helpers; use minimal shared CSS when those are insufficient.
- Provide loading, success, and failure states for user-triggered work.
- Treat version-specific guidance as a prompt to verify the project's dependency version.
Reference Use Contract
When applying this skill:
- return only guidance relevant to the current task
- distinguish repository facts from reference recommendations
- cite the appropriate source reference for framework-level claims
- state assumptions when application requirements are missing
- report the focused checks used to validate implementation changes