a5c-ai/babysitter / library/specializations/desktop-development/skills/file-dialog-abstraction
file-dialog-abstraction
VerifiedCross-platform file dialog implementation for open, save, and directory selection
SKILL.md
View on GitHub---
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
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |