Token导航 LogoToken导航

Agent Skill · 研究检索

building-blocks(积木)

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

building-blocks 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为操作浏览器;许可证信息还不明确,第三方扫描有提醒项,按安装量在研究检索类的 73,675 个 Skill 里排第 10,687。

总安装 12,235周安装 380GitHub Stars 40下载 3,000核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/adobe/helix-website --skill 'Building Blocks'

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

用于创建或修改 AEM Edge Delivery 的可复用组件(blocks),遵循内容驱动开发原则。涵盖内容模型理解、JavaScript 装饰逻辑实现、样式应用及代码质量标准维护。

应在 content-driven-development 技能之后调用,并与 block-collection-and-party、testing-blocks 协同工作。

安装命令:npx skills add https://github.com/adobe/helix-website --skill 'Building Blocks'。注意:需确保项目已配置 AEM 环境,且相关依赖技能已正确加载。

来源仓库内路径:skills/building-blocks

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/adobe/helix-website --skill 'Building Blocks';命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要操作浏览器,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

building-blocks 怎么安装?

在终端执行 npx skills add https://github.com/adobe/helix-website --skill 'Building Blocks'。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

building-blocks 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

building-blocks 需要什么权限?

权限级别是操作浏览器。该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

building-blocks 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

building-blocks 用的人多吗?

公开数据是累计安装 12,235 次,近一周安装 380 次,下载 3,000 次,GitHub 40 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

building-blocks 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
building-blocks

积木 · 本页

12,23540操作浏览器未明确有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Building Blocks

This skill guides you through creating new AEM Edge Delivery blocks or modifying existing ones, following Content Driven Development (CDD) principles. Blocks are the reusable building blocks of AEM sites - each transforms authored content into rich, interactive experiences through JavaScript decoration and CSS styling. This skill covers the complete development process: understanding content models, implementing decoration logic, applying styles, and maintaining code quality standards.

Related Skills

  • content-driven-development: MUST be invoked before using this skill to ensure content and content models are ready
  • block-collection-and-party: Use to find similar blocks for patterns
  • testing-blocks: Automatically invoked after implementation for comprehensive testing

When to Use This Skill

This skill should ONLY be invoked from the content-driven-development skill during Phase 2 (Implementation).

If you are not already following the CDD process:

  • STOP - Do not proceed with this skill
  • Invoke the content-driven-development skill first
  • The CDD skill will ensure test content and content models are ready before implementation

This skill handles:

  • Creating new block files and structure
  • Implementing JavaScript decoration
  • Adding CSS styling
  • Code quality and testing

Prerequisites

REQUIRED before using this skill:

  • ✅ Test content must exist (in CMS or local drafts)
  • ✅ Content model must be defined
  • ✅ Test content URL must be available

Information needed:

  1. Block name: What should the block be called?
  2. Content model: The defined structure authors will use
  3. Test content URL: Path to test content for development

Process Overview

  1. Verify Prerequisites (CDD completed)
  2. Find Similar Blocks (for patterns and reuse)
  3. Create or Modify Block Structure (files and directories)
  4. Implement JavaScript Decoration (DOM transformation)
  5. Add CSS Styling (scoped, responsive styles)
  6. Test the Implementation (local testing, linting)
  7. Document Block (developer and author-facing docs)

Detailed Process

1. Verify Prerequisites

Before proceeding, confirm with the user:

"Do you have:

  • ✅ Test content created (URL or path)?
  • ✅ Content model defined?

If not, we need to use the content-driven-development skill first."

If prerequisites are not met, STOP and invoke the content-driven-development skill.

If prerequisites are met, get the test content URL from the user and proceed to step 2.

2. Find Similar Blocks

For new blocks or major modifications:

  1. Search the codebase for similar blocks that might provide useful patterns or code we can re-use
  2. Use the block-collection-and-party skill to find relevant reference blocks

Review the implementation patterns in similar blocks to inform your approach.

For minor modifications to existing blocks: Skip to step 3.

3. Create or Modify Block Structure

For new blocks:

  1. Create directory: blocks/{block-name}/
  2. Create files: {block-name}.js and {block-name}.css
  3. Use the boilerplate structure (or reference templates in resources/ if helpful):

- JS file exports a default decorate(block) function (can be async if needed) - CSS file targets the .{block-name} class

For existing blocks:

  1. Locate the existing block directory in blocks/{block-name}/
  2. Review the current implementation before making changes
  3. Understand the existing decoration logic and styles

4. Implement JavaScript Decoration

Follow patterns and conventions in resources/js-guidelines.md:

  • Use DOM APIs to transform the initial block HTML structure
  • Keep decoration logic focused and single-purpose
  • Handle variants appropriately (check block.classList for variant classes)
  • Follow established patterns from similar blocks

Read resources/js-guidelines.md for detailed examples, code standards, and best practices.

5. Add CSS Styling

Follow patterns and conventions in resources/css-guidelines.md:

  • All CSS selectors must be scoped to the block (start with .{block-name})
  • Use BEM-like naming within the block scope
  • Leverage CSS custom properties for theming
  • Write mobile-first responsive styles
  • Keep specificity low
  • Follow established patterns from similar blocks

Read resources/css-guidelines.md for detailed examples, code standards, and best practices.

6. Test the Implementation

After implementation is complete, invoke the testing-blocks skill:

The testing-blocks skill will guide you through:

  • Writing unit tests for any logic-heavy utilities
  • Browser testing to validate block behavior
  • Taking screenshots for validation and PR documentation
  • Running linting and fixing issues
  • Verifying GitHub checks pass

Provide the testing-blocks skill with:

  • Block name being tested
  • Test content URL (from CDD process)
  • Any variants that need testing

Return to this skill after testing is complete to proceed to step 7.

7. Document Block

Blocks require two types of documentation:

Developer Documentation
  • Most blocks are simple and self-contained and only need code comments for documentation
  • If a block is especially complex (has many variants, or especially complex code) consider adding a brief README.md in the block folder
  • Keep any README documentation very brief so it can be consumed at a glance
Author-Facing Documentation

Author-facing documentation helps content authors understand how to use the block in the CMS. This documentation typically exists as draft/library content in the CMS itself, not in the codebase.

When author documentation is needed:

Almost all blocks should have author-facing documentation. The only exceptions are:

  • Deprecated blocks that should no longer be used but can't be removed yet
  • Special-purpose blocks used very infrequently on a need-to-know basis
  • Auto-blocked blocks that shouldn't be used directly by authors

Maintaining author documentation:

Author documentation must be kept in sync with the block implementation:

  • Update when variants are added, removed, or modified
  • Update when the content structure changes
  • Update when block behavior or functionality changes

Where author documentation lives:

Different projects use different approaches for author documentation:

  1. Sidekick Library (Google Drive/SharePoint authoring):

- Uses https://github.com/adobe/franklin-sidekick-library - Check for /tools/sidekick/library.html in the codebase - If present, guide user to add/update block documentation in the library

  1. Document Authoring (DA) Library:

- Uses https://docs.da.live/administrators/guides/setup-library - Different implementation than Sidekick Library - If in use, guide user to update block documentation in DA library

  1. Universal Editor (UE) projects:

- Often skip dedicated author documentation libraries - May use inline help or other mechanisms

  1. Simple documentation pages:

- Some projects maintain documentation under /drafts or /docs - Pages contain authoring guides and block examples

What to include in author documentation:

The specific content of author documentation varies by project. As an agent:

  1. Identify that author documentation needs to be created or updated
  2. Determine which documentation approach the project uses (check for /tools/sidekick/library.html as a signal)
  3. Guide the user on what aspects of the block should be documented based on the changes made
  4. Provide specific guidance based on the project's documentation approach

Reference Materials

  • resources/js-guidelines.md
  • resources/css-guidelines.md

平台分布

Codex

35.45%
按下载量换算1,064

Claude

32.48%
按下载量换算974

Cursor

17.99%
按下载量换算540

Gemini CLI

10.22%
按下载量换算307

安全审计

Gen Agent Trust Hub

可疑

Socket

通过

Snyk

通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills