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★ 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?
- 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.
- 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 examplemissing 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 devthemselves, they can start it asaio 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 throughredact-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.
- If the dev server's output goes to
- 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-deployskill'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--jsonif you need to post-process--time-limit-seconds 120sets the total lookup time limit in seconds (default 120; positive whole number), for both list and--iddetail 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 64limits captured output per CLI stream, in MiB (default 64), in either mode--max-pages 4and--page-size 50control pages per action and records per page (defaults 4 and 50; page size 1–50)--max-log-fetches 15fetches logs for up to the first N displayed rows (default 15; 0 skips log fetching)--limit 50limits displayed rows (default 50);--log-lines 5limits 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.
Установить app-builder-troubleshoot в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
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 запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic