Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

omarchy-make-app

БесплатноБез исполняемых скриптовНе проверен

Build a new desktop app for Omarchy the way Omarchy's own apps are built (Omacut, Monologue, Hype, Signed, Folio, Plain, Omawrite, Omacalc): C++ and Qt Quick…

omacomот omacom★ 47 921 звезда на GitHub

Об этом скилле

Building an Omarchy App

Omarchy's own apps are dead simple on purpose: one window, one job, driven from the keyboard, following the desktop's theme and language, and installed like any other package. Build new ones the same way. templates.md has the starter files; the ones it marks as shared are the same byte for byte in every Omarchy app, so a fix to one reaches all of them. The published apps are the reference for anything bigger:

Before writing code

Ask what the app should do if it isn't clear, and settle the one job it does. Pick a short lowercase name (tally, pomo); it is the binary, the package, the .desktop file, the icon, and the Wayland app id all at once. Create the project in ~/Work/<name> unless the user says otherwise.

Start every app from the scaffold, never by retyping the templates: in the empty project directory, run scaffold <name> "<Display Name>" from this skill's directory. It writes every file in templates.md with the name filled in, the LICENSE, and git init, then builds and runs the tests, which pass. The starter is a working counter app: change it into the app one piece at a time (the backend's state and actions, then Main.qml, then the tests), running bin/test after each piece so it stays green. Read the template for a file in templates.md only when you change that file. Before laying out a window with more than one thing in it (a list and a detail pane, modes, a dialog), read patterns.md: a working two-pane window and the layout traps it avoids.

Everything an app needs is part of Omarchy: cmake, make, a C++ compiler, Qt's base, declarative, multimedia, SVG, and Wayland modules, and ffmpeg. If cmake is missing, install the set with omarchy-pkg-add base-devel cmake qt6-base qt6-declarative qt6-multimedia qt6-svg qt6-wayland ffmpeg.

Shape

CMakeLists.txt               src/ as a library, the app, the tests, warnings, install rules
bin/build                    shared: cmake into build/
bin/test                     shared: builds, then runs ctest offscreen
.github/workflows/test.yml   shared: builds and tests on Arch on every push
src/main.cpp                 app setup; hands C++ objects to QML
src/backend.{h,cpp}          the app's state and work, as a QObject
src/theme.{h,cpp}            the Omarchy palette, light or dark, and Hyprland's rounding
src/translator.{h,cpp}       shared: follows the Omarchy language
src/Main.qml                 the window: layout, keys, nothing else
src/resources.qrc            compiles the QML, the icon, and the catalogs into the binary
src/i18n/<code>.json         en.json lists every string; one catalog per language
tests/<name>_tests.cpp
share/<name>.desktop  share/<name>.svg
README.md  LICENSE  .gitignore

src/ stays flat, and a new file there needs no change to CMakeLists.txt. No build directories checked in, no generated files committed. No PKGBUILD and no bin/install in the app's repository: the package lives in omacom/omarchy-pkgs (see README and release), and cmake --install covers trying the app in the launcher before then.

How the pieces split

  • C++ owns the logic: state, files, processes, anything that can fail. Expose it as a QObject with Q_PROPERTY … NOTIFY for state and Q_INVOKABLE for actions, handed to QML with engine.rootContext()->setContextProperty("backend", &backend). A value QML shows is a property with a NOTIFY signal, never a Q_INVOKABLE getter: nothing tells a binding that a getter's answer changed, so it shows stale state until something else in the binding happens to change.
  • QML owns layout and interaction: an ApplicationWindow in Main.qml, a few components beside it, and every key binding as a `Short
Полный SKILL.md на GitHub

Установить omarchy-make-app в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

patterns.mdscaffoldtemplates.md

FAQ

Что делает скилл omarchy-make-app?

Build a new desktop app for Omarchy the way Omarchy's own apps are built (Omacut, Monologue, Hype, Signed, Folio, Plain, Omawrite, Omacalc): C++ and Qt Quick, built with CMake into a single binary, following the Omarchy theme and language live, tested offscreen on every push, and packaged in omarchy-pkgs so it shows up in the app launcher. Use when asked to make, build, or scaffold an app, tool, utility, or GUI program for the desktop. Triggers: new app, make me an app, desktop app, GUI, Qt, QML, Qt Quick, C++ app, CMake, app launcher entry, PKGBUILD for my app.

Как установить скилл omarchy-make-app?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл omarchy-make-app запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить omarchy-make-app с