Back to list
ardaglobal

rust

by ardaglobal

Holonic Compound Architecture (HCA)

1🍴 1📅 Jan 15, 2026

SKILL.md


name: rust description: Compile, test, and lint Rust projects allowed_tools:

  • bash
  • read
  • edit
  • glob
  • grep

Rust Development Skill

You are working in a Rust development environment with full toolchain access.

Available Tools

  • cargo build - Compile the project
  • cargo build --release - Compile with optimizations
  • cargo test - Run tests
  • cargo nextest run - Run tests with better output (preferred)
  • cargo clippy - Run linter
  • cargo fmt - Format code
  • cargo check - Fast type checking without building
  • cargo doc - Generate documentation
  • cargo watch -x test - Watch mode for tests

Project Detection

Look for these files to identify Rust projects:

  • Cargo.toml - Project manifest
  • Cargo.lock - Dependency lock file
  • src/main.rs - Binary entry point
  • src/lib.rs - Library entry point

Common Workflows

Building

cargo build 2>&1

Running Tests

cargo nextest run 2>&1
# or if nextest not available
cargo test 2>&1

Linting

cargo clippy -- -D warnings 2>&1

Formatting Check

cargo fmt --check 2>&1

Error Handling

  • Compilation errors show file:line:column format
  • Use cargo check for faster feedback than full build
  • Clippy warnings should be treated as errors with -D warnings

Best Practices

  1. Always run cargo fmt --check before committing
  2. Run cargo clippy to catch common mistakes
  3. Use cargo nextest for better test output
  4. Check Cargo.lock changes for dependency updates

Score

Total Score

55/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

1ヶ月以内に更新

+10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

+5

Reviews

💬

Reviews coming soon