let-chains-advisor
81简化 Rust If-Let 控制流
嵌套的模式匹配可能会隐藏 Rust 代码中的主要决策路径。此 skill 可帮助 Claude、Codex 和 Claude Code 建议使用 let chains,从而实现更清晰的 Rust 2024 控制流。
改进 Rust 错误处理
许多 Rust 代码库会用 panic 或含糊的错误来隐藏失败。此技能会审查相关模式,并建议符合惯用写法的 Result、thiserror 和 anyhow 改进方案。
将此请求复制给你的智能体,其中包含权威 Skill 页面和清单。
Review the Skillstore skill "error-handler-advisor" from https://skillstore.io/skills/emillindfors-error-handler-advisor.md and its manifest at https://skillstore.io/api/skills/emillindfors-error-handler-advisor/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.你的智能体仍应展示其计划,并按安全策略请求必要确认。
当 AI Agent、爬虫或脚本需要干净上下文,而不是读取完整页面时,请使用这些链接。
正在使用“error-handler-advisor”。 一个函数使用 expect 加载配置,然后使用 unwrap 读取文件。
预期结果:
正在使用“error-handler-advisor”。 一个库从验证函数返回字符串错误。
预期结果:
正在使用“error-handler-advisor”。 一个拉取请求将数据库错误手动映射为通用消息。
预期结果:
I reviewed SKILL.md and found a Rust error-handling guidance skill with no executable code or malicious intent. All static findings are false positives caused by Markdown backticks, Rust examples, thiserror attributes, and a punctuation heuristic. No external command execution, system reconnaissance, obfuscation payload, or prompt injection evidence was found.
分享版本化评估报告、中性徽章、嵌入卡片和引用。Skillstore 只报告证据,不判断该 Skill 是否安全。
https://skillstore.io/skills/emillindfors-error-handler-advisor/audits/4?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_report[](https://skillstore.io/skills/emillindfors-error-handler-advisor?utm_source=security_passport_badge)<a href="https://skillstore.io/skills/emillindfors-error-handler-advisor?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/emillindfors-error-handler-advisor/security.svg" alt="Skillstore security assessment" loading="lazy"></a><iframe src="https://skillstore.io/embed/skills/emillindfors-error-handler-advisor.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>EmilLindfors. (2026). error-handler-advisor security audit report (audit version 4) [Author version 1.0.0]. Skillstore. https://skillstore.io/skills/emillindfors-error-handler-advisor/audits/4@techreport{emillindfors-emillindfors-error-handler-advisor-2026,
author = {EmilLindfors},
title = {error-handler-advisor security audit report (audit version 4)},
institution = {Skillstore},
year = {2026},
number = {4},
url = {https://skillstore.io/skills/emillindfors-error-handler-advisor/audits/4},
note = {Author version 1.0.0}
}cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "error-handler-advisor security audit report (audit version 4)"
version: "1.0.0"
type: report
authors:
- name: "EmilLindfors"
date-released: "2026-07-06"
url: "https://skillstore.io/skills/emillindfors-error-handler-advisor/audits/4"
identifiers:
- type: other
value: "skillstore:emillindfors-error-handler-advisor:audit:4"
description: "Skillstore immutable audit report identifier"
查找生产环境中的 unwrap、expect 和 panic 用法,并将失败转换为可恢复错误。
创建具体的错误枚举,保留源错误并支持调用方清晰处理。
检查拉取请求中缺失的上下文、过宽泛的错误变体以及未测试的失败场景。
Review this Rust function for unwrap, expect, panic, and missing Result handling. Explain the safest simple improvement.
Review this Rust workflow and suggest where anyhow context would make failures easier to debug.
Review these library errors and suggest a thiserror enum with specific variants and preserved source errors.
Analyze this Rust module for error propagation, conversion, caller ergonomics, and tests for important failure cases.
作者
EmilLindfors许可证
MIT
作者版本
v1.0.0
Skillstore 修订
r1
引用
a06681402992ceae98ba04d54cfd4ab004862696
维护新鲜度
2026/7/18
使用量
6 次下载 · 159 次浏览
文件结构
📄 SKILL.md
简化 Rust If-Let 控制流
嵌套的模式匹配可能会隐藏 Rust 代码中的主要决策路径。此 skill 可帮助 Claude、Codex 和 Claude Code 建议使用 let chains,从而实现更清晰的 Rust 2024 控制流。
改进 Rust 测试覆盖率
缺失测试会让 Rust 的错误路径和边界情况缺乏保护。此技能会审查代码和测试,然后建议有针对性的覆盖率改进。
使用 trait 模式构建 Rust 测试 Mock
当 Rust 测试依赖数据库、HTTP 服务或真实基础设施时,往往会变慢或变得脆弱。此技能帮助 Claude、Codex 和 Claude Code 设计基于 trait 的 mock、可控失败以及 fixture 辅助函数。
优化 Rust AWS Lambda 函数
Rust Lambda 函数可能会因缓慢的 I/O、冷启动和不合理的内存设置而浪费成本。此技能会审查处理程序和部署设置,然后提出具体的性能与成本改进建议。
使用 Proptest 设计 Rust 属性测试
基于属性的测试有时难以应用,因为有用的属性和生成器并不总是显而易见。此技能可帮助 Claude、Codex 或 Claude Code 为 Rust 代码提出有针对性的 proptest 策略。
优化 DataFusion 查询
缓慢的 DataFusion 查询会浪费计算资源,并掩盖简单的执行计划问题。此技能会审查 SQL 和 DataFrame 模式,然后提出具体的性能改进建议。
Review Defects and Verify Root-Cause Repairs
由 aakashh242
Reviews can miss failure conditions or accept fixes without reliable evidence. Gauntlet guides scoped adversarial reviews, authorized repairs, and revision-bound verification within a finite budget.
Audit NestJS Code with Evidence-Backed Findings
由 amirtaherkhani
NestJS repositories can hide boundary flaws and runtime risks that lint results alone cannot reveal. This skill combines local evidence collection and semantic review into one prioritized report.
使用结构化质量检查审查代码
由 alirezarezvani
代码审查可能会漏掉质量、安全性和可维护性问题。此技能通过脚本、检查清单和报告生成来指导结构化审查。
创建 Rust 问候工具
由 EnactProtocol
开发者需要一个小型、可预测的示例,用于将输入传递给 Rust 命令行技能。此技能会根据 name 参数编译并运行一个问候工具。
管理编码智能体工作流
由 kiwi-phantomworks
当任务、范围和检查含糊不清时,编码智能体项目可能会偏离方向。此技能提供 PM 模板和审查规则,使 Claude、Codex 和 Claude Code 的工作保持有边界且可验证。
审查代码中的缺陷和安全问题
由 21pounder
代码审查可能会漏掉缺陷、安全漏洞和可维护性问题。此技能会引导 Claude、Codex 和 Claude Code 完成结构化的审查步骤。