一键导入
mcub-release-modules
Validate, publish, index, commit, and push MCUB modules from debug builds into the MCUB module repository.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Validate, publish, index, commit, and push MCUB modules from debug builds into the MCUB module repository.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Create and update debug MCUB userbot modules in app-debug using the MCUB module API, class-style modules, and inline form/callback docs.
Inspect git status, diffs, branches, and prepare commits safely while preserving unrelated user changes.
Run, interpret, and fix MCUB debugger warnings and errors while preserving module behavior and build history.
Navigate and explain local MCUB documentation while routing module and API questions to the right sources and warning against Hikka assumptions.
Statically audit MCUB modules before release for safety, metadata, dependencies, commands, inline callbacks, and release readiness without editing code.
Route OpenAgent MCUB work across repo navigation, debugger fixes, module creation, release workflows, and skill registry management.
| name | MCUB-release-modules |
| description | Validate, publish, index, commit, and push MCUB modules from debug builds into the MCUB module repository. |
| keywords | ["release","publish","peлиз","выпycти","oпyбликyй","repo-MCUB-fork","modules.ini","commit","push"] |
Use this skill when the user asks to release, publish, upload, ship, or update an MCUB module in the public MCUB module repository.
This skill is for moving an already-created MCUB module from the MCUB-fork/debug workspace into the release repository:
/home/alina/test/MCUB/repo-MCUB-fork/
Typical source module:
/home/alina/test/MCUB/MCUB-fork/app-debug/{module-name}/modules-debug-v{version}.py
Release destination:
/home/alina/test/MCUB/repo-MCUB-fork/{name-modules}-MCUB-repo.py
The released file name must be the canonical module repository name.
Examples:
Weather-MCUB-repo.py
speedtest-MCUB-repo.py
menu-buttons-MCUB-repo.py
The module must be listed in:
/home/alina/test/MCUB/repo-MCUB-fork/modules.ini
The modules.ini entry must match the released file name without .py exactly.
Example:
speedtest-MCUB-repo.py -> modules.ini entry: speedtest-MCUB-repo
Weather-MCUB-repo.py -> modules.ini entry: Weather-MCUB-repo
Rules:
.py in modules.ini.Before copying/moving the module to the release repository:
.py module.python -m py_compile app-debug/{module-name}/modules-debug-v{version}.py
python -m debugger.cli app-debug/{module-name}/modules-debug-v{version}.py
If the source module is outside app-debug/, still run the same checks against its actual path.
Use this workflow when the module is not already present in /home/alina/test/MCUB/repo-MCUB-fork/.
{name-modules}-MCUB-repo.py
/home/alina/test/MCUB/repo-MCUB-fork/{name-modules}-MCUB-repo.py
modules.ini exactly as the file name without .py.modules.ini change separately.Recommended commit structure:
add {name-modules} module
add {name-modules} to modules index
Use this workflow when /home/alina/test/MCUB/repo-MCUB-fork/{name-modules}-MCUB-repo.py already exists.
{name-modules}-MCUB-repo.py
modules.ini contains the exact entry {name-modules}-MCUB-repo.modules.ini was missing the entry, add it and commit that change separately.Recommended commit structure:
update {name-modules} module
add {name-modules} to modules index
Only create the second commit if modules.ini actually changed.
All git operations for release happen in:
/home/alina/test/MCUB/repo-MCUB-fork
Before committing:
git status --short.git diff --no-pager for unstaged changes.{name-modules}-MCUB-repo.pymodules.ini if it changed.Commit sequence for new module:
git add {name-modules}-MCUB-repo.py
git commit -m "add {name-modules} module"
git add modules.ini
git commit -m "add {name-modules} to modules index"
git push
Commit sequence for update:
git add {name-modules}-MCUB-repo.py
git commit -m "update {name-modules} module"
# only if modules.ini changed:
git add modules.ini
git commit -m "add {name-modules} to modules index"
git push
If there are no changes after validation, do not create an empty commit. Tell the user the module is already up to date.
Before committing, verify:
/home/alina/test/MCUB/repo-MCUB-fork/{name-modules}-MCUB-repo.py
modules.ini contains exactly:{name-modules}-MCUB-repo
modules.ini entry and release file basename match exactly:Path(file).stem == modules_ini_entry
After committing and pushing:
git status --short in /home/alina/test/MCUB/repo-MCUB-fork.modules.ini use a name different from the release file stem..py to modules.ini.repo-MCUB-fork.