rust-cargo — cytometry rust-cargo, community, cytometry, ide skills, data-analysis, data-visualization, flow-cytometry, science, science-research, Claude Code, Cursor

v1.0.0

关于此技能

适用于需要高级Rust项目管理功能的代码分析代理。 Work with Cargo commands, workspace configuration, dependency management, and build systems. Use when managing dependencies, configuring workspaces, building projects, running tests, or publishing crates. Handles Cargo.toml configuration, workspace setup, dependency resolution, and build commands.

# 核心主题

jrmoynihan jrmoynihan
[1]
[1]
更新于: 3/8/2026

Killer-Skills Review

Decision support comes first. Repository text comes second.

Reference-Only Page Review Score: 6/11

This page remains useful for operators, but Killer-Skills treats it as reference material instead of a primary organic landing page.

Concrete use-case guidance Explicit limitations and caution Quality floor passed for review
Review Score
6/11
Quality Score
54
Canonical Locale
en
Detected Body Locale
en

适用于需要高级Rust项目管理功能的代码分析代理。 Work with Cargo commands, workspace configuration, dependency management, and build systems. Use when managing dependencies, configuring workspaces, building projects, running tests, or publishing crates. Handles Cargo.toml configuration, workspace setup, dependency resolution, and build commands.

核心价值

赋予代理高效管理依赖项的能力,使用Cargo.toml配置工作空间,并使用工作空间继承和功能标志等功能构建项目,从而简化依赖解析和构建配置等协议的开发过程。

适用 Agent 类型

适用于需要高级Rust项目管理功能的代码分析代理。

赋予的主要能力 · rust-cargo

在Cargo.toml中管理依赖项
配置和测试Rust工作空间
使用功能标志构建和发布crate
理解和利用工作空间继承以实现高效的项目结构

! 使用限制与门槛

  • 需要Rust和Cargo的安装
  • 仅限于基于Rust的项目
  • 特定功能和兼容性取决于Cargo版本

Why this page is reference-only

  • - Current locale does not satisfy the locale-governance contract.
  • - The page lacks a strong recommendation layer.

Source Boundary

The section below is supporting source material from the upstream repository. Use the Killer-Skills review above as the primary decision layer.

实验室 Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

常见问题与安装步骤

以下问题与步骤与页面结构化数据保持一致,便于搜索引擎理解页面内容。

? FAQ

rust-cargo 是什么?

适用于需要高级Rust项目管理功能的代码分析代理。 Work with Cargo commands, workspace configuration, dependency management, and build systems. Use when managing dependencies, configuring workspaces, building projects, running tests, or publishing crates. Handles Cargo.toml configuration, workspace setup, dependency resolution, and build commands.

如何安装 rust-cargo?

运行命令:npx killer-skills add jrmoynihan/flow。支持 Cursor、Windsurf、VS Code、Claude Code 等 19+ IDE/Agent。

rust-cargo 适用于哪些场景?

典型场景包括:在Cargo.toml中管理依赖项、配置和测试Rust工作空间、使用功能标志构建和发布crate、理解和利用工作空间继承以实现高效的项目结构。

rust-cargo 支持哪些 IDE 或 Agent?

该技能兼容 Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer。可使用 Killer-Skills CLI 一条命令通用安装。

rust-cargo 有哪些限制?

需要Rust和Cargo的安装;仅限于基于Rust的项目;特定功能和兼容性取决于Cargo版本。

安装步骤

  1. 1. 打开终端

    在你的项目目录中打开终端或命令行。

  2. 2. 执行安装命令

    运行:npx killer-skills add jrmoynihan/flow。CLI 会自动识别 IDE 或 AI Agent 并完成配置。

  3. 3. 开始使用技能

    rust-cargo 已启用,可立即在当前项目中调用。

! 参考页模式

此页面仍可作为安装与查阅参考,但 Killer-Skills 不再把它视为主要可索引落地页。请优先阅读上方评审结论,再决定是否继续查看上游仓库说明。

Imported Repository Instructions

The section below is supporting source material from the upstream repository. Use the Killer-Skills review above as the primary decision layer.

Supporting Evidence

rust-cargo

安装 rust-cargo,这是一款面向AI agent workflows and automation的 AI Agent Skill。支持 Claude Code、Cursor、Windsurf,一键安装。

SKILL.md
Readonly
Imported Repository Instructions
The section below is supporting source material from the upstream repository. Use the Killer-Skills review above as the primary decision layer.
Supporting Evidence

Cargo and Workspace Management

Guidelines for working with Cargo, workspaces, dependencies, and build configuration.

When to Use This Skill

  • Managing dependencies in Cargo.toml
  • Configuring Rust workspaces
  • Understanding dependency resolution
  • Building and testing projects
  • Publishing crates
  • Working with feature flags
  • Understanding workspace inheritance

Workspace Configuration

Basic Workspace

toml
1[workspace] 2members = [ 3 "crate1", 4 "crate2", 5 "crate3", 6] 7resolver = "2" # or "3" for newer editions

Workspace Package Inheritance

toml
1[workspace] 2members = ["crate1", "crate2"] 3 4[workspace.package] 5version = "0.1.0" 6edition = "2021" 7authors = ["Author Name"] 8license = "MIT" 9 10# Individual crates inherit these values 11[package] 12name = "crate1" 13# version, edition, authors, license inherited from workspace

Workspace Dependencies

toml
1[workspace.dependencies] 2serde = { version = "1.0", features = ["derive"] } 3tokio = { version = "1.0", features = ["full"] } 4 5# In member crates, use workspace = true 6[dependencies] 7serde = { workspace = true } 8tokio = { workspace = true }

Dependency Management

Version Specifiers

toml
1[dependencies] 2# Exact version 3crate = "1.2.3" 4 5# Compatible version (^1.2.3 = >=1.2.3, <2.0.0) 6crate = "^1.2.3" 7 8# Patch version (~1.2.3 = >=1.2.3, <1.3.0) 9crate = "~1.2.3" 10 11# Wildcard (any version) 12crate = "*" 13 14# Version range 15crate = ">=1.2.0, <2.0.0"

Dependency Sources

toml
1# From crates.io (default) 2crate = "1.0" 3 4# From git repository 5crate = { git = "https://github.com/user/repo", branch = "main" } 6crate = { git = "https://github.com/user/repo", tag = "v1.0.0" } 7crate = { git = "https://github.com/user/repo", rev = "abc123" } 8 9# From local path 10crate = { path = "../local-crate" } 11 12# From workspace 13crate = { workspace = true } 14 15# With features 16crate = { version = "1.0", features = ["feature1", "feature2"] } 17 18# Optional dependency 19crate = { version = "1.0", optional = true }

Dev Dependencies

toml
1[dev-dependencies] 2# Only included when building tests/examples/benchmarks 3criterion = "0.5" 4tempfile = "3.0"

Build Dependencies

toml
1[build-dependencies] 2# Only included when building build.rs 3cc = "1.0"

Common Cargo Commands

Building

bash
1# Build in debug mode 2cargo build 3 4# Build in release mode 5cargo build --release 6 7# Build specific package 8cargo build --package <package-name> 9 10# Build with features 11cargo build --features <feature-name> 12 13# Build without default features 14cargo build --no-default-features 15 16# Build all workspace members 17cargo build --workspace

Testing

bash
1# Run all tests 2cargo test 3 4# Run tests for specific package 5cargo test --package <package-name> 6 7# Run specific test 8cargo test test_name 9 10# Run tests with output 11cargo test -- --nocapture 12 13# Run tests with features 14cargo test --features <feature-name>

Checking

bash
1# Check code without building 2cargo check 3 4# Check all targets 5cargo check --all-targets 6 7# Check with features 8cargo check --features <feature-name>

Formatting

bash
1# Format code 2cargo fmt 3 4# Check formatting 5cargo fmt --check 6 7# Format workspace 8cargo fmt --workspace

Clippy

bash
1# Run clippy 2cargo clippy 3 4# Run clippy with all targets 5cargo clippy --all-targets --all-features 6 7# Fix issues automatically 8cargo clippy --fix --allow-dirty 9 10# Deny warnings 11cargo clippy -- -D warnings

Documentation

bash
1# Generate documentation 2cargo doc 3 4# Open documentation in browser 5cargo doc --open 6 7# Generate docs for specific package 8cargo doc --package <package-name> 9 10# Generate docs without dependencies 11cargo doc --no-deps 12 13# Generate docs for workspace 14cargo doc --workspace

Dependency Management

bash
1# Update dependencies 2cargo update 3 4# Update specific dependency 5cargo update -p <crate-name> 6 7# Show dependency tree 8cargo tree 9 10# Show dependency tree for specific package 11cargo tree --package <package-name> 12 13# Show only direct dependencies 14cargo tree --depth 1 15 16# Show what depends on a crate 17cargo tree --invert -p <crate-name>

Workspace Metadata Scripts

toml
1[workspace.metadata.scripts] 2build = "cargo build --workspace" 3test = "cargo test --workspace" 4check = "cargo check --workspace" 5clippy = "cargo clippy --workspace" 6fmt = "cargo fmt --workspace"

Package Metadata

toml
1[package] 2name = "my-crate" 3version = "0.1.0" 4edition = "2021" 5authors = ["Author"] 6license = "MIT" 7description = "Description of the crate" 8repository = "https://github.com/user/repo" 9keywords = ["keyword1", "keyword2"] 10categories = ["category1"] 11readme = "README.md"

Feature Flags

See rust-features skill for detailed feature flag usage.

Important Rules

  1. Use workspace dependencies: Share common dependencies via [workspace.dependencies]
  2. Inherit workspace values: Use workspace = true for version, edition, authors, license
  3. Pin versions carefully: Use ^ for compatible updates, exact versions sparingly
  4. Document features: Clearly document what each feature enables
  5. Use resolver = "2" or "3": Specify resolver version for workspace
  6. Organize dependencies: Group by purpose (core, error handling, serialization, etc.)

Examples from Project

See Cargo.toml for workspace configuration:

  • Workspace members
  • Workspace package inheritance
  • Workspace dependencies
  • Workspace metadata scripts

See individual crate Cargo.toml files for:

  • Package configuration
  • Feature definitions
  • Dependency usage with workspace = true

Common Patterns

✅ Good

toml
1[workspace] 2members = ["crate1", "crate2"] 3 4[workspace.dependencies] 5serde = { version = "1.0", features = ["derive"] } 6 7[package] 8name = "crate1" 9serde = { workspace = true }

❌ Avoid

toml
1# Don't duplicate versions 2[package] 3serde = "1.0" # BAD: Should use workspace 4 5# Don't use wildcard versions in production 6[dependencies] 7crate = "*" # BAD: Unpredictable updates

相关技能

寻找 rust-cargo 的替代方案 (Alternative) 或可搭配使用的同类 community Skill?探索以下相关开源技能。

查看全部

openclaw-release-maintainer

Logo of openclaw
openclaw

Your own personal AI assistant. Any OS. Any Platform. The lobster way. 🦞

333.8k
0
AI

widget-generator

Logo of f
f

为prompts.chat的信息反馈系统生成可定制的插件小部件

149.6k
0
AI

flags

Logo of vercel
vercel

React 框架

138.4k
0
浏览器

pr-review

Logo of pytorch
pytorch

Python中具有强大GPU加速的张量和动态神经网络

98.6k
0
开发者工具