Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计提醒

block-inventory块库存

Agent Skill

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

总安装

606

周安装

25

GitHub Stars

40

下载量

198
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/adobe/helix-website --skill block-inventory

简介

block-inventory 用于盘点可用 block 资源,帮助作者了解内容结构选项与可用组件库。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中规划页面导入与结构搭建,避免盲目选择。
  • 不应替代具体 block 查找或直接用于新建 block,仅作为探索性工具使用。
  • 输出结果依赖后端配置与权限,部分私有 block 可能无法被枚举或访问。
  • 使用前应确认用户具备查看 block 库的权限,防止因角色限制返回空列表误导决策。

SKILL.md

Block Inventory

Survey and catalog available blocks to understand what authoring options exist.

When to Use This Skill

Use this skill when:

  • Starting a page import to understand available blocks
  • Planning content structure and need to know block options
  • An author would see a block library and choose from available options

Do NOT use this skill when:

  • You already know which specific block you need
  • Building new blocks from scratch
  • Only checking if one specific block exists (use block-collection-and-party directly)

Why This Skill Exists

Real authors see a block library in their authoring tools. They think: "I want a hero section... oh, there's a Hero block!"

This skill provides that same context - understanding what blocks are available BEFORE making authoring decisions.

Related Skills

  • page-import - Top-level orchestrator
  • identify-page-structure - Invokes this skill to survey blocks (Step 2.5)
  • block-collection-and-party - This skill uses it to search Block Collection
  • content-modeling - Can reference block inventory but maintains independent judgment

Block Inventory Workflow

Step 1: Scan Local Project Blocks

Check what blocks already exist in the project:

# List all local blocks
ls -d blocks/*/

For each block found:

  • Record block name
  • Note: Purpose/description comes from block code or documentation

Output: List of local block names


Step 2: Search Block Collection for Common Blocks

Search for commonly-used blocks that might not be in the project yet.

Common blocks to search (run in parallel):

# Search all common blocks in parallel
node .claude/skills/block-collection-and-party/scripts/search-block-collection-github.js hero &
node .claude/skills/block-collection-and-party/scripts/search-block-collection-github.js cards &
node .claude/skills/block-collection-and-party/scripts/search-block-collection-github.js columns &
node .claude/skills/block-collection-and-party/scripts/search-block-collection-github.js accordion &
node .claude/skills/block-collection-and-party/scripts/search-block-collection-github.js tabs &
node .claude/skills/block-collection-and-party/scripts/search-block-collection-github.js carousel &
node .claude/skills/block-collection-and-party/scripts/search-block-collection-github.js quote &
node .claude/skills/block-collection-and-party/scripts/search-block-collection-github.js fragment &
wait

Why these specific blocks:

  • hero - Large prominent content at page top
  • cards - Grid of items with images/text
  • columns - Side-by-side content layouts
  • accordion - Expandable Q&A sections
  • tabs - Switchable content panels
  • carousel - Rotating image/content displays
  • quote - Highlighted testimonials or quotes
  • fragment - Reusable content sections

Output: Block Collection blocks with live example URLs


Step 3: Get Block Purposes

For each block found (local or Block Collection):

If from Block Collection:

  • Purpose is clear from live example URL
  • Visit live example to understand usage: https://main--aem-block-collection--adobe.aem.live/block-collection/{block-name}

If local block:

  • Check for README or comments in block code
  • Infer from block name and structure
  • May need to describe based on code examination

Output: Block name + purpose/description


Step 4: Consolidate Block Inventory

Create comprehensive block palette:

Format:

Available Blocks:

LOCAL BLOCKS:
- {block-name}: {purpose}
- {block-name}: {purpose}

BLOCK COLLECTION (can be added):
- hero: Large heading, text, and buttons at top of page
- cards: Grid of items with images, headings, and descriptions
- columns: Side-by-side content in 2-3 columns
- accordion: Expandable questions and answers
- tabs: Content organized in switchable tabs
- carousel: Rotating images or content panels
- quote: Highlighted testimonial or pullquote
- fragment: Reusable content section

Important notes in output:

  • Local blocks are already available for use
  • Block Collection blocks can be added if needed
  • Link to Block Collection for authors to see examples

Output: Complete block inventory


Usage Example

Scenario: Starting WKND Trendsetters homepage import

Step 1 - Local blocks:

ls -d blocks/*/
# Output: (none found - new project)

Step 2 - Block Collection search:

# Run parallel searches
node .claude/skills/block-collection-and-party/scripts/search-block-collection-github.js hero &
node .claude/skills/block-collection-and-party/scripts/search-block-collection-github.js cards &
# ... (all common blocks)
wait

Results:

  • hero ✅ Found
  • cards ✅ Found
  • columns ✅ Found
  • accordion ✅ Found
  • tabs ✅ Found
  • carousel ✅ Found
  • quote ✅ Found
  • fragment ✅ Found

Step 3 - Get purposes: Visit live examples or read descriptions from search results

Step 4 - Consolidated output:

Block Inventory for Migration:

LOCAL BLOCKS:
(None - new project)

BLOCK COLLECTION AVAILABLE:
- hero: Large heading, paragraph, and call-to-action buttons for page introductions
  Example: https://main--aem-block-collection--adobe.aem.live/block-collection/hero

- cards: Grid layout of content items with images, headings, and descriptions
  Example: https://main--aem-block-collection--adobe.aem.live/block-collection/cards

- columns: Side-by-side content in 2-3 columns for comparisons or layouts
  Example: https://main--aem-block-collection--adobe.aem.live/block-collection/columns

- accordion: Expandable sections for FAQs or collapsed content
  Example: https://main--aem-block-collection--adobe.aem.live/block-collection/accordion

- tabs: Tabbed interface for organizing related content
  Example: https://main--aem-block-collection--adobe.aem.live/block-collection/tabs

- carousel: Rotating slideshow of images or content
  Example: https://main--aem-block-collection--adobe.aem.live/block-collection/carousel

- quote: Highlighted testimonial or pullquote with attribution
  Example: https://main--aem-block-collection--adobe.aem.live/block-collection/quote

- fragment: Reusable content section that can be embedded across pages
  Example: https://main--aem-block-collection--adobe.aem.live/block-collection/fragment

Key Principles

Completeness over perfection:

  • Better to show too many blocks than miss one
  • Authors can ignore blocks they don't need
  • Discovering a perfect-fit block later is frustrating

Practical purposes:

  • Describe blocks in author language, not developer terms
  • "Grid of items" not "repeating collection pattern"
  • "Expandable Q&A" not "interactive disclosure widget"

Block Collection focus:

  • Prioritize Block Collection blocks (vetted, accessible, performant)
  • These are the canonical implementations
  • Can be added to any project

Speed matters:

  • Run searches in parallel
  • Don't visit every live example (time-consuming)
  • Get enough info to understand purpose

Common Blocks Reference

Here's a quick reference for the most common blocks:

BlockPurposeWhen Authors Use It
heroPage introduction"I want a big heading at the top"
cardsContent grid"I want items in a grid with pictures"
columnsSide-by-side"I want two things next to each other"
accordionCollapsible Q&A"I have FAQs that should expand/collapse"
tabsTabbed content"I want content in switchable tabs"
carouselImage slider"I want images that rotate/slide"
quoteTestimonial"I want to highlight a customer quote"
fragmentReusable content"I want to reuse this section on multiple pages"

Limitations

This skill does NOT:

  • Determine which block to use (that's content-modeling's job)
  • Validate if blocks work correctly
  • Create new blocks
  • Search Block Party (focuses on Block Collection + local)
  • Provide detailed implementation guidance

For those needs, use the appropriate skills:

  • content-modeling: Determine which block fits
  • block-collection-and-party: Deep search and code examination
  • building-blocks: Create new blocks
  • content-driven-development: Implementation guidance

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

36.35%
按下载量换算72

Claude

27.52%
按下载量换算54

Cursor

19.18%
按下载量换算38

Gemini CLI

9.47%
按下载量换算19

安全审计

Gen Agent Trust Hub

可疑

Socket

通过

Snyk

可疑

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

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

来源信息

继续浏览同类 Skills