スキル一覧に戻る
martimramos

forge-lang-rust

by martimramos

0🍴 0📅 2025年12月21日
GitHubで見るManusで実行

SKILL.md


name: forge-lang-rust description: Rust development standards including cargo test, clippy, and rustfmt. Use when working with Rust files, Cargo.toml, or Rust tests.

Rust Development

Testing

# Run all tests
cargo test

# Run with output
cargo test -- --nocapture

# Run specific test
cargo test test_name

# Run ignored tests
cargo test -- --ignored

Linting

# Run clippy
cargo clippy -- -D warnings

# Check without building
cargo check

Formatting

# Format code
cargo fmt

# Check format without changing
cargo fmt --check

Project Structure

project/
├── src/
│   ├── lib.rs
│   └── main.rs
├── tests/
│   └── integration_test.rs
├── Cargo.toml
└── README.md

Cargo.toml Template

[package]
name = "project-name"
version = "0.1.0"
edition = "2021"

[dependencies]

[dev-dependencies]

[lints.rust]
unsafe_code = "forbid"

[lints.clippy]
all = "warn"
pedantic = "warn"

TDD Cycle Commands

# RED: Write test, run to see it fail
cargo test test_new_feature

# GREEN: Implement, run to see it pass
cargo test test_new_feature

# REFACTOR: Clean up, ensure tests still pass
cargo test && cargo clippy && cargo fmt --check

スコア

総合スコア

60/100

リポジトリの品質指標に基づく評価

SKILL.md

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

+20
LICENSE

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

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

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

0/5
Issue管理

オープンIssueが50未満

+5
言語

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

+5
タグ

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

0/5

レビュー

💬

レビュー機能は近日公開予定です