snap-yaml-generator

SkillDev tools

Generate snapcraft.yaml with confinement settings for Ubuntu Snap packages

Instructions available. Your AI can read the instructions. Execution depends on the setup they require.

Add ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.

Then ask your AI: use the snap-yaml-generator skill

What this skill tells your AI

The instructions your AI receives, as published by a5c-ai/babysitter in library/specializations/desktop-development/skills/snap-yaml-generator/SKILL.md and read by ahel’s review.

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

{
  "type": "object",
  "properties": {
    "projectPath": { "type": "string" },
    "snapName": { "type": "string" },
    "confinement": { "enum": ["strict", "classic", "devmode"] },
    "interfaces": { "type": "array" }
  },
  "required": ["projectPath", "snapName"]
}

snapcraft.yaml Example

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

snapcraft
sudo snap install myapp_1.0.0_amd64.snap --dangerous

Related Skills

  • flatpak-manifest-generator
  • deb-package-builder

Signals

GitHub stars
2k
Forks
112
Last commit
Sep 2026
Advanced
Item type
skill
Key
snap-yaml-generator
Source
github.com/a5c-ai/babysitter