writing-skills
writing-skills
Use when creating new skills, editing existing skills, or verifying skills work before deployment
appbuilder-action-scaffolderCreate, 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), d…
Independent GitHub snapshot · Automated classification · Original documentation governs
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 inworkfront-actions. Use this skill for generic action patterns, templates, and the App Builder SDKs.
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 |
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:
assets/event-webhook-template.js, scaffold directlyassets/asset-compute-worker-template.js, scaffold directlyassets/database-action-template.js, scaffold directlyassets/action-boilerplate.js, scaffold directlyIf 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.
src/<extension-dir>/actions/<action-name>/index.js. This keeps paths aligned with the generated extension layout.src/<extension-dir>/ext.config.yaml. Do not put a root-level runtimeManifest in app.config.yaml; the CLI silently ignores it.src/dx-excshell-1/ — Experience Cloud Shell SPA (default)src/aem-cf-console-admin-1/ — AEM Content Fragment Console extensionsrc/dx-asset-compute-worker-1/ — Asset Compute worker
Use the actual directory name from your project's app.config.yaml $include entries.{ statusCode, body } for standard web actions; add headers only when needed.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.references/playbook.md for this capability.references/checklist.md before final handoff.references/playbook.md for detailed execution guidance.references/checklist.md for pre-handoff validation.references/prompt-pack.md for ready-to-use execution prompts.references/runtime-reference.md for action structure, params, response formats, SDK usage, and CLI operations.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.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.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.../_shared/categories/architecture-runtime.md for Adobe service-specific guidance.application.runtimeManifest in app.config.yaml.runtimeManifest; App Builder CLI ignores it for action configuration.python3 ../_shared/scripts/validate_manifest_structure.py <path-to-app.config.yaml>.../_shared/references/appbuilder-manifest-guardrail.md for valid and invalid examples.application.runtimeManifest (or the extension ext.config.yaml pattern), run the manifest validator, run npm install, then retry aio app deploy.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.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.references/implementation-template.md to structure delivery artifacts for this high-frequency capability.scripts/accelerator.py to generate an execution checklist from request context.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.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.SKILL.md; use agents/ only for platform-specific integration details.