Tabbed Resizable Workspace
Designtabbed-resizable-workspaceTabbed Resizable Workspace is an Agent Skill for design published in the majiayu000/claude-skill-registry repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Use a tabbed detail pane plus resizable live-view pane to reduce repeated UI context
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/majiayu000/claude-skill-registry/blob/HEAD/skills/design/tabbed-resizable-workspace/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/tabbed-resizable-workspace, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Context
Operator-focused desktop web UIs often need both editable/detail-heavy controls and a live visual surface at the same time. Deep content inspection requires scrolling without losing chrome or tab context.
Pattern
- Keep summary/status cards above the workspace.
- Move secondary detail sections into a single tabbed left pane with an explicit, stable tab order.
- Keep the live viewer or canvas pinned in a right pane.
- Add a lightweight in-page splitter with local state and min-width guards for both panes.
- Make tabs sticky — tabs stay visible at top of workspace while content scrolls independently.
- Use grid layout — header (auto), tabs (auto, sticky), panel (1fr, overflow-y: auto).
- Span viewer full height — viewer column uses grid-row: 1 / -1 to span entire split height.
- Collapse to a single-column stack below a responsive breakpoint.
Why
- Removes repeated headings and "echo" panels that make production UI feel like validation scaffolding.
- Preserves focus: operators can change tabs without losing the live visual context.
- Sticky tabs prevent navigation loss during deep content inspection.
- Independent scroll keeps workspace exploration separate from viewer interaction.
- Keeps layout adaptable for large desktop windows without introducing saved preferences or heavy state.
Implementation Details
CSS Structure
Results workspace uses 3-row grid: header (auto), sticky tabs (auto), scrolling panel (1fr). Viewer column spans full height with grid-row: 1 / -1 and contains header + viewer.
Combobox Selectors
For space efficiency in multi-item scenarios, replace card grids with select comboboxes:
- Material selector: MaterialName — N sheet(s) · M placed
- Sheet selector: Sheet #N — X.X% utilized
Saves vertical space, maintains selection clarity, reduces visual noise.
Table Scroll Limits
Add max-height: 400px to .table-shell for contained scrolling. Large tables scroll inside workspace instead of pushing content down.
Example
- src\PanelNester.WebUI\src\pages\ResultsPage.tsx
- src\PanelNester.WebUI\src\styles.css
Anti-Pattern
- Rendering report fields, summary tables, sheet details, placement tables, unplaced reasons, and viewer as a long vertical stack that forces constant scrolling and repeats context below the active visual surface.
- Using card grids for material/sheet selection when comboboxes are more space-efficient.
- Letting large tables grow unbounded without scroll containers.