zhenyu-rebrand
安装方式
先用 Prompt 核对来源与依赖。也可下载安装包。
用 AI 助手安装
复制提示词,让助手先核对固定版本和依赖。
查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "zhenyu-rebrand":https://skillpi.com/zh/skills/deepskill-57191ddff4fe6dfeb8b627af1b5681a66b2e56fe03f97550e25c300a8bc5d9d4。安装前核对上游来源和版本:https://skillhub.cn/skills/user_cb80f343/zhenyu-rebrand。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。
来源与配置
skillhub.cn
配置方式待核实
请查看原始来源中的适用工具、依赖和权限要求。
安装实测待补充
针对克隆或部署开源应用后的一键品牌化工具:将产品名改为 zhenyu、图标替换为阵雨图标,完成面向商业化的二次开发品牌化流程。
介绍来源: third_party · user_cb80f343 · 1.0.0 参考来源
SkillPi 解读
- 能完成的任务
- Turn any open-source project into a **ZHENYU**-branded product with one pass: rename the product to **`zhenyu`** and swap every branding icon for the bundled 阵雨 (rain shower)** icon. This is the "secondary commercial development" step used right after cloning / deploying an open-source app, before it ships.
- 适合谁
- A user asks to deploy, fork, self-host, or package an open-source app **and** wants it rebranded (name `zhenyu`, 阵雨 icon). Phrases like "white-label this", "换名字和图标", "商业化二次开发", "改成 zhenyu 品牌". After `git clone` / `npx create-*` / scaffolding, before `build` / `deploy`.
- 输入和输出
- 来源文档未说明。
- 软件、账号及付费要求
- 来源文档未说明。
- 限制与区别
- 来源文档未说明。
- 实测状态
- 未测试
文件浏览
Frontmatter
name: zhenyu-rebrand
slug: zhenyu-rebrand
version: 1.0.0
displayName: "ZHENYU 品牌化二次开发"
description: Rebrand and white-label open-source applications for commercial deployment under the ZHENYU brand. This skill should be used when deploying, forking, self-hosting, or packaging an open-source app and the user wants it rebranded with the product name "zhenyu" and the bundled 阵雨 (rain shower) icon — e.g. "deploy this open-source tool but rebrand it", "fork and white-label this app as zhenyu", "change the name and logo of this project to zhenyu", "二次开发这个开源项目,改名叫 zhenyu 并换上阵雨图标". Automates product-name replacement and icon swapping across web (React/Vue/Next/Vite), PWA, Electron/Tauri, mobile, and CLI projects.
summary: "克隆/部署开源应用后,一键将其产品名改为 zhenyu、图标换成阵雨图标,完成商业化品牌化二次开发。"
triggers:
- 二次开发开源项目
- 商业化改名字
- 换图标换名字
- rebrand open source
- white-label this app
- 改成 zhenyu 品牌
agent_created: trueZHENYU Rebrand
Overview
Turn any open-source project into a ZHENYU-branded product with one pass:
rename the product to zhenyu and swap every branding icon for the bundled
阵雨 (rain shower) icon. This is the "secondary commercial development"
step used right after cloning / deploying an open-source app, before it ships.
The skill ships a deterministic scripts/rebrand.py plus the master icon assets,
so rebranding is reproducible rather than a manual find-and-replace each time.
When to use
- A user asks to deploy, fork, self-host, or package an open-source app and
wants it rebranded (name
zhenyu, 阵雨 icon). - Phrases like "white-label this", "换名字和图标", "商业化二次开发", "改成 zhenyu 品牌".
- After
git clone/npx create-*/ scaffolding, beforebuild/deploy.
Workflow
Step 1 — Clone / scaffold the target project
Obtain the open-source code in a local directory. Do not run its build yet; rebrand first so compiled output picks up the new assets.
Step 2 — Detect and report
Run the rebrand script in dry-run to see what it will change:
python scripts/rebrand.py --project <path/to/project> --dry-run
The script auto-detects the upstream product name from package.json,
manifest.webmanifest, the README title, pyproject.toml, Cargo.toml,
or go.mod. Review the proposed name/icon changes.
Step 3 — Apply the rebrand
python scripts/rebrand.py --project <path/to/project>
What it does:
- Name — replaces the detected product name (case-insensitive, word-boundary
safe) with
zhenyuacross source/text files. Skipsnode_modules,.git,dist, build-output, and dependency dirs. - Icon — finds branding images (
favicon*,*logo*,*icon*,apple-touch*,banner*,og-image*,brand*,thumbnail*) and replaces them with the 阵雨 icon (.ico→ICO,.svg→SVG, raster→resized PNG). Electron/Tauribuild/andresources/icons are included.
Optional flags: --name <brand> (override target name), --old-name <x> (skip
auto-detect), --no-name, --no-icons, --icon <svg> (custom source icon).
Step 4 — Verify & rebuild
- Load the app / open
index.htmland confirm the title showszhenyuand the favicon/logo is the 阵雨 icon. - If the upstream used inline
data:URI favicons or hard-coded brand strings in minifieddist/, fix those by hand (see references). - Run the project's normal
build/packagestep so compiled output embeds the new assets.
Step 5 — Respect the license (mandatory)
Rebranding is allowed by most permissive licenses (MIT, Apache-2.0, BSD) but
attribution is required. The script never touches LICENSE / NOTICE /
copyright headers. Before distributing:
- Keep the original license and
NOTICEfile intact. - Add your own copyright/branding notice; do not remove the upstream one.
- For copyleft licenses (GPL/AGPL), consult the license — rebranding does not remove share-alike obligations.
Bundled resources
assets/ (icon master + raster)
zhenyu-rain.svg— vector master of the 阵雨 (rain shower) icon (source of truth).zhenyu-rain.png(512),zhenyu-rain-192.png,zhenyu-rain-32.png,zhenyu-rain.ico— raster equivalents for Electron / PWA / favicon.- Regenerate raster assets anytime with
python scripts/render_icon.py(requires Pillow).
scripts/
rebrand.py— the automation (detect name, swap name + icons). See--help.render_icon.py— rebuilds the raster icon assets from the SVG design.
references/
branding-locations.md— per-stack map of where name/icon branding lives (web, PWA, Electron/Tauri, mobile, CLI, docs) and what the script misses.
Notes
- The script targets display-name / branding strings, not arbitrary code
identifiers. When in doubt, use
--dry-runand eyeball the diff. - Always re-verify inside the running app, not just the file tree.
当前收录版本
1.0.0
安全与评测信息
质量评测
满分100 · 来自 SkillPi LAB 实验室的评测报告。
亮点
- 提供一键品牌化能力,显著提升开源项目商业化二次开发效率
- 支持多技术栈(Web/PWA/Electron/CLI)的命名与图标替换
亮点
- 触发词覆盖中英文多种变体,边界清晰,误触风险低
待提升项
-
缺少端到端完整示例 原报告严重程度:轻微
文档提供了分步命令,但缺少一个从 clone 项目到完成 rebrand 并 build 的完整端到端示例
改进建议:在 Workflow 章节末尾添加一个完整的端到端示例,展示从 git clone 到 python rebrand.py 再到 npm run build 的完整流程
亮点
- 文档结构清晰,包含使用场景、工作流程、资源说明等完整章节
- 提供了详细的命令行示例和参数说明
待提升项
-
未覆盖 Windows 路径/权限等边界异常处理 原报告严重程度:轻微
脚本未明确说明在 Windows 系统下的路径处理、文件权限错误、SVG 解析失败等边界情况的处理机制
改进建议:在脚本或文档中补充对跨平台路径处理、常见 IO 错误的处理说明,增强鲁棒性
亮点
- 提供 dry-run 模式,支持变更预览,降低误操作风险
- 强调许可证合规性,提醒用户保留原始版权信息
- 支持多种图标格式自动转换(ICO/SVG/PNG)
取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。
正文静态检测
100 / 100 · skillpi-20261123-no-r3-v1
正文未命中当前规则。
分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。
权限与使用前检查
根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。
-
安装或获取外部依赖
使用官方来源并锁定版本,在隔离环境检查安装脚本。当前文档检查不覆盖后续下载的代码。
主文档提及 · 第 35 行
安全评级与访问范围
safe · 静态证据核验,不代表运行安全保证。
来源文档未说明。
使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。
用户讨论
还没有已核实的点评。