重要前提
安装AI Skills的关键前提是:必须科学上网,且开启TUN模式,这一点至关重要,直接决定安装能否顺利完成,在此郑重提醒三遍:科学上网,科学上网,科学上网。查看完整安装教程 →
chrome-webstore-release-blueprint by brianlovin/claude-config
npx skills add https://github.com/brianlovin/claude-config --skill chrome-webstore-release-blueprint将此技能用作实践设置指南。智能体应逐步引导用户,请求确认,并仅自动化可在本地/CI 中完成的部分。
PUBLISHED、PENDING_REVIEW 等)。gh 可用,提供密钥上传自动化;如果不可用,则提供手动备用方案。收集以下输入:
main、标签或手动触发).env、 等)广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
.env.local明确询问:
gh 连接 GitHub 密钥上传?”告知用户打开:
https://console.cloud.google.com/apis/library/chromewebstore.googleapis.com用户操作:
Enable。智能体提示示例:
告知用户打开以下之一:
https://console.cloud.google.com/apis/credentials/consent用户操作:
External 用户类型(适用于非 Workspace 内部应用)。智能体指导:
告知用户打开:
https://console.cloud.google.com/apis/credentials用户操作:
Create Credentials -> OAuth client ID。Web application。https://developers.google.com/oauthplayground捕获值:
CWS_CLIENT_IDCWS_CLIENT_SECRET智能体提示示例:
CWS_CLIENT_ID 和 CWS_CLIENT_SECRET(我将把它们视为密钥)。"告知用户打开:
https://developers.google.com/oauthplayground/用户操作:
Use your own OAuth credentials。CWS_CLIENT_ID 和 CWS_CLIENT_SECRET。https://www.googleapis.com/auth/chromewebstoreAuthorize APIs。Exchange authorization code for tokens。捕获值:
CWS_REFRESH_TOKEN智能体提示示例:
CWS_REFRESH_TOKEN。我将仅将其放置在本地密钥存储/CI 密钥中。”捕获:
CWS_EXTENSION_ID(来自商店/开发者列表 URL 的扩展项 ID)CWS_PUBLISHER_ID(来自 Chrome Web Store 开发者账户上下文的开发者/发布者 ID)智能体指令:
在全部五项都存在之前,请勿继续:
CWS_CLIENT_IDCWS_CLIENT_SECRETCWS_REFRESH_TOKENCWS_PUBLISHER_IDCWS_EXTENSION_ID创建一个本地模板文件(不提交真实值):
CWS_CLIENT_ID=
CWS_CLIENT_SECRET=
CWS_REFRESH_TOKEN=
CWS_PUBLISHER_ID=
CWS_EXTENSION_ID=
确保真实的密钥文件路径被 git 忽略。
如果使用 GitHub Actions,询问用户是否希望使用 gh 自动化。
如果是,请验证:
gh --version
gh auth status
如果缺少 gh 身份验证,请告知用户运行:
gh auth login然后实现一个辅助脚本,该脚本:
--dry-rungh secret set ... --repo ... 上传如果用户拒绝使用 gh,请提供仓库设置的手动密钥输入清单。
围绕以下逻辑设计 CI 工作流:
POST https://oauth2.googleapis.com/tokenGET https://chromewebstore.googleapis.com/v2/publishers/<publisherId>/items/<extensionId>:fetchStatuspublishedItemRevisionStatus.distributionChannels[0].crxVersionPOST https://chromewebstore.googleapis.com/upload/v2/publishers/<publisherId>/items/<extensionId>:uploadPOST https://chromewebstore.googleapis.com/v2/publishers/<publisherId>/items/<extensionId>:publish将这些发布状态视为成功的提交:
PENDING_REVIEWPUBLISHEDPUBLISHED_TO_TESTERSSTAGED创建一个专门用于“最新提交状态是什么?”的脚本。
所需行为:
--env-file)--manifest 用于本地版本比较--jsonfetchStatusitemIdlocalVersionpublishedVersionpublishedStatesubmittedVersionsubmittedStateupToDatependingReview包含的有用检查:
--json 时,打印简洁的人工摘要与用户一起运行此流程:
PENDING_REVIEWinvalid_grant:403:https://developer.chrome.com/docs/webstore/using-apihttps://developer.chrome.com/docs/webstore/publishhttps://developers.google.com/oauthplayground/https://console.cloud.google.com/apis/library/chromewebstore.googleapis.comhttps://console.cloud.google.com/apis/credentials每周安装数
50
仓库
GitHub 星标数
279
首次出现
2026年2月18日
安全审计
安装于
claude-code40
opencode32
codex31
github-copilot30
kimi-cli30
gemini-cli30
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.
PUBLISHED, PENDING_REVIEW, etc.).gh is available, offer secret upload automation; if not, provide manual fallback.Collect these inputs:
main, tags, or manual dispatch).env, .env.local, etc.)Ask explicitly:
gh?"Tell user to open:
https://console.cloud.google.com/apis/library/chromewebstore.googleapis.comUser actions:
Enable for Chrome Web Store API.Agent prompt example:
Tell user to open one of:
https://console.cloud.google.com/apis/credentials/consentUser actions:
External user type (for non-Workspace internal apps).Agent guidance:
Tell user to open:
https://console.cloud.google.com/apis/credentialsUser actions:
Create Credentials -> OAuth client ID.Web application.https://developers.google.com/oauthplaygroundCapture values:
CWS_CLIENT_IDCWS_CLIENT_SECRETAgent prompt example:
CWS_CLIENT_ID and CWS_CLIENT_SECRET when ready (I will treat them as secrets)."Tell user to open:
https://developers.google.com/oauthplayground/User actions:
Use your own OAuth credentials.CWS_CLIENT_ID and CWS_CLIENT_SECRET.https://www.googleapis.com/auth/chromewebstoreAuthorize APIs.Exchange authorization code for tokens.Capture value:
CWS_REFRESH_TOKENAgent prompt example:
CWS_REFRESH_TOKEN now. I will only place it in local secret storage/CI secrets."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:
Do not proceed until all five exist:
CWS_CLIENT_IDCWS_CLIENT_SECRETCWS_REFRESH_TOKENCWS_PUBLISHER_IDCWS_EXTENSION_IDCreate 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 loginThen implement a helper script that:
--dry-rungh secret set ... --repo ...If user declines gh, provide manual secret entry checklist for repository settings.
Design the CI workflow around this logic:
POST https://oauth2.googleapis.com/tokenGET https://chromewebstore.googleapis.com/v2/publishers/<publisherId>/items/<extensionId>:fetchStatuspublishedItemRevisionStatus.distributionChannels[0].crxVersionPOST https://chromewebstore.googleapis.com/upload/v2/publishers/<publisherId>/items/<extensionId>:uploadPOST https://chromewebstore.googleapis.com/v2/publishers/<publisherId>/items/<extensionId>:publishTreat these publish states as successful submission:
PENDING_REVIEWPUBLISHEDPUBLISHED_TO_TESTERSSTAGEDCreate a script dedicated to "what is the latest submission state?".
Required behavior:
--env-file)--manifest for local version comparison--jsonfetchStatusitemIdlocalVersionpublishedVersionpublishedStatesubmittedVersionsubmittedStateHelpful checks to include:
--json is not usedRun this with the user:
PENDING_REVIEW first in many casesinvalid_grant:403 from CWS endpoint:https://developer.chrome.com/docs/webstore/using-apihttps://developer.chrome.com/docs/webstore/publishhttps://developers.google.com/oauthplayground/https://console.cloud.google.com/apis/library/chromewebstore.googleapis.comhttps://console.cloud.google.com/apis/credentialsWeekly Installs
50
Repository
GitHub Stars
279
First Seen
Feb 18, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykFail
Installed on
claude-code40
opencode32
codex31
github-copilot30
kimi-cli30
gemini-cli30
Azure Data Explorer (Kusto) 查询技能:KQL数据分析、日志遥测与时间序列处理
145,500 周安装
upToDatependingReview