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
将传统文档导向的 Procedural Skill 转换为紧凑的 Strategy Gene 格式。基于论文 "From Procedural Skills to Strategy Genes" 的 Gene Evolution Protocol (GEP),将 ~2500 token 的文档型 Skill 蒸馏为 ~200-300 token 的控制型 Gene 集合。当用户要求将…
$ npx skills add didi/mpx --skill skill2gene -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install didi/mpx skill2gene --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/skill2gene .claude/skills/skill2gene && 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 "skill2gene" agent skill from https://github.com/didi/mpx/tree/master/.agents/skills/skill2gene into .claude/skills/skill2gene/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "skill2gene", 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/skill2geneType 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 skill2gene -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install didi/mpx skill2gene --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/skill2gene .agents/skills/skill2gene && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "skill2gene" agent skill from https://github.com/didi/mpx/tree/master/.agents/skills/skill2gene into .agents/skills/skill2gene/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "skill2gene", 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 skill2gene -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install didi/mpx skill2gene --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/skill2gene .cursor/skills/skill2gene && 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 "skill2gene" agent skill from https://github.com/didi/mpx/tree/master/.agents/skills/skill2gene into .cursor/skills/skill2gene/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "skill2gene", 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/skill2gene--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 skill2gene -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install didi/mpx skill2gene --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/skill2gene .gemini/skills/skill2gene && 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 "skill2gene" agent skill from https://github.com/didi/mpx/tree/master/.agents/skills/skill2gene into .gemini/skills/skill2gene/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "skill2gene", 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 skill2geneInstalls 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 skill2gene -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/skill2gene .github/skills/skill2gene && 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 "skill2gene" agent skill from https://github.com/didi/mpx/tree/master/.agents/skills/skill2gene into .github/skills/skill2gene/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "skill2gene", 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 skill2gene -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 skill2gene --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/skill2gene .opencode/skills/skill2gene && 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 "skill2gene" agent skill from https://github.com/didi/mpx/tree/master/.agents/skills/skill2gene into .opencode/skills/skill2gene/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "skill2gene", 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.
skill2gene将传统文档导向的 Procedural Skill 转换为紧凑的 Strategy Gene 格式。基于论文 "From Procedural Skills to Strategy Genes" 的 Gene Evolution Protocol (GEP),将 ~2500 token 的文档型 Skill 蒸馏为 ~200-300 token 的控制型 Gene 集合。当用户要求将…
Skill2gene is an agent skill from didi/mpx. 将传统文档导向的 Procedural Skill 转换为紧凑的 Strategy Gene 格式。基于论文 "From Procedural Skills to Strategy Genes" 的 Gene Evolution Protocol (GEP),将 ~2500 token 的文档型 Skill 蒸馏为 ~200-300 token 的控制型 Gene 集合。当用户要求将 skill 转为 gene、优化 skill 的 token 效率、将经验知识蒸馏为紧凑控制指令、或提到 gene/GEP/strategy-gene 时调用。
Its SKILL.md is about 560 tokens, which your agent loads only when the skill is triggered. The skill folder holds 10 other files, including reference files (for example `genes/GENES.md`, `genes/gene_distill.md` and `genes/gene_evolution.md`).
It sits in Development. It works with WeChat. The repository describes itself as: Mpx,一款具有优秀开发体验和深度性能优化的增强型跨端小程序框架. The licence is Apache-2.0.
4 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.
No scripts in the folder and no shell commands in SKILL.md.
From 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.
Skill2gene loads about 558 tokens when it runs, and up to ~2k if it reads all its reference files. Until then it costs about 71 tokens; SKILL.md has 156 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); files beside SKILL.md are not scanned.
The full file from didi/mpx at commit e2a7612, republished under its Apache-2.0 licence (© didi). 156 words, ~558 tokens.
.claude/skills/skill2gene/SKILL.md (or your agent's skills folder). This skill also uses 8 other files; get the full folder from GitHub.本 Skill 自身采用 Gene 理念编写——紧凑、控制导向、面向行为而非文档。
传统 Skill 是文档导向的经验表达(~2500 tokens),优化目标是人类可读性和完整性。Strategy Gene 是控制导向的经验表达(~200-300 tokens),优化目标是推理时行为控制的信号密度和有效性。
Gene 不是 Skill 的压缩版,而是一种不同的经验抽象。
| gene_id | 触发信号 | 文件 |
|---|---|---|
gene_distill | 蒸馏, 提取, 转换skill, 拆分gene | genes/gene_distill.md |
gene_gep_format | GEP格式, strategy-gene标签, 字段 | genes/gene_gep_format.md |
gene_signal_density | 信号密度, token预算, 精简, 去噪 | genes/gene_signal_density.md |
gene_failure_encoding | 失败经验, AVOID, 警告, 踩坑 | genes/gene_failure_encoding.md |
gene_evolution | 演化, 迭代, 积累, capsule, event | genes/gene_evolution.md |
gene_validation | 验证, 校验, 质量检查, 对比 | genes/gene_validation.md |
读取目标 Skill 的全部文件:SKILL.md + references/ + scripts/
始终加载: gene_distill + gene_gep_format
按需加载: gene_signal_density + gene_failure_encoding
对每个原子功能域:
加载: gene_validation
加载: gene_evolution
为后续迭代演化预留 Capsule 和 Event 接口
| 参考文档 | 用途 |
|---|---|
| GEP 协议参考 | Gene Evolution Protocol 完整定义、对象模型、演化循环 |
© 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 8 other files (references) in .agents/skills/skill2gene of didi/mpx.
Open the folder on GitHubat commit e2a7612
Skill2gene 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 |
|---|---|---|---|---|---|---|
| Skill2gene this skilldidi/mpx | 3.9k | — | ~558 | Automated safety check: Pass | Apache-2.0 | |
| Releasing Php Packageyansongda/pay | 5.4k | — | ~1.6k | Automated safety check: Pass | MIT | |
| WxJava Upgrade Guidebinarywang/WxJava | 33k | — | ~129 | Automated safety check: Pass | Apache-2.0 | |
| Process PR Reviewsnexu-io/nexu | 3.3k | — | ~2.5k | Automated safety check: Pass | MIT | |
| Project ReleaseDavidLam-oss/obsidian-wechat-converter | 332 | — | ~597 | Automated safety check: Pass | MIT | |
| Sync Specsnexu-io/nexu | 3.3k | — | ~1.2k | Automated safety check: Pass | MIT |
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
binarywang/WxJava
Plans a WxJava version upgrade, checking the BOM, module dependencies, JDK version and configuration, with phased steps and clear rollback conditions.
nexu-io/nexu
A skill your agent uses when the user asks to process, triage, fetch, view, count, list, or resolve review feedback in a GitHub PR.
DavidLam-oss/obsidian-wechat-converter
Release workflow for obsidian-wechat-converter (version bump, release notes, tag and publish).
nexu-io/nexu
A skill your agent uses when code changes may have made documentation outdated, when reviewing docs for consistency, or when the user asks to sync or audit documentation.
TencentCloudBase/CloudBase-AI-Toolkit
Code review and validation for CloudBase projects. An agent skill from TencentCloudBase/CloudBase-AI-Toolkit.
didi/mpx
审计存量 Mpx 项目迁移到“mode 只负责目标筛选、srcMode 只负责源码方言”的新版编译语义。只要用户提到升级 Mpx 后检查条件编译、排查 .ali/.swan 等条件文件、mode/src-mode 区块、@mode/@mode、modeRules/srcModeRules 或外部模板迁移,就应使用本 Skill;不用于与该语义变更无关的普通 Mpx 升级。
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.
Works with
Categories
将传统文档导向的 Procedural Skill 转换为紧凑的 Strategy Gene 格式。基于论文 "From Procedural Skills to Strategy Genes" 的 Gene Evolution Protocol (GEP),将 ~2500 token 的文档型 Skill 蒸馏为 ~200-300 token 的控制型 Gene 集合。当用户要求将…. Skill2gene is an agent skill from didi/mpx.
Skill2gene fits situations like: development work in your project.
Run `npx skills add didi/mpx --skill skill2gene -a claude-code`. Or copy the skill folder (.agents/skills/skill2gene in didi/mpx) into .claude/skills/skill2gene in your project. Claude Code loads it when a task matches its description.
Run `npx skills add didi/mpx --skill skill2gene -a codex`. Or copy the skill folder (.agents/skills/skill2gene in didi/mpx) into .agents/skills/skill2gene 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 skill2gene -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/skill2gene, .gemini/skills/skill2gene, .github/skills/skill2gene and .opencode/skills/skill2gene in your project.
SKILL.md names no scripts, command-line tools or credentials: Skill2gene is instructions for the agent only.
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. Review the folder before installing.
Skill2gene 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 558 tokens (SKILL.md is roughly 2.2k 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 1.4k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Skill2gene: Releasing Php Package (yansongda/pay, 5.4k stars), WxJava Upgrade Guide (binarywang/WxJava, 33k stars), Process PR Reviews (nexu-io/nexu, 3.3k stars) and Project Release (DavidLam-oss/obsidian-wechat-converter, 332 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 October 8, 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.