wi-app
Installation
SKILL.md
Wonder Image App
Overview
Use this skill to work inside wonder-image/app as a framework package, not as a standalone app. Keep the framework-versus-site boundary explicit before changing code, running commands, or deciding where new logic belongs.
Glossary
Shared vocabulary across wi-app and wi-site (identical wording in both skills):
- framework —
wonder-image/app(Composer package, github.com/wonder-image/app). Lives at the repo root when wi-app is active; lives atvendor/wonder-image/app/inside a site. - lib —
wonder-image/lib(npm package, github.com/wonder-image/lib). The JS / CSS design system. Source atnode_modules/wonder-image/src/; compiled copy atassets/lib/wonder-image/dist/. - scaffold —
wonder-image/new-site(github.com/wonder-image/new-site). The site template. The scaffold itself is also a valid site. - site — any project whose
composer.jsondepends onwonder-image/app(i.e. installs the framework undervendor/wonder-image/app). Typically the scaffold or a project derived from it. Canonical term — prefer "site" over older mixed uses like "consumer project" / "consumer app". - module — external Composer package
wonder-image/<slug>discovered via Composer (or filesystem fallback). Ships its own models / resources / routes viamodule.json+ aModuleInterfaceentrypoint. custom/— site-only directory for project pages, components, layouts, routes, config, and helpers. Never present inside the framework.app/Models/app/Resources— site PSR-4 roots (App\Models\.../App\Resources\...). Distinct from the framework'sclass/App/Models/class/App/Resources(Wonder\App\Models\.../Wonder\App\Resources\...).