godmode:dep-bump
Skill1 starsChanged 57 days agoMITView on GitHub
Propagate a workspace crate version bump across ~/dev/ downstream dependencies. Discover all pinned locations, update safely with Edit, verify with taskit check compile, and report pass/fail per repo.
In this repository76 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- godmode:agent-governanceSkill
- godmode:agent-improvement-loopSkill
- agents-skill-saveSkill
- baml-add-typesSkill
- godmode:brainstormSkill
- godmode:capSkill
- godmode:changelogSkill
- godmode:ci-fixSkill
- godmode:code-reviewSkill
- godmode:context-mapSkill
- godmode:cross-issueSkill
- godmode:crs-discoverSkill
- godmode:crs-hook-testingSkill
- godmode:crs-installSkill
- godmode:crs-propose-rulesSkill
- godmode:crs-validateSkill
- godmode:dead-codeSkill
- godmode:decomposeSkill
- godmode:dep-auditSkill
- godmode:designSkill
- devloop-session-primerSkill
- godmode:dialecticSkill
- godmode:doc-maintainerSkill
- godmode:doc-reviewSkill
- godmode:doc-syncSkill
- godmode:doc-writerSkill
- doob-db-inspectorSkill
- doob-release-managerSkill
- godmode:doublecheckSkill
- dual-forge-pr-mergeSkill
- gh-bulk-issuesSkill
- godmode:health-scoreSkill
- godmode:ingestSkill
- godmode:introspectionSkill
- godmode:issue-triageSkill
- godmode:memory-bankingSkill
- godmode:mergeSkill
- godmode:mini-context-graphSkill
- godmode:mistake-trackerSkill
- godmode:moaSkill
- notfiles-release-workflowSkill
- godmode:observability-as-infrastructureSkill
- godmode:parallel-agentsSkill
- godmode:pattern-learnerSkill
- planning-with-cruxSkill
- godmode:pr-authorSkill
- godmode:receiving-reviewSkill
- godmode:refactoringSkill
- godmode:release-notesSkill
- release-readiness-checkSkill
- remote-upstream-triageSkill
- repo-gap-backlogSkill
- godmode:rust-conventionsSkill
- rustqualSkill
- rustqual-workspaceSkill
- rust-release-workflow-authorSkill
- godmode:self-reflectSkill
- session-wrap-commit-pushSkill
- godmode:systematic-debuggingSkill
- The first 60 shown.
The file
Show its rules and text
We split this skill into the rules it gives an agent
23 rules. About 0 are common, 15 are distinctive, and 8 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈15
Distinctive · estimate
This author's own choices. Worth a look.
8
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 19
After a workspace crate (e.g., devkit, romp) reaches a new version
- Distinctive: line 20
When asked to "bump propagate", "propagate version", "update dependents"
- Distinctive: line 21
Before committing a version bump to ensure all downstream repos are aware
- Distinctive: line 22
When onboarding a new repo into the workspace dependency tree
- Very specific: line 36
Search ~/dev/ for all Cargo.toml files:
- Distinctive: line 63
Read the file fully using the Read tool
- Very specific: line 65
Use the Edit tool to replace with <crate-name> = "<new-version>"
- Distinctive: line 66
Verify no other lines changed (Edit preserves surrounding context)
- Very specific: line 70
Never update the crate's own version in its Cargo.toml
- Distinctive: line 71
Only update dependency version pins, not feature specifications
- Distinctive: line 72
If the dependency is yanked or not found, pause and report
- Distinctive: line 85
Goal: Ensure each repo still builds after the version bump.
- Distinctive: line 89
Run taskit check compile on the manifest:
- Very specific: line 113
Important: Do NOT run cargo build — checking is sufficient and faster.
- Distinctive: line 155
Use after running workspace-release-impact to identify which repos are affected.
- Distinctive: line 161
Run after successful propagation.
- Very specific: line 169
Never speculatively update all Cargo.toml files matching a pattern — only update files where the crate version is explicitly pinned.
- Very specific: line 171
Never update a crate's own version in its Cargo.toml.
- Distinctive: line 173
Never bump major versions without understanding the breaking changes.
- Very specific: line 175
Always verify the new version exists on crates.io before updating.
- Distinctive: line 179
If the version is yanked, report and ask the user to select a different version.
- Distinctive: line 181
Use Edit tool only — never use sed, stream replacements, or other text munging.
- Very specific: line 185
Never assume feature flags are preserved during a version bump.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Dependency Bump Propagation
Propagate a bumped workspace crate version to all repos that depend on it across ~/dev/. This is a companion to workspace-release-impact and workspace-bump-commit skills.
When to Use
- After a workspace crate (e.g., devkit, romp) reaches a new version
- When asked to "bump propagate", "propagate version", "update dependents"
- Before committing a version bump to ensure all downstream repos are aware
- When onboarding a new repo into the workspace dependency tree
- To align all downstream pins to a single version
The Propagation Process
Discovery Phase
Goal: Map all locations where the crate is pinned.
- Identify the crate name, old version, and new version:
- Crate name (e.g., "devkit")
- Old version (e.g., "0.4.0")
- New version (e.g., "0.5.0")
Search ~/dev/ for all Cargo.toml files:
rg "<crate-name> = \"<old-version>\"" ~/dev --glob "Cargo.toml" -B 2 -A 2- Record each match:
- Full repo path
- File path (relative to repo root or absolute)
- Line number
- Current version pinned
- Dependency type (normal, dev, build)
- Group by repository:
- Some repos may have multiple Cargo.toml files (workspace sub-crates)
- Some repos may pin the crate in multiple places (unlikely but possible)
Output: List of repos to update, grouped by directory structure.
Update Phase
Goal: Apply the version bump to all discovered locations.
Precondition: User confirms the update plan.
For each affected Cargo.toml:
- Read the file fully using the Read tool
- Locate the dependency line:
<crate-name> = "<old-version>" - Use the Edit tool to replace with
<crate-name> = "<new-version>" - Verify no other lines changed (Edit preserves surrounding context)
Constraints:
- Never update the crate's own version in its Cargo.toml
- Only update dependency version pins, not feature specifications
- If the dependency is yanked or not found, pause and report
Example:
# Old
devkit = "0.4.0"
# New
devkit = "0.5.0"Verification Phase
Goal: Ensure each repo still builds after the version bump.
For each updated repo:
Run taskit check compile on the manifest:
cargo check --manifest-path <path-to-cargo-toml>Or for workspace roots:
cargo check --workspace --manifest-path <path-to-cargo-toml>- Capture stdout, stderr, and exit code
- Classify result:
- Pass: exit code 0, no errors
- Fail: exit code nonzero, compilation error
- Blocked: unable to run (binary missing, permission denied)
- For failures, collect the full error output:
- Dependency resolution errors
- Compilation errors in dependent code
- Feature flag conflicts
Important: Do NOT run cargo build — checking is sufficient and faster.
Reporting Phase
Goal: Summarize results per repo and identify manual interventions needed.
Create a table:
## Propagation Results: <crate> <old-version> → <new-version>
| Repository | Status | Notes |
|:---|:---:|:---|
| ~/dev/repo-1 | Pass | - |
| ~/dev/repo-2 | Fail | error: dependency version not found on crates.io |
| ~/dev/repo-3 | Pass | - |
**Summary**: 2 pass, 1 fail
### Passed Repos
No action needed. Repos are ready for commit and test.
### Failed Repos (Manual Intervention)
**repo-2**:error: version 0.5.0 of devkit not found in registry
Next steps:
- Verify the new version exists on crates.io
- Check if the crate has been published (not just tagged locally)
- If not published, consider a dry run with `cargo tree` insteadIntegration with Other Skills
workspace-release-impact (atelier)
Use after running workspace-release-impact to identify which repos are affected. The impact skill shows the dependency graph; dep-bump propagates the actual version update.
workspace-bump-commit (atelier)
Run after successful propagation. The bump-commit skill creates a coordinated commit message and changelog entry across all updated repos. Dep-bump discovers and validates; bump-commit commits the changes.
Guardrails
- Always show the full update plan with line numbers and ask for explicit confirmation before editing any Cargo.toml.
- Never speculatively update all Cargo.toml files matching a pattern — only update files where the crate version is explicitly pinned.
- Never update a crate's own version in its Cargo.toml. If the bump targets devkit and you find devkit/Cargo.toml with devkit as a member, skip it.
- Never bump major versions without understanding the breaking changes. The user must request major version bumps explicitly.
- Always verify the new version exists on crates.io before updating. Use
cargo search <crate>or the registry web UI to confirm. - For any repo where taskit check compile fails, show the exact error and pause — do not continue to the next repo until the user acknowledges the failure.
- If the version is yanked, report and ask the user to select a different version.
- Use Edit tool only — never use sed, stream replacements, or other text munging. Edit preserves formatting and context.
- For workspace-scoped crates, be sure to check both the workspace root and all sub-crate Cargo.toml files.
- Never assume feature flags are preserved during a version bump. If the
update includes features (e.g.,
devkit = { version = "0.5.0", features = ["foo"] }), verify the feature exists in the new version.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

