一键导入
contribute-framework
Publish pending changes in tools/framework/ to the repokit upstream repo. Handles branch switch, testing, versioning, push, and submodule pin.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Publish pending changes in tools/framework/ to the repokit upstream repo. Handles branch switch, testing, versioning, push, and submodule pin.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Resolve an uncertainty during spec authoring by running a throwaway investigation and recording a concluded docs/spike/SPIKE-<n>.md evidence artifact. Use when a spec or ADR makes a design claim that is not yet backed by a concluded spike, a cited code path, or a doc — the spec gate rejects uncited claims and open questions.
Discover and run this project's `./repo` commands (build, test, format, lint, etc.) via the `repo_run` MCP tool instead of invoking the CLI through Bash.
基于 SOC 职业分类
| name | contribute-framework |
| description | Publish pending changes in tools/framework/ to the repokit upstream repo. Handles branch switch, testing, versioning, push, and submodule pin. |
| argument-hint | one-line summary of the change (used in changelog) |
Publish pending tools/framework/ changes upstream and pin the new version.
Abort if the submodule has no uncommitted changes.
maincd tools/framework
git stash
git checkout main
git pull --ff-only origin main
git stash pop # conflict -> stop, ask user
test_driver/ exists on main but not on the release tag. It needs a
junction so the framework code under test resolves correctly.
# Windows junction (idempotent)
cmd.exe /c "mklink /J test_driver\tools\framework . 2>nul || echo junction exists"
bash test_driver/tools/framework/bootstrap.sh test_driver
cd test_driver && ./repo test
Fail -> fix the issue and re-run tests. Do NOT bump version or proceed until tests pass. Loop fix -> test until green.
Remove the junction and test_driver/ artifacts before bumping or
switching away from main. The release tag doesn't contain test_driver/,
so these would linger as untracked files.
cd tools/framework
cmd.exe /c "rmdir test_driver\tools\framework" # remove junction first
rm -rf test_driver
version in pyproject.toml (e.g. 0.7.26 -> 0.7.27)CHANGELOG.md:## <new-version>
- **<Area>**: <user's argument>
cd tools/framework
git add -A
git commit -m "v<new-version>: <summary>"
git push origin main
CI auto-tags v<version> on green. Poll git fetch origin --tags && git tag -l "v<new-version>" every ~30s, up to 3 min. Timeout -> print manual finish instructions and stop.
cd tools/framework && git checkout v<new-version>
cd ../.. && git add tools/framework && git commit -m "Pin repokit submodule to v<new-version>"
Print: old version -> new version, changelog entry, pin commit hash.