app-compatibility-engine
Phase 2 of App Factory. Decide how a web frontend runs inside a mobile (Capacitor 8) or desktop (Tauri 2) shell - strategy static, next-export or client-shell…
от Navinspire-ia★ 37 звёзд на GitHub
Установить app-compatibility-engine в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
App Compatibility Engine
When to use
After app-project-analyzer, before any file is written.
Inputs
- Analyze report, target id.
Locked engines
Desktop = Tauri 2 + Rust. Mobile = Capacitor 8. Never substitute React Native/Expo, Flutter, Tauri Mobile, Electron or WinUI 3, and never ask the client to choose.
Strategy matrix
| Frontend | Server features | Strategy | Frontend dist |
|---|---|---|---|
| Vite / CRA / Angular / Vue / Svelte SPA | n/a | static |
existing build output |
| SvelteKit / Nuxt | none | static with adapter-static / nuxi generate in os/<id> |
generated output |
| Next.js | none | next-export (output: "export", images.unoptimized, trailingSlash) in an os/<id> build config only |
out/ |
| Next.js 16 | Server Actions, server auth, SSR with cookies() / headers(), middleware, app/**/route.ts, pages/api |
client-shell |
os/<id>/web build |
| Server rendered only (Django templates, Rails) | all | client-shell or remote URL shell, ask the user |
n/a |
The Next.js rule
With any server feature, NEVER just set output: "export" and NEVER edit the site's next.config. Build an adapted client frontend in os/<target>/web:
- Reuse components; replace Server Actions by
fetchcalls to the existing backend endpoints (or the existing route handlers, still served by the deployed site). - API base URL from env (
NEXT_PUBLIC_API_URL), HTTPS only. - Auth over HTTP: bearer token in secure storage, or cookies with
SameSite=None; Secureand CORS credentials (seeapp-backend-bridge). - The website keeps working unchanged.
Procedure
appfactory action=plan target=<id>.- Check the strategy against the matrix and the cited files. If the engine is wrong, explain why with the file paths and follow the matrix.
- Record risks: cross-origin auth, CORS, absolute asset paths,
next/imageoptimization, mixed content, dynamic routes withoutgenerateStaticParams.
Verification
Strategy justified by file paths; steps use the detected package manager.
Failure modes and fixes
- Dynamic routes in export: use
generateStaticParamsor client routing with query params inos/<id>/web. next/imagein export:images: { unoptimized: true }in theos/<id>config.
Deliverable
Strategy + ordered steps + risks, report step compatibility.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл app-compatibility-engine?
Phase 2 of App Factory. Decide how a web frontend runs inside a mobile (Capacitor 8) or desktop (Tauri 2) shell - strategy static, next-export or client-shell - and enforce the Next.js rule (never just output export when Server Actions, SSR, middleware or route handlers exist). Drives `appfactory action=plan`.
Как установить скилл app-compatibility-engine?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл app-compatibility-engine запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis 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…