Install any skill in seconds. Free to start, no credit card required.
Get Started Free →bartsoj/VIEW_SPEC.md
Produce a deep per-view design specification for one view in a rich terminal UI application — view shell, per-panel layout, mode-specific layouts, keybinding detail with panel dispatch, focus mechanics, status-bar composition, state-specific layouts, terminal-capability degradation, mouse behavior, and external program invocation.
Passed 18 of 22 test cases with the skill, and 14 of 22 without it.
and 3 more in the full report
5 fixed13 passed either way3 still failing1 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 5 test cases the skill fixed. Same model, same prompt, with and without the skill.
We have drafted `VIEW_SPEC.md` for `FilterView`. Section 12 contains two unresolved choices regarding filter debouncing. What should the `status` and `open_questions` fields in YAML frontmatter be set to?
| Checked | Without skill | With skill |
|---|---|---|
| sets status field in frontmatter to has_open_questions | Missed | Passed |
| sets open_questions counter field to 2 | Missed | Passed |
The instructions your model reads when the skill loads.
Produce a VIEW_SPEC.md that serves as the deep, per-view design specification for one view in a rich, full-screen terminal UI application (lazygit / k9s / spotify-tui style): the view shell (total grid, frame characters, status-bar position, title bar, help-hint footer); per-panel layout (position, dimensions, resize behavior, border treatment, title, content rendering, scrolling, selection model, in-panel states); mode-specific layouts; per-key behavior in each panel including conflict resolution; focus mechanics; status-bar composition; state-specific layouts; terminal-capability degradation across color depth, Unicode, and minimum-size tiers; mouse behavior; and external editor / shell-out invocation. The defining claim — and the definition of "done" — is that an implementing agent reading TUI_IA.md's blueprint for the view + DESIGN.md's terminal style tokens + this VIEW_SPEC.md composes the view exactly as designed across every supported terminal capability and mode, without inventing layout, keybinding, focus, or degradation decisions of its own.
VIEW_SPEC is a Tier 2, opt-in artifact. Most views stay with their lightweight per-view blueprint inline in TUI_IA.md. A view earns a dedicated VIEW_SPEC only when it meets the selection criteria: composition would exceed roughly thirty inline lines; multi-panel layout with non-trivial panel-resize or focus behavior; multiple modes whose layouts diverge materially; keybinding conflicts that need explicit resolution rules; complex terminal-capability degradation across multiple distinct fallback tiers; non-trivial mouse interactions; multiple work units touch the same view; or the view is the application's flagship surface. Views not meeting any of these stay with inline blueprints in TUI_IA.md.
The commonest violation is overlapping concerns with TUI_IA — redefining panels, modes, keybindings, primary action, data dependencies, or traceability. Those belong in TUI_IA. VIEW_SPEC owns composition, mode-specific layouts, focus mechanics, status-bar composition, state-specific layouts, terminal-capability degradation, mouse behavior, and external-program invocation — and nothing else from TUI_IA's surface.
StatusView, LogView, DashboardView). This is the primary key for the spec and the value of the view_id frontmatter field.tui-views/<sibling-id>/VIEW_SPEC.md. Used only to align focus-restoration contracts and external-editor re-entry behavior at boundaries.tui-views/<view-id>/VIEW_SPEC.md (optional, auto-discovered — only if refining) — read fully; preserve every resolved open question and every panel-internal naming choice. Re-run citations against the current TUI_IA and DESIGN.md — do not assume a stale token name or a stale panel name from TUI_IA is still valid.The output file is conventionally placed at tui-views/<view-id>/VIEW_SPEC.md in the consuming project, where <view-id> matches the view_id frontmatter field exactly.
{StateName} — Inherits default layout — no panel changes." rather than dropped silently.truecolor, 256-color, 16-color, monochrome, unicode-rich, unicode-basic, ascii-only, every one appears with a per-view rule.Ctrl-x for Ctrl modifier, Ctrl-Shift-X for Ctrl-Shift modifier, gG for chord sequences, <Esc> for non-printable special keys, Tab and Shift-Tab written out. Match TUI_IA's notation when it differs.cols × rows, hard-refusal threshold in cols × rows, minimum and maximum panel dimensions, scrollbar width if any.test cases passed, vs 14 / 22 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.