Token导航 LogoToken导航TokenDH.com
研究检索执行命令github未标认证来源可访问许可证需确认审计通过

scroll-areas滚动区域

Agent Skill

scroll-areas 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

720

周安装

30

GitHub Stars

6

下载量

240
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:scroll-areas(滚动区域)
来源仓库:https://github.com/dembrandt/dembrandt-skills
仓库路径:skills/scroll-areas
安装命令:
npx skills add https://github.com/dembrandt/dembrandt-skills --skill scroll-areas
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/dembrandt/dembrandt-skills --skill scroll-areas

简介

用于查找、检索和筛选相关信息。scroll-areas 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

  • 适合根据关键词或任务场景定位候选结果。
  • 可结合来源仓库 README 核验具体实现方式。
  • 安装前建议确认是否会触发联网或文件读写。
  • 注意权限范围和仓库维护状态的核实。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

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: hidden on 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: touch or equivalent)?

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

34.98%
按下载量换算84

Claude

27.9%
按下载量换算67

Cursor

18.72%
按下载量换算45

Gemini CLI

8.68%
按下载量换算21

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/dembrandt/dembrandt-skills --skill scroll-areas 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills