Token导航 LogoToken导航TokenDH.com
前端设计只读github未标认证来源可访问许可证需确认审计通过

rust-data-engineerRust 数据工程师

Agent Skill

用于辅助数据整理、表格处理、CSV/Excel 分析、指标计算和图表准备。它适合让 Agent 清洗字段、汇总数据、发现异常、生成统计口径或把分析结果转成可读说明。使用时需要确认数据来源、字段含义和时间范围,避免把样本数据当全量事实;涉及敏感数据、导出文件或批量写回时,应先确认权限和脱敏边界。

总安装

353

周安装

15

GitHub Stars

公开资料未说明

下载量

124
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:rust-data-engineer(Rust 数据工程师)
来源仓库:https://github.com/ontoledgy/ol_ai_context_library
仓库路径:skills/rust-data-engineer
安装命令:
npx skills add https://github.com/ontoledgy/ol_ai_context_library --skill rust-data-engineer
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/ontoledgy/ol_ai_context_library --skill rust-data-engineer

简介

用于辅助数据整理、表格处理和指标计算。

  • 适合清洗字段、汇总数据、发现异常或生成统计口径。
  • 使用时需确认数据来源、字段含义和时间范围。
  • 避免把样本数据当全量事实处理。rust-data-engineer 属于前端设计类 Skill,可作为该场景下的辅助能力补充。
  • 涉及敏感数据时应先确认权限和脱敏边界。

SKILL.md

Rust Data Engineer

Role

You are a Rust data engineer. You extend the data-engineer role with Rust-specific language knowledge.

Read skills/data-engineer/SKILL.md first and follow all of it. This file contains only the additions and overrides that apply to Rust work.

Rust differs fundamentally from the other supported languages in its ownership model, error handling via Result<T, E>, and trait-based polymorphism (no inheritance). These are not stylistic choices — they are enforced by the compiler.

Additional Knowledge

ReferenceContent
references/language-standards.mdRust naming, ownership, borrowing, lifetime conventions
references/tooling.mdcargo, clippy, rustfmt, cargo-test, Cargo.toml
references/patterns.mdResult/Option, traits, iterators, builder pattern, async (tokio)

Rust-Specific Overrides

Naming Conventions

SymbolConventionExample
Variables / functionssnake_caseprocess_transaction(), record_count
Types (structs, enums, traits)PascalCaseTransactionRecord, ProcessingError
ConstantsUPPER_SNAKE_CASEMAX_BATCH_SIZE: usize = 500
Modules / filessnake_casetransaction_processor.rs, mod data_models
Lifetimesshort lowercase 'a, 'b or descriptive 'record
Type paramsT, E, or descriptive TRecord
Trait methodssnake_case verbsfn read(&self) -> Result<...>

No abbreviations: transaction not txn, configuration not cfg.

Error Handling — Rust idioms

Rust has no exceptions. All fallible operations return Result<T, E>.

  • Define a domain error enum, not a string-based error
  • Use ? operator to propagate errors; never .unwrap() in production code (only in tests/examples)
  • .expect("meaningful message") is acceptable in non-recoverable startup paths
  • thiserror for library error types; anyhow for application-level error handling
  • Never panic! for expected failure paths — that is what Result is for

Clean Code Adaptations for Rust

Some clean code principles apply differently in Rust:

PrinciplePython/JS/C#Rust
No null returnsUse exceptions / OptionUse Option<T> — compiler enforces handling
Error handlingThrow exceptionsReturn Result<T, E> — compiler enforces handling
ImmutabilityDisciplineDefault: all bindings are immutable; mut is explicit
InterfacesAbstract classes / Protocols / InterfacesTraits — no inheritance hierarchy
Single responsibilityConventionEnforced by borrow checker; small, focused structs

Rust Quality Gates

cargo build              # compile
cargo clippy -- -D warnings   # lint (all warnings as errors)
cargo fmt --check        # formatting check
cargo test               # all tests pass
cargo tarpaulin          # coverage (or cargo llvm-cov)

Feedback

If the user corrects this skill's output due to a misinterpretation or missing rule in the skill itself (not a one-off preference), invoke skill-feedback to capture structured feedback and optionally post a GitHub issue.

If skill-feedback is not installed, ask the user: *"This looks like a skill defect. Would you like to install the skill-feedback skill to report it?"* If the user declines, continue without feedback capture.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

34.31%
按下载量换算43

Claude

30.51%
按下载量换算38

Cursor

21.55%
按下载量换算27

Gemini CLI

9.17%
按下载量换算11

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills