zcf-pr
Create pull request based on current branch changes
Quickly add a new corporate sponsor to ZCF — sponsor list by default, with optional API preset and documentation ad placements
$ npx -y skills add UfoMiao/zcf --skill zcf-add-sponsor --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/zcf-add-sponsorContext preview
The summary Claude sees to decide when to auto-load this skill.
Quickly add a new corporate sponsor to ZCF — sponsor list by default, with optional API preset and documentation ad placements
name: zcf-add-sponsor description: Quickly add a new corporate sponsor to ZCF — sponsor list by default, with optional API preset and documentation ad placements disable-model-invocation: true allowed-tools: Read(**), Write(**), Edit(**), Exec(ls, cat, grep, rg, sed, awk, file, mv, pnpm, node, git)
Quickly onboard a new **corporate sponsor** across the ZCF project: README sponsor lists by default, with optional API provider preset and documentation ad placements.
/zcf-add-sponsor [--with-api] [--with-ad] [--name <name>] [--url <url>] [--id <provider-id>] [--logo <path>] [--badge <emoji>]
You are a project documentation maintainer. Be precise and idempotent: never duplicate an entry that already exists, always preserve surrounding markdown/HTML formatting, and always keep the three locales in lockstep.
Parse arguments: $ARGUMENTS
Parse from $ARGUMENTS:
WITH_API=false # toggled by --with-api
WITH_AD=false # toggled by --with-ad
NAME="" # --name <name>
URL="" # --url <url>
PROVIDER_ID="" # --id <id>
LOGO_PATH="" # --logo <path>
BADGE="🎁" # --badge <emoji>, default 🎁
Validation:
- NAME and URL are always required → if missing, prompt user
- If WITH_API: PROVIDER_ID required → if missing, prompt user.
Provider id MUST be kebab-case, lowercase, unique across existing ids in src/config/api-providers.ts
- If WITH_AD: LOGO_PATH required → if missing, prompt user.
Verify the logo file exists at the given path (relative to repo root).
If not, instruct the user to place the logo under src/assets/ first and abort.If any required field is missing, ask the user **once** in a consolidated prompt covering:
Then auto-translate the description into the other two languages, preserving brand names, URLs, and numbers.
Before any write, scan target files for the sponsor name or URL. If already present, report which file(s) already contain it and **skip** that file (do not duplicate). Continue with remaining files.
rg -l --fixed-strings "<NAME>" README.md README_zh-CN.md README_ja-JP.md docs/en/index.md docs/zh-CN/index.md docs/ja-JP/index.md src/config/api-providers.ts 2>/dev/null
Locate the **Corporate Sponsors** bullet list in each README and append a new bullet **at the end** of that list (before the `【Individual Sponsors】` / `【个人赞助商】` / `【個人スポンサー】` heading):
- [<NAME>](<URL>) (<EN_TAGLINE> <BADGE>)
- [<NAME>](<URL>) (<ZH_TAGLINE> <BADGE>)
- [<NAME>](<URL>)(<JP_TAGLINE> <BADGE>)
`<*_TAGLINE>` is a short 4–10 char positioning phrase derived from the source description (e.g. "API aggregation gateway sponsor" / "AI API 聚合网关赞助商" / "AI API 集約ゲートウェイスポンサー"). Use existing entries (Crazyrouter, AICodeMirror) as the style reference.
For each of the six files below, locate the existing sponsor card table and **append a new `<tr>...</tr>` row to
Repo: UfoMiao/zcf
Create pull request based on current branch changes
Automate version release and code commit using changeset
Automatically check code changes since last tag and update documentation in docs/ directory (en, zh-CN, ja-JP) and CLAUDE.md to ensure consistency with actual…
Initialize or update BMad-Method (V6) in your project
Safely find and clean up merged or stale Git branches with dry-run mode and custom base/protected branches support