Command Palette

Search for a command to run...

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

dev-console-subscribe-api

БесплатноБез исполняемых скриптовНе проверен

Use when the user wants to add, subscribe, enable, or integrate an Adobe API in an existing project — phrases like "add Analytics", "subscribe Firefly"…

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

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

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

Subscribe API Flow

Guide the user through subscribing an Adobe API to a credential in an existing project, step by step.

Before starting: invoke the dev-console-context skill to establish the org, project, and workspace. If the user wants a new project, invoke dev-console-create-project first and continue with the context it returns. After the workspace is selected or created, call get_credentials and immediately call get_credential_services for each returned credential before presenting the credentials and their subscriptions. Do not repeat these calls if the context skill already made them during this request.

Steps

  1. Find the API — If the user asks "what APIs are available", "show me available APIs", or similar, call list_services with filterBy: "enabled" and display only the enabled APIs as a list (name + description, no raw codes). If the user named a specific API, call list_services with filterBy: "enabled" to find its code and full details. Never guess an SDK code.

  2. Pick credential type — Always validate against the API's supported types — never skip this check because an existing credential was found. An API can have multiple enabled instances with different type values. Collect ALL enabled instances for the API code. Reuse a type already specified by the user if it is supported; otherwise:

    • Include admin_entp instances as Admin Enterprise credentials; do not filter them out or redirect the user to Console for creation or subscription.
    • If only one credential type → proceed with it automatically, including when that type is Admin Enterprise.
    • If multiple credential types → show them as a numbered list and ask: "This API supports multiple credential types. Which would you like to use?"
      1. Analytics credential (internal: analytics) — if an analytics instance is present
      2. User Auth (AdobeId) — for user-facing apps (internal: adobeid)
      3. OAuth Server-to-Server — for server-to-server access (internal: oauth_server_to_server, also used for entp)
      4. Admin Enterprise (internal: admin_entp) — if an admin_entp instance is present
    • Wait for the user to pick when multiple supported types remain unresolved. Do not auto-select based on what credentials already exist in the workspace.
    • Show only credential type names in this list — never mention existing credentials here. Do not append "subscribe to the existing X credential" or any reference to existing workspace credentials. Existing credential lookup happens after the type is chosen.
  3. Check for product profiles — After the credential type is decided, inspect its properties.licenseConfigs array from the matching API instance:

    • If it is non-empty: present the profiles as a numbered list (show name, never raw id or productId) and tell the user: "You can select one or more of these profiles." Collect their choices — you'll need the selected profiles' id and productId fields when subscribing.
    • If it is empty or absent: continue with no licenseConfigs.
    • This step must complete before any credential creation or subscription call — even when creating a new credential. Never pass services to create_oauth_s2s_credential until licenseConfigs have been resolved.
  4. Subscribe — Use a credential of the selected type from the chosen workspace. If several matching credentials exist, ask the user to choose by credential name. If none exists, create one using Credential creation inputs below. For a newly created project, use the selected workspace ID from the creation/context flow for every credential creation and subscription call. For an App Builder project, preserve the user's Production or Stage selection; never replace a selected Stage workspace with Production. Automatically use Production only for a default project with a single workspace. If no workspace has been selected, use the returned workspace details or call list_workspaces to resolve the selection before proceeding. If the selected type is User Auth (AdobeId), call list_workspaces to confirm the selected workspace before creating that credential; this confirmation must not change the user's selection.

    Admin Enterprise credential (admin_entp):

    • For a new credential, call create_admin_enterprise_credential with consumerOrgId, projectId, workspaceId, the creation inputs below, and services including any product profiles selected in step 3. This creates the credential and subscribes the API in one call.
    • For an existing credential, call subscribe_admin_enterprise_credential_to_services with consumerOrgId, credentialId, and services including any product profiles selected in step 3. No project or workspace ID is required by this tool; choose only a credential
Полный SKILL.md на GitHub

Установить dev-console-subscribe-api в Claude Code и Claude Desktop

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

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

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

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

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

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

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

CHANGELOG.mdevals/evals.jsonreferences/common-rules.md

FAQ

Что делает скилл dev-console-subscribe-api?

Use when the user wants to add, subscribe, enable, or integrate an Adobe API in an existing project — phrases like "add Analytics", "subscribe Firefly", "enable API", "add API to project", "create credential", "set up OAuth S2S", "subscribe to service", "add service", "connect API", "integrate Adobe API", "I need access to", "set up credentials for", "provision API", "provision access", "get API access", "generate credentials", "new credential", "create OAuth", "create S2S". Handles finding the API, picking a credential type, selecting product profiles, creating a credential if needed, and subscribing to the API. For a new project, use dev-console-create-project first.

Как установить скилл dev-console-subscribe-api?

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

Скилл dev-console-subscribe-api запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

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

Сравнить dev-console-subscribe-api с