[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M79E77A7BA9P854GMCAEAP34":3,"skill-same:01M79E77A7BA9P854GMCAEAP34":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},"01M79E77A7BA9P854GMCAEAP34","electron-crossplatform-performance",null,"Production architecture, multi-process IPC security, V8 memory management, native node modules, window lifecycle optimization, and cross-platform desktop execution using Electron. Use when building, hardening, or tuning performance for enterprise Electron apps across Windows, macOS, and Linux.","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\u002Felectron-crossplatform-performance\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: electron-crossplatform-performance\ndescription: Production architecture, multi-process IPC security, V8 memory management, native node modules, window lifecycle optimization, and cross-platform desktop execution using Electron. Use when building, hardening, or tuning performance for enterprise Electron apps across Windows, macOS, and Linux.\n---\n\n# Electron Cross-Platform Performance & Architecture\n\n## Process Architecture & Isolation\n\nElectron applications operate across distinct processes isolated by Chromium sandboxing. Enterprise applications must maintain strict process boundaries:\n\n```\n+-------------------------------------------------------------------------+\n|                              Main Process                               |\n|  - Node.js Environment (Full System Privilege)                          |\n|  - Manages Application Lifecycle & Native Menus \u002F Tray                  |\n|  - Controls BrowserWindow instances & Native APIs                       |\n+-------------------------------------------------------------------------+\n       |                                              |\n       | IPC (ContextBridge)                          | UtilityProcess API\n       v                                              v\n+-----------------------------+         +---------------------------------+\n|     Renderer Process        |         |        Utility Process          |\n|  - Chromium Web Engine      |         |  - Background Node.js Work      |\n|  - Isolated DOM Rendering   |         |  - Non-blocking CPU tasks       |\n|  - `nodeIntegration: false` |         |  - Heavy Data Ingestion         |\n|  - `contextIsolation: true` |         +---------------------------------+\n+-----------------------------+\n```\n\n---\n\n## Security Hardening & Safe IPC Design\n\n### 1. Mandatory Secure BrowserWindow Configurations\nEnforce strict security flags on all `BrowserWindow` instances:\n\n```typescript\n\u002F\u002F main\u002FwindowFactory.ts\nimport { BrowserWindow, app } from 'electron';\nimport * as path from 'path';\n\nexport function createSecureWindow(): BrowserWindow {\n  const win = new BrowserWindow({\n    width: 1280,\n    height: 800,\n    show: false, \u002F\u002F Prevent white flashing during load\n    webPreferences: {\n      preload: path.join(__dirname, '..\u002Fpreload\u002Findex.js'),\n      contextIsolation: true,       \u002F\u002F Enforce IPC bridge separation\n      nodeIntegration: false,        \u002F\u002F Disable node access in renderer\n      nodeIntegrationInWorker: false,\n      sandbox: true,                 \u002F\u002F Enable Chromium Renderer Sandbox\n      webSecurity: true,             \u002F\u002F Enforce Same-Origin Policy\n      allowRunningInsecureContent: false,\n    },\n  });\n\n  win.once('ready-to-show', () => {\n    win.show();\n  });\n\n  \u002F\u002F Enforce Navigation Restraints\n  win.webContents.on('will-navigate', (event, url) => {\n    const parsedUrl = new URL(url);\n    if (parsedUrl.origin !== 'https:\u002F\u002Fapp.yourdomain.com' && !url.startsWith('file:\u002F\u002F')) {\n      event.preventDefault();\n      console.warn(`Blocked unauthorized navigation to: ${url}`);\n    }\n  });\n\n  \u002F\u002F Prevent New Windows \u002F Popups\n  win.webContents.setWindowOpenHandler(({ url }) => {\n    \u002F\u002F Open external URLs in default system browser securely\n    if (url.startsWith('https:')) {\n      require('electron').shell.openExternal(url);\n    }\n    return { action: 'deny' };\n  });\n\n  return win;\n}\n```\n\n### 2. Type-Safe ContextBridge IPC Layer\n\n#### Preload Script (`preload\u002Findex.ts`):\n```typescript\nimport { contextBridge, ipcRenderer } from 'electron';\n\nexport interface DesktopAPI {\n  fetchSystemStats: () => Promise\u003C{ cpuLoad: number; memoryFreeMB: number }>;\n  onUpdateStatus: (callback: (status: string) => void) => () => void;\n}\n\nconst api: DesktopAPI = {\n  fetchSystemStats: () => ipcRenderer.invoke('system:get-stats'),\n  onUpdateStatus: (callback) => {\n    const handler = (_event: unknown, status: string) => callback(status);\n    ipcRenderer.on('app:update-status', handler);\n    \u002F\u002F Return cleanup function to prevent memory leaks\n    return () => ipcRenderer.removeListener('app:update-status', handler);\n  },\n};\n\ncontextBridge.exposeInMainWorld('desktopAPI', api);\n```\n\n#### Main Process IPC Handler (`main\u002FipcHandlers.ts`):\n```typescript\nimport { ipcMain } from 'electron';\nimport * as os from 'os';\n\nexport function registerIpcHandlers() {\n  ipcMain.handle('system:get-stats', async (event) => {\n    \u002F\u002F Validate sender frame identity\n    if (!event.senderFrame.url.startsWith('file:\u002F\u002F') && !event.senderFrame.url.startsWith('http:\u002F\u002Flocalhost')) {\n      throw new Error('Unauthorized IPC invocation');\n    }\n\n    const freeMem = os.freemem() \u002F (1024 * 1024);\n    const loadAvg = os.loadavg()[0];\n\n    return {\n      cpuLoad: Math.round(loadAvg * 100) \u002F 100,\n      memoryFreeMB: Math.round(freeMem),\n    };\n  });\n}\n```\n\n---\n\n## Memory Management & Performance Tuning\n\n### 1. Offloading Heavy Computation to `utilityProcess`\nNever execute CPU-intensive tasks (PDF parsing, compression, cryptography) in the main process or renderer thread.\n\n```typescript\n\u002F\u002F main\u002FutilityManager.ts\nimport { utilityProcess, MessageChannelMain } from 'electron';\nimport * as path from 'path';\n\nexport function runBackgroundJob(taskData: any): Promise\u003Cany> {\n  return new Promise((resolve, reject) => {\n    const child = utilityProcess.fork(path.join(__dirname, 'workerTask.js'));\n\n    child.on('spawn', () => {\n      child.postMessage({ type: 'START_TASK', payload: taskData });\n    });\n\n    child.on('message', (message: any) => {\n      if (message.type === 'SUCCESS') {\n        resolve(message.result);\n        child.kill();\n      } else if (message.type === 'ERROR') {\n        reject(new Error(message.error));\n        child.kill();\n      }\n    });\n\n    child.on('exit', (code) => {\n      if (code !== 0) reject(new Error(`Worker exited with code ${code}`));\n    });\n  });\n}\n```\n\n### 2. V8 Garbage Collection & Memory Leak Prevention\n- **Avoid Global Listeners**: Always unregister `ipcRenderer.on` listeners when React\u002FVue components unmount.\n- **Window Dereferencing**: Always set window reference variables to `null` on window close to allow GC.\n\n```typescript\nlet mainWindow: BrowserWindow | null = null;\n\nfunction createWindow() {\n  mainWindow = createSecureWindow();\n  mainWindow.on('closed', () => {\n    mainWindow = null; \u002F\u002F Essential for V8 memory cleanup\n  });\n}\n```\n\n### 3. Chromium Command Line Performance Flags\nConfigure optimized runtime parameters before app initialization:\n\n```typescript\n\u002F\u002F main\u002Findex.ts\nimport { app } from 'electron';\n\n\u002F\u002F Hardware acceleration tuning\napp.commandLine.appendSwitch('enable-gpu-rasterization');\napp.commandLine.appendSwitch('enable-zero-copy');\n\n\u002F\u002F V8 Memory limits for resource-constrained clients\napp.commandLine.appendSwitch('js-flags', '--max-old-space-size=4096');\n\n\u002F\u002F Disable unneeded features to save startup time\napp.commandLine.appendSwitch('disable-breakpad'); \u002F\u002F If custom crash reporter is used\n```\n\n---\n\n## Cross-Platform OS Customization\n\n| Feature | Windows | macOS | Linux |\n| :--- | :--- | :--- | :--- |\n| **Window Frame** | Windows Mica \u002F Acrylic API | Vibrancy \u002F Title Bar Overlay | Standard GTK decorations \u002F Frameless |\n| **App Updates** | NSIS \u002F Squirrel.Windows | `autoUpdater` with Signed DMG\u002FZip | AppImage \u002F DEB \u002F Snap |\n| **Shortcuts** | `Ctrl+Shift+X` | `Cmd+Shift+X` | `Ctrl+Shift+X` |\n| **Tray \u002F Dock** | System Tray notification icons | Dock badge & context menu | AppIndicator \u002F StatusIcon |\n\n---\n\n## Common Anti-Patterns & Critical Pitfalls\n\n| Anti-Pattern | Impact | Architectural Fix |\n| :--- | :--- | :--- |\n| **`remote` Module Usage** | Severe performance degradation & critical remote code execution vector | Use explicit `ipcMain.handle` \u002F `ipcRenderer.invoke` |\n| **Sync IPC (`sendSync`)** | Freezes Chromium renderer event loop, causing visual stutter | Use asynchronous `invoke` \u002F `handle` promise patterns |\n| **Synchronous Node File System Calls in Renderer** | Unresponsive UI render thread | Delegate file operations to Main\u002FUtility processes asynchronously |\n| **Orphaned IPC Event Listeners** | Memory leak holding DOM elements in V8 heap | Return and invoke unbind functions on component destroy |\n| **Missing Content Security Policy (CSP)** | Susceptible to XSS leading to native system compromise | Serve strict CSP headers: `default-src 'self'; script-src 'self'` |\n","# Electron Cross-Platform Performance & Architecture\n\n## Process Architecture & Isolation\n\nElectron applications operate across distinct processes isolated by Chromium sandboxing. Enterprise applications must maintain strict process boundaries:\n\n```\n+-------------------------------------------------------------------------+\n|                              Main Process                               |\n|  - Node.js Environment (Full System Privilege)                          |\n|  - Manages Application Lifecycle & Native Menus \u002F Tray                  |\n|  - Controls BrowserWindow instances & Native APIs                       |\n+-------------------------------------------------------------------------+\n       |                                              |\n       | IPC (ContextBridge)                          | UtilityProcess API\n       v                                              v\n+-----------------------------+         +---------------------------------+\n|     Renderer Process        |         |        Utility Process          |\n|  - Chromium Web Engine      |         |  - Background Node.js Work      |\n|  - Isolated DOM Rendering   |         |  - Non-blocking CPU tasks       |\n|  - `nodeIntegration: false` |         |  - Heavy Data Ingestion         |\n|  - `contextIsolation: true` |         +---------------------------------+\n+-----------------------------+\n```\n\n---\n\n## Security Hardening & Safe IPC Design\n\n### 1. Mandatory Secure BrowserWindow Configurations\nEnforce strict security flags on all `BrowserWindow` instances:\n\n```typescript\n\u002F\u002F main\u002FwindowFactory.ts\nimport { BrowserWindow, app } from 'electron';\nimport * as path from 'path';\n\nexport function createSecureWindow(): BrowserWindow {\n  const win = new BrowserWindow({\n    width: 1280,\n    height: 800,\n    show: false, \u002F\u002F Prevent white flashing during load\n    webPreferences: {\n      preload: path.join(__dirname, '..\u002Fpreload\u002Findex.js'),\n      contextIsolation: true,       \u002F\u002F Enforce IPC bridge separation\n      nodeIntegration: false,        \u002F\u002F Disable node access in renderer\n      nodeIntegrationInWorker: false,\n      sandbox: true,                 \u002F\u002F Enable Chromium Renderer Sandbox\n      webSecurity: true,             \u002F\u002F Enforce Same-Origin Policy\n      allowRunningInsecureContent: false,\n    },\n  });\n\n  win.once('ready-to-show', () => {\n    win.show();\n  });\n\n  \u002F\u002F Enforce Navigation Restraints\n  win.webContents.on('will-navigate', (event, url) => {\n    const parsedUrl = new URL(url);\n    if (parsedUrl.origin !== 'https:\u002F\u002Fapp.yourdomain.com' && !url.startsWith('file:\u002F\u002F')) {\n      event.preventDefault();\n      console.warn(`Blocked unauthorized navigation to: ${url}`);\n    }\n  });\n\n  \u002F\u002F Prevent New Windows \u002F Popups\n  win.webContents.setWindowOpenHandler(({ url }) => {\n    \u002F\u002F Open external URLs in default system browser securely\n    if (url.startsWith('https:')) {\n      require('electron').shell.openExternal(url);\n    }\n    return { action: 'deny' };\n  });\n\n  return win;\n}\n```\n\n### 2. Type-Safe ContextBridge IPC Layer\n\n#### Preload Script (`preload\u002Findex.ts`):\n```typescript\nimport { contextBridge, ipcRenderer } from 'electron';\n\nexport interface DesktopAPI {\n  fetchSystemStats: () => Promise\u003C{ cpuLoad: number; memoryFreeMB: number }>;\n  onUpdateStatus: (callback: (status: string) => void) => () => void;\n}\n\nconst api: DesktopAPI = {\n  fetchSystemStats: () => ipcRenderer.invoke('system:get-stats'),\n  onUpdateStatus: (callback) => {\n    const handler = (_event: unknown, status: string) => callback(status);\n    ipcRenderer.on('app:update-status', handler);\n    \u002F\u002F Return cleanup function to prevent memory leaks\n    return () => ipcRenderer.removeListener('app:update-status', handler);\n  },\n};\n\ncontextBridge.exposeInMainWorld('desktopAPI', api);\n```\n\n#### Main Process IPC Handler (`main\u002FipcHandlers.ts`):\n```typescript\nimport { ipcMain } from 'electron';\nimport * as os from 'os';\n\nexport function registerIpcHandlers() {\n  ipcMain.handle('system:get-stats', async (event) => {\n    \u002F\u002F Validate sender frame identity\n    if (!event.senderFrame.url.startsWith('file:\u002F\u002F') && !event.senderFrame.url.startsWith('http:\u002F\u002Flocalhost')) {\n      throw new Error('Unauthorized IPC invocation');\n    }\n\n    const freeMem = os.freemem() \u002F (1024 * 1024);\n    const loadAvg = os.loadavg()[0];\n\n    return {\n      cpuLoad: Math.round(loadAvg * 100) \u002F 100,\n      memoryFreeMB: Math.round(freeMem),\n    };\n  });\n}\n```\n\n---\n\n## Memory Management & Performance Tuning\n\n### 1. Offloading Heavy Computation to `utilityProcess`\nNever execute CPU-intensive tasks (PDF parsing, compression, cryptography) in the main process or renderer thread.\n\n```typescript\n\u002F\u002F main\u002FutilityManager.ts\nimport { utilityProcess, MessageChannelMain } from 'electron';\nimport * as path from 'path';\n\nexport function runBackgroundJob(taskData: any): Promise\u003Cany> {\n  return new Promise((resolve, reject) => {\n    const child = utilityProcess.fork(path.join(__dirname, 'workerTask.js'));\n\n    child.on('spawn', () => {\n      child.postMessage({ type: 'START_TASK', payload: taskData });\n    });\n\n    child.on('message', (message: any) => {\n      if (message.type === 'SUCCESS') {\n        resolve(message.result);\n        child.kill();\n      } else if (message.type === 'ERROR') {\n        reject(new Error(message.error));\n        child.kill();\n      }\n    });\n\n    child.on('exit', (code) => {\n      if (code !== 0) reject(new Error(`Worker exited with code ${code}`));\n    });\n  });\n}\n```\n\n### 2. V8 Garbage Collection & Memory Leak Prevention\n- **Avoid Global Listeners**: Always unregister `ipcRenderer.on` listeners when React\u002FVue components unmount.\n- **Window Dereferencing**: Always set window reference variables to `null` on window close to allow GC.\n\n```typescript\nlet mainWindow: BrowserWindow | null = null;\n\nfunction createWindow() {\n  mainWindow = createSecureWindow();\n  mainWindow.on('closed', () => {\n    mainWindow = null; \u002F\u002F Essential for V8 memory cleanup\n  });\n}\n```\n\n### 3. Chromium Command Line Performance Flags\nConfigure optimized runtime parameters before app initialization:\n\n```typescript\n\u002F\u002F main\u002Findex.ts\nimport { app } from 'electron';\n\n\u002F\u002F Hardware acceleration tuning\napp.commandLine.appendSwitch('enable-gpu-rasterization');\napp.commandLine.appendSwitch('enable-zero-copy');\n\n\u002F\u002F V8 Memory limits for resource-constrained clients\napp.commandLine.appendSwitch('js-flags', '--max-old-space-size=4096');\n\n\u002F\u002F Disable unneeded features to save startup time\napp.commandLine.appendSwitch('disable-breakpad'); \u002F\u002F If custom crash reporter is used\n```\n\n---\n\n## Cross-Platform OS Customization\n\n| Feature | Windows | macOS | Linux |\n| :--- | :--- | :--- | :--- |\n| **Window Frame** | Windows Mica \u002F Acrylic API | Vibrancy \u002F Title Bar Overlay | Standard GTK decorations \u002F Frameless |\n| **App Updates** | NSIS \u002F Squirrel.Windows | `autoUpdater` with Signed DMG\u002FZip | AppImage \u002F DEB \u002F Snap |\n| **Shortcuts** | `Ctrl+Shift+X` | `Cmd+Shift+X` | `Ctrl+Shift+X` |\n| **Tray \u002F Dock** | System Tray notification icons | Dock badge & context menu | AppIndicator \u002F StatusIcon |\n\n---\n\n## Common Anti-Patterns & Critical Pitfalls\n\n| Anti-Pattern | Impact | Architectural Fix |\n| :--- | :--- | :--- |\n| **`remote` Module Usage** | Severe performance degradation & critical remote code execution vector | Use explicit `ipcMain.handle` \u002F `ipcRenderer.invoke` |\n| **Sync IPC (`sendSync`)** | Freezes Chromium renderer event loop, causing visual stutter | Use asynchronous `invoke` \u002F `handle` promise patterns |\n| **Synchronous Node File System Calls in Renderer** | Unresponsive UI render thread | Delegate file operations to Main\u002FUtility processes asynchronously |\n| **Orphaned IPC Event Listeners** | Memory leak holding DOM elements in V8 heap | Return and invoke unbind functions on component destroy |\n| **Missing Content Security Policy (CSP)** | Susceptible to XSS leading to native system compromise | Serve strict CSP headers: `default-src 'self'; script-src 'self'` |\n",{"name":5,"description":7},"main","e905af21e5f1e1c3ca605e9656c3a7930360a84e","Programming\u002FFrontend\u002FDesktop_Applications\u002Felectron-crossplatform-performance",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 electron-crossplatform-performance",{"tool":40,"command":41},"bunx","bunx skills add hamzabellouch\u002Fagent-skills --skill electron-crossplatform-performance",{"tool":43,"command":44},"pnpm","pnpm dlx skills add hamzabellouch\u002Fagent-skills --skill electron-crossplatform-performance","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fhamzabellouch\u002Fagent-skills\u002Fblob\u002Fmain\u002FProgramming\u002FFrontend\u002FDesktop_Applications\u002Felectron-crossplatform-performance\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",[],[]]