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.
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.
Copy this request to your Agent. It includes the canonical Skill page and manifest.
Review the Skillstore skill "domain-layer-expert" from https://skillstore.io/skills/emillindfors-domain-layer-expert.md and its manifest at https://skillstore.io/api/skills/emillindfors-domain-layer-expert/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 "domain-layer-expert". A user model stores email, status, and age as plain strings and integers.
Expected outcome:
The skill would recommend dedicated Email, UserStatus, and Age types with validation before entity construction.
Using "domain-layer-expert". Order confirmation rules are implemented in an application service.
Expected outcome:
The skill would move editable status checks and minimum order rules into the Order entity behavior.
Using "domain-layer-expert". A team wants to publish domain events when users change email addresses.
Expected outcome:
The skill would suggest recording an EmailChanged event inside the entity during the state transition.
All static findings are false positives from Markdown fences, Rust sample identifiers, and a front matter heuristic mismatch. No evidence found for command execution, prompt injection, data exfiltration, network access, or filesystem access.
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-domain-layer-expert/audits/4?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_report[](https://skillstore.io/skills/emillindfors-domain-layer-expert?utm_source=security_passport_badge)<a href="https://skillstore.io/skills/emillindfors-domain-layer-expert?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/emillindfors-domain-layer-expert/security.svg" alt="Skillstore security assessment" loading="lazy"></a><iframe src="https://skillstore.io/embed/skills/emillindfors-domain-layer-expert.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). domain-layer-expert security audit report (audit version 4) [Author version 1.0.0]. Skillstore. https://skillstore.io/skills/emillindfors-domain-layer-expert/audits/4@techreport{emillindfors-emillindfors-domain-layer-expert-2026,
author = {EmilLindfors},
title = {domain-layer-expert security audit report (audit version 4)},
institution = {Skillstore},
year = {2026},
number = {4},
url = {https://skillstore.io/skills/emillindfors-domain-layer-expert/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: "domain-layer-expert 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-domain-layer-expert/audits/4"
identifiers:
- type: other
value: "skillstore:emillindfors-domain-layer-expert:audit:4"
description: "Skillstore immutable audit report identifier"
Convert string-heavy entities into validated value objects and clearer domain types.
Place validation, state changes, and invariants inside entities instead of services.
Check whether a Rust domain layer follows hexagonal architecture and domain-driven design principles.
Review this Rust domain model for primitive obsession and anemic design. Suggest the first three improvements.
Help me turn these domain fields into Rust value objects with validation, clear errors, and ergonomic constructors.
Refactor this service-heavy workflow so the Rust entities own the state transitions and business invariants.
Design aggregates and domain events for this Rust bounded context. Explain entity boundaries, invariants, and event publication points.
Author
EmilLindforsLicense
MIT
Author version
v1.0.0
Skillstore revision
r1
Ref
a06681402992ceae98ba04d54cfd4ab004862696
Maintenance freshness
7/18/2026
Usage
6 downloads ยท 150 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.
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.
Improve Rust Error Handling
Many Rust codebases hide failures behind panics or vague errors. This skill reviews patterns and suggests idiomatic Result, thiserror, and anyhow improvements.
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.
Design Maintainable Backend Architectures
by wshobson
Complex backend systems can become tightly coupled and hard to test. This skill guides Claude, Codex, and Claude Code through proven architecture patterns.
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.
Build Production Rust Systems
by sickn33
Rust projects often require careful choices across ownership, async runtimes, safety, and performance. This skill guides Claude, Codex, and Claude Code through production Rust design and implementation.
Validate Cross-Language Type Consistency
by BarisSozen
Cross-language type drift can cause precision loss and contract bugs. This skill guides Claude, Codex, and Claude Code through Rust, TypeScript, and PostgreSQL checks.
Configure Azure Identity for Rust
by sickn33
Azure authentication choices can be difficult to match to each runtime. This skill provides focused Rust examples for local tools, managed identities, and service principals.