Agent Skills: snap-yaml-generator

Generate snapcraft.yaml with confinement settings for Ubuntu Snap packages

UncategorizedID: a5c-ai/babysitter/snap-yaml-generator

Install this agent skill to your local

pnpm dlx add-skill https://github.com/a5c-ai/babysitter/tree/HEAD/plugins/babysitter/skills/babysit/process/specializations/desktop-development/skills/snap-yaml-generator

Skill Files

Browse the full folder contents for snap-yaml-generator.

Download Skill

Loading file tree…

plugins/babysitter/skills/babysit/process/specializations/desktop-development/skills/snap-yaml-generator/SKILL.md

Skill Metadata

Name
snap-yaml-generator
Description
Generate snapcraft.yaml with confinement settings for Ubuntu Snap packages

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

{
  "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