file-dialog-abstraction

Solid

Cross-platform file dialog implementation for open, save, and directory selection

AI & Automation 814 stars 53 forks Updated today MIT

Install

View on GitHub

Quality Score: 93/100

Stars 20%
97
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
54
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# file-dialog-abstraction Implement cross-platform file dialogs for open, save, and directory selection with consistent API across Windows, macOS, and Linux. ## Capabilities - Open file dialogs - Save file dialogs - Directory selection dialogs - Multiple file selection - File type filters - Default paths and names - Recent locations support ## Input Schema ```json { "type": "object", "properties": { "projectPath": { "type": "string" }, "framework": { "enum": ["electron", "tauri", "qt", "wpf"] }, "dialogTypes": { "type": "array" } }, "required": ["projectPath"] } ``` ## Electron Example ```javascript const { dialog } = require('electron'); async function openFile() { const result = await dialog.showOpenDialog({ properties: ['openFile', 'multiSelections'], filters: [ { name: 'Documents', extensions: ['pdf', 'docx'] }, { name: 'All Files', extensions: ['*'] } ] }); return result.filePaths; } ``` ## Related Skills - `file-watcher-setup` - `file-system-integration` process

Details

Author
a5c-ai
Repository
a5c-ai/babysitter
Created
4 months ago
Last Updated
today
Language
JavaScript
License
MIT

Related Skills