[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M79E7CZ1TXRBT6F49QZPFER7":3,"skill-same:01M79E7CZ1TXRBT6F49QZPFER7":48},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":32,"updatedAt":33,"install":34,"resources":47},"01M79E7CZ1TXRBT6F49QZPFER7","tauri-rust-and-frontend-desktop",null,"Architectural patterns, security IPC, performance optimization, native integration, and production best practices for building cross-platform desktop applications using Tauri (v2) and Rust with modern web frontends (React, Svelte, Vue). Use when designing, building, or optimizing Tauri desktop apps.","hamzabellouch\u002Fagent-skills","hamzabellouch","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F237856042?v=4","01M79BRYW7XAMK3YDWQEMTWGWS","Hamza Bellouch","01M79BRYWXQV3JK2TGVTX8GN2A",8,"MIT","https:\u002F\u002Fgithub.com\u002Fhamzabellouch\u002Fagent-skills\u002Fblob\u002Fmain\u002FProgramming\u002FFrontend\u002FDesktop_Applications\u002Ftauri-rust-and-frontend-desktop\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: tauri-rust-and-frontend-desktop\ndescription: Architectural patterns, security IPC, performance optimization, native integration, and production best practices for building cross-platform desktop applications using Tauri (v2) and Rust with modern web frontends (React, Svelte, Vue). Use when designing, building, or optimizing Tauri desktop apps.\n---\n\n# Tauri, Rust & Frontend Desktop Application Development\n\n## Overview & Architecture\n\nTauri bridges modern web UI technology with high-performance native system capabilities implemented in Rust. Unlike Electron, Tauri uses the OS native web view renderer (WebKit on macOS\u002FLinux, WebView2 on Windows) and offloads core app logic, background execution, system integrations, and security enforcement to a lightweight Rust process.\n\n```\n+-----------------------------------------------------------------------+\n|                         Frontend Layer                                |\n|           React \u002F Svelte \u002F Vue \u002F Solid \u002F HTML5 + TS                   |\n|  - Renders UI via Native WebView (WebView2 \u002F WebKit)                 |\n|  - Calls backend APIs via `@tauri-apps\u002Fapi\u002Fcore` invoke()             |\n+-----------------------------------------------------------------------+\n                                 |  IPC (Serialized JSON \u002F Binary)\n                                 v\n+-----------------------------------------------------------------------+\n|                          Rust Core Layer                              |\n|  - Command Handlers (`#[tauri::command]`)                             |\n|  - Thread Pool \u002F Async Execution (`tokio` runtime)                    |\n|  - State Management (`tauri::State\u003CT>`)                               |\n|  - Native OS Capabilities, File I\u002FO, SQLite, Hardware Security IPC   |\n+-----------------------------------------------------------------------+\n```\n\n### Core Architectural Principles\n1. **Decoupled Business Logic**: High-throughput calculations, filesystem modifications, cryptographic routines, and persistent storage MUST live in Rust.\n2. **Lean Frontend**: Frontend handles state rendering, UI micro-interactions, and visual layout. Avoid heavy computing or large payload caching in JS memory.\n3. **Strict Capability Isolation**: Every native capability (filesystem access, shell execution, dialogs, HTTP requests) is disabled by default and governed by Tauri v2 granular capabilities and permissions ACLs.\n\n---\n\n## Security & IPC Best Practices\n\n### 1. Tauri v2 Security & Capability Model\nIn Tauri v2, permissions are explicitly granted in `src-tauri\u002Fcapabilities\u002Fdefault.json` or custom target capabilities:\n\n```json\n{\n  \"$schema\": \"..\u002Fgen\u002Fschemas\u002Fdesktop-schema.json\",\n  \"identifier\": \"default\",\n  \"description\": \"Default capabilities for production build\",\n  \"windows\": [\"main\"],\n  \"permissions\": [\n    \"core:default\",\n    \"fs:allow-read-text-file\",\n    \"fs:allow-write-text-file\",\n    {\n      \"identifier\": \"fs:scope\",\n      \"allow\": [\"$APP_DATA\u002F**\", \"$DOCUMENT\u002F**\"]\n    },\n    \"dialog:allow-open\",\n    \"dialog:allow-save\"\n  ]\n}\n```\n\n### 2. Type-Safe IPC with Custom Commands & Error Handling\n\nNever expose raw shell commands or unrestricted file access to the frontend. Expose domain-specific, strongly typed commands.\n\n#### Rust Backend (`src-tauri\u002Fsrc\u002Fcommands.rs`):\n```rust\nuse serde::{Deserialize, Serialize};\nuse std::sync::Mutex;\nuse tauri::{State, AppHandle};\nuse thiserror::Error;\n\n#[derive(Debug, Error, Serialize, Deserialize)]\npub enum AppError {\n    #[error(\"IO Error: {0}\")]\n    Io(String),\n    #[error(\"Validation Error: {0}\")]\n    Validation(String),\n    #[error(\"Unauthorized access to resource\")]\n    Unauthorized,\n}\n\n#[derive(Debug, Deserialize)]\npub struct ProcessDataPayload {\n    pub item_id: String,\n    pub quantity: u32,\n}\n\n#[derive(Debug, Serialize)]\npub struct ProcessResult {\n    pub status: String,\n    pub processed_count: u32,\n}\n\npub struct AppState {\n    pub db_connection_count: Mutex\u003Cu32>,\n}\n\n#[tauri::command]\npub async fn process_secure_data(\n    payload: ProcessDataPayload,\n    state: State\u003C'_, AppState>,\n    _app: AppHandle,\n) -> Result\u003CProcessResult, AppError> {\n    if payload.quantity == 0 {\n        return Err(AppError::Validation(\"Quantity must be greater than 0\".into()));\n    }\n\n    let mut count = state.db_connection_count.lock().map_err(|e| AppError::Io(e.to_string()))?;\n    *count += 1;\n\n    \u002F\u002F Simulate async compute \u002F I\u002FO work without blocking main thread\n    tokio::time::sleep(std::time::Duration::from_millis(50)).await;\n\n    Ok(ProcessResult {\n        status: \"SUCCESS\".into(),\n        processed_count: payload.quantity,\n    })\n}\n```\n\n#### Frontend Consumer (`src\u002Fapi\u002FdesktopBridge.ts`):\n```typescript\nimport { invoke } from '@tauri-apps\u002Fapi\u002Fcore';\n\nexport interface ProcessPayload {\n  item_id: string;\n  quantity: number;\n}\n\nexport interface ProcessResult {\n  status: string;\n  processed_count: number;\n}\n\nexport async function submitDataProcessing(payload: ProcessPayload): Promise\u003CProcessResult> {\n  try {\n    const result = await invoke\u003CProcessResult>('process_secure_data', { payload });\n    return result;\n  } catch (error) {\n    console.error('Tauri IPC Error:', error);\n    throw error;\n  }\n}\n```\n\n---\n\n## Performance Optimizations & Resource Management\n\n### 1. Async Non-Blocking Main Thread\nNever block the Tauri main window thread. Use `async fn` for commands and delegate blocking tasks to `tokio::task::spawn_blocking`.\n\n```rust\n#[tauri::command]\npub async fn heavy_computation(data: Vec\u003Cu8>) -> Result\u003CVec\u003Cu8>, String> {\n    tokio::task::spawn_blocking(move || {\n        \u002F\u002F High-CPU tasks: Image processing, compression, cryptography\n        compress_bytes(&data)\n    })\n    .await\n    .map_err(|e| e.to_string())?\n}\n```\n\n### 2. Zero-Copy & High-Volume Binary Data Streaming\nAvoid JSON serializing large arrays over IPC. Use channel events or binary arrays (`Vec\u003Cu8>` -> `Uint8Array`).\n\n```rust\nuse tauri::ipc::Response;\n\n#[tauri::command]\npub fn fetch_large_binary_chunk() -> Response {\n    let raw_bytes: Vec\u003Cu8> = vec![0u8; 10_000_000]; \u002F\u002F 10MB binary\n    Response::new(raw_bytes)\n}\n```\n\n### 3. Frontend Bundle Footprint Minimization\n- Enforce dynamic imports \u002F code-splitting for routes and heavy widgets.\n- Leverage native font stacks or minimal SVGs over web font bundles.\n- Use `vite-plugin-singlefile` or optimized asset bundling to reduce I\u002FO overhead on app launch.\n\n---\n\n## Common Anti-Patterns & Pitfalls\n\n| Anti-Pattern | Risk \u002F Problem | Recommended Pattern |\n| :--- | :--- | :--- |\n| **Global Shell Invocation** (`shell:allow-execute`) | Arbitrary command execution vulnerabilities | Wrap shell tasks inside custom Rust commands with strict input sanitization |\n| **Sync I\u002FO in Main Thread** | Freezes UI window, fails OS responsiveness checks | Use `async` commands & `tokio::fs` or `spawn_blocking` |\n| **Storing Secrets in Frontend JS** | Inspectable via WebView WebTools in dev \u002F unpacked builds | Secure secrets in OS Keyring via `keyring-rs` in Rust core |\n| **Passing Large Datasets as Plain JSON** | High memory allocation & CPU overhead in JSON parse\u002Fserialize | Use binary responses or byte buffers |\n| **Unbounded Event Listeners** | Memory leaks in frontend and backend event bus | Unsubscribe (`unlisten()`) on UI component unmount |\n\n---\n\n## Production Setup & Configuration Reference\n\n### `src-tauri\u002FCargo.toml`\n```toml\n[package]\nname = \"tauri-app\"\nversion = \"0.1.0\"\nedition = \"2021\"\n\n[build-dependencies]\ntauri-build = { version = \"2.0.0\", features = [] }\n\n[dependencies]\ntauri = { version = \"2.0.0\", features = [\"tray-icon\"] }\nserde = { version = \"1.0\", features = [\"derive\"] }\nserde_json = \"1.0\"\ntokio = { version = \"1\", features = [\"full\"] }\nthiserror = \"1.0\"\n```\n\n### Main Entrypoint (`src-tauri\u002Fsrc\u002Fmain.rs`)\n```rust\n#![cfg_attr(not(debug_assertions), windows_subsystem = \"windows\")]\n\nmod commands;\n\nuse commands::{process_secure_data, AppState};\nuse std::sync::Mutex;\n\nfn main() {\n    tauri::Builder::default()\n        .manage(AppState {\n            db_connection_count: Mutex::new(0),\n        })\n        .invoke_handler(tauri::generate_handler![process_secure_data])\n        .run(tauri::generate_context!())\n        .expect(\"error while running tauri application\");\n}\n```\n","# Tauri, Rust & Frontend Desktop Application Development\n\n## Overview & Architecture\n\nTauri bridges modern web UI technology with high-performance native system capabilities implemented in Rust. Unlike Electron, Tauri uses the OS native web view renderer (WebKit on macOS\u002FLinux, WebView2 on Windows) and offloads core app logic, background execution, system integrations, and security enforcement to a lightweight Rust process.\n\n```\n+-----------------------------------------------------------------------+\n|                         Frontend Layer                                |\n|           React \u002F Svelte \u002F Vue \u002F Solid \u002F HTML5 + TS                   |\n|  - Renders UI via Native WebView (WebView2 \u002F WebKit)                 |\n|  - Calls backend APIs via `@tauri-apps\u002Fapi\u002Fcore` invoke()             |\n+-----------------------------------------------------------------------+\n                                 |  IPC (Serialized JSON \u002F Binary)\n                                 v\n+-----------------------------------------------------------------------+\n|                          Rust Core Layer                              |\n|  - Command Handlers (`#[tauri::command]`)                             |\n|  - Thread Pool \u002F Async Execution (`tokio` runtime)                    |\n|  - State Management (`tauri::State\u003CT>`)                               |\n|  - Native OS Capabilities, File I\u002FO, SQLite, Hardware Security IPC   |\n+-----------------------------------------------------------------------+\n```\n\n### Core Architectural Principles\n1. **Decoupled Business Logic**: High-throughput calculations, filesystem modifications, cryptographic routines, and persistent storage MUST live in Rust.\n2. **Lean Frontend**: Frontend handles state rendering, UI micro-interactions, and visual layout. Avoid heavy computing or large payload caching in JS memory.\n3. **Strict Capability Isolation**: Every native capability (filesystem access, shell execution, dialogs, HTTP requests) is disabled by default and governed by Tauri v2 granular capabilities and permissions ACLs.\n\n---\n\n## Security & IPC Best Practices\n\n### 1. Tauri v2 Security & Capability Model\nIn Tauri v2, permissions are explicitly granted in `src-tauri\u002Fcapabilities\u002Fdefault.json` or custom target capabilities:\n\n```json\n{\n  \"$schema\": \"..\u002Fgen\u002Fschemas\u002Fdesktop-schema.json\",\n  \"identifier\": \"default\",\n  \"description\": \"Default capabilities for production build\",\n  \"windows\": [\"main\"],\n  \"permissions\": [\n    \"core:default\",\n    \"fs:allow-read-text-file\",\n    \"fs:allow-write-text-file\",\n    {\n      \"identifier\": \"fs:scope\",\n      \"allow\": [\"$APP_DATA\u002F**\", \"$DOCUMENT\u002F**\"]\n    },\n    \"dialog:allow-open\",\n    \"dialog:allow-save\"\n  ]\n}\n```\n\n### 2. Type-Safe IPC with Custom Commands & Error Handling\n\nNever expose raw shell commands or unrestricted file access to the frontend. Expose domain-specific, strongly typed commands.\n\n#### Rust Backend (`src-tauri\u002Fsrc\u002Fcommands.rs`):\n```rust\nuse serde::{Deserialize, Serialize};\nuse std::sync::Mutex;\nuse tauri::{State, AppHandle};\nuse thiserror::Error;\n\n#[derive(Debug, Error, Serialize, Deserialize)]\npub enum AppError {\n    #[error(\"IO Error: {0}\")]\n    Io(String),\n    #[error(\"Validation Error: {0}\")]\n    Validation(String),\n    #[error(\"Unauthorized access to resource\")]\n    Unauthorized,\n}\n\n#[derive(Debug, Deserialize)]\npub struct ProcessDataPayload {\n    pub item_id: String,\n    pub quantity: u32,\n}\n\n#[derive(Debug, Serialize)]\npub struct ProcessResult {\n    pub status: String,\n    pub processed_count: u32,\n}\n\npub struct AppState {\n    pub db_connection_count: Mutex\u003Cu32>,\n}\n\n#[tauri::command]\npub async fn process_secure_data(\n    payload: ProcessDataPayload,\n    state: State\u003C'_, AppState>,\n    _app: AppHandle,\n) -> Result\u003CProcessResult, AppError> {\n    if payload.quantity == 0 {\n        return Err(AppError::Validation(\"Quantity must be greater than 0\".into()));\n    }\n\n    let mut count = state.db_connection_count.lock().map_err(|e| AppError::Io(e.to_string()))?;\n    *count += 1;\n\n    \u002F\u002F Simulate async compute \u002F I\u002FO work without blocking main thread\n    tokio::time::sleep(std::time::Duration::from_millis(50)).await;\n\n    Ok(ProcessResult {\n        status: \"SUCCESS\".into(),\n        processed_count: payload.quantity,\n    })\n}\n```\n\n#### Frontend Consumer (`src\u002Fapi\u002FdesktopBridge.ts`):\n```typescript\nimport { invoke } from '@tauri-apps\u002Fapi\u002Fcore';\n\nexport interface ProcessPayload {\n  item_id: string;\n  quantity: number;\n}\n\nexport interface ProcessResult {\n  status: string;\n  processed_count: number;\n}\n\nexport async function submitDataProcessing(payload: ProcessPayload): Promise\u003CProcessResult> {\n  try {\n    const result = await invoke\u003CProcessResult>('process_secure_data', { payload });\n    return result;\n  } catch (error) {\n    console.error('Tauri IPC Error:', error);\n    throw error;\n  }\n}\n```\n\n---\n\n## Performance Optimizations & Resource Management\n\n### 1. Async Non-Blocking Main Thread\nNever block the Tauri main window thread. Use `async fn` for commands and delegate blocking tasks to `tokio::task::spawn_blocking`.\n\n```rust\n#[tauri::command]\npub async fn heavy_computation(data: Vec\u003Cu8>) -> Result\u003CVec\u003Cu8>, String> {\n    tokio::task::spawn_blocking(move || {\n        \u002F\u002F High-CPU tasks: Image processing, compression, cryptography\n        compress_bytes(&data)\n    })\n    .await\n    .map_err(|e| e.to_string())?\n}\n```\n\n### 2. Zero-Copy & High-Volume Binary Data Streaming\nAvoid JSON serializing large arrays over IPC. Use channel events or binary arrays (`Vec\u003Cu8>` -> `Uint8Array`).\n\n```rust\nuse tauri::ipc::Response;\n\n#[tauri::command]\npub fn fetch_large_binary_chunk() -> Response {\n    let raw_bytes: Vec\u003Cu8> = vec![0u8; 10_000_000]; \u002F\u002F 10MB binary\n    Response::new(raw_bytes)\n}\n```\n\n### 3. Frontend Bundle Footprint Minimization\n- Enforce dynamic imports \u002F code-splitting for routes and heavy widgets.\n- Leverage native font stacks or minimal SVGs over web font bundles.\n- Use `vite-plugin-singlefile` or optimized asset bundling to reduce I\u002FO overhead on app launch.\n\n---\n\n## Common Anti-Patterns & Pitfalls\n\n| Anti-Pattern | Risk \u002F Problem | Recommended Pattern |\n| :--- | :--- | :--- |\n| **Global Shell Invocation** (`shell:allow-execute`) | Arbitrary command execution vulnerabilities | Wrap shell tasks inside custom Rust commands with strict input sanitization |\n| **Sync I\u002FO in Main Thread** | Freezes UI window, fails OS responsiveness checks | Use `async` commands & `tokio::fs` or `spawn_blocking` |\n| **Storing Secrets in Frontend JS** | Inspectable via WebView WebTools in dev \u002F unpacked builds | Secure secrets in OS Keyring via `keyring-rs` in Rust core |\n| **Passing Large Datasets as Plain JSON** | High memory allocation & CPU overhead in JSON parse\u002Fserialize | Use binary responses or byte buffers |\n| **Unbounded Event Listeners** | Memory leaks in frontend and backend event bus | Unsubscribe (`unlisten()`) on UI component unmount |\n\n---\n\n## Production Setup & Configuration Reference\n\n### `src-tauri\u002FCargo.toml`\n```toml\n[package]\nname = \"tauri-app\"\nversion = \"0.1.0\"\nedition = \"2021\"\n\n[build-dependencies]\ntauri-build = { version = \"2.0.0\", features = [] }\n\n[dependencies]\ntauri = { version = \"2.0.0\", features = [\"tray-icon\"] }\nserde = { version = \"1.0\", features = [\"derive\"] }\nserde_json = \"1.0\"\ntokio = { version = \"1\", features = [\"full\"] }\nthiserror = \"1.0\"\n```\n\n### Main Entrypoint (`src-tauri\u002Fsrc\u002Fmain.rs`)\n```rust\n#![cfg_attr(not(debug_assertions), windows_subsystem = \"windows\")]\n\nmod commands;\n\nuse commands::{process_secure_data, AppState};\nuse std::sync::Mutex;\n\nfn main() {\n    tauri::Builder::default()\n        .manage(AppState {\n            db_connection_count: Mutex::new(0),\n        })\n        .invoke_handler(tauri::generate_handler![process_secure_data])\n        .run(tauri::generate_context!())\n        .expect(\"error while running tauri application\");\n}\n```\n",{"name":5,"description":7},"main","e905af21e5f1e1c3ca605e9656c3a7930360a84e","Programming\u002FFrontend\u002FDesktop_Applications\u002Ftauri-rust-and-frontend-desktop",1,"https:\u002F\u002Fgithub.com\u002Fhamzabellouch\u002Fagent-skills","https:\u002F\u002Fhamzabellouch.github.io\u002F","https:\u002F\u002Fgithub.com\u002Fhamzabellouch","hamzabellouch.github.io","CEO & Founder of @tknoglobal | Researcher in Technology & Applied Sciences.","2026-10-17 03:20:19",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add hamzabellouch\u002Fagent-skills --skill tauri-rust-and-frontend-desktop",{"tool":40,"command":41},"bunx","bunx skills add hamzabellouch\u002Fagent-skills --skill tauri-rust-and-frontend-desktop",{"tool":43,"command":44},"pnpm","pnpm dlx skills add hamzabellouch\u002Fagent-skills --skill tauri-rust-and-frontend-desktop","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fhamzabellouch\u002Fagent-skills\u002Fblob\u002Fmain\u002FProgramming\u002FFrontend\u002FDesktop_Applications\u002Ftauri-rust-and-frontend-desktop\u002FSKILL.md",true,[],[49,56,63,70,77,84],{"skillNo":50,"name":51,"nameZh":6,"description":52,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":53,"categories":54,"keywords":55,"publishedAt":19},"01M79FHH2H815A9TAP6WNKH4Q8","security-audit","Comprehensive security guidance, source code audit, vulnerability assessment, and penetration test review for codebases, APIs, microservices, CLI tools, libraries, and LLM-backed applications. Triggers on requests to audit a codebase, conduct security reviews, find vulnerabilities or flaws, pen-test source code, or when the user asks in Arabic (فحص أمني، تدقيق الكود أمنياً، مراجعة الثغرات، فحص أمان المشروع). Supports Guidance mode (focused review) and Full Audit mode (deterministic 6-phase harness).","https:\u002F\u002Fgithub.com\u002Fhamzabellouch\u002Fagent-skills\u002Fblob\u002Fmain\u002FSecurity\u002FSecurity_Audit_and_Code_Review\u002Fsecurity-audit\u002FSKILL.md",[],[],{"skillNo":57,"name":58,"nameZh":6,"description":59,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":19},"01M79FHBGXVBY6VQ1X7ETAZMF1","malware-analysis-reversing","Production malware analysis workflows, reverse engineering methodologies, isolated sandbox triage, static\u002Fdynamic binary analysis, memory forensics, and YARA detection rule authoring.","https:\u002F\u002Fgithub.com\u002Fhamzabellouch\u002Fagent-skills\u002Fblob\u002Fmain\u002FSecurity\u002FOffensive_Security_and_Pentesting\u002Fmalware-analysis-reversing\u002FSKILL.md",[],[],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":19},"01M79FH6EACDR801TZCE4R8SAC","application-security-pentesting","Production Application Security (AppSec) standards, OWASP Top 10 vulnerability remediation, SAST\u002FDAST pipeline integration, secure code review, threat modeling, and defensive security posture.","https:\u002F\u002Fgithub.com\u002Fhamzabellouch\u002Fagent-skills\u002Fblob\u002Fmain\u002FSecurity\u002FOffensive_Security_and_Pentesting\u002Fapplication-security-pentesting\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":19},"01M79FH0VKVT44FK923K520ZQA","oauth2-oidc-security-flows","Implement enterprise OAuth 2.1 and OpenID Connect (OIDC) authorization code flow with Proof Key for Code Exchange (PKCE), state and nonce verification, refresh token rotation, token revocation, and centralized IdP federation (Keycloak, Auth0, Okta). Trigger when building secure authentication, single sign-on (SSO), or third-party delegated authorization.","https:\u002F\u002Fgithub.com\u002Fhamzabellouch\u002Fagent-skills\u002Fblob\u002Fmain\u002FSecurity\u002FIdentity_and_Access_Management_IAM\u002Foauth2-oidc-security-flows\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":19},"01M79FGVVB3R4T88XXD8FRSV5B","jwt-session-management-hardening","Harden JWT-based authentication and session lifecycles using asymmetric signing (RS256\u002FEdDSA), JWKS rotation, strict claims validation, Redis-backed sliding window sessions, revocation lists, and secure HttpOnly cookie storage. Trigger when implementing token validation, session revocation, or hardening API authentication.","https:\u002F\u002Fgithub.com\u002Fhamzabellouch\u002Fagent-skills\u002Fblob\u002Fmain\u002FSecurity\u002FIdentity_and_Access_Management_IAM\u002Fjwt-session-management-hardening\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":19},"01M79FGNCPZ85CVEY0B3NE4H3B","soc2-compliance-automation","Best practices for implementing SOC 2 Type II compliance controls, continuous evidence collection, infrastructure policy-as-code, and automated security monitoring. Use when automating Trust Services Criteria (Security, Availability, Confidentiality, Processing Integrity, Privacy), audit logging, IAM least privilege, or CI\u002FCD security gates.","https:\u002F\u002Fgithub.com\u002Fhamzabellouch\u002Fagent-skills\u002Fblob\u002Fmain\u002FSecurity\u002FGovernance_Compliance_and_Legal_Tech\u002Fsoc2-compliance-automation\u002FSKILL.md",[],[]]