Office Web UI System
Overview
Use this skill to build or evolve dashboard-style management interfaces with office-style structure, strong visual hierarchy, and reusable composition while keeping the result portable across frameworks and component libraries.
Run this skill in the main conversation. Do not spawn subagents, agent teams, or
delegated parallel workers unless the user explicitly approves the proposed
count and scope after being told that doing so can increase usage. Ask again
before expanding an approved scope.
Activate this skill only for admin dashboards, internal dashboards, back-office consoles, reporting systems, customer/user management systems, CRM/ERP-style management pages, or similarly operational products where users repeatedly scan, filter, compare, edit, approve, or manage records.
Do not activate this skill for general UI/UX polish, marketing pages, landing pages, portfolios, brand sites, editorial sites, ecommerce product pages, games, consumer app screens, or one-off visual redesigns unless the user explicitly says the work is for an admin, dashboard, internal tool, back-office, or management system.
This skill is written as the source of truth in SKILL.md so it can be reused across AI tools that support skills, prompt packs, or custom instructions. Tool-specific metadata should stay in adapter files only and must not change the core workflow.
Prioritize two outcomes at the same time:
- deliver a clear, high-density, professional interface
- make important UI regions easy for humans and AI agents to identify by name
This skill is not only for shells and navigation. It owns implementation when the management product needs a polished:
- admin dashboard or reporting page
- customer, user, order, content, ticket, or account management page
- CRUD/list page inside an admin or back-office system
- workspace/detail page for operational records
- form or wizard page for internal workflows
- stat card system tied to operational metrics
- filter/search/action region for managing records
- table-heavy admin page with stronger UI states
When the user asks for a page to feel "beautiful", "modern", "premium", or "like a real web app", first confirm the task is an admin/dashboard/management surface before applying this skill. Do not turn unrelated UI work into generic dashboard boilerplate.
Default expectation:
- choose a page archetype
- choose a visual weight
- define a clear hierarchy for title, summary, actions, filters, and main data
- use only a few intentional visual ideas instead of decorating every surface
- preserve usable width and dark-mode readability
Workflow
1. Inspect before designing
Inspect the real project first:
- identify the framework, CSS strategy, and component library
- identify whether the app already has a shell pattern for topbar, sidebar, cards, panels, tables, filters, and page headers
- read
AGENTS.md, CLAUDE.md, docs/DESIGN_SYSTEM.md, component docs, screenshots, and UI source-of-truth files when present
- inspect theme config, Tailwind config, CSS variables, global CSS, shared wrappers, custom classes, animations, and transitions before inventing new visual code
- preserve the existing visual language when it is coherent
Read these references as needed:
references/visual-language.md
references/navigation-and-panels.md
references/page-type-playbook.md
references/framework-adaptation.md
2. Choose the page archetype before styling
Before choosing gradients, cards, or hero treatments, classify the page into one of these archetypes:
- dashboard/report
- CRUD/list
- workspace/detail
- form/wizard
This decision is mandatory. The page archetype controls density, action placement, and how expressive the page should be.
Read:
references/page-type-playbook.md
3. Choose the visual weight
Decide whether the page should be:
- restrained
- balanced
- expressive
Use this to control how much gradient, glass, overlap, and decorative depth the page gets.
Rules:
- prefer restrained surfaces on table-heavy CRUD pages
- use expressive hero or glass treatment only when it clarifies hierarchy
- do not overuse hero sections on pages where the table or form is the real focus
Read:
references/visual-language.md
4. Add semantic locator structure early
Before deeper UI changes, add or normalize semantic classes on important regions.
Read references/locator-class-contract.md and apply these rules:
- important UI regions must have readable semantic classes
- do not rely on Tailwind-only class strings as the only way to identify a major region
- keep semantic classes stable and specific enough that a user can point to the correct area
Use utility classes freely for low-level styling, but pair them with semantic wrappers for:
- page containers
- shells
- sidebars and topbars
- flyouts
- panels and docks
- toolbar and filter rows
- table wrappers
- action bars
5. Compose the shell and page regions
After the archetype and visual weight are chosen, compose the page in this order:
- shell or page root
- page title and context
- actions, filters, and summary regions
- primary data surface
- optional support surfaces such as side panels or utility docks
Use portable recipes for the recurring pieces:
- page hero or header band
- stats card grid
- summary strip
- action cluster
- filter bar
- search input
- table wrapper
- mobile record cards
- empty, loading, and error states
- utility side panels or inspector panels
Read:
references/component-recipes.md
Before implementing, be able to state:
- what the page is for in one sentence
- which region should dominate the screen
- which 2 or 3 components are carrying the page's visual identity
- which regions must remain restrained so the page stays usable
- which existing wrappers, components, tokens, custom classes, animations, and transitions are the source of truth
6. Build with office-web-app defaults
When the project does not already define a better pattern, use these defaults:
- topbar as a transparent shell with readable pill surfaces
- desktop navigation with expanded sidebar or icon rail + flyout
- a page header that explains context before controls
- stats and summaries grouped near the page title, not scattered randomly
- floating panels and docks that do not steal content width unless the UX requires it
- large interaction targets for dense admin workflows
- clear hover, focus, active, loading, and empty states
- strong dark-mode readability, not color inversion for its own sake
Read:
references/visual-language.md
references/navigation-and-panels.md
references/component-recipes.md
7. Stay behavior-first, not library-first
Describe and implement UI in terms of behavior and structure first.
Do not overfit patterns to PrimeVue or any single library. Library-specific handling belongs in adaptation details only.
Read references/framework-adaptation.md when:
- the project uses PrimeVue
- the project uses a different component library
- scoped CSS or third-party internals make dark mode or overrides brittle
8. Verify the page reads like a product, not a wireframe
Before handoff, check:
- the page has one obvious focal region
- stat cards, filters, and table surfaces belong to one coherent family
- the page does not look like interchangeable SaaS boilerplate
- the decorative treatment stops before it hurts density or readability
9. Verify with focused screenshots
For dashboard UI work, use Playwright MCP, Playwright, Chrome DevTools MCP, or equivalent real-browser tooling when available.
Screenshot policy:
- capture the specific element or region that needs work before capturing the full page
- use full-page screenshots only when page-level composition, scroll behavior, viewport balance, or neighboring regions matter
- capture before and after screenshots for visual changes when practical
- use the same viewport, theme, data state, and account state for comparison when possible
- verify default, loading, empty, error, disabled, validation, hover/focus when practical, responsive, and dark/light states when relevant
When the user provides an unclear dashboard screenshot or mockup:
- create a separate annotated copy when image tooling is available
- circle or arrow each unclear area
- label each area with a stable name such as
A, B, Filter row, Table density, or Primary action
- ask concise questions using those labels before coding
10. Verify density, dark mode, and locator clarity
Run the bundled scanner before asking the user where a UI element lives:
python3 scripts/scan_ui_locators.py /path/to/repo
Useful modes:
python3 scripts/scan_ui_locators.py /path/to/repo --match layout-sidebar
python3 scripts/scan_ui_locators.py /path/to/repo --prefix quote-create-page__
python3 scripts/scan_ui_locators.py /path/to/repo --json
Use the scanner to:
- map semantic classes to files and line numbers
- detect ambiguous major-region classes
- confirm that a proposed class name is discoverable and specific enough
Also verify:
- the chosen visual weight still fits the page archetype
- table-heavy pages keep usable width
- empty and loading states feel designed, not placeholder-only
- dark mode readability is preserved on the true rendered nodes
Rules
- Preserve an existing good design language instead of forcing one visual language everywhere.
- Treat
docs/DESIGN_SYSTEM.md, theme config, shared components, wrappers, custom classes, animations, and transitions as source of truth when present.
- Choose the page archetype before styling.
- Choose the visual weight before adding expressive treatments.
- Prefer semantic wrappers for important regions even in utility-first codebases.
- Keep major interactive regions identifiable by class name.
- Reuse existing dashboard components, wrappers, tokens, utility classes, and motion rules before creating new ones.
- Avoid one-off custom classes, colors, spacing, shadows, transitions, or animations when reusable project rules exist.
- Use modifiers like
--collapsed, --active, --open, --rail for state, not entirely different base names.
- Favor layout patterns that maximize usable width for table-heavy admin work.
- Prefer restrained surfaces on CRUD and other dense table pages unless stronger expression clearly improves hierarchy.
- Use hero sections, overlap cards, and glass surfaces deliberately, not by default.
- Use a small number of strong visual ideas per page instead of many weak decorative effects.
- Make the page feel product-specific through hierarchy, grouping, and summary design before adding more color or motion.
- Keep hover/focus targets generous on dense interfaces.
- Treat dark mode as a first-class state during design and verification.
- Keep examples portable; adapt primitives to the host stack instead of cloning one framework's exact API.
References
references/visual-language.md
references/navigation-and-panels.md
references/page-type-playbook.md
references/component-recipes.md
references/locator-class-contract.md
references/framework-adaptation.md
Resources
scripts/
scripts/scan_ui_locators.py: scan semantic UI locator classes, report files and line numbers, and warn when major-region classes are ambiguous.
1---2name: office-web-ui-system3description: Coordinator-routed implementation specialist for admin dashboards, internal tools, CRM/ERP management, back-office, CRUD, and reporting UI. Use after project-development-mindset makes an operational dashboard primary, or directly when explicitly invoked or installed standalone. Owns dashboard screenshot/reference work; do not combine with general ui-ux-concept-implementation by default. Excludes marketing and consumer UI.4---5
6# Office Web UI System
7
8## Overview
9
10Use this skill to build or evolve dashboard-style management interfaces with office-style structure, strong visual hierarchy, and reusable composition while keeping the result portable across frameworks and component libraries.
11
12Run this skill in the main conversation. Do not spawn subagents, agent teams, or
13delegated parallel workers unless the user explicitly approves the proposed
14count and scope after being told that doing so can increase usage. Ask again
15before expanding an approved scope.
16
17Activate this skill only for admin dashboards, internal dashboards, back-office consoles, reporting systems, customer/user management systems, CRM/ERP-style management pages, or similarly operational products where users repeatedly scan, filter, compare, edit, approve, or manage records.
18
19Do not activate this skill for general UI/UX polish, marketing pages, landing pages, portfolios, brand sites, editorial sites, ecommerce product pages, games, consumer app screens, or one-off visual redesigns unless the user explicitly says the work is for an admin, dashboard, internal tool, back-office, or management system.
20
21This skill is written as the source of truth in `SKILL.md` so it can be reused across AI tools that support skills, prompt packs, or custom instructions. Tool-specific metadata should stay in adapter files only and must not change the core workflow.
22
23Prioritize two outcomes at the same time:
24- deliver a clear, high-density, professional interface
25- make important UI regions easy for humans and AI agents to identify by name
26
27This skill is not only for shells and navigation. It owns implementation when the management product needs a polished:
28- admin dashboard or reporting page
29- customer, user, order, content, ticket, or account management page
30- CRUD/list page inside an admin or back-office system
31- workspace/detail page for operational records
32- form or wizard page for internal workflows
33- stat card system tied to operational metrics
34- filter/search/action region for managing records
35- table-heavy admin page with stronger UI states
36
37When the user asks for a page to feel "beautiful", "modern", "premium", or "like a real web app", first confirm the task is an admin/dashboard/management surface before applying this skill. Do not turn unrelated UI work into generic dashboard boilerplate.
38
39Default expectation:
40- choose a page archetype
41- choose a visual weight
42- define a clear hierarchy for title, summary, actions, filters, and main data
43- use only a few intentional visual ideas instead of decorating every surface
44- preserve usable width and dark-mode readability
45
46## Workflow
47
48### 1. Inspect before designing
49
50Inspect the real project first:
51- identify the framework, CSS strategy, and component library
52- identify whether the app already has a shell pattern for topbar, sidebar, cards, panels, tables, filters, and page headers
53- read `AGENTS.md`, `CLAUDE.md`, `docs/DESIGN_SYSTEM.md`, component docs, screenshots, and UI source-of-truth files when present
54- inspect theme config, Tailwind config, CSS variables, global CSS, shared wrappers, custom classes, animations, and transitions before inventing new visual code
55- preserve the existing visual language when it is coherent
56
57Read these references as needed:
58- `references/visual-language.md`
59- `references/navigation-and-panels.md`
60- `references/page-type-playbook.md`
61- `references/framework-adaptation.md`
62
63### 2. Choose the page archetype before styling
64
65Before choosing gradients, cards, or hero treatments, classify the page into one of these archetypes:
66- dashboard/report
67- CRUD/list
68- workspace/detail
69- form/wizard
70
71This decision is mandatory. The page archetype controls density, action placement, and how expressive the page should be.
72
73Read:
74- `references/page-type-playbook.md`
75
76### 3. Choose the visual weight
77
78Decide whether the page should be:
79- restrained
80- balanced
81- expressive
82
83Use this to control how much gradient, glass, overlap, and decorative depth the page gets.
84
85Rules:
86- prefer restrained surfaces on table-heavy CRUD pages
87- use expressive hero or glass treatment only when it clarifies hierarchy
88- do not overuse hero sections on pages where the table or form is the real focus
89
90Read:
91- `references/visual-language.md`
92
93### 4. Add semantic locator structure early
94
95Before deeper UI changes, add or normalize semantic classes on important regions.
96
97Read `references/locator-class-contract.md` and apply these rules:
98- important UI regions must have readable semantic classes
99- do not rely on Tailwind-only class strings as the only way to identify a major region
100- keep semantic classes stable and specific enough that a user can point to the correct area
101
102Use utility classes freely for low-level styling, but pair them with semantic wrappers for:
103- page containers
104- shells
105- sidebars and topbars
106- flyouts
107- panels and docks
108- toolbar and filter rows
109- table wrappers
110- action bars
111
112### 5. Compose the shell and page regions
113
114After the archetype and visual weight are chosen, compose the page in this order:
1151. shell or page root
1162. page title and context
1173. actions, filters, and summary regions
1184. primary data surface
1195. optional support surfaces such as side panels or utility docks
120
121Use portable recipes for the recurring pieces:
122- page hero or header band
123- stats card grid
124- summary strip
125- action cluster
126- filter bar
127- search input
128- table wrapper
129- mobile record cards
130- empty, loading, and error states
131- utility side panels or inspector panels
132
133Read:
134- `references/component-recipes.md`
135
136Before implementing, be able to state:
137- what the page is for in one sentence
138- which region should dominate the screen
139- which 2 or 3 components are carrying the page's visual identity
140- which regions must remain restrained so the page stays usable
141- which existing wrappers, components, tokens, custom classes, animations, and transitions are the source of truth
142
143### 6. Build with office-web-app defaults
144
145When the project does not already define a better pattern, use these defaults:
146- topbar as a transparent shell with readable pill surfaces
147- desktop navigation with expanded sidebar or icon rail + flyout
148- a page header that explains context before controls
149- stats and summaries grouped near the page title, not scattered randomly
150- floating panels and docks that do not steal content width unless the UX requires it
151- large interaction targets for dense admin workflows
152- clear hover, focus, active, loading, and empty states
153- strong dark-mode readability, not color inversion for its own sake
154
155Read:
156- `references/visual-language.md`
157- `references/navigation-and-panels.md`
158- `references/component-recipes.md`
159
160### 7. Stay behavior-first, not library-first
161
162Describe and implement UI in terms of behavior and structure first.
163
164Do not overfit patterns to PrimeVue or any single library. Library-specific handling belongs in adaptation details only.
165
166Read `references/framework-adaptation.md` when:
167- the project uses PrimeVue
168- the project uses a different component library
169- scoped CSS or third-party internals make dark mode or overrides brittle
170
171### 8. Verify the page reads like a product, not a wireframe
172
173Before handoff, check:
174- the page has one obvious focal region
175- stat cards, filters, and table surfaces belong to one coherent family
176- the page does not look like interchangeable SaaS boilerplate
177- the decorative treatment stops before it hurts density or readability
178
179### 9. Verify with focused screenshots
180
181For dashboard UI work, use Playwright MCP, Playwright, Chrome DevTools MCP, or equivalent real-browser tooling when available.
182
183Screenshot policy:
184- capture the specific element or region that needs work before capturing the full page
185- use full-page screenshots only when page-level composition, scroll behavior, viewport balance, or neighboring regions matter
186- capture before and after screenshots for visual changes when practical
187- use the same viewport, theme, data state, and account state for comparison when possible
188- verify default, loading, empty, error, disabled, validation, hover/focus when practical, responsive, and dark/light states when relevant
189
190When the user provides an unclear dashboard screenshot or mockup:
191- create a separate annotated copy when image tooling is available
192- circle or arrow each unclear area
193- label each area with a stable name such as `A`, `B`, `Filter row`, `Table density`, or `Primary action`
194- ask concise questions using those labels before coding
195
196### 10. Verify density, dark mode, and locator clarity
197
198Run the bundled scanner before asking the user where a UI element lives:
199
200```bash
201python3 scripts/scan_ui_locators.py /path/to/repo
202```
203
204Useful modes:
205
206```bash
207python3 scripts/scan_ui_locators.py /path/to/repo --match layout-sidebar
208python3 scripts/scan_ui_locators.py /path/to/repo --prefix quote-create-page__
209python3 scripts/scan_ui_locators.py /path/to/repo --json
210```
211
212Use the scanner to:
213- map semantic classes to files and line numbers
214- detect ambiguous major-region classes
215- confirm that a proposed class name is discoverable and specific enough
216
217Also verify:
218- the chosen visual weight still fits the page archetype
219- table-heavy pages keep usable width
220- empty and loading states feel designed, not placeholder-only
221- dark mode readability is preserved on the true rendered nodes
222
223## Rules
224
225- Preserve an existing good design language instead of forcing one visual language everywhere.
226- Treat `docs/DESIGN_SYSTEM.md`, theme config, shared components, wrappers, custom classes, animations, and transitions as source of truth when present.
227- Choose the page archetype before styling.
228- Choose the visual weight before adding expressive treatments.
229- Prefer semantic wrappers for important regions even in utility-first codebases.
230- Keep major interactive regions identifiable by class name.
231- Reuse existing dashboard components, wrappers, tokens, utility classes, and motion rules before creating new ones.
232- Avoid one-off custom classes, colors, spacing, shadows, transitions, or animations when reusable project rules exist.
233- Use modifiers like `--collapsed`, `--active`, `--open`, `--rail` for state, not entirely different base names.
234- Favor layout patterns that maximize usable width for table-heavy admin work.
235- Prefer restrained surfaces on CRUD and other dense table pages unless stronger expression clearly improves hierarchy.
236- Use hero sections, overlap cards, and glass surfaces deliberately, not by default.
237- Use a small number of strong visual ideas per page instead of many weak decorative effects.
238- Make the page feel product-specific through hierarchy, grouping, and summary design before adding more color or motion.
239- Keep hover/focus targets generous on dense interfaces.
240- Treat dark mode as a first-class state during design and verification.
241- Keep examples portable; adapt primitives to the host stack instead of cloning one framework's exact API.
242
243## References
244
245- `references/visual-language.md`
246- `references/navigation-and-panels.md`
247- `references/page-type-playbook.md`
248- `references/component-recipes.md`
249- `references/locator-class-contract.md`
250- `references/framework-adaptation.md`
251
252## Resources
253
254### scripts/
255
256- `scripts/scan_ui_locators.py`: scan semantic UI locator classes, report files and line numbers, and warn when major-region classes are ambiguous.