zhenyu-rebrand
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "zhenyu-rebrand" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-57191ddff4fe6dfeb8b627af1b5681a66b2e56fe03f97550e25c300a8bc5d9d4. Verify the upstream source and version against https://skillhub.cn/skills/user_cb80f343/zhenyu-rebrand before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
A one-click branding tool for cloned/deployed open-source apps: change the product name to 'zhenyu' and replace the icon with a rain-shower icon to complete the commercialization/branding secondary development process.
Introduction source: third_party · user_cb80f343 · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Audience
- Translation pending; see source documentation.
- Inputs and outputs
- Not specified in the source documentation.
- Software, accounts and paid services
- Not specified in the source documentation.
- Limits and differences
- Not specified in the source documentation.
- Testing
- Not tested
Browse files
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.
Current listing version
1.0.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 提供一键品牌化能力,显著提升开源项目商业化二次开发效率
- 支持多技术栈(Web/PWA/Electron/CLI)的命名与图标替换
Highlights
- 触发词覆盖中英文多种变体,边界清晰,误触风险低
Areas to improve
-
缺少端到端完整示例 Reported severity: Minor
文档提供了分步命令,但缺少一个从 clone 项目到完成 rebrand 并 build 的完整端到端示例
Recommendation: 在 Workflow 章节末尾添加一个完整的端到端示例,展示从 git clone 到 python rebrand.py 再到 npm run build 的完整流程
Highlights
- 文档结构清晰,包含使用场景、工作流程、资源说明等完整章节
- 提供了详细的命令行示例和参数说明
Areas to improve
-
未覆盖 Windows 路径/权限等边界异常处理 Reported severity: Minor
脚本未明确说明在 Windows 系统下的路径处理、文件权限错误、SVG 解析失败等边界情况的处理机制
Recommendation: 在脚本或文档中补充对跨平台路径处理、常见 IO 错误的处理说明,增强鲁棒性
Highlights
- 提供 dry-run 模式,支持变更预览,降低误操作风险
- 强调许可证合规性,提醒用户保留原始版权信息
- 支持多种图标格式自动转换(ICO/SVG/PNG)
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
-
Install or fetch external dependencies
Use official sources and pin versions. Check install scripts in an isolated environment. This document check does not cover code downloaded later.
Mentioned in main document · lines 35
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Not specified in the source documentation.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.