diff --git a/.cursor/rules/rust/complex/workspace.mdc b/.cursor/rules/rust/complex/workspace.mdc
index a7d443a..7fc4a55 100644
--- a/.cursor/rules/rust/complex/workspace.mdc
+++ b/.cursor/rules/rust/complex/workspace.mdc
@@ -7,6 +7,39 @@ alwaysApply: false
> **TL;DR:** Guidelines for organizing complex Rust projects using workspace architecture with multiple crates, clear subsystem boundaries, and domain-driven design principles.
+## 🔍 WORKSPACE ARCHITECTURE STRATEGY
+
+```mermaid
+graph TD
+ Start["Complex Project"] --> ArchType{"Architecture
Pattern?"}
+
+ ArchType -->|Domain-Driven| DomainArch["Domain-Based Architecture"]
+ ArchType -->|Service-Oriented| ServiceArch["Service-Based Architecture"]
+ ArchType -->|Layered| LayeredArch["Layered Architecture"]
+
+ DomainArch --> DomainCrates["Domain-Specific Crates"]
+ ServiceArch --> ServiceCrates["Service-Specific Crates"]
+ LayeredArch --> LayerCrates["Layer-Specific Crates"]
+
+ DomainCrates --> SharedInfra["Shared Infrastructure"]
+ ServiceCrates --> SharedInfra
+ LayerCrates --> SharedInfra
+
+ SharedInfra --> WorkspaceDeps["Workspace Dependencies"]
+ WorkspaceDeps --> CrateOrganization["Crate Organization"]
+
+ CrateOrganization --> IntegrationTesting["Integration Testing"]
+ IntegrationTesting --> BuildOptimization["Build Optimization"]
+ BuildOptimization --> Documentation["Workspace Documentation"]
+
+ Documentation --> Production["Production Workspace"]
+
+ style Start fill:#4da6ff,stroke:#0066cc,color:white
+ style DomainArch fill:#4dbb5f,stroke:#36873f,color:white
+ style ServiceArch fill:#ffa64d,stroke:#cc7a30,color:white
+ style LayeredArch fill:#d94dbb,stroke:#a3378a,color:white
+```
+
## 🏗️ SUBSYSTEM-BASED WORKSPACE ARCHITECTURE
```mermaid
diff --git a/.cursor/rules/rust/core/code-quality.mdc b/.cursor/rules/rust/core/code-quality.mdc
index 65ea9d9..2184d81 100644
--- a/.cursor/rules/rust/core/code-quality.mdc
+++ b/.cursor/rules/rust/core/code-quality.mdc
@@ -7,6 +7,66 @@ alwaysApply: false
> **TL;DR:** Essential code quality rules for all Rust projects, focusing on maintainable, production-ready code that follows modern Rust 2024 idioms.
+## 🔍 CODE QUALITY STRATEGY SELECTION
+
+```mermaid
+graph TD
+ Start["Code Quality Requirements"] --> ProjectType{"Project Type?"}
+
+ ProjectType -->|"Simple Library"| SimpleLib["Simple Library Rules"]
+ ProjectType -->|"Complex Application"| ComplexApp["Complex Application Rules"]
+ ProjectType -->|"CLI Tool"| CLITool["CLI Tool Rules"]
+ ProjectType -->|"Web Service"| WebService["Web Service Rules"]
+
+ SimpleLib --> BasicRules["Basic Quality Rules"]
+ ComplexApp --> AdvancedRules["Advanced Quality Rules"]
+ CLITool --> BasicRules
+ WebService --> AdvancedRules
+
+ BasicRules --> Naming["Naming Strategy"]
+ AdvancedRules --> Naming
+
+ Naming --> NamingRules["• Functionality-based files
• Descriptive specific names
• No implementation suffixes"]
+
+ NamingRules --> Structure["Code Structure"]
+
+ Structure --> StructureRules["• File-based organization
• Size limitations (500 lines)
• Single responsibility
• Function size (150 lines)"]
+
+ StructureRules --> Safety["Safety Requirements"]
+
+ Safety --> SafetyRules["• Rust 2024 edition
• No unsafe code
• No unwrap() in production
• Proper error handling"]
+
+ SafetyRules --> Testing["Testing Strategy"]
+
+ Testing --> TestingRules["• Unit tests same file
• Integration tests separate
• Doc tests with examples"]
+
+ TestingRules --> Verification["Quality Verification"]
+
+ Verification --> Build["cargo build"]
+ Verification --> Test["cargo test"]
+ Verification --> Clippy["cargo clippy"]
+
+ Build --> AllPass{"All Pass?"}
+ Test --> AllPass
+ Clippy --> AllPass
+
+ AllPass -->|"Yes"| Success["✅ Quality Standards Met"]
+ AllPass -->|"No"| FixIssues["🔧 Fix Issues"]
+
+ FixIssues --> Verification
+
+ style Start fill:#4da6ff,stroke:#0066cc,color:white
+ style ProjectType fill:#ffa64d,stroke:#cc7a30,color:white
+ style SimpleLib fill:#4dbb5f,stroke:#36873f,color:white
+ style ComplexApp fill:#d94dbb,stroke:#a3378a,color:white
+ style CLITool fill:#9f4dbb,stroke:#7a3787,color:white
+ style WebService fill:#bb4d4d,stroke:#873636,color:white
+ style BasicRules fill:#bbbb4d,stroke:#878736,color:white
+ style AdvancedRules fill:#4dbbbb,stroke:#368787,color:white
+ style Success fill:#5fbb5f,stroke:#4a8f4a,color:white
+ style FixIssues fill:#ff6b6b,stroke:#cc5555,color:white
+```
+
## 🎯 FUNDAMENTAL PRINCIPLES
### Code Organization
diff --git a/.cursor/rules/rust/quality/testing.mdc b/.cursor/rules/rust/quality/testing.mdc
new file mode 100644
index 0000000..68c92d9
--- /dev/null
+++ b/.cursor/rules/rust/quality/testing.mdc
@@ -0,0 +1,676 @@
+---
+description:
+globs:
+alwaysApply: false
+---
+# 🧪 RUST TESTING STANDARDS
+
+> **TL;DR:** Comprehensive testing guidelines for Rust projects covering unit tests, integration tests, property testing, benchmarks, and CI integration with best practices for test organization and coverage.
+
+## 🔍 TESTING STRATEGY SELECTION
+
+```mermaid
+graph TD
+ Start["Testing Requirements"] --> Strategy{"Testing Strategy?"}
+
+ Strategy -->|"Unit Testing"| Unit["Unit Tests"]
+ Strategy -->|"Integration Testing"| Integration["Integration Tests"]
+ Strategy -->|"Property Testing"| Property["Property Testing"]
+ Strategy -->|"Benchmarking"| Benchmark["Performance Benchmarks"]
+ Strategy -->|"End-to-End Testing"| E2E["E2E Tests"]
+
+ Unit --> UnitFeatures["Unit Test Features:"]
+ Integration --> IntegrationFeatures["Integration Features:"]
+ Property --> PropertyFeatures["Property Features:"]
+ Benchmark --> BenchmarkFeatures["Benchmark Features:"]
+ E2E --> E2EFeatures["E2E Features:"]
+
+ UnitFeatures --> UnitItems["• Individual function testing
• Mock dependencies
• Fast execution
• High coverage"]
+ IntegrationFeatures --> IntegrationItems["• Multi-module testing
• Real dependencies
• Realistic scenarios
• API testing"]
+ PropertyFeatures --> PropertyItems["• Random input testing
• Edge case discovery
• Invariant verification
• Fuzzing"]
+ BenchmarkFeatures --> BenchmarkItems["• Performance regression
• Memory usage tracking
• Throughput measurement
• Optimization validation"]
+ E2EFeatures --> E2EItems["• Full system testing
• User workflow validation
• External service mocking
• Production-like environment"]
+
+ UnitItems --> Tools["Testing Tools"]
+ IntegrationItems --> Tools
+ PropertyItems --> Tools
+ BenchmarkItems --> Tools
+ E2EItems --> Tools
+
+ Tools --> MockTool["Mocking: mockall"]
+ Tools --> PropertyTool["Property: proptest"]
+ Tools --> BenchTool["Benchmarks: criterion"]
+ Tools --> WebTool["Web Testing: axum-test"]
+ Tools --> HttpTool["HTTP Mocking: wiremock"]
+
+ style Start fill:#4da6ff,stroke:#0066cc,color:white
+ style Strategy fill:#ffa64d,stroke:#cc7a30,color:white
+ style Unit fill:#4dbb5f,stroke:#36873f,color:white
+ style Integration fill:#d94dbb,stroke:#a3378a,color:white
+ style Property fill:#9f4dbb,stroke:#7a3787,color:white
+ style Benchmark fill:#bb4d4d,stroke:#873636,color:white
+ style E2E fill:#bbbb4d,stroke:#878736,color:white
+```
+
+## 🏗️ CARGO TEST ORGANIZATION
+
+### Project Structure for Testing
+
+```rust
+// Project structure with comprehensive testing
+my_project/
+├── Cargo.toml
+├── src/
+│ ├── lib.rs // Library root with unit tests
+│ ├── main.rs // Binary entry point
+│ ├── user/
+│ │ ├── mod.rs // Module with inline unit tests
+│ │ ├── service.rs // Service with unit tests
+│ │ └── repository.rs // Repository with unit tests
+│ └── product/
+│ ├── mod.rs
+│ └── catalog.rs
+├── tests/ // Integration tests directory
+│ ├── integration_test.rs
+│ ├── api_test.rs
+│ └── common/ // Shared test utilities
+│ └── mod.rs
+└── benches/ // Benchmark tests
+ ├── user_benchmarks.rs
+ └── product_benchmarks.rs
+```
+
+### Unit Test Configuration
+
+```rust
+// src/user/service.rs
+use crate::user::{User, UserRepository, UserError};
+use mockall::predicate::*;
+
+pub struct UserService {
+ repository: R,
+}
+
+impl UserService {
+ pub fn new(repository: R) -> Self {
+ Self { repository }
+ }
+
+ pub async fn create_user(&self, user: User) -> Result {
+ // Validate user data
+ if user.email.is_empty() {
+ return Err(UserError::InvalidInput("Email cannot be empty".to_string()));
+ }
+
+ // Save to repository
+ self.repository.save(user).await
+ }
+
+ pub async fn find_user(&self, id: &str) -> Result