rust-release-workflow-author
Skill1 starsChanged 56 days agoMITView on GitHub
Use when creating or editing a GitHub Actions release workflow for a Rust workspace with version bumps, tags, affected-crate selection, binary packaging, and GitHub releases. Symptoms - you need a manual release workflow, selective crate bumps, downstream-dependent bump logic, or a release asset pipeline for Rust binaries.
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:dep-bumpSkill
- 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
- godmode:self-reflectSkill
- session-wrap-commit-pushSkill
- godmode:systematic-debuggingSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 5 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 10
Use this when the repo needs a real release workflow rather than just CI.
- Very specific: line 40
Prefer workflow_dispatch for explicit release control.
- Very specific: line 43
Use cargo metadata to compute downstream dependents when shared workspace crates change.
- Distinctive: line 44
Treat shared non-crate changes as workspace-wide unless the repo has a stricter contract.
- Distinctive: line 45
Run release gates before any commit or tag is pushed.
- Distinctive: line 46
Keep version bump, tag creation, push, build, and release publication in the same workflow.
- Distinctive: line 48
Use a Bash heredoc for workflow file writes when workflow editors are blocked by tooling hooks.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 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
Rust Release Workflow Author
When to Use
Use this when the repo needs a real release workflow rather than just CI. This is for Rust workspaces that tag releases, update crate versions, build binaries, and publish GitHub releases.
Commands
# Read existing workflows first
# Use Glob tool: glob '.github/**/*'
sed -n '1,260p' .github/workflows/ci.yml
sed -n '1,260p' .github/workflows/nightly.yml 2>/dev/null || true
# Read a known-good reference workflow before authoring
sed -n '1,260p' ~/dev/minibox/.github/workflows/release.yml
# Inspect workspace packages
cargo metadata --no-deps --format-version 1
rg -n '^version\s*=|^name\s*=' Cargo.toml crates/*/Cargo.toml
# Write workflow via heredoc
# Use the Write tool to create .github/workflows/release.yml with the full content.
# (Bash heredoc cat-redirect is blocked; Write tool is the correct approach.)
# Validate YAML
ruby -e 'require "yaml"; YAML.load_file(".github/workflows/release.yml"); puts "yaml-ok"'
# Review the rendered file before stopping
sed -n '1,320p' .github/workflows/release.ymlRules
- Prefer
workflow_dispatchfor explicit release control. - Validate semver input and refuse duplicate tags.
- Determine release scope from the diff since the last
v*tag, not from guesswork. - Use
cargo metadatato compute downstream dependents when shared workspace crates change. - Treat shared non-crate changes as workspace-wide unless the repo has a stricter contract.
- Run release gates before any commit or tag is pushed.
- Keep version bump, tag creation, push, build, and release publication in the same workflow.
- Bump only affected publishable crates; exclude test-only workspace members.
- Use a Bash heredoc for workflow file writes when workflow editors are blocked by tooling hooks.
Common Failures
| Symptom | Fix |
| Workflow exists but bumps every crate | Add affected-crate selection before cargo set-version |
| Shared crate changed but downstream apps were not bumped | Build reverse dependencies from cargo metadata and walk dependents transitively |
| Root-level config change was ignored | Treat non-crate shared changes as affecting all publishable workspace crates unless narrowed explicitly |
| Tag is created before validation finishes | Move push/tag steps after release gates |
| Release asset step fails | Verify built binary names and archive paths match the workflow inputs |
| Workflow edits are blocked by local tooling hooks | Write .github/workflows/*.yml with a heredoc and validate the final file locally |
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.

