Releasing Php Package
yansongda/pay
A skill your agent uses when preparing to publish a new version of a PHP Composer package and need to write or update CHANGELOG, upgrade guides, and documentation before tagging and releasing
审计存量 Mpx 项目迁移到“mode 只负责目标筛选、srcMode 只负责源码方言”的新版编译语义。只要用户提到升级 Mpx 后检查条件编译、排查 .ali/.swan 等条件文件、mode/src-mode 区块、@mode/@mode、modeRules/srcModeRules 或外部模板迁移,就应使用本 Skill;不用于与该语义变更无关的普通 Mpx 升级。
$ npx skills add didi/mpx --skill mpx-mode-migration -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install didi/mpx mpx-mode-migration --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/didi/mpx.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/mpx-mode-migration .claude/skills/mpx-mode-migration && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "mpx-mode-migration" agent skill from https://github.com/didi/mpx/tree/master/.agents/skills/mpx-mode-migration into .claude/skills/mpx-mode-migration/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "mpx-mode-migration", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/didi/mpx/tree/master/.agents/skills/mpx-mode-migrationType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add didi/mpx --skill mpx-mode-migration -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install didi/mpx mpx-mode-migration --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/didi/mpx.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/mpx-mode-migration .agents/skills/mpx-mode-migration && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "mpx-mode-migration" agent skill from https://github.com/didi/mpx/tree/master/.agents/skills/mpx-mode-migration into .agents/skills/mpx-mode-migration/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "mpx-mode-migration", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add didi/mpx --skill mpx-mode-migration -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install didi/mpx mpx-mode-migration --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/didi/mpx.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/mpx-mode-migration .cursor/skills/mpx-mode-migration && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "mpx-mode-migration" agent skill from https://github.com/didi/mpx/tree/master/.agents/skills/mpx-mode-migration into .cursor/skills/mpx-mode-migration/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "mpx-mode-migration", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/didi/mpx.git --path .agents/skills/mpx-mode-migration--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add didi/mpx --skill mpx-mode-migration -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install didi/mpx mpx-mode-migration --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/didi/mpx.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/mpx-mode-migration .gemini/skills/mpx-mode-migration && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "mpx-mode-migration" agent skill from https://github.com/didi/mpx/tree/master/.agents/skills/mpx-mode-migration into .gemini/skills/mpx-mode-migration/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "mpx-mode-migration", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install didi/mpx mpx-mode-migrationInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add didi/mpx --skill mpx-mode-migration -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/didi/mpx.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/mpx-mode-migration .github/skills/mpx-mode-migration && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "mpx-mode-migration" agent skill from https://github.com/didi/mpx/tree/master/.agents/skills/mpx-mode-migration into .github/skills/mpx-mode-migration/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "mpx-mode-migration", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add didi/mpx --skill mpx-mode-migration -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install didi/mpx mpx-mode-migration --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/didi/mpx.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/mpx-mode-migration .opencode/skills/mpx-mode-migration && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "mpx-mode-migration" agent skill from https://github.com/didi/mpx/tree/master/.agents/skills/mpx-mode-migration into .opencode/skills/mpx-mode-migration/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "mpx-mode-migration", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
mpx-mode-migration审计存量 Mpx 项目迁移到“mode 只负责目标筛选、srcMode 只负责源码方言”的新版编译语义。只要用户提到升级 Mpx 后检查条件编译、排查 .ali/.swan 等条件文件、mode/src-mode 区块、@mode/@mode、modeRules/srcModeRules 或外部模板迁移,就应使用本 Skill;不用于与该语义变更无关的普通 Mpx 升级。
Mpx Mode Migration is an agent skill from didi/mpx. 审计存量 Mpx 项目迁移到“mode 只负责目标筛选、srcMode 只负责源码方言”的新版编译语义。只要用户提到升级 Mpx 后检查条件编译、排查 .ali/.swan 等条件文件、mode/src-mode 区块、@mode/@mode、modeRules/srcModeRules 或外部模板迁移,就应使用本 Skill;不用于与该语义变更无关的普通 Mpx 升级。
Its SKILL.md is about 730 tokens, which your agent loads only when the skill is triggered. The skill folder holds 8 other files, including scripts and reference files (for example `evals/evals.json`, `references/migration-rules.md` and `scripts/resolve-platform.js`). Compatibility notes: 需要 Node.js 14+;扫描脚本只读取目标项目,不会自动修改业务文件。
It sits in Development. It works with webpack and WeChat. The repository describes itself as: Mpx,一款具有优秀开发体验和深度性能优化的增强型跨端小程序框架. The licence is Apache-2.0.
5 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit e2a7612. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships 3 files in scripts/ (JavaScript), which the agent can run.
Shell commands in SKILL.md call:
nodeFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
需要 Node.js 14+;扫描脚本只读取目标项目,不会自动修改业务文件。
From compatibility in the SKILL.md frontmatter.
Mpx Mode Migration loads about 731 tokens when it runs, and up to ~2.8k if it reads all its reference files. Until then it costs about 52 tokens; SKILL.md has 175 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.
The full file from didi/mpx at commit e2a7612, republished under its Apache-2.0 licence (© didi). 175 words, ~731 tokens.
.claude/skills/mpx-mode-migration/SKILL.md (or your agent's skills folder). This skill also uses 5 other files; get the full folder from GitHub.找出存量项目中依赖旧版隐式源码方言语义的位置,并把每一处候选项核实为:
必须修改:升级后会冲突或明确依赖旧语义;需要确认:编译路径改变,需结合源码或目标产物判断;兼容清理:旧写法仍兼容,但建议迁移到新名称或新语法;无需修改:命中扫描规则,但实际不依赖旧语义。默认只输出审计报告。用户明确要求实施迁移时,才修改目标项目。
AGENTS.md、构建配置、package.json 和相关迁移约束。srcMode、实际构建 targets,以及是否使用 Web/RN。不要只根据文件名猜测构建目标。使用本 Skill 自带脚本:
node <skill-root>/scripts/scan-project.js <project-root> --json需要便于人工阅读时去掉 --json:
node <skill-root>/scripts/scan-project.js <project-root>扫描器不会解析或执行 webpack 配置,也不会自动判断某个 include 是否覆盖具体资源。因此,扫描结果只是高召回候选集,必须继续执行下一步核实。
读取 迁移规则与判定矩阵,然后对每条候选项:
srcMode 语法,还是目标平台原生语法。srcModeRules.<target> 覆盖;不要仅凭配置中出现了该 key 就判定已覆盖。<import> / <include> 时,继续解析相对路径并检查被引用资源;它们不继承引用方 srcMode。@mode 命中后会进入正常平台转换。逐项确认节点、属性名及属性值采用项目 srcMode 语法,还是目标平台原生语法,并以目标项目实际安装的 @mpxjs/webpack-plugin/lib/platform 实现核对是否命中转换规则。使用本 Skill 的 scripts/resolve-platform.js <project-root> 定位规则目录,不要直接解析包内 package.json 或依赖当前工作目录。读取 lib/platform/index.js 确定 type + srcMode 对应的规则集,再检查具体规则的 test 与目标 mode 处理器;两者同时存在才算实际命中。项目 srcMode 语法通常无需迁移;目标平台原生语法未实际命中规则时可安全直通并归入“无需修改”。只有规则会重命名、改值、删除或诊断该语法时,才优先建议改成项目 srcMode 的等价写法;没有等价写法时改用完整原生区块/资源。报告中记录插件安装版本、命中的规则文件及行号。mpx2rn Skill 核对支持范围,不要用 RN 原生能力替代 Mpx2RN 能力事实。按以下优先级选择方案:
srcMode 语法,让框架正常转换。src-mode="<target>"。srcModeRules.<target> 精确覆盖。modeRules 可兼容,但建议改名为 srcModeRules;两者不能同时配置。@_mode 与 @mode 行为一致,替换属于兼容清理,不是阻塞升级的必改项。不要为了消除报告而给整个 src/ 配置宽泛的 srcModeRules。规则过宽会让本应转换的 Mpx 源码被当成目标平台原生源码。
对 @mode 不要仅凭“目标平台原生写法”要求迁移,也不要根据其他版本的源码或记忆推断规则。以目标项目安装版本的 lib/platform 为准;没有实际命中时允许安全直通,不拦截也不建议改写。
若用户要求实际修改:
mpx2rn Skill 的编译校验流程验证。使用以下结构,并给每条结论附可点击的文件与行号:
# Mpx mode/srcMode 迁移审计
## 摘要
- 必须修改:N
- 需要确认:N
- 兼容清理:N
- 无需修改:N
## 必须修改
### [规则码] path/to/file:line
- 旧语义依赖:
- 升级后行为:
- 迁移建议:
- 验证方式:
## 需要确认
...
## 兼容清理
...
## 无需修改
...
## 验证清单
...如果没有必改项,明确写出“未发现确定需要修改的位置”,同时保留仍需确认的候选项和未执行的构建目标。
srcModeRules 的 include/exclude 最终覆盖范围需要按 webpack rule 语义人工核实。srcMode 语法同名,不能只凭一个属性名自动判定。© didi, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 5 other files (scripts, references) in .agents/skills/mpx-mode-migration of didi/mpx.
Open the folder on GitHubat commit e2a7612
Mpx Mode Migration next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Mpx Mode Migration this skilldidi/mpx | 3.9k | — | ~731 | Automated safety check: Pass | Apache-2.0 | |
| Releasing Php Packageyansongda/pay | 5.4k | — | ~1.6k | Automated safety check: Pass | MIT | |
| React Joyridecadence-workflow/cadence-web | 435 | — | ~3.9k | Automated safety check: Pass | MIT | |
| Runtime DebugOpenHikmah/openhikmah-web | 181 | — | ~618 | Automated safety check: Pass | GPL-3.0 | |
| ReleaseOvenMediaLabs/OvenPlayer | 592 | — | ~1.3k | Automated safety check: Pass | MIT | |
| WxJava Upgrade Guidebinarywang/WxJava | 33k | — | ~129 | Automated safety check: Pass | Apache-2.0 |
yansongda/pay
A skill your agent uses when preparing to publish a new version of a PHP Composer package and need to write or update CHANGELOG, upgrade guides, and documentation before tagging and releasing
cadence-workflow/cadence-web
Guide for implementing, configuring, and debugging React Joyride v3 guided tours.
OpenHikmah/openhikmah-web
Debug and verification workflow for runtime-bundle and module-resolution regressions.
OvenMediaLabs/OvenPlayer
Release ovenplayer to npm — confirm the version, verify the committed dist/ bundle is current, write the release notes, and open a draft GitHub Release for the user to publish.
binarywang/WxJava
Plans a WxJava version upgrade, checking the BOM, module dependencies, JDK version and configuration, with phased steps and clear rollback conditions.
Simon-He95/markstream-vue
Integrate markstream-vue2 into a Vue 2.6 or 2.7 app. An agent skill from Simon-He95/markstream-vue.
didi/mpx
Mpx 跨端输出 RN(简称 Mpx2RN 或 Mpx2DRN)的开发适配指南,覆盖模板、脚本、样式、JSON 配置四大维度。当用户进行 Mpx2RN 相关任务时强制调用,包括但不限于:技术方案设计、页面 / 组件的开发迭代、旧项目跨端适配改造、编译和运行时报错排查、Code Review 等。当用户问题不涉及 Mpx2RN 时不应调用,如 Mpx 小程序开发问题,RN…
didi/mpx
Mpx 跨端输出 RN(简称 Mpx2RN 或 Mpx2DRN)的开发适配指南,覆盖模板、脚本、样式、JSON 配置四大维度。当用户进行 Mpx2RN 相关任务时强制调用,包括但不限于:技术方案设计、页面 / 组件的开发迭代、旧项目跨端适配改造、编译和运行时报错排查、Code Review 等。当用户问题不涉及 Mpx2RN 时不应调用,如 Mpx 小程序开发问题,RN…
didi/mpx
当用户要求评审循环、自评审工作流、planner/reviewer/coder/code-reviewer 协作、先方案后编码、多轮 Agent 评审,或要求稳定的子 Agent 工作流依次产出方案、等待用户确认、实现代码、评审差异并保留修订记录时,使用此 Skill。此 Skill 必须使用真实子 Agent,不得退化为单 Agent 角色扮演。
didi/mpx
通过查看当前最新版本与上一版本间的git提交记录与代码变更,生成版本变更日志,当用户询问“创建/生成变更日志”、“创建/生成changelog”时使用。
didi/mpx
Helps when network-related commands (like curl, git, npm, pip, brew) are failing, timing out, or running slowly due to network issues.
didi/mpx
将传统文档导向的 Procedural Skill 转换为紧凑的 Strategy Gene 格式。基于论文 "From Procedural Skills to Strategy Genes" 的 Gene Evolution Protocol (GEP),将 ~2500 token 的文档型 Skill 蒸馏为 ~200-300 token 的控制型 Gene 集合。当用户要求将…
Categories
审计存量 Mpx 项目迁移到“mode 只负责目标筛选、srcMode 只负责源码方言”的新版编译语义。只要用户提到升级 Mpx 后检查条件编译、排查 .ali/.swan 等条件文件、mode/src-mode 区块、@mode/@mode、modeRules/srcModeRules 或外部模板迁移,就应使用本 Skill;不用于与该语义变更无关的普通 Mpx 升级。. Mpx Mode Migration is an agent skill from didi/mpx.
Mpx Mode Migration fits situations like: development work in your project.
Run `npx skills add didi/mpx --skill mpx-mode-migration -a claude-code`. Or copy the skill folder (.agents/skills/mpx-mode-migration in didi/mpx) into .claude/skills/mpx-mode-migration in your project. Claude Code loads it when a task matches its description.
Run `npx skills add didi/mpx --skill mpx-mode-migration -a codex`. Or copy the skill folder (.agents/skills/mpx-mode-migration in didi/mpx) into .agents/skills/mpx-mode-migration in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add didi/mpx --skill mpx-mode-migration -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/mpx-mode-migration, .gemini/skills/mpx-mode-migration, .github/skills/mpx-mode-migration and .opencode/skills/mpx-mode-migration in your project.
Going by SKILL.md and its folder, Mpx Mode Migration needs JavaScript for the scripts in its folder and the command-line tools its instructions call (node). Our summary lists: Node.js. Compatibility (from SKILL.md): 需要 Node.js 14+;扫描脚本只读取目标项目,不会自动修改业务文件。.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
Mpx Mode Migration is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 731 tokens (SKILL.md is roughly 2.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 2.1k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Mpx Mode Migration: Releasing Php Package (yansongda/pay, 5.4k stars), React Joyride (cadence-workflow/cadence-web, 435 stars), Runtime Debug (OpenHikmah/openhikmah-web, 181 stars) and Release (OvenMediaLabs/OvenPlayer, 592 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
didi (a GitHub organization) maintains it in didi/mpx, which has 3,941 GitHub stars. The repository holds 7 skills in this directory. The repository was last updated on September 29, 2026.
Source: didi/mpx on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.