Skip to content

feat: add Rust language support to codebase-readiness#31

Merged
dgalarza merged 1 commit intodgalarza:mainfrom
acostanzo:feat/rust-language-support
Mar 20, 2026
Merged

feat: add Rust language support to codebase-readiness#31
dgalarza merged 1 commit intodgalarza:mainfrom
acostanzo:feat/rust-language-support

Conversation

@acostanzo
Copy link
Copy Markdown
Contributor

@acostanzo acostanzo commented Mar 20, 2026

Summary

  • Add first-class Rust language support to the codebase-readiness assessment plugin, bringing supported languages from 7 to 8
  • Create rust.md language reference covering all 8 assessment dimensions with Rust-specific signals
  • Update recon.sh to detect Cargo.toml, count .rs source files, detect Rust integration tests in tests/, and find clippy.toml/rustfmt.toml linter configs
  • Add Rust to README example language list
  • Bump plugin version from 1.5.0 → 1.6.0

Details

Rust was already referenced in SKILL.md's weight tables as a statically-typed language but had no language reference file and wasn't detected by the reconnaissance script. This PR closes that gap.

The rust.md reference follows the exact section structure of go.md (both statically-typed with similar philosophies) and covers:

  • Type Safetyunsafe blocks, unwrap()/expect() frequency, transmute/raw pointers, clippy::unwrap_used lint detection, newtypes, #[must_use], From/Into impls, thiserror/snafu/anyhow/color-eyre error handling
  • Test Foundation#[cfg(test)] in-file tests, tests/ integration tests, doc tests (/// and //!), insta snapshot testing, proptest/criterion/mockall/rstest
  • Feedback Loopscargo clippy, cargo check, cargo-watch/bacon, cargo-audit, cargo-deny, cargo-nextest
  • Code Clarity — snake_case/PascalCase conventions, 2015 vs 2018+ module system
  • Consistencyrustfmt.toml, clippy.toml, rust-toolchain.toml, deny.toml, #[deny(warnings)] anti-pattern detection, missing_docs enforcement, observability crate detection
  • Architecture — standard layout, workspace structure with dependency inheritance
  • Change Safety#[cfg(feature)], cargo-audit/cargo-deny, migration tools, MSRV policy, edition detection, toolchain pinning

All evidence commands use grep -rE (ERE) for macOS/Linux portability and follow the unanchored grep -v target | grep -v .git convention used by all other language files.

Test plan

  • quick_validate.py passes: Skill is valid!
  • rust.md section headers match go.md exactly (zero diff)
  • Version bumps match in both plugin.json and marketplace.json
  • No BRE \| alternation patterns (macOS-safe)
  • No anchored grep filters (matches convention of other language files)
  • No duplicate evidence commands across sections
  • Run bash scripts/recon.sh in a Rust project to confirm detection

@acostanzo acostanzo force-pushed the feat/rust-language-support branch 2 times, most recently from e20aa9a to 93c6831 Compare March 20, 2026 02:47
@acostanzo acostanzo marked this pull request as draft March 20, 2026 02:47
@acostanzo acostanzo force-pushed the feat/rust-language-support branch from 93c6831 to ada50bb Compare March 20, 2026 02:51
Add first-class Rust support to the codebase-readiness assessment plugin:

- Create rust.md language reference with all 8 dimension sections covering
  ownership/borrow checker signals, cargo test detection, clippy/rustfmt
  tooling, and Rust-specific architecture patterns
- Update recon.sh to detect Cargo.toml, count .rs source files, find
  clippy.toml/rustfmt.toml linter configs, and detect Rust integration tests
- Add rust to SKILL.md supported languages list and README examples
- Bump plugin version to 1.6.0
@acostanzo acostanzo force-pushed the feat/rust-language-support branch from ada50bb to 03bc7d5 Compare March 20, 2026 02:54
@acostanzo acostanzo marked this pull request as ready for review March 20, 2026 03:02
@dgalarza
Copy link
Copy Markdown
Owner

Thanks for adding!

@dgalarza dgalarza merged commit 0bc28b2 into dgalarza:main Mar 20, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants