Skip to content
Back to skills

File Dialog Abstraction

ASecurity

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

  • 1,760 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 2, 2026
ai-agentsjavascriptjavabashapifullstack

Works with

  • api

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 2, 2026

npx -y skills add a5c-ai/babysitter --skill file-dialog-abstraction --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of File Dialog Abstraction?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for File Dialog Abstraction
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/a5c-ai-file-dialog-abstraction-babysitter/badge)](https://www.skillsdirectory.com/skills/a5c-ai-file-dialog-abstraction-babysitter)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: file-dialog-abstraction
description: Cross-platform file dialog implementation for open, save, and directory selection
allowed-tools: Read, Write, Edit, Bash, Glob, Grep
tags: [files, dialogs, cross-platform, desktop, native]
graph:
  domains: [domain:software-engineering]
  specializations: [specialization:desktop-development]
  skillAreas: [skill-area:desktop-ui-frameworks, skill-area:cross-platform-desktop]
  roles: [role:desktop-developer, role:fullstack-engineer]
  workflows: [workflow:feature-development, workflow:release-management]
---

# 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

Files in this skill

  • README.md458 B
  • SKILL.md1.6 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.