DSH Plugins Marketplace

DSH Plugins

Plugins

/

google-rust-style

L

google-rust-style

Discovered

Google Rust Style Guide distilled into an Agent Skill (ZCode / DSH / OpenCode / Codex compatible)

google-rust-style

将 Google Rust Style Guide 提炼成的 Agent Skill——写代码、做 code review 时由 AI 编程助手自动加载,按谷歌规范约束 Rust 的 API 设计、代码组织、命名、文档与实现细节。

An Agent Skill that distills Google's Rust Style Guide for AI coding agents. Works with any tool that supports the open Agent Skills format (a folder with SKILL.md), including ZCode, DSH (DeepSeek Harness), OpenCode and Codex.

背景

Google 对 "style" 的定义不止代码格式,还涵盖 API 与实现设计。本仓库把整份指南做成渐进式加载的技能:触发时只载入速查与索引,按具体任务再读分主题的参考文件,另附原文机器提取稿用于核对。

提炼时保留了指南的三个关键机制:

  • 每条规则的例外情况(例外也是规则的一部分)
  • [chrome] / [Fuchsia] 专属规则标记(只适用于对应代码库,通用项目不套用)
  • "库代码强制、应用代码建议"的执行总纲

文件结构

文件内容
SKILL.md触发描述、库/应用代码定位、高频规则速查、主题索引
references/organization-and-formatting.mdcrate 划分、模块/文件布局、imports 规则、rustfmt 配置
references/api-design.md函数输入输出、错误上报、trait 设计、getter/setter、#[non_exhaustive]、#[must_use]、unsafe
references/naming-and-documentation.md命名(as_/to_/into_、构造器、生命周期)与文档注释规范
references/implementation.mdRc/Arc、clone、模式匹配、断言上下文、迭代器链、测试框架
references/source-text.md原指南全文机器提取稿(英文,核对用)

安装

适用于支持 Agent Skills 目录约定(技能目录 + SKILL.md)的工具:

工具技能目录
ZCode~/.zcode/skills/ 或 ~/.agents/skills/
DSH (DeepSeek Harness)~/.agents/skills/(放入后重启 dsh)
OpenCode~/.config/opencode/skills/(全局)或 .opencode/skills/(项目)
Codex~/.codex/skills/
git clone https://github.com/LOWRUI/google-rust-style.git ~/.agents/skills/google-rust-style

Windows PowerShell:

git clone https://github.com/LOWRUI/google-rust-style.git $env:USERPROFILE\.agents\skills\google-rust-style

安装后无需手动调用:用 Rust 写代码、review、讨论 rustfmt / clippy / 谷歌 Rust 规范时自动触发。

来源与许可

  • 规则内容提炼、转述自 Google Rust Style Guide。原指南内容 © Google,以 CC BY 3.0 发布;references/source-text.md 为其机器提取稿,版权归 Google,仅随技能作核对用途。
  • 本仓库的提炼与撰写部分以 MIT License 发布。

更新说明

基于 2026-10 抓取的指南版本提炼。原指南更新后欢迎提 issue / PR 同步。

Comments

Loading…

Similar plugins

dsh-google-skills

Google's Agent Skills (google/skills) for DeepSeek Harness: 128 bundled SKILL.md skills for Google Cloud, BigQuery, GKE, Gemini, Firebase, ads and analytics.

Manifest valid

★ 0

dsh plugin --profile web add dsh-google-skills

by sunwindy91

Agent Skill: extract data from JS single-page apps via curl+grep+python when WebFetch fails (timeout / obfuscated JS). Read-only, desensitized, MIT.

Manifest valid

★ 0

MIT

JavaScript

Oct 15, 2026

dsh plugin --profile web add @sunwindy91/dsh-spa-api-extract

by Jesse-njx

Every skill you already have — Claude Code, Codex, Cursor, Gemini CLI — works in DSH: Agent Skills SKILL.md discovery, Tier-2 conversions, find_skill search, and a skills doctor

Tools & CapabilitiesManifest valid

★ 3

MIT

TypeScript

Aug 13, 2026

dsh plugin --profile web add @dsh-skillport/bundle

by creght-dev

Codex and agent skills for Cregh.

Manifest valid

★ 10

MIT

JavaScript

Nov 2, 2026

dsh plugin --profile web add creght-skills

by Alice39s

Personal Agent Skills, pi extensions, and DeepSeek Harness plugins

Development & InfrastructureManifest valid

★ 18

Apache-2.0

TypeScript

Nov 5, 2026

dsh plugin --profile web add agent-stash

by shuxidemosheng

Mount Claude Code / Codex / ZCode skill directories into DeepSeek Harness as read-only skill providers · dsh 技能兼容层插件

Tools & CapabilitiesDevelopment & InfrastructureManifest valid

★ 2

↓ 94/wk

MIT

TypeScript

Oct 11, 2026

dsh plugin --profile web add dsh-skill-compat-plus