AGENT SKILLBY DEMBRANDT
Scroll areas
AT A GLANCE
Scroll areas is an agent skill for CRO. Scroll containers inside a layout — panels, drawers, tables, modals with inner overflow — create friction. The dembrandt/dembrandt-skills repository on GitHub, maintained by dembrandt, has 22 stars and the MIT license. To add it, run npx skills add dembrandt/dembrandt-skills --skill scroll-areas
- SOURCE REPOSITORY
- dembrandt/dembrandt-skills (opens GitHub in a new tab)
- REPO STARS
- SOURCE REPOSITORY
- LICENSE
- MIT
- CATEGORIES
- SKILL.MD SIZE
- 3.6 KB72 LINES
QUICK ANSWER
- WHAT IT IS01
- Scroll containers inside a layout, panels, drawers, tables, modals with inner overflow, create friction. It stands out by giving conversion optimization a defined shape, so the agent asks for better context and returns a more usable result.
- INPUTS02
- Context for conversion optimization: your goals, audience, constraints, and any source material the skill asks for.
- OUTPUT03
- A ready-to-use result for conversion optimization: the analysis, copy, or recommendations the agent produces.
INSTALL
One command adds this skill from its source repository.
npx skills add dembrandt/dembrandt-skills --skill scroll-areasREAD THE SKILL.MD BELOW BEFORE YOU RUN IT. SKILLS INSTRUCT YOUR AGENT.
SKILL.MD
The full file, as published in the source repository. Copy it, download it or open it on GitHub.
ON THIS PAGE · 6
Scroll Areas#
Avoid Scroll Areas by Default#
Scroll containers inside a layout — panels, drawers, tables, modals with inner overflow — create friction. Users must discover that a region scrolls, manage multiple independent scroll positions simultaneously, and context-switch between scroll areas on the same screen.
Default: let the page scroll. A single page-level scroll is universally understood and requires no discovery. Before introducing an inner scroll area, ask whether the layout can be restructured so the page itself handles the overflow.
Alternatives to inner scroll:
- Pagination or load-more for long lists
- Collapsible sections (accordion) for long detail panels
- A separate page or route for content that would otherwise fill a scroll area
- Progressive disclosure — show less by default, expand on demand
When a Scroll Area Is Justified#
Some layouts genuinely require inner scroll:
- Fixed-height sidebars with navigation trees longer than the viewport
- Data tables where the header must remain visible while rows scroll
- Chat or log panels where the stream is continuous and the surrounding layout is fixed
- Code editors or terminal panes embedded in a larger application shell
In these cases, proceed — but apply the constraints below.
One Axis Only#
Never create a scroll container that scrolls on both axes simultaneously. Two-axis scroll is disorienting, hard to control precisely, and nearly unusable on touch devices.
/* One axis: vertical */
overflow-y: auto;
overflow-x: hidden;
/* One axis: horizontal (e.g. wide table) */
overflow-x: auto;
overflow-y: hidden;
/* Never */
overflow: auto; /* allows both axes */If content requires both axes — e.g. a wide table inside a constrained panel — restructure the layout so the table's horizontal scroll is the only scroll in the view, with the page itself not scrolling at that point.
Always User-Controlled#
Scroll must never happen automatically without user intent. Specifically:
- No auto-scrolling that moves the viewport without the user initiating it
- No scroll hijacking — do not intercept the native scroll event to animate or pace it artificially
- Scroll-to on load is acceptable only when restoring a previous scroll position (e.g. returning to a list after navigating away)
- Scroll-to for errors or anchors is acceptable as a response to a user action (submitting a form with errors, clicking a table-of-contents link)
Exception: chat and log panels may auto-scroll to the bottom on new content, but only if the user is already at the bottom. If the user has scrolled up to read, do not force them back down — show a "new messages" indicator instead.
Scroll Affordance#
Users must be able to tell a region is scrollable before they attempt to scroll it.
- Clip content visually at the edge — a partially visible item signals "there is more"
- Use a subtle scrollbar (not
scrollbar-width: none) so the track is visible - On touch, a partial item at the edge is the primary affordance — ensure the container does not have
overflow: hiddenon the trailing edge
Review Checklist#
- Is every inner scroll area genuinely necessary, or can the layout be restructured to use page scroll?
- Does every scroll container scroll on one axis only?
- Is
overflow: auto(two-axis) avoided on all scroll containers? - Is scroll always user-initiated — no hijacking, no forced auto-scroll?
- Is the scrollable region visually apparent (partial content, visible scrollbar)?
- On touch devices, is scroll smooth and native (
-webkit-overflow-scrolling: touchor equivalent)?
FAQ
07 QUESTIONS
01What is the Scroll areas agent skill?
Scroll containers inside a layout, panels, drawers, tables, modals with inner overflow, create friction. It is listed under CRO in the 100xLab agent skills directory.
02How do I install Scroll areas in Cursor, Claude Code, or Codex?
Run npx skills add dembrandt/dembrandt-skills --skill scroll-areas in the project where you want it, then ask your agent for the skill by name. The --skill flag installs only Scroll areas, not every skill in the repository.
03What does the Scroll areas SKILL.md cover?
The SKILL.md includes sections on Avoid Scroll Areas by Default, When a Scroll Area Is Justified, One Axis Only, Always User-Controlled, Scroll Affordance and Review Checklist. Read the full text on this page or in plain markdown at /resources/agent-skills/dembrandt-dembrandt-skills--scroll-areas--uycr0d/raw.
04Which agents can use Scroll areas?
Scroll areas installs with the cross-agent skills installer (npx skills add), which sets it up for agents such as Claude Code, Cursor and Codex. Each agent loads the SKILL.md when you ask for the skill by name.
05What license is Scroll areas under?
The dembrandt/dembrandt-skills repository declares the MIT license. Read the license file in the repository before you copy or redistribute the skill.
06Is Scroll areas free to use?
Reading, copying and installing Scroll areas costs nothing: it is published in a public GitHub repository under the MIT license. Reuse and redistribution follow that license.
07Where is the source of Scroll areas?
Scroll areas comes from https://github.com/dembrandt/dembrandt-skills, which has 22 GitHub stars. The SKILL.md is at https://github.com/dembrandt/dembrandt-skills/blob/HEAD/skills/scroll-areas/SKILL.md. The author is dembrandt.
Need an agent workflow built around your stack?
Tell us the workflow you want automated. We reply within 4 working hours (IST).
ATTRIBUTION
Scroll areas was written by its original authors and is published in dembrandt/dembrandt-skills (opens GitHub in a new tab) under the MIT license. All rights stay with the original authors.
100xLab did not write, maintain or endorse this skill. This page lists it for discovery. Repo stars belong to the source repository, not to the skill. Review any skill before you install it.