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★ 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:
- Omacut, a video trimmer: https://github.com/omacom/omacut. Its
src/portalfilepicker.{h,cpp}is the file picker to copy. - Monologue, a webcam recorder: https://github.com/omacom/monologue.
tests/ui_tests.cppdrives the realMain.qmlagainst a fake backend and fails on any QML warning. - Hype, Markdown presentations: https://github.com/omacom/hype.
src/cli.cppis the command line for agents. - Signed, PDF signing: https://github.com/omacom/signed.
tests/test_cli.pydrives the binary with no display. - Folio, the file manager: https://github.com/omacom/folio. The translation pipeline (
scripts/i18n-sync.py,docs/i18n.md, and the catalog tests), and background work that outlives its window. - Plain, the config file editor: https://github.com/omacom/plain. The most careful file handling, and the keyboard for an app you type into.
- Omawrite, a writing app: https://github.com/omacom/omawrite. Tests that drive the real window, and text that survives a round trip through
QTextDocument. - Omacalc, the calculator: https://github.com/omacom/omacalc.
- Omasnap, screenshots and annotation: https://github.com/omacom/omasnap. Built on Qt Widgets and layer-shell rather than Qt Quick, so a reference for capture, not for shape.
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
QObjectwithQ_PROPERTY … NOTIFYfor state andQ_INVOKABLEfor actions, handed to QML withengine.rootContext()->setContextProperty("backend", &backend). A value QML shows is a property with aNOTIFYsignal, never aQ_INVOKABLEgetter: 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
ApplicationWindowinMain.qml, a few components beside it, and every key binding as a `Short
Установить omarchy-make-app в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
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), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic