file-dialog-abstraction

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

509 stars

Best use case

file-dialog-abstraction is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

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

Teams using file-dialog-abstraction should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/file-dialog-abstraction/SKILL.md --create-dirs "https://raw.githubusercontent.com/a5c-ai/babysitter/main/library/specializations/desktop-development/skills/file-dialog-abstraction/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/file-dialog-abstraction/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How file-dialog-abstraction Compares

Feature / Agentfile-dialog-abstractionStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

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

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# 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

performance-profiler

509
from a5c-ai/babysitter

Profile application performance including CPU, memory, and flame graph generation

nsight-profiler

509
from a5c-ai/babysitter

Expert skill for NVIDIA Nsight Systems and Nsight Compute profiling tools. Configure profiling sessions, analyze kernel reports, interpret occupancy metrics, roofline model data, memory bandwidth bottlenecks, and warp execution efficiency.

unity-profiler

509
from a5c-ai/babysitter

Unity Profiler skill for performance analysis, frame debugging, memory profiling, and optimization workflows.

dialogue-ai

509
from a5c-ai/babysitter

Dialogue system skill for branching conversations and response generation.

power-profiler

509
from a5c-ai/babysitter

Power consumption measurement and analysis expertise for embedded systems. Integrates with power analyzer tools to measure, profile, and optimize power consumption in battery-powered and energy-efficient designs.

socratic-dialogue-facilitation

509
from a5c-ai/babysitter

Lead philosophical inquiry through structured questioning, elicit assumptions, expose contradictions, and guide interlocutors toward deeper understanding

dialogue-crafting

509
from a5c-ai/babysitter

Create character-specific dialogue with distinct voices, subtext, and naturalistic speech patterns

metaphlan-profiler

509
from a5c-ai/babysitter

MetaPhlAn metagenomic profiling skill for species-level community composition

humann-functional-profiler

509
from a5c-ai/babysitter

HUMAnN functional profiling skill for metagenomic pathway analysis

startup-time-profiler

509
from a5c-ai/babysitter

Profile and optimize application startup time for desktop applications

file-watcher-setup

509
from a5c-ai/babysitter

Set up cross-platform file system watching with debouncing and efficient change detection

electron-memory-profiler

509
from a5c-ai/babysitter

Profile Electron app memory usage, detect leaks, analyze renderer process memory, and optimize memory consumption