a5c-ai/babysitter / library/specializations/desktop-development/skills/snap-yaml-generator
snap-yaml-generator
VerifiedGenerate snapcraft.yaml with confinement settings for Ubuntu Snap packages
SKILL.md
View on GitHub---
name: snap-yaml-generator
description: Generate snapcraft.yaml with confinement settings for Ubuntu Snap packages
allowed-tools: Read, Write, Edit, Bash, Glob, Grep
tags: [linux, snap, ubuntu, packaging, distribution]
graph:
domains: [domain:software-engineering]
specializations: [specialization:desktop-development]
skillAreas: [skill-area:cross-platform-desktop, skill-area:deployment-infrastructure-management]
roles: [role:desktop-developer, role:fullstack-engineer]
workflows: [workflow:feature-development, workflow:release-management]
---
# snap-yaml-generator
Generate snapcraft.yaml configuration for Ubuntu Snap packages with proper confinement and interfaces.
## Capabilities
- Generate snapcraft.yaml
- Configure confinement levels
- Set up interfaces/plugs
- Configure parts and build
- Set up desktop integration
- Configure auto-refresh
## Input Schema
```json
{
"type": "object",
"properties": {
"projectPath": { "type": "string" },
"snapName": { "type": "string" },
"confinement": { "enum": ["strict", "classic", "devmode"] },
"interfaces": { "type": "array" }
},
"required": ["projectPath", "snapName"]
}
```
## snapcraft.yaml Example
```yaml
name: myapp
version: '1.0.0'
summary: My Application
description: |
A longer description of my application.
base: core22
confinement: strict
grade: stable
apps:
myapp:
command: bin/myapp
desktop: share/applications/myapp.desktop
plugs:
- desktop
- desktop-legacy
- home
- network
- x11
- wayland
parts:
myapp:
plugin: dump
source: .
stage-packages:
- libgtk-3-0
```
## Build Commands
```bash
snapcraft
sudo snap install myapp_1.0.0_amd64.snap --dangerous
```
## Related Skills
- `flatpak-manifest-generator`
- `deb-package-builder`
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 |