file-dialog-abstraction

SkillFiles & storage

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

Instructions available. Your AI can read the instructions. Execution depends on the setup they require.

Add ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.

Then ask your AI: use the file-dialog-abstraction skill

What this skill tells your AI

The instructions your AI receives, as published by a5c-ai/babysitter in library/specializations/desktop-development/skills/file-dialog-abstraction/SKILL.md and read by ahel’s review.

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

{
  "type": "object",
  "properties": {
    "projectPath": { "type": "string" },
    "framework": { "enum": ["electron", "tauri", "qt", "wpf"] },
    "dialogTypes": { "type": "array" }
  },
  "required": ["projectPath"]
}

Electron Example

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

Signals

GitHub stars
2k
Forks
112
Last commit
Sep 2026
Advanced
Item type
skill
Key
file-dialog-abstraction
Source
github.com/a5c-ai/babysitter