一键导入
generalize-bundled-script
Generalize a mekara-specific script for the bundled location so it works for all projects using mekara as a dependency.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Generalize a mekara-specific script for the bundled location so it works for all projects using mekara as a dependency.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Merges completed work back to main through a protected-branch pull request workflow.
Set up a new git worktree and install dependencies.
Merges completed work back to main through a protected-branch pull request workflow.
Set up a new git worktree and install dependencies.
Prepares a Python package for PyPI release by updating the version, building, and verifying the distribution.
Prepare a release by updating the version, building, and verifying the distribution.
| name | generalize-bundled-script |
| description | Generalize a mekara-specific script for the bundled location so it works for all projects using mekara as a dependency. |
Generalize a mekara-specific script for the bundled location so it works for all projects using mekara as a dependency.
$ARGUMENTS
Gather from the user-provided context which script to generalize (the source in .agents/skills/).
If unclear, ask the user.
Read the following files to understand what's standard across mekara projects vs what's specific to this repo:
Be aware of the other standards in @docs/docs/standards/. For example, if a script references something (e.g. project documentation), check the standard Mekara documentation to see if that should be included or not.
Compare the source script (.agents/skills/<name>/SKILL.md) with its bundled version (src/mekara/bundled/skills/<name>/SKILL.md) to understand what changes have already been made.
Apply the patterns from the guidance file to identify content specific to this repo that should be removed or generalized:
Replace with generic instructions that work for any project.
Update src/mekara/bundled/skills/<name>/SKILL.md
If a compiled version exists at src/mekara/bundled/skills/<name>/mekara.py, update it too. The pre-commit hook requires both to be updated together. If no compiled version exists, don't create one - only update the natural language script.
Add an entry to docs/docs/code-base/mekara/bundled-script-generalization.md documenting what was stripped from this script.
Important: This file tracks the persistent differences between the project version and the bundled version — i.e., what the bundled version has removed or generalized compared to the project version right now. Do NOT document changes you just made that were applied equally to both versions (e.g., if you updated both .agents/skills/finish/SKILL.md and src/mekara/bundled/skills/finish/SKILL.md to call /teardown-worktree, that is NOT a difference to record). Only record things where the bundled version intentionally diverges from the project version (e.g., generic package manager examples instead of poetry install --with dev).
Confirm the generalized script would work for:
.agents/skills/<name>/SKILL.mddocs/docs/ (Docusaurus structure) - use generic paths from the standards like docs/development/workflows.mdsystematize.md, don't also modify project/systematize.md or other scripts. Special-case scripts (like those under project/) may be intentionally mekara-specific