- Workspace instructions define shared rules that apply across all projects in a workspace, such as coding standards, preferred libraries, or naming conventions.
- Project instructions add context that is specific to a single project, such as the application purpose, database schema, architecture decisions, or domain terminology.
Skills vs. instructions
Skills and instructions complement each other.- Instructions are always included in context. Use them for rules and conventions that apply to everything Lovable does, such as coding standards, brand guidelines, or your project’s domain terminology.
- Skills are loaded on demand. Use them for instructions that only matter for specific kinds of tasks, such as running a release checklist, drafting a customer reply, or producing a particular kind of content.
Workspace instructions
Workspace instructions are a text field that lets you define shared rules once and apply them across all projects in your workspace. Project instructions can then add context that is specific to a particular project. Use them for rules and conventions that should be consistent across multiple projects. By defining these guidelines once, you avoid repeating the same instructions in every project’s instructions. Workspace instructions are especially useful in team environments where multiple people are building projects. Workspace admins can define guardrails such as coding standards, testing requirements, or architectural rules so every project follows the same conventions automatically. Only workspace owners and admins can manage workspace instructions. To manage workspace instructions, go to either:- Workspace settings → Instructions
- Project settings → Instructions
What to include
Workspace instructions are best for:- Coding style conventions
- Naming conventions
- Preferred libraries or frameworks
- Shared architectural patterns
- Testing requirements
- Code quality or linting rules
- Language or formatting preferences
- Brand voice, UI copy, or design guidelines
- Things Lovable should avoid doing
Example
Important notes
- Changes apply immediately
If you update workspace instructions during an active conversation, Lovable will use the updated instructions on follow-up messages. - One set of workspace instructions per workspace
Each workspace has a single set of workspace instructions shared across all projects. You cannot define different workspace-level instructions for subsets of projects inside the same workspace. - Workspace instructions in long conversations
Workspace instructions are always included together with project instructions alongside project code and other context sources. However, in very long conversations with a lot of context, instructions may not always be followed consistently.
Project instructions
Project instructions are a text field that stores persistent instructions and context for a single project. Use it to provide information that applies only to that specific project, such as the application purpose, architecture, or domain terminology. Anyone with permission to edit the project can update project instructions. To manage project instructions, go to Project settings → Instructions. Project instructions support up to 10,000 characters.What to include
Good project instructions usually include:- What the application does
- User personas or target audiences
- Database schema or key tables
- Architecture decisions
- Domain terminology
- Project specific constraints
- Design guidelines (colors, typography, or layout)
- Links to important references such as API documentation or internal tools
- Security or compliance requirements
Example
Best practices
Be specific
Be specific
Write it like onboarding documentation
Write it like onboarding documentation
Keep instructions concise
Keep instructions concise
Review instructions periodically
Review instructions periodically
FAQ
What is the character limit for instructions?
What is the character limit for instructions?
Can I have multiple sets of workspace instructions?
Can I have multiple sets of workspace instructions?
Can I add instruction files in the project's repository?
Can I add instruction files in the project's repository?
AGENTS.md or CLAUDE.md in your project.Lovable reads any AGENTS.md or CLAUDE.md file at the top level of your project with every message you send.Lovable reads an instruction file in a subfolder, such as src/components/AGENTS.md, when it opens or edits a file in that folder or a folder inside it.On paid plans, Lovable also rewrites or removes a rule in an AGENTS.md file that no longer matches your code, unless you asked for that rule. See Dreaming.Which context sources does Lovable read?
Which context sources does Lovable read?
AGENTS.md or CLAUDE.md.Lovable also uses what it remembers about the project and about you. See Memory.What happens if project and workspace instructions conflict?
What happens if project and workspace instructions conflict?
What is the difference between a skill and instructions?
What is the difference between a skill and instructions?