let-chains-advisor
81Simplify Rust If-Let Control Flow
Nested pattern matching can hide the main decision path in Rust code. This skill helps Claude, Codex, and Claude Code suggest let chains for clearer Rust 2024 control flow.
Improve Rust Hexagonal Architecture
Rust services often mix domain logic with databases, HTTP frameworks, and wiring code. This skill reviews those boundaries and suggests cleaner ports, adapters, and tests.
Copy this request to your Agent. It includes the canonical Skill page and manifest.
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.Your Agent should still show its plan and request any confirmation required by the security policy.
Use these links when an AI agent, crawler, or script needs clean context instead of reading the full page.
Using "hexagonal-advisor". A Rust service directly owns a database pool and performs validation before SQL operations.
Expected outcome:
The advisor identifies mixed domain and infrastructure responsibilities, recommends a repository port, and outlines a small migration plan.
Using "hexagonal-advisor". A repository trait returns database rows and database-specific errors to the domain layer.
Expected outcome:
The advisor flags the leaky abstraction and recommends domain types, domain errors, and adapter-level conversion.
Using "hexagonal-advisor". A team asks how to test business logic without a real database.
Expected outcome:
The advisor suggests mock repository implementations, focused domain assertions, and tests that avoid infrastructure setup.
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.
Share the versioned assessment report, neutral badge, embed card, and citations. Skillstore reports evidence without deciding whether this Skill is safe.
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"
Review a Rust service that directly uses database or HTTP clients and plan cleaner domain boundaries.
Check whether new repository, service, or handler code follows ports and adapters principles.
Create consistent guidance for domain models, port traits, adapters, and composition roots across services.
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.
Author
EmilLindforsLicense
MIT
Author version
v1.0.0
Skillstore revision
r1
Ref
a06681402992ceae98ba04d54cfd4ab004862696
Maintenance freshness
7/18/2026
Usage
5 downloads ยท 171 views
File structure
๐ SKILL.md
Simplify Rust If-Let Control Flow
Nested pattern matching can hide the main decision path in Rust code. This skill helps Claude, Codex, and Claude Code suggest let chains for clearer Rust 2024 control flow.
Improve Rust Test Coverage
Missing tests leave Rust error paths and edge cases unprotected. This skill reviews code and tests, then suggests targeted coverage improvements.
Build Rust Test Mocks with Trait Patterns
Rust tests often become slow or fragile when they depend on databases, HTTP services, or real infrastructure. This skill helps Claude, Codex, and Claude Code design trait-based mocks, controlled failures, and fixture helpers.
Design Rust Port and Adapter Boundaries
External services can leak infrastructure concerns into domain code. This skill helps design Rust traits and adapters that keep dependencies isolated and testable.
Build Rich Rust Domain Models
Weak domain layers scatter business rules and make validation inconsistent. This skill helps Claude, Codex, and Claude Code design expressive Rust domain models.
Optimize Rust AWS Lambda Functions
Rust Lambda functions can waste cost through slow I/O, cold starts, and poor memory settings. This skill reviews handlers and deployment settings, then suggests concrete performance and cost improvements.
Analyze Patterns Across Your Codebase
by C0ntr0lledCha0s
Large codebases hide repeated structures and inconsistent decisions. This skill maps design patterns, architecture, conventions, duplication, and anti-patterns with evidence and recommendations.
Search Code by AST Structure
by 0xDarkMatter
Text searches miss semantic relationships and produce noisy matches. This skill uses ast-grep patterns to locate code structures and prepare focused refactors.
Review Code with Structured Quality Checks
by alirezarezvani
Code reviews can miss quality, security, and maintainability issues. This skill guides structured reviews with scripts, checklists, and report generation.
Find Code Context Faster
by 89jobrien
Developers often lose time tracing why code exists and what depends on it. This skill prompts Claude, Codex, or Claude Code to gather related graph knowledge, callers, imports, and tests before changes.
Build Enterprise Go Architecture
by 89jobrien
Large Go systems can lose clear boundaries as teams add features. This skill gives Claude, Codex, and Claude Code structured patterns for clean architecture, DDD, and production service layout.
Create Rust Greeting Tools
by EnactProtocol
Developers need a small, predictable example for passing input into a Rust command-line skill. This skill compiles and runs a greeting tool from a name parameter.