CLAUDE.md 範本

Rust CLI

CLAUDE.md for Rust CLI tools (clap + tokio).

安裝

manual
cp rust-cli.md project/CLAUDE.md

把這段加入 Claude Code MCP 設定,或直接透過 CLI 執行。

介紹

Conventions for clap arg parsing, tokio async patterns, anyhow vs thiserror error handling rules, cargo-dist release setup.

常見使用情境

  • Build a CLI tool
  • Async Rust app
  • Cross-platform release

標籤

rustcliasynctooling