agentskills.codes
FE

fencang-release

>-

Install

mkdir -p .claude/skills/fencang-release && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/13503" && unzip -o skill.zip -d .claude/skills/fencang-release && rm skill.zip

Installs to .claude/skills/fencang-release

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Load ONLY when the user says passphrase 分仓 (fencang). Sync Weline modules from DEV-workspace to independent Composer repos under E:\WelineFramework\weline, bump vMAJOR.MINOR.PATCH git tags, push to Gitee and GitHub, and refresh Packagist. Single-module scope unless user says --all. Canonical skill: dev/ai/skills/CI发布工程师-分仓发布/SKILL.md
335 chars✓ has a “when” triggerlonger than Claude Code's old 250-char listing cap (fine on current versions)

About this skill

Fencang Release (passphrase-gated)

Codex alias for CI发布工程师-分仓发布. Do not run unless the user message contains 分仓.

Canonical paths

PurposePath
Full skill body (keep in sync)dev/ai/skills/CI发布工程师-分仓发布/SKILL.md
PowerShell scriptsdev/tools/fencang/
AI routing indexdev/ai/skills/_index.md

Passphrase scope

User saysScope
分仓 FrameworkOnly Framework
分仓 Admin,BackendOnly listed modules
分仓 --allAll mapped modules
分仓 aloneAsk which module; do not run

Quick commands (from repo root)

$Fencang = 'dev\tools\fencang'

.\$Fencang\fencang-sync.ps1 -Modules Framework
.\$Fencang\fencang-sync.ps1 -Modules Admin,Backend
.\$Fencang\fencang-sync.ps1 -All
.\$Fencang\bump-tag.ps1 -CurrentTag v1.2.9
.\$Fencang\refresh-packagist.ps1 -RepoPath E:\WelineFramework\weline\weline-module-admin

Workflow summary

  1. Pre-check with robocopy /L /MIR; if exit 0 (no diff), skip the entire repo (no copy, commit, tag, push, or Packagist).
  2. Mirror app/code/Weline/{Module}/E:\WelineFramework\weline/{repo}/ via robocopy /MIR.
  3. Review git diff; skip commit/tag/push if still no meaningful change after sync.
  4. Bump tag (patch +1, carry at 9), commit, push origin + github (branch + tag).
  5. Call Packagist update-package via refresh-packagist.ps1.
  6. Report per module: sync status, old/new tag, Packagist result, push result.

For mapping table, version rules, Packagist credentials, and guardrails, read the canonical skill file above.

Search skills

Search the agent skills registry