Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问许可证需确认审计异常

chrome-webstore-release-blueprintChrome 网上应用店发布蓝图

Agent Skill

chrome-webstore-release-blueprint 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

194

周安装

8

GitHub Stars

333

下载量

63
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:chrome-webstore-release-blueprint(Chrome 网上应用店发布蓝图)
来源仓库:https://github.com/brianlovin/agent-config
仓库路径:skills/chrome-webstore-release-blueprint
安装命令:
npx skills add https://github.com/brianlovin/agent-config --skill chrome-webstore-release-blueprint
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/brianlovin/agent-config --skill chrome-webstore-release-blueprint

简介

分步引导设置 Chrome 网上应用店发布自动化流程。

  • 区分可自动化与需人工完成的 Google 仪表盘操作。
  • 提供 CI 集成建议与提交状态查询方法。
  • 强调凭证安全与流程透明度,避免黑箱操作。
  • chrome-webstore-release-blueprint 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Chrome Web Store Release Blueprint

Use this skill as a hands-on setup guide. The agent should lead the user step-by-step, ask for confirmations, and only automate the parts that can be done locally/in CI.

What This Skill Is For

  • Helping a user set up Chrome Web Store release automation from scratch.
  • Giving clear manual instructions for Google/CWS dashboard steps.
  • Implementing repo-side scripts/workflows after the user provides credentials.
  • Verifying submission state (PUBLISHED, PENDING_REVIEW, etc.).

Agent Behavior Rules

  • Treat dashboard/OAuth tasks as user-driven; do not imply you performed them.
  • Give one clear step at a time and wait for confirmation before moving on.
  • Ask for exact values only when needed, and tell user where each value comes from.
  • Mask secrets in logs and never commit secret values to git.
  • If gh is available, offer secret upload automation; if not, provide manual fallback.

Step 1: Project Discovery (Before Any Credential Work)

Collect these inputs:

  • manifest path containing extension version
  • build command
  • zip/package command and output file name/path
  • CI platform (GitHub Actions by default)
  • release branch policy (main, tags, or manual dispatch)
  • local secret file convention (.env, .env.local, etc.)

Ask explicitly:

  • "Do you want CI to publish only when version changes?"
  • "Do you want me to wire GitHub secret upload via gh?"

Step 2: Detailed Credential Walkthrough (User + Agent)

2.1 Enable API in Google Cloud

Tell user to open:

  • https://console.cloud.google.com/apis/library/chromewebstore.googleapis.com

User actions:

  1. Select the intended Google Cloud project.
  2. Click Enable for Chrome Web Store API.

Agent prompt example:

  • "When Chrome Web Store API shows as Enabled, tell me and I will move to OAuth setup."

2.2 Configure OAuth Consent Screen

Tell user to open one of:

  • https://console.cloud.google.com/apis/credentials/consent
  • If UI redirects, continue in Google Auth Platform consent screen pages.

User actions:

  1. Choose External user type (for non-Workspace internal apps).
  2. Fill app name, support email, developer contact email.
  3. Save and continue through scopes unless custom scopes are required.
  4. Add your own Google account as a test user if app is in Testing mode.
  5. Save.

Agent guidance:

  • If user wants stable long-lived refresh token behavior, recommend moving consent screen to Production when ready.

2.3 Create OAuth Client

Tell user to open:

  • https://console.cloud.google.com/apis/credentials

User actions:

  1. Click Create Credentials -> OAuth client ID.
  2. Choose application type Web application.
  3. Add authorized redirect URI exactly:
  • https://developers.google.com/oauthplayground
  1. Create client.

Capture values:

  • CWS_CLIENT_ID
  • CWS_CLIENT_SECRET

Agent prompt example:

  • "Paste CWS_CLIENT_ID and CWS_CLIENT_SECRET when ready (I will treat them as secrets)."

2.4 Generate Refresh Token (OAuth Playground)

Tell user to open:

  • https://developers.google.com/oauthplayground/

User actions:

  1. Click the settings gear icon.
  2. Enable Use your own OAuth credentials.
  3. Paste CWS_CLIENT_ID and CWS_CLIENT_SECRET.
  4. In Step 1, enter scope:
  • https://www.googleapis.com/auth/chromewebstore
  1. Click Authorize APIs.
  2. Sign in with the same Google account that owns/publishes the extension.
  3. Click Exchange authorization code for tokens.
  4. Copy refresh token.

Capture value:

  • CWS_REFRESH_TOKEN

Agent prompt example:

  • "Paste CWS_REFRESH_TOKEN now. I will only place it in local secret storage/CI secrets."

2.5 Capture Store IDs

Capture:

  • CWS_EXTENSION_ID (the extension item ID from store/developer listing URL)
  • CWS_PUBLISHER_ID (developer/publisher ID from Chrome Web Store developer account context)

Agent instruction:

  • If user is unsure, ask them to open the Chrome Web Store Developer Dashboard and copy IDs from item/account URLs or account details.

2.6 Credential Checklist

Do not proceed until all five exist:

  • CWS_CLIENT_ID
  • CWS_CLIENT_SECRET
  • CWS_REFRESH_TOKEN
  • CWS_PUBLISHER_ID
  • CWS_EXTENSION_ID

Step 3: Local Secret File and CI Secret Setup

Create a local template file (no real values committed):

CWS_CLIENT_ID=
CWS_CLIENT_SECRET=
CWS_REFRESH_TOKEN=
CWS_PUBLISHER_ID=
CWS_EXTENSION_ID=

Ensure real secret file path is gitignored.

If using GitHub Actions, ask user if gh automation is desired.

If yes, verify:

gh --version
gh auth status

If gh auth is missing, tell user to run:

  • gh auth login

Then implement a helper script that:

  • reads secret values from local env file
  • validates all required keys are present
  • supports --dry-run
  • masks values in dry-run output
  • uploads with gh secret set... --repo...
  • fails fast on missing keys/auth

If user declines gh, provide manual secret entry checklist for repository settings.

Step 4: Release Workflow Blueprint (Version-Triggered)

Design the CI workflow around this logic:

  1. Read local manifest version.
  2. Optionally compare with a secondary version file and fail on mismatch.
  3. Exchange refresh token for access token:
  • POST https://oauth2.googleapis.com/token
  1. Fetch CWS status:
  • GET https://chromewebstore.googleapis.com/v2/publishers/<publisherId>/items/<extensionId>:fetchStatus
  1. Extract current published version from:
  • publishedItemRevisionStatus.distributionChannels[0].crxVersion
  1. If local version == published version, skip publish.
  2. If version changed:
  • build package zip
  • upload zip: POST https://chromewebstore.googleapis.com/upload/v2/publishers/<publisherId>/items/<extensionId>:upload
  • handle async upload state with polling when needed
  • publish: POST https://chromewebstore.googleapis.com/v2/publishers/<publisherId>/items/<extensionId>:publish

Treat these publish states as successful submission:

  • PENDING_REVIEW
  • PUBLISHED
  • PUBLISHED_TO_TESTERS
  • STAGED

Step 5: Submission Status Checker Blueprint

Create a script dedicated to "what is the latest submission state?".

Required behavior:

  • accepts env values (and optional --env-file)
  • optionally accepts --manifest for local version comparison
  • supports --json
  • calls token endpoint + fetchStatus
  • outputs normalized fields:

- itemId - localVersion - publishedVersion - publishedState - submittedVersion - submittedState - upToDate - pendingReview

  • exits non-zero on auth/API/input errors

Helpful checks to include:

  • flag version mismatch between manifest and package metadata
  • show whether uploaded version is pending review but not yet published
  • print concise human summary when --json is not used

Step 6: Guided Verification Flow

Run this with the user:

  1. Confirm status checker runs successfully before release.
  2. Bump extension version (patch) in all version sources.
  3. Push branch and trigger workflow.
  4. Confirm workflow either:
  • skips (if no version change), or
  • uploads and submits publish.
  1. Re-run status checker:
  • expect PENDING_REVIEW first in many cases
  • later expect published channel to match local version

Troubleshooting Script (What Agent Should Say)

  • invalid_grant:
  • likely wrong/expired refresh token, wrong OAuth client, or wrong account
  • 403 from CWS endpoint:
  • account lacks publisher permissions for that extension
  • workflow no-op:
  • local version equals published version by design
  • upload failure:
  • inspect API response and packaged zip structure/manifest validity
  • version mismatch guard failure:
  • align all declared version files before publishing

Practical Links (Share During Guidance)

  • Chrome Web Store API overview: https://developer.chrome.com/docs/webstore/using-api
  • Publish endpoint: https://developer.chrome.com/docs/webstore/publish
  • OAuth Playground: https://developers.google.com/oauthplayground/
  • API enablement page: https://console.cloud.google.com/apis/library/chromewebstore.googleapis.com
  • Credentials page: https://console.cloud.google.com/apis/credentials

Guardrails

  • Never commit credentials.
  • Never hardcode secrets in workflow YAML.
  • Never auto-publish every push without version comparison.
  • Keep setup instructions explicit and user-confirmed at each manual step.
  • Prefer repeatable helper scripts over ad-hoc one-off commands.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

35.67%
按下载量换算22

Claude

32.83%
按下载量换算21

Cursor

19.48%
按下载量换算12

Gemini CLI

9.73%
按下载量换算6

安全审计

Gen Agent Trust Hub

通过

Socket

未通过

Snyk

未通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills