Commit Graph

14 Commits

Author SHA1 Message Date
Leonardo Maldonado 7db54ca2bc fix: make x86-specific examples compile on x86_64
The SIMD/target-cpu examples returned () from cfg(target_arch="x86_64") blocks and unsafe fns, so they only compiled on non-x86 hosts (where the blocks are cfg'd out). Make them return their declared types and compile on every arch.
2026-06-14 19:49:06 -03:00
Leonardo Maldonado dad723af2f docs: expand Rc/RefCell rules and cross-link to new categories 2026-06-14 19:38:45 -03:00
Leonardo Maldonado 13f4c48b65 feat: add const, trait-design, and collections categories
Also add an index generator and CONTRIBUTING/CHANGELOG.
2026-06-14 19:38:45 -03:00
Leonardo Maldonado 6a53c3a96a feat: add closures category 2026-06-14 19:38:45 -03:00
Leonardo Maldonado 927ef7f772 feat: add serde and numeric-safety categories 2026-06-14 19:38:45 -03:00
Leonardo Maldonado 6f0fe4edfc ci: validate rules and compile-check examples against a baseline 2026-06-14 19:38:45 -03:00
Leonardo Maldonado 24bec883ac test: add example compile-check harness and fix surfaced bugs
Type-check every rust code block in the rules and fix real bugs in Good examples.
2026-06-14 19:38:45 -03:00
Leonardo Maldonado b14f798766 feat: add macros and observability categories 2026-06-14 19:38:45 -03:00
Leonardo Maldonado a566f1fd47 docs: improve README and expand sources & attribution 2026-06-14 19:38:44 -03:00
Leonardo Maldonado 5f0b2079f8 feat: expand to 218 rules and refresh for the Rust 2024 edition
Add unsafe, concurrency, conversions, and pattern-matching categories plus rules across existing ones, and correct advice that was outdated for Rust 1.96.
2026-06-14 19:38:44 -03:00
Leonardo Maldonado 89910e8585 fix: replace flagged sol-trade-sdk URL with ripgrep reference
The 0xfnzero/sol-trade-sdk URL was flagged as CRITICAL by Gen Agent
Trust Hub's URLite scanner (blacklisted crypto trading bot repo).
Replaced with ripgrep's release-lto profile from BurntSushi/ripgrep,
a well-known and trusted Rust project.
2026-04-26 11:39:15 +02:00
Leonardo Maldonado 0373001db0 Simplify README language
Cut the marketing fluff, made it direct and practical
2026-01-19 10:45:12 -03:00
Leonardo Maldonado 236e8c4e4a Add README and agent compatibility files
- Add README.md with installation instructions for 10+ AI agents
- Rename skill to 'rust-skills' for slash command invocation
- Add AGENTS.md and CLAUDE.md symlinks for cross-agent support
- Add LICENSE (MIT)
- Add 5 missing rules to SKILL.md index
- Update category counts to match actual file counts (179 total)
2026-01-19 10:38:10 -03:00
Leonardo Maldonado 0016d5cfb2 Add comprehensive Rust best practices skill with 179 rules
Includes rules for:
- Ownership and borrowing patterns
- Error handling with thiserror/anyhow
- Memory management and allocation
- API design following Rust guidelines
- Async/Tokio patterns
- Performance optimization
- Naming conventions
- Type safety
- Testing strategies
- Documentation standards
- Project structure
- Linting configuration
- Common anti-patterns to avoid
2026-01-19 10:23:19 -03:00