let-chains-advisor
81簡化 Rust If-Let 控制流程
巢狀模式比對可能會隱藏 Rust 程式碼中的主要決策路徑。此技能可協助 Claude、Codex 和 Claude Code 建議使用 let chains,讓 Rust 2024 控制流程更清晰。
改善 Rust 六角形架構
Rust 服務經常將領域邏輯與資料庫、HTTP 框架和組裝程式碼混在一起。此 skill 會檢視這些邊界,並建議更清晰的 ports、adapters 和測試。
將此請求複製給你的智慧代理,其中包含權威 Skill 頁面和清單。
Review the Skillstore skill "hexagonal-advisor" from https://skillstore.io/skills/emillindfors-hexagonal-advisor.md and its manifest at https://skillstore.io/api/skills/emillindfors-hexagonal-advisor/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.你的智慧代理仍應顯示其計畫,並依安全政策請求必要確認。
當 AI Agent、爬蟲或腳本需要乾淨脈絡、而不是讀取完整頁面時,請使用這些連結。
正在使用「hexagonal-advisor」。 A Rust service directly owns a database pool and performs validation before SQL operations.
預期結果:
顧問會識別混雜的領域與基礎設施責任,建議 repository port,並概述小型遷移計畫。
正在使用「hexagonal-advisor」。 A repository trait returns database rows and database-specific errors to the domain layer.
預期結果:
顧問會標記這個洩漏的抽象,並建議使用領域型別、領域錯誤和 adapter 層級的轉換。
正在使用「hexagonal-advisor」。 A team asks how to test business logic without a real database.
預期結果:
顧問會建議 mock repository 實作、聚焦的領域斷言,以及避免基礎設施設定的測試。
All static alerts are false positives caused by Markdown fences and Rust sample code. I found no executable scripts, prompt injection, secret access, or data exfiltration intent in SKILL.md.
分享版本化評估報告、中性徽章、嵌入卡片與引用。Skillstore 只報告證據,不判斷該 Skill 是否安全。
https://skillstore.io/skills/emillindfors-hexagonal-advisor/audits/4?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_report[](https://skillstore.io/skills/emillindfors-hexagonal-advisor?utm_source=security_passport_badge)<a href="https://skillstore.io/skills/emillindfors-hexagonal-advisor?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/emillindfors-hexagonal-advisor/security.svg" alt="Skillstore security assessment" loading="lazy"></a><iframe src="https://skillstore.io/embed/skills/emillindfors-hexagonal-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). hexagonal-advisor security audit report (audit version 4) [Author version 1.0.0]. Skillstore. https://skillstore.io/skills/emillindfors-hexagonal-advisor/audits/4@techreport{emillindfors-emillindfors-hexagonal-advisor-2026,
author = {EmilLindfors},
title = {hexagonal-advisor security audit report (audit version 4)},
institution = {Skillstore},
year = {2026},
number = {4},
url = {https://skillstore.io/skills/emillindfors-hexagonal-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: "hexagonal-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-hexagonal-advisor/audits/4"
identifiers:
- type: other
value: "skillstore:emillindfors-hexagonal-advisor:audit:4"
description: "Skillstore immutable audit report identifier"
檢視直接使用資料庫或 HTTP clients 的 Rust service,並規劃更清晰的領域邊界。
檢查新的 repository、service 或 handler 程式碼是否遵循 ports and adapters 原則。
為各個 services 中的 domain models、port traits、adapters 和 composition roots 建立一致指引。
Review this Rust service for hexagonal architecture issues. Focus on domain purity, dependency direction, and simple refactoring steps.
Analyze these repositories and service traits. Suggest port definitions, adapter responsibilities, and names that match the existing Rust codebase.
Create an incremental refactoring plan for this coupled Rust module. Prioritize tests, mock ports, and changes with low migration risk.
Audit this Rust application composition root and module layout. Identify boundary violations, dependency wiring issues, and long-term architecture risks.
作者
EmilLindfors授權
MIT
作者版本
v1.0.0
Skillstore 修訂
r1
引用
a06681402992ceae98ba04d54cfd4ab004862696
維護新鮮度
2026/7/18
使用量
5 次下載 · 171 次瀏覽
檔案結構
📄 SKILL.md
簡化 Rust If-Let 控制流程
巢狀模式比對可能會隱藏 Rust 程式碼中的主要決策路徑。此技能可協助 Claude、Codex 和 Claude Code 建議使用 let chains,讓 Rust 2024 控制流程更清晰。
改善 Rust 測試覆蓋率
缺少測試會讓 Rust 的錯誤路徑與邊界案例缺乏保護。這項 skill 會檢視程式碼與測試,然後建議有針對性的覆蓋率改善。
使用 Trait 模式建置 Rust 測試 Mock
當 Rust 測試依賴資料庫、HTTP 服務或真實基礎設施時,往往會變慢或變得脆弱。這項技能可協助 Claude、Codex 和 Claude Code 設計基於 trait 的 mock、受控失敗,以及 fixture 輔助工具。
最佳化 Rust AWS Lambda Functions
Rust Lambda functions 可能因緩慢的 I/O、cold starts,以及不佳的記憶體設定而浪費成本。此 skill 會審查 handlers 與部署設定,然後提出具體的效能與成本改善建議。
使用 Proptest 設計 Rust 屬性測試
屬性導向測試可能很難套用,因為有用的屬性與產生器並不總是顯而易見。此技能可協助 Claude、Codex 或 Claude Code 為 Rust 程式碼提出有針對性的 proptest 策略。
設計 Rust Port 與 Adapter 邊界
外部服務可能會讓基礎設施層面的關注點滲入領域程式碼。此技能協助設計 Rust traits 與 adapters,讓依賴保持隔離且易於測試。
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.
分析程式碼模式與架構
由 C0ntr0lledCha0s
大型程式碼庫隱藏著重複結構與不明確的架構選擇。此技能會找出模式、說明其意圖,並突顯實用的重構機會。
依 AST 結構搜尋程式碼
由 0xDarkMatter
文字搜尋會遺漏語意關係,並產生大量雜訊結果。此技能使用 ast-grep 模式定位程式碼結構,並為聚焦式重構做好準備。
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
程式碼審查可能會遺漏品質、安全性與可維護性問題。此技能會透過腳本、檢查清單與報告產生流程,引導進行結構化審查。
更快找到程式碼脈絡
由 89jobrien
開發人員經常耗費時間追查程式碼為何存在,以及有哪些內容依賴它。這個技能會提示 Claude、Codex 或 Claude Code 在變更前收集相關圖譜知識、呼叫者、匯入項目和測試。