一键导入
implement
Standard implementation workflow for this repo — code, test, lint, push, verify CI. Use after the plan is agreed and you're about to write code.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Standard implementation workflow for this repo — code, test, lint, push, verify CI. Use after the plan is agreed and you're about to write code.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Cut a new release of git-workset — pick the version, tag, push, and verify the automated workflow. Use when the user asks to release, ship, or cut a version.
End-of-task reflection to capture learnings and improve automation
| name | implement |
| description | Standard implementation workflow for this repo — code, test, lint, push, verify CI. Use after the plan is agreed and you're about to write code. |
Follow these steps in order. Don't skip steps to "save time" — each one catches a class of bugs the others miss.
Make the changes per the agreed plan.
If the change will be user-visible — a new flag, a behavior change, a bug fix — bump version in Cargo.toml as part of this same change, before committing. This avoids the "deferred bump" trap where features pile up unreleased and someone later has to figure out the right version after-the-fact.
Pick the smallest correct semver bump:
| Change type | Bump | Example |
|---|---|---|
feat: (new functionality) | minor | 0.3.0 → 0.4.0 |
fix:/perf: (no API change) | patch | 0.3.1 → 0.3.2 |
| Breaking change | major (pre-1.0: minor is OK, but call it out) | 0.3.0 → 0.4.0 |
Skip the bump for chore:/ci:/docs:/test: changes — those don't ship to users.
After editing Cargo.toml, run cargo check so Cargo.lock is regenerated to match. Stage both.
Tests live in tests/integration.rs. They must be substantive and actionable:
cargo test
All tests must pass. If a pre-existing test breaks, fix it — don't disable it.
cargo clippy --all-targets --all-features -- -D warnings
cargo fmt --all -- --check
Both must be clean. If fmt --check fails, run cargo fmt --all and re-run tests.
Only after steps 3–5 are clean:
git add <specific files>
git commit -m "..."
git push origin main
Use conventional commit prefixes (feat:, fix:, chore:, etc.) — match the style of recent commits in git log.
Multi-platform CI must pass before the task is done.
gh run watch
Or list and follow the latest run:
gh run list --limit 1
gh run view <id> --log-failed # if any job failed
Do not declare the task complete until the run is green across all platforms.
gh run view <id> --log-failed).git add <files>
git commit --amend --no-edit
git push --force-with-lease origin main
This skill does not cover releasing, tagging, or publishing. A separate release skill handles that.