Skip to content

feat: Rust skills gap fill from systems programming best practices#70

Open
AlexMikhalev wants to merge 5 commits intomainfrom
feat/rust-skills-gap-fill-62
Open

feat: Rust skills gap fill from systems programming best practices#70
AlexMikhalev wants to merge 5 commits intomainfrom
feat/rust-skills-gap-fill-62

Conversation

@AlexMikhalev
Copy link
Contributor

Summary

Implements epic #62 -- fills gaps in Rust skills identified by analyzing the Dicklesworthstone Rust System Programming Best Practices guide against existing rust-development, rust-performance, and testing skills.

Changes

Extended skills (3 files modified):

New skills (2 files created):

Disciplined Engineering Alignment

Every section includes disciplined workflow integration notes mapping to V-model phases:

  • Research: what to audit/profile
  • Design: what to specify upfront
  • Implementation: incremental step guidance
  • Verification: which tools are mandatory (Miri, TSan, coverage thresholds)
  • Validation: production-readiness criteria

Cross-references: quality-gate <-> rust-ci-cd, devops <-> rust-observability, rust-development unsafe policy <-> testing Miri/fuzzing.

Test plan

  • Verify all 5 SKILL.md files parse correctly (valid YAML frontmatter)
  • Verify code examples are syntactically plausible Rust
  • Verify cross-references between skills are accurate
  • Verify crate recommendations tables are consistent across skills
  • Review disciplined workflow integration notes for completeness

Closes #63, closes #64, closes #65, closes #66, closes #67, closes #68, closes #69
Refs #62

AlexMikhalev and others added 5 commits February 27, 2026 13:38
Extends rust-development skill with:
- Graceful shutdown using CancellationToken
- Structured concurrency with JoinSet
- Backpressure with bounded channels
- Tower middleware composition and retry policies
- Safe C API wrappers with opaque handle pattern
- Panic catching at FFI boundaries
- String management across FFI (CString/CStr)
- WASM interop patterns (wasm-bindgen, conditional compilation)
- uniffi for automatic multi-language bindings
- Disciplined workflow integration notes for each section

Crate recommendations updated: tokio-util, tower, tower-http,
wasm-bindgen, serde-wasm-bindgen, uniffi.

Closes #63, closes #64
Refs #62

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…on depth

Extends rust-performance skill with:

Concurrency patterns (#65):
- Lock-free data structures with crossbeam epoch
- Data parallelism with rayon (par_iter, chunking, custom thread pools)
- Atomic operations with memory ordering guide (Relaxed/Acquire/Release/SeqCst)
- False sharing avoidance with cache line padding

Build optimization depth (#66):
- Size-optimized profiles (opt-level "z", panic abort, strip)
- Symbol stripping guide (none/debuginfo/symbols with use cases)
- Feature gates for conditional compilation
- Cross-compilation with cross tool
- Custom allocators (jemalloc, bumpalo arena)
- Disciplined workflow integration notes

Closes #65, closes #66
Refs #62

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…esting

Extends testing skill with advanced verification tools:
- Miri: UB detection for unsafe code, setup and CI integration
- cargo-fuzz: fuzz targets, structured fuzzing with Arbitrary, corpus management
- Sanitizers: ASan, TSan, MSan usage guide with selection criteria
- Advanced proptest: custom strategies, domain-specific generators
- Loom: exhaustive concurrency testing for lock-free data structures
- Disciplined workflow integration mapping tools to V-model phases
- Cross-references to rust-development (unsafe policy) and
  rust-performance (concurrency patterns)

Closes #67
Refs #62

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
New skill covering Rust-specific continuous integration and delivery:
- GitHub Actions workflow template (5-stage: check, test, coverage, security, benchmarks)
- cargo-nextest configuration with profiles and partitioning
- cargo-deny configuration for advisories, licenses, bans, and sources
- cargo-llvm-cov coverage thresholds by code type
- cargo-dist for binary distribution across platforms
- cargo-release for automated publishing
- V-Model CI mapping (which CI stages serve which disciplined phases)
- Quality gate criteria compatible with quality-gate skill format

Closes #68
Refs #62

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
New skill covering observability for Rust services:
- Structured tracing setup with environment-specific configs (pretty/JSON)
- Function instrumentation with #[instrument] and manual spans
- OpenTelemetry integration with OTLP export and context propagation
- Prometheus metrics (counters, histograms, gauges) with naming conventions
- Per-request context (request ID, correlation ID) middleware
- axum middleware examples for tracing and metrics
- Cargo.toml with feature-gated observability dependencies
- Disciplined observability checklist mapping to V-model phases
- Cross-references to devops and rust-ci-cd skills

Closes #69
Refs #62

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment