lovable-project
Installation
SKILL.md
Lovable Project Context
Use this skill as the first step for work in a Lovable repository.
- Read
.lovable-agent/config.jsonand.lovable-agent/context.mdwhen present. Treat them as the canonical source of project settings; readAGENTS.mdas the neutral instruction shim. - Preserve provider-specific files as adapters:
CLAUDE.md,.claude/, and Claude commands remain supported, but new state belongs in.lovable-agent/. - Detect architecture before making assumptions:
- Run
python3 plugins/lovable/scripts/detect-architecture.py .when the helper is available; it reports JSON without reading secret values. app.config.ts→ TanStack Start (SSR, file-based routes,*.server.tsauto-deploys).vite.config.ts→ Vite SPA (CSR,src/, backend changes need Lovable deployment prompts).- If both or neither are present, report the ambiguity and inspect the package scripts.
- Run
- Keep context secret-safe. Record secret names and status only; never record values, preview tokens, OAuth credentials, or API keys in config, instructions, logs, or generated reports.
- For the detailed neutral schema and migration rules, read
../lovable/references/agent-config.md.