desktop-feature
БесплатноБез исполняемых скриптовНе проверенAdd or modify desktop app functionality (Wails-based native apps)
от clidey★ 5 073 звезды на GitHubОб этом скилле
Desktop App Feature
Architecture
desktop-common/ # Shared: App struct, window management, menus, RunApp()
desktop-ce/ # CE entry point, Makefile, wails.json
desktop-ce/main.go calls common.RunApp(common.RunConfig{Edition: "ce", ...}) with the embedded assets, GraphQL schema and engine initializer.
Adding Desktop-Specific Behavior
1. Runtime Detection
import "github.com/clidey/whodb/core/src/env"
if env.GetIsDesktopMode() {
// Desktop-specific behavior
}
It reads WHODB_DESKTOP on every call because the app sets the variable after package initialization.
2. Menu / Accelerator Changes
Edit desktop-common/app.go. Wails accelerators are separate from frontend keyboard shortcuts — both must be updated for shared shortcuts.
3. Window Management
All window logic lives in desktop-common/app.go (App struct methods).
Build and Test
Development
cd desktop-ce && make dev # Hot reload mode
Production Build
cd desktop-ce && make build # Current platform
cd desktop-ce && make build-mac # macOS universal binary
cd desktop-ce && make build-all # All platforms
Verification
# Must build with workspace
GOWORK=$PWD/go.work.desktop-ce go build -C desktop-ce -o test-build
rm -f desktop-ce/test-build
# Frontend must also build (it gets embedded)
cd frontend && pnpm run build:ce
macOS Packaging (release only)
make package-mac-signed # Signed .pkg (CODESIGN_ID, INSTALLER_ID)
make notarize-mac # Notarize with Apple
make dmg-mac # DMG installer
make release-mac # Build, sign, notarize and staple
Notarization needs NOTARY_PROFILE or APPLE_ID, TEAM_ID and APPLE_APP_PASSWORD. Run make help for every target.
Key Rules
- Entry points are thin — call
common.RunApp() - Edition not controlled by build tags, only by which entry point compiles
WHODB_DESKTOP=trueis set automatically at runtime- Go workspace file:
go.work.desktop-ce
Установить desktop-feature в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл desktop-feature?
Add or modify desktop app functionality (Wails-based native apps)
Как установить скилл desktop-feature?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл desktop-feature запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic