agentsclimarketplace

File dialog abstraction

Skill a5c-ai/babysitter/library/specializations/desktop-development/skills/file-dialog-abstraction

Cross-platform file dialog implementation for open, save, and directory selectionFrom its SKILL.md

Install
npx -y skills add a5c-ai/babysitter --skill file-dialog-abstraction

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

SKILL.md

1.6 KB, 265 tokens by cl100k_base, as published. Nobody here has run it

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

{
  "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

What ships with it: 1 file

458 B alongside SKILL.md

Keep looking

Skills are one crate of 326,059. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.