chrome-extension-e2e-automation
Skill2 starsChanged 8 months agoApache-2.0View on GitHub
End-to-end Chrome extension automation skill. Use when a user wants one-command workflow from dev validation to Chrome Web Store release artifacts: manifest/JS checks, privacy-policy/.gitignore baseline, permission audit, deterministic ZIP packaging, store assets generation+validation, and bilingual (ZH/EN) CWS draft output.
In this repository27 other files it gives its agents.
- ai-hotspot-collectorSkill
- article-multi-publisherSkill
- article-pipeline-skillSkill
- character-ip-risk-checkSkill
- chrome-extension-devSkill
- chrome-extension-publishSkill
- chrome-extension-social-promoSkill
- chrome-webstore-image-generatorSkill
- code-reviewSkill
- fund-querySkill
- github-trending-writerSkill
- lark-workflow-doc-to-slidesSkill
- notionSkill
- playwright-twitter-accessSkill
- post-to-xhsSkill
- rewrite-skillSkill
- small-capital-investingSkill
- technical-article-preflightSkill
- technical-article-reviewSkill
- technical-spoken-rewriteSkill
- tencent-dev-community-publisherSkill
- toutiao-publisherSkill
- url-readerSkill
- wechat-article-formatterSkill
- wechat-article-generatorSkill
- wechat-publisherSkill
- wechat-sticker-publisherSkill
The file
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 3 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 10
Use this skill when the user asks for one-command automation across development checks and publish readiness.
- Very specific: line 53
If --icon-source is not provided, it auto-tries manifest icons (icons, action.default_icon).
- Very specific: line 54
If extension icons are missing, it auto-generates icons/icon16.png, icons/icon48.png, icons/icon128.png, and patches manifest.json.
- Very specific: line 55
If assets are enabled and no --inputs are provided, it auto-runs screenshot capture with Playwright first (preferred path).
- Distinctive: line 59
If Playwright is missing and no image input is provided, it fails with install instructions.
- Very specific: line 97
Do not pass --root/--manifest as forwarded flags.
- Very specific: line 119
Default packaging mode is manifest with transitive local dependency inclusion.
- Distinctive: line 131
If pipeline fails, read references/troubleshooting.md.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Chrome Extension E2E Automation
Overview
Use this skill when the user asks for one-command automation across development checks and publish readiness. This skill orchestrates existing Chrome extension skills into a single deterministic pipeline.
When To Use
Trigger this skill when user intent matches:
- "全链路自动化"
- "一键发布准备"
- "开发完直接出发布包"
- "端到端生成发布物料"
- "one command pipeline for chrome extension release"
Typical targets:
- Any MV3 extension directory with
manifest.json - First release or update release preparation
- Teams that need repeatable outputs in
release/
Core Command
Run from anywhere:
python3 scripts/run_e2e_extension_pipeline.py \
--root /abs/path/to/extension \
--icon-source /abs/path/to/icon.png \
--include-marqueeThis command performs:
- Extension icon bootstrap (
icons/icon16|48|128+ manifest mapping) - Dev checks (manifest JSON + JS syntax)
- Popup UI audit (width guardrail, media reset check, icon quality)
- Publish baseline prep (
privacy-policy.md,.gitignore) - Permission audit
- Deterministic ZIP packaging
- Store assets generation + validation
- Bilingual CWS listing draft generation
- Pipeline summary output
- Optional popup preview capture (
--capture-popup-preview) - Optional Playwright dashboard submission (
--submit-playwright)
Auto Behavior
- If
--icon-sourceis not provided, it auto-tries manifest icons (icons,action.default_icon). - If extension icons are missing, it auto-generates
icons/icon16.png,icons/icon48.png,icons/icon128.png, and patchesmanifest.json. - If assets are enabled and no
--inputsare provided, it auto-runs screenshot capture with Playwright first (preferred path). - This auto-capture priority applies even if old screenshots already exist under
release/store-assets/screenshots. - It runs popup UI quality audit by default and fails fast when popup width is too small or icon remains fallback style.
- Popup preview capture is optional and only runs when
--capture-popup-previewis set. - If Playwright is missing and no image input is provided, it fails with install instructions.
Pass-Through Flags
Any unknown flags are forwarded to:
chrome-extension-publish/scripts/run_full_release_pipeline.py
Useful forwarded flags:
--inputs ...--capture-screenshots--skip-assets--skip-docs--mode source--zip-out ...--listing-out ...--submit-playwright--submit-item-id ...--submit-item-name ...--submit-locale zh|en--submit-privacy-policy-url ...--submit-for-review
Wrapper-only flags:
--skip-icon-bootstrap--skip-dev-checks--skip-manifest-check--skip-js-check--no-auto-capture-if-no-inputs--skip-ui-audit--popup-audit-out ...--min-popup-width ...--capture-popup-preview--skip-popup-preview(deprecated compatibility flag)--popup-preview-out ...--popup-preview-size ...--popup-preview-headless
Do not pass --root/--manifest as forwarded flags; use wrapper flags instead.
Output Contract
Expected artifacts under extension root:
release/chrome-webstore.ziprelease/permission-audit.mdrelease/popup-ui-audit.mdrelease/store-assets/*release/cws-listing.zh-en.mdrelease/full-release-summary.md- root
privacy-policy.md
Optional artifact (only when --capture-popup-preview is used):
release/store-assets/screenshots/popup-preview-620x760.png
Optional artifact (only when --submit-playwright is used):
release/cws-submit-proof.png
Guardrails
- Privacy policy canonical path is fixed:
privacy-policy.md(root). - Default packaging mode is
manifestwith transitive local dependency inclusion. - Store icon must not silently degrade to screenshot-derived icon; explicit icon source is preferred.
- Listing content must contain both Chinese and English blocks.
Scripts
scripts/run_e2e_extension_pipeline.py: unified entrypoint.scripts/audit_popup_ui.py: popup width/icon/style guardrail checks.scripts/capture_popup_preview.py: optional real popup preview capture.
References
- If pipeline fails, read references/troubleshooting.md.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

