Token导航 LogoToken导航TokenDH.com
前端设计执行命令github未标认证来源可访问许可证需确认审计提醒

appbuilder-action-scaffolderappbuilder 动作脚手架

Agent Skill

appbuilder-action-scaffolder 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

1,373

周安装

55

GitHub Stars

55

下载量

444
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/adobe/skills --skill appbuilder-action-scaffolder

简介

用于 Adobe Runtime 动作的全生命周期管理,包括代码生成、部署与调试支持。

  • 根据意图选择对应模板,如数据库 CRUD 或最小原型启动。
  • 代码放置于 src/<extension-dir>/actions/<action-name>/index.js 目录。
  • 需同步注册 ext.config.yaml 文件以完成动作声明。
  • 适用于 Adobe Experience Cloud 扩展开发中的后端逻辑封装。

SKILL.md

App Builder Action Scaffolder

Full lifecycle skill for Adobe Runtime actions — scaffold, implement, deploy, and debug. Place action code at src/<extension-dir>/actions/<action-name>/index.js and register in src/<extension-dir>/ext.config.yaml.

Pattern Quick-Reference

Pick the template that matches the user's intent. Default to assets/action-boilerplate.js for generic actions.

User wantsTemplate
Simple action / generic starting pointassets/action-boilerplate.js
Minimal prototype (bare-bones)assets/action-scaffold-template.js
Database CRUD (durable records, indexes)assets/database-action-template.js
Webhook receiver (I/O Events)assets/event-webhook-template.js
Custom event providerassets/event-provider-template.js
Journaling consumer (replayable events)assets/journaling-consumer-template.js
Large payload response (>1 MB)assets/large-payload-template.js
Action sequence pipelineassets/action-sequence-template.js
Asset Compute worker (AEM renditions)assets/asset-compute-worker-template.js
Debug Runtime action issuesreferences/debugging.md

Fast Path (for clear requests)

When the user's request maps unambiguously to a single pattern above — they name a specific pattern, reference a template, or describe a use case that clearly matches one entry — skip straight to scaffolding. Use the matched template and proceed directly.

Examples of fast-path triggers:

  • "Add a webhook receiver action" → assets/event-webhook-template.js, scaffold directly
  • "Create an Asset Compute worker" → assets/asset-compute-worker-template.js, scaffold directly
  • "Add a database CRUD action" → assets/database-action-template.js, scaffold directly
  • "Add an action called process-order" (simple, no ambiguity) → assets/action-boilerplate.js, scaffold directly

If there is any ambiguity — multiple patterns could fit, constraints are unclear, or the user hasn't specified enough to pick a single approach — fall through to the full workflow below.

Quick Reference

  • Action entry point: Place action code at src/<extension-dir>/actions/<action-name>/index.js. This keeps paths aligned with the generated extension layout.
  • Manifest location: Register actions in src/<extension-dir>/ext.config.yaml. Do not put a root-level runtimeManifest in app.config.yaml; the CLI silently ignores it.
  • Extension directory name: The extension directory name varies by project template:

- src/dx-excshell-1/ — Experience Cloud Shell SPA (default) - src/aem-cf-console-admin-1/ — AEM Content Fragment Console extension - src/dx-asset-compute-worker-1/ — Asset Compute worker Use the actual directory name from your project's app.config.yaml $include entries.

  • Web action response shape: Return {statusCode, body} for standard web actions; add headers only when needed.
  • Key CLI loop: aio app dev for local iteration (use aio app run if actions use State SDK, Files SDK, or sequences), aio rt action invoke for direct testing, aio app deploy for publishing.
  • State vs database: State for ephemeral job tracking; database for durable records, indexed queries, or document-style CRUD.
  • Events delivery choice: Webhook for push delivery, custom event provider to publish domain events, journaling consumer for replayability or back-pressure.
  • Large payload and sequence patterns: Large payload redirect when >1 MB response limit; action sequence for linear multi-action flows.
  • Asset Compute worker fit: Use for AEM rendition processing; different SDK and extension layout than standard Runtime actions.

Full Workflow (for ambiguous or complex requests)

  1. Confirm target outcome, constraints, and acceptance criteria.
  2. Collect current implementation context from code, environment, and Adobe configuration.
  3. Apply the detailed procedure in references/playbook.md for this capability.
  4. Produce implementation artifacts and validation evidence.
  5. Run through references/checklist.md before final handoff.
  6. Summarize decisions, risks, and immediate next actions.

Example User Prompts

  • "Add a new action to my App Builder project that calls the AEM Assets API."
  • "My runtime action is timing out after 60 seconds. How do I increase the limit without breaking the app?"
  • "Set up a cron action that runs every 5 minutes to sync data from an external API."
  • "Create a web action that accepts file uploads and stores them using the Files SDK."
  • "Store customer preferences in the App Builder Database."
  • "Set up a webhook to receive I/O Events for asset changes."
  • "My action response is too large — how do I handle payloads over 1MB?"

Inputs To Request

  • Current repository path and module boundaries
  • Target Adobe organization, project, and workspace
  • Non-functional constraints: latency, cost, compliance, and support model
  • Definition of done with measurable acceptance criteria

Deliverables

  • Implementation updates for the requested capability
  • Validation evidence: tests, checks, or reproducible verification steps
  • Handoff summary with explicit tradeoffs and follow-up actions

Quality Bar

  • Keep decisions explicit and traceable to project constraints
  • Prefer deterministic automation for repeatable steps
  • Fail safely with actionable diagnostics
  • Document tradeoffs and next-step risks in handoff notes

References

  • Use references/playbook.md for detailed execution guidance.
  • Use references/checklist.md for pre-handoff validation.
  • Use references/prompt-pack.md for ready-to-use execution prompts.
  • Use references/runtime-reference.md for action structure, params, response formats, SDK usage, and CLI operations.
  • Use references/aem-apis.md for AEM Content Fragment API surfaces — decision table, Delivery OpenAPI, Management OpenAPI, GraphQL persisted queries, and the deprecated Assets HTTP API — with auth patterns and action code for each.
  • Use references/action-patterns.md for common action patterns, including CRUD API, cron, multi-step processing, database CRUD, webhook intake, custom event providers, journaling consumers, large payload redirects, action sequence composition, and Asset Compute workers.
  • Use assets/database-action-template.js, assets/event-webhook-template.js, assets/event-provider-template.js, assets/journaling-consumer-template.js, assets/large-payload-template.js, assets/action-sequence-template.js, and assets/asset-compute-worker-template.js when the user request maps directly to one of the newer boilerplate patterns.
  • Use ../_shared/categories/architecture-runtime.md for Adobe service-specific guidance.

Common Manifest Guardrail

  • Keep App Builder action definitions under application.runtimeManifest in app.config.yaml.
  • Do not use root-level runtimeManifest; App Builder CLI ignores it for action configuration.
  • Validate manifest structure before deploy: python3../_shared/scripts/validate_manifest_structure.py <path-to-app.config.yaml>.
  • Use ../_shared/references/appbuilder-manifest-guardrail.md for valid and invalid examples.

Common Issues

  • Action deployment fails: Most deploy failures come from invalid manifest structure or missing dependencies. Check that actions are nested under application.runtimeManifest (or the extension ext.config.yaml pattern), run the manifest validator, run npm install, then retry aio app deploy.
  • Action timeout: Runtime execution defaults to 60 seconds and can be extended to 300 seconds for non-web actions. Reduce work per invocation, move long-running tasks to async/background flows, or raise the timeout in manifest limits when the action type supports it.
  • Payload too large: Web actions are limited to 1 MB for both request and response payloads. Trim request bodies, avoid returning large blobs inline, and use external storage or pass URLs instead.
  • IMS token not available / auth fails: If an action expects Adobe user context, set annotations.require-adobe-auth: true, confirm the shell or caller actually provides the token, and verify aio auth login plus Adobe project/workspace access for the target APIs.
  • Two-layer auth confusion: Actions can enforce auth at two independent layers — the require-adobe-auth: true manifest annotation (gateway-level rejection) and a code-level Authorization header check inside the action. Disabling one layer does not disable the other. During local dev, set require-adobe-auth: false *and* stub the code-level check; otherwise 401 errors persist across redeploy cycles. See references/runtime-reference.md § "Common Auth Issues" for the full debugging guide.

First-Wave Accelerator Kit

  • Use references/implementation-template.md to structure delivery artifacts for this high-frequency capability.
  • Run scripts/accelerator.py to generate an execution checklist from request context.

Asset Templates

  • assets/action-scaffold-template.js — Minimal scaffold for quick prototyping. Use this when you are starting from scratch, want the bare minimum action shape, or need to validate the basic params-in / response-out flow before adding production concerns.
  • assets/action-boilerplate.js — Production-ready template with logging, input validation, error handling, and response formatting. Use this when the action is meant for production use, shared team handoff, or any implementation that should start with observability and defensive defaults already in place.
  • assets/database-action-template.js — Durable database CRUD starter with collection initialization, indexes, and document-style operations.
  • assets/event-webhook-template.js — Adobe I/O Events webhook receiver with challenge handling, signature verification, and idempotent event processing.
  • assets/event-provider-template.js — Custom event provider starter for bootstrapping provider metadata and publishing domain events.
  • assets/journaling-consumer-template.js — Scheduled journaling consumer that polls the journal, stores the cursor, and processes replayable event batches.
  • assets/large-payload-template.js — large payload response starter that writes oversized responses to Files storage and returns a redirect URL.
  • assets/action-sequence-template.js — Starter manifest and action layout for a linear action sequence pipeline.
  • assets/asset-compute-worker-template.js — Asset Compute worker scaffold for AEM rendition processing with the Asset Compute SDK.

Agent Integration

  • The agents/ directory stores agent-platform integration metadata that complements the standard skill directories.
  • agents/openai.yaml defines the OpenAI-facing skill configuration, including the display name, short description, and default prompt used to invoke this skill in OpenAI-compatible agent experiences.
  • Keep the core skill instructions in SKILL.md; use agents/ only for platform-specific integration details.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

32.56%
按下载量换算145

Claude

31.16%
按下载量换算138

Cursor

18.73%
按下载量换算83

Gemini CLI

9.09%
按下载量换算40

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

执行命令

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

安装前确认

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

来源信息

继续浏览同类 Skills