Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

app-builder-troubleshoot

БесплатноЗапускает вложенные скриптыНе проверен

Use when an Adobe App Builder app or action isn't working — phrases like "my action is failing", "why did my App Builder app fail", "my extension shows an…

adobeот adobe★ 342 звезды на GitHub

Об этом скилле

Mandatory prerequisite: Before starting this skill, read and apply Common Skill Rules.

Troubleshoot an App Builder app

Find out why the app or one of its actions fails, with evidence, in one table. This skill only reads until the developer agrees to a fix.

<skill-dir> below is the folder containing this SKILL.md. Run scripts as node "<skill-dir>/scripts/<name>.mjs" from the app folder (the one with app.config.yaml).

Step 0 — Report skill context

Call report_skill_context once with skill_name: "app-builder-troubleshoot" and skill_version: "1.0.0".

Step 1 — Where did it fail?

  1. No shell on the developer's own computer? Explain that this needs a desktop or terminal assistant on the machine that holds the app folder, then stop. A shell in a hosted sandbox doesn't count.
  2. Local or deployed? If the failure happened while running locally with aio app dev, nothing is recorded in Runtime. The dev output shows only the status, for example [serveWebAction generic] error: 401 Unauthorized. The reason (for example missing x-gw-ims-org-id header) is in the HTTP response body, which the developer can see in the browser's network tab.
    • If the dev server's output goes to logs/aio-dev.log (as the create-app skill sets it up), read it only redacted, and redact the whole log before taking its last lines (so a private key is never cut in half): node "<skill-dir>/scripts/redact-text.mjs" < logs/aio-dev.log | tail -n 80. PowerShell: Get-Content logs/aio-dev.log | node "<skill-dir>/scripts/redact-text.mjs" | Select-Object -Last 80.
    • If the developer runs aio app dev themselves, they can start it as aio app dev 2>&1 | node "<skill-dir>/scripts/redact-text.mjs", which redacts each line as it's printed, or paste the lines around the error into a file and you pass the file through redact-text.mjs.
    • Never quote dev output that didn't go through the redactor. If the redacted output ends with [REDACTED: sensitive value exceeded … lines; remaining log suppressed], the log contained a long value that looked like a secret and everything after it is hidden. Tell the developer, and ask them to look at the rest of the log themselves, without pasting it into the chat. Then go to Step 4.
  3. Deployed: the script reads the workspace the folder is linked to. If the developer means another workspace (for example Production), say so and offer to switch first using the app-builder-deploy skill's guarded switch.

Step 2 — Scope (ask only what's missing)

The defaults are all of the app's actions, the last hour, and failed runs only. Use what the developer already said ("the generic action", "all runs"). Pad vague times generously: "about 30 minutes ago" becomes --since 1h. Don't ask if the defaults are reasonable.

Step 3 — Find the runs

Run node "<skill-dir>/scripts/activations.mjs" from the app folder, with flags as needed:

  • --since 30m|2h|1d|<ISO date> and --until <ISO date>
  • --action <package/action> (repeatable; the bare action name also works)
  • --status failed (default), all, or one outcome: success, timeout, http, app, dev, sys
  • --json if you need to post-process
  • --time-limit-seconds 120 sets the total lookup time limit in seconds (default 120; positive whole number), for both list and --id detail lookups
  • --command-timeout-seconds <seconds> overrides the timeout of every CLI call, in either mode. Without it, configuration calls use 60 seconds, activation queries 90 seconds, and log fetches 30 seconds; each is still capped by the remaining total time limit.
  • --max-output-mb 64 limits captured output per CLI stream, in MiB (default 64), in either mode
  • --max-pages 4 and --page-size 50 control pages per action and records per page (defaults 4 and 50; page size 1–50)
  • --max-log-fetches 15 fetches logs for up to the first N displayed rows (default 15; 0 skips log fetching)
  • --limit 50 limits displayed rows (default 50); --log-lines 5 limits relevant log lines per table row (default 5)

Numeric options take positive whole numbers, except --max-log-fetches, which also accepts 0. Values and converted units must fit JavaScript's safe numeric range; output buffers cannot exceed Node's string-size limit. The previous fixed ceilings of 200 displayed rows and 2000 detail lines no longer apply: the requested counts are the limits. Larger counts can use more memory and take longer.

It checks each action of the app (including __secured_<action>, which is where a secured action's own code runs behind Adobe's sign-in check) page by page. Runtime records don't contain log lines, so it fetches them separately (aio rt activation logs) within the configured row budget. It redacts tokens, secrets, .env values and emails, and prints one table: time (local), action, outcome, duration, error, relevant log lines, activation id. Repeated errors are grouped beneath it. Show the table as is.

Полный SKILL.md на GitHub

Установить app-builder-troubleshoot в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

CHANGELOG.mdevals/evals.jsonreferences/common-rules.mdreferences/playbook.mdscripts/activations.mjsscripts/lib/activation.mjsscripts/lib/app-config.mjsscripts/lib/redact.mjsscripts/lib/report.mjsscripts/lib/run.mjsscripts/lib/runtime.mjsscripts/redact-text.mjs

FAQ

Что делает скилл app-builder-troubleshoot?

Use when an Adobe App Builder app or action isn't working — phrases like "my action is failing", "why did my App Builder app fail", "my extension shows an error", "show me the errors from the last hour", "App Builder logs", "activation failed", "my action times out", "500 from my action", "401 calling my action", "debug my App Builder app". Finds recent action runs by action, time window and outcome, shows them in one redacted table with repeated errors grouped, suggests the likely cause with evidence (checking the Adobe side through the connector where useful), and explains activations, logs, timeouts and platform errors.

Как установить скилл app-builder-troubleshoot?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл app-builder-troubleshoot запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить app-builder-troubleshoot с