agentleFS
jscott3201jscott3201/yet-more-skills/skills/rust-ci-release/SKILL.md

rust-ci-release

Skill4 starsChanged 2 months agoApache-2.0View on GitHub

Plan or review Rust PR gates, native test matrices, packaging, or release evidence. Explicit workflow; does not authorize CI changes, publishing, tags, or merges.

The file

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 2 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Read the existing workflow scripts, CI definitions, testing contract, publication policy, and supported platforms.

    line 9
  2. Distinctive:

    Read gate adaptation when applying this to the reviewed repositories.

    line 37

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Rust CI and Release Validation

Read the existing workflow scripts, CI definitions, testing contract, publication policy, and supported platforms. This is a validation skill, not authorization to add CI or release anything. Preserve the user's native-only policy: no QEMU and no cross-compilation locally or in GitHub workflows.

Separate feedback from qualification

Use a short local edit loop for the affected package and a small regression selection. Keep the existing PR gate fast: formatting, relevant lint/build/test scope, required doctests, and already mandated policy checks. Do not add a full feature powerset, long fuzz campaign, exhaustive concurrency exploration, or timing-sensitive performance gate to every PR.

A narrow PR gate is not full product validation. When a changed crate is outside it, run that crate's meaningful checks and report the additional evidence. Preserve the broader staged-release gate for supported native OS/architectures, features, bindings, packaging, recovery/failure testing, and performance where applicable.

Maintain reliable test semantics

Preserve --locked, documented warning policy, nonempty-test requirements, timeout/leak/flaky handling, and effective nextest profiles. Keep doctest and external-language results separate. Do not use retries or broad ignores to turn an unstable gate green. Do not silently skip missing tools and print a success summary.

Use native hosts for the OS/architecture being qualified. A same-architecture Linux container can validate its Linux environment; it does not establish macOS behavior because the physical host is a Mac. Container image selection must not invoke transparent emulation. When a required native environment is unavailable, report that lane unrun.

Coordinate test resources across jobs and agents; nextest groups do not provide cross-job locks. Avoid duplicating expensive builds or benchmarking on a contended runner. An archive or cache may accelerate a compatible run but does not replace source compilation when the build inputs differ.

Validate packaging and release inputs

For a packaging task, inspect the actual package contents and dependencies, license/attribution files, generated assets, executable permissions, version alignment, and installation behavior. Test a consumable crate/wheel/binary rather than only the source checkout. Follow the existing publication order for interdependent crates.

Build release artifacts for GitHub consumption using authorized native runners and a documented supported matrix. Keep CPU baseline compatibility explicit; do not ship host-specialized binaries as portable defaults. Check artifact names, expected files, executable startup or library import, and failure visibility. A produced file is not a smoke-tested release.

Preserve credentials and publication boundaries. Do not expose secrets in logs, run untrusted PR code with release credentials, broaden token permissions, change branch protection, or publish/tag/merge without separate authorization. Supply-chain tooling findings require supported remediation or an explained existing policy exception, not arbitrary suppression.

Return

Give a small matrix of required lanes, actual results, and unrun reasons. Distinguish ready for focused review, PR validation, staged release, and publication. List the remaining qualification gap rather than inventing a new process or promising future background work.

Read gate adaptation when applying this to the reviewed repositories.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.