Token导航 LogoToken导航TokenDH.com
运维和基础设施操作浏览器github未标认证来源可访问许可证需确认审计提醒

storefront-branding店面品牌

Agent Skill

storefront-branding 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

371

周安装

15

GitHub Stars

公开资料未说明

下载量

116
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:storefront-branding(店面品牌)
来源仓库:https://github.com/davidsiguenza/cc-b2c-sfnext-brand-demo
仓库路径:skills/storefront-branding
安装命令:
npx skills add https://github.com/davidsiguenza/cc-b2c-sfnext-brand-demo --skill storefront-branding
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/davidsiguenza/cc-b2c-sfnext-brand-demo --skill storefront-branding

简介

storefront-branding 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息。

  • 它适合在 Codex、Claude、Cursor、Gemini CLI 中围绕仓库状态、代码变更或协作事项进行整理时使用。
  • 可结合来源仓库、安装命令和原始 README 继续核验具体用法。
  • 安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。
  • 安装命令:npx skills add https://github.com/davidsiguenza/cc-b2c-sfnext-brand-demo --skill storefront-branding

SKILL.md

Storefront Branding

Overview

Use this skill to run the branded demo flow for a Storefront Next project and to bootstrap the branding hooks when the target repo is still a clean template.

This skill is self-contained:

  • scripts/webcrawler/ vendors the crawler/runtime used by the preview and apply flow. If node_modules is absent, scripts/webcrawler/scripts/run-webcrawler.sh installs the pinned dependency set from package-lock.json on first run.
  • scripts/bootstrap-storefront-next-template.mjs bootstraps the required branding hooks into a clean storefront-next-template clone.
  • references/branded-demo-playbook.md contains the agent-facing version of the branded demo workflow that previously lived only in repo docs.
  • references/storefront-next-template-bootstrap.md explains how to wire a clean storefront-next-template clone before running the crawler.
  • references/storefront-next-hooks.md defines the hook contract that the workflow expects.
  • assets/template-bootstrap/src/config/branding-presets.ts is the minimal starter file for a stock template.
  • scripts/audit-storefront-next.mjs verifies whether a repo is ready for the workflow.

Workflow

  1. Determine the brand id.

- Prefer an explicit user-provided name. - Otherwise derive it from the site or domain and keep it lowercase/hyphenated.

  1. Audit the storefront before running the crawler.

- Run:

node ./.agents/skills/storefront-branding/scripts/audit-storefront-next.mjs [target-path]
  • Confirm these hook points exist and are wired for branding: src/config/branding-presets.ts, src/app.css, src/root.tsx, src/routes/_app._index.tsx, src/components/header/index.tsx, and PUBLIC__app__global__branding__name in .env.default or .env.
  • If the audit fails for a clean storefront-next-template, run:
node ./.agents/skills/storefront-branding/scripts/bootstrap-storefront-next-template.mjs [target-path]
  • The bootstrap script copies the bundled template-ready files, reruns the audit, and exits non-zero if the repo does not still look like the stock template. Use --force only when you intentionally want to overwrite those template files.
  • If the repo is not a stock template, use references/storefront-next-hooks.md and adapt the equivalent files rather than forcing exact paths.
  • Do not depend on repo-level docs to understand or complete the integration.
  1. Treat the first pass as preview-only.

- Do not patch the storefront on the first request unless the user explicitly says to skip review. - Prefer the guided review session for conversational requests such as "quiero hacer un nuevo branding para https://...":

./.agents/skills/storefront-branding/scripts/start-brand-review.sh "<url>" [brand-id]
  • This command creates .webcrawler/<brand-id>/overrides.json immediately, generates the first preview, starts a localhost review server, and lets the user save overrides, regenerate the preview, and apply the final brand directly from the browser.
  • If a local review server is not wanted, fall back to the lower-level preview command:
./.agents/skills/storefront-branding/scripts/preview-brand.sh "<url>" "<brand-id>"
  • Add --display-name "<name>", --overrides "<file>", or other extra brand arguments after the first two positional arguments when needed.
  1. Return the preview to the user.

- Always report these paths: - .webcrawler/<brand-id>/preview.html - .webcrawler/<brand-id>/page.json - .webcrawler/<brand-id>/analysis.json - If start-brand-review.sh was used, return the localhost preview URL printed by the script and tell the user they can save/regenerate/apply from the preview UI itself. - If the lower-level preview command was used and the user explicitly wants a localhost URL, serve .webcrawler/<brand-id>/ with a simple local static server available in the environment and give them http://127.0.0.1:<port>/preview.html.

  1. Tell the user exactly how to review the preview.

- Open preview.html. - In Selected assets, click Change image on the slot to adjust. - In Detected candidate families, pick a family or expand variations to choose a specific size/format. - In Brand colors, adjust the detected color tokens when the palette needs manual tuning. - Copy the Overrides JSON block and send it back, or save/regenerate directly from the guided localhost review session.

  1. When the user sends overrides JSON, save it and regenerate the preview only.
./.agents/skills/storefront-branding/scripts/preview-brand.sh \
  "<url>" \
  "<brand-id>" \
  --overrides ".webcrawler/<brand-id>/overrides.json"
  • Keep the same brand id and output directory on every iteration.
  • Return the refreshed preview path or localhost URL.
  • Repeat until the user explicitly approves the result.
  • If the preview is running inside the guided review session, the user can save overrides and trigger regeneration directly from the browser instead of pasting JSON back into chat.
  1. Only after approval, apply the brand to the storefront.
./.agents/skills/storefront-branding/scripts/apply-brand.sh \
  "<url>" \
  "<brand-id>" \
  --replace \
  --overrides ".webcrawler/<brand-id>/overrides.json"
  • apply-brand.sh already targets the current storefront, writes into .webcrawler/<brand-id>/, and runs typecheck plus build.
  • Add --push only when the user explicitly asks to deploy or push.

Guardrails

  • Never depend on repo-level docs. The skill must stay usable when copied into another repo on its own.
  • When the target is a clean template, prefer the bundled bootstrap file over recreating src/config/branding-presets.ts from scratch.
  • Never call workflow on the first pass unless the user explicitly opts out of review.
  • Never hand-edit branding-presets.ts to partially apply overrides. Regenerate from the crawler artifacts so imagery and copy stay aligned.
  • Prefer distinct image families and distinct extracted text context across slots. If manual overrides introduce duplicates, call that out before applying.
  • Treat color token edits as part of the preview state. Saving, regenerating, or applying should use the latest visible token values, not reset to the original extraction.
  • Keep generated artifacts under .webcrawler/<brand-id>/.
  • If the user wants more than one refinement round, keep using brand --overrides until they approve the final preview.
  • Read references/branded-demo-playbook.md when you need the slot model, image selection rules, override loop details, or the recommended conversation flow.

What To Return

  • After the initial run: the preview path or localhost URL, the main artifact paths, and a short instruction to send back Overrides JSON.
  • When the guided review session is active: the localhost preview URL, the artifact directory, and a short note that overrides.json already exists and can be saved/regenerated from the browser UI.
  • After each override round: the refreshed preview path or URL and whether duplicate warnings remain.
  • After the final apply: the applied brand id, the artifact directory, and which follow-up steps ran (typecheck, build, push).

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

38.32%
按下载量换算44

Claude

28.37%
按下载量换算33

Cursor

18.35%
按下载量换算21

Gemini CLI

10.11%
按下载量换算12

安全审计

Gen Agent Trust Hub

可疑

Socket

通过

Snyk

可疑

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

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

来源信息

继续浏览同类 Skills