Skip to content
AI & Agents
Skill

/appbuilder-action-scaffolder

Create, implement, deploy, and debug Adobe Runtime actions with consistent layout, validation, and error handling. Use this skill whenever the user needs to add actions to an App Builder project, understand action structure (params, response format, web/raw actions), configure

From plugin
skills
338183 skills5 MCP

Claude Code

$ npx -y skills add adobe/skills --skill appbuilder-action-scaffolder --agent claude-code

SKILL.md

appbuilder-action-scaffolder.SKILL.md
name: appbuilder-action-scaffolder
description: Create, implement, deploy, and debug Adobe Runtime actions with consistent layout, validation, and error handling. Use this skill whenever the user needs to add actions to an App Builder project, understand action structure (params, response format, web/raw actions), configure actions in the manifest, use App Builder SDKs (State, Files, Events, database), deploy and invoke actions via CLI, debug action issues, or implement patterns such as webhook receivers, custom event providers, journaling consumers, large payload redirects, action sequence pipelines, and Asset Compute workers. Also trigger when users mention serverless functions in Adobe context, action logging, IMS authentication for actions, or cron-style scheduled actions.
metadata:
  category: action-lifecycle
license: Apache-2.0
compatibility: Requires aio CLI (Adobe I/O CLI), Node.js 20.17+ (required by `@adobe/aio-cli` 11), and Python 3 for manifest validation
allowed-tools: Bash(aio:*) Bash(npm:*) Bash(node:*) Bash(python3:*) Read Write Edit

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`.

> Building a **Workfront** extension? The Workfront-specific action layer — the `{ data, error }` response contract, IMS-token passthrough from the SPA, and Workfront's own Public API v21 — is in `workfront-actions`. Use this skill for generic action patterns, templates, and the App Builder SDKs.

Pattern Quick-Reference

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

| User wants | Template | | --- | --- | | Simple action / generic starting point | assets/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 provider | assets/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 pipeline | assets/action-sequence-template.js | | Asset Compute worker (AEM renditions) | assets/asset-compute-worker-template.js | | Debug Runtime action issues | references/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 webho
Read more
@adobe
Ships withskills

Skills that teach AI coding agents to work with Adobe products. A skill is a folder with a SKILL.md that an agent loads when a task calls for it (agentskills.io).

338183 skills5 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
338
Star history of adobe/skills on GitHub, a chart by star-history.com

Other skills on skills.

aa-conversion-funnel-analysis

aa-conversion-funnel-a…

Analyzes a multi-step conversion funnel to find where visitors drop off and which steps have the worst leakage. Use this skill…

@adobe@adobeInstall Skill
aa-executive-briefing

aa-executive-briefing

Generates a concise, executive-ready performance summary covering key metrics, trends, and what's driving movement. Use this…

@adobe@adobeInstall Skill
aa-kpi-pulse

aa-kpi-pulse

Produces a compact KPI digest showing how key metrics changed over a period and what's driving the movement. Use this skill when…

@adobe@adobeInstall Skill
aa-top-movers-watchlist

aa-top-movers-watchlis…

Identifies which items (pages, campaigns, products, channels, regions) had the biggest increases or decreases for a key metric…

@adobe@adobeInstall Skill
cja-dimension-analysis

cja-dimension-analysis

Comprehensive dimension analysis and reporting for CJA. Use this skill whenever the user wants to analyze one or more dimensions…

@adobe@adobeInstall Skill

More skills from other plugins.

1password

1password

Set up and use 1Password CLI for sign-in, desktop integration, and reading or injecting secrets.

openclaw3w393k
@openclaw@openclawInstall Skill

Questions about appbuilder-action-scaffolder.

Which coding agents can use appbuilder-action-scaffolder?
appbuilder-action-scaffolder installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.