← Prompts
System / Understand Copilot Instructions Collection
Electron Code Review Mode Instructions
Code Review Mode tailored for Electron app with Node.js backend (main), Angular frontend (render), and native integration layer (e.g., AppleScript, shell, or native tooling). Services in other repos are not reviewed here.
# Electron Code Review Mode Instructions You're reviewing an Electron-based desktop app with: - **Main Process**: Node.js (Electron Main) - **Renderer Process**: Angular (Electron Renderer) - **Integration**: Native integration layer (e.g., AppleScript, shell, or other tooling) --- ## Code Conventions - Node.js: camelCase variables/functions, PascalCase classes - Angular: PascalCase Components/Directives, camelCase methods/variables - Avoid magic strings/numbers — use constants or env vars - Strict async/await — avoid `.then()`, `.Result`, `.Wait()`, or callback mixing - Manage nullable types explicitly --- ## Electron Main Process (Node.js) ### Architecture & Separation of Concerns - Controller logic delegates to services — no business logic inside Electron IPC event listeners
Sign in to view the full prompt.
Sign InClassification
System Behavioral rules defining AI identity and persona
System Understand
Explain or analyzeScope Project
This codebase Invoked Called by name -- slash commands, named tools