Fencang release
Skill Aiweline/WelineFramework/.codex/skills/fencang-release
Load ONLY when the user says passphrase 分仓 (fencang). Sync Weline modules from DEV-workspace to independent Composer repos under the DEV-workspace sibling directory 框架-分仓 by default, auto-clone missing repos from Gitee/GitHub, bump vMAJOR.MINOR.PATCH git tags, push to both remotes, and refresh Packagist. Single-module scope unless user says --all. Canonical skill: dev/ai/skills/CI发布工程师-分仓发布/SKILL.mdFrom its SKILL.md
npx -y skills add Aiweline/WelineFramework --skill fencang-releaseAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
- runs commandsInstructs the agent to run 8 commands, including `.\$Fencang\fencang-sync.ps1 -Modules Framework` and 7 more.
SKILL.md
2.7 KB, 661 tokens by cl100k_base, as published. Nobody here has run it
Fencang Release (passphrase-gated)
Codex alias for CI发布工程师-分仓发布. Do not run unless the user message contains 分仓.
Canonical paths
| Purpose | Path |
|---|---|
| Full skill body (keep in sync) | dev/ai/skills/CI发布工程师-分仓发布/SKILL.md |
| PowerShell scripts | dev/tools/fencang/ |
| AI routing index | dev/ai/skills/_index.md |
Passphrase scope
| User says | Scope |
|---|---|
分仓 Framework | Only Framework |
分仓 Admin,Backend | Only listed modules |
分仓 --all | All mapped modules |
分仓 alone | Ask 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\fencang-sync.ps1 -Modules Framework -WelineRoot E:\WelineFramework\weline
pwsh ./dev/tools/fencang/fencang-sync.ps1 -Modules Framework
.\$Fencang\bump-tag.ps1 -CurrentTag v1.2.9
.\$Fencang\refresh-packagist.ps1 -RepoPath E:\WelineFramework\框架-分仓\weline-module-admin
Workflow summary
- Resolve split root: default
{DEV_ROOT}/../框架-分仓; use-WelineRootonly when explicitly provided. - Ensure each mapped repo exists: existing
.gitrepos are reused; missing repos are cloned fromorigin=https://gitee.com/aiweline/{repo}.gitwith GitHub fallback andgithub=https://github.com/Aiweline/{repo}.git. - Pre-check with
robocopy /L /MIRon Windows or portable hash compare on macOS/Linux; if no diff, skip copy, commit, tag, push, and Packagist. - Mirror
app/code/Weline/{Module}/into the repo root while preserving.git,vendor,.idea,node_modules, and.DS_Store. - Review git status/diff; dirty existing repos are refused, remote fetch failures are reported as warnings, and empty syncs skip commit/tag/push.
- Bump tag (patch +1, carry at 9), commit, push
origin+github(branch + tag), then call Packagist update. - Report per module: root path, clone/reuse status, old/new tag, Packagist result, push result.
For mapping table, remote URL rules, Packagist credential configuration, and guardrails, read the canonical skill file above.
What ships with it: 1 file
443 B alongside SKILL.md
agents/
- openai.yaml443 B