knowledge
Skill4 starsChanged 4 months agoMITView on GitHub
Use when the user wants to set up, write, review, or clean up the persistent instructions Lovable carries into every message — "write my project knowledge", "generate knowledge for this project", "set up coding standards for my workspace", "what should go in the knowledge file", "Lovable keeps forgetting X", "Lovable keeps using the wrong library", "I keep repeating the same instruction", "review my knowledge". Covers what belongs in workspace knowledge versus project knowledge, how to write instructions that actually change behaviour, and when a rule should be a skill instead. Not for writing skills themselves, and not for one-off instructions that belong in a single prompt.
5 other projects use a version of this.
Adopted by
Most recently taken up by
- guaardvark/guaardvarktheir own version, first seen Sep 30, 2026
- youdcode/open-companytheir own version, first seen Sep 21, 2026
- Kastalien-Research/thoughtboxtheir own version, first seen Jul 3, 2026
- Ekajto/my-claude-skillstheir own version, first seen May 17, 2026
- Ahmadjamil888/imostheir own version, first seen May 1, 2026
Other versions5 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 5
- guaardvark/guaardvark★ 247same name
- Kastalien-Research/thoughtbox★ 66same name
- youdcode/open-company★ 2same name
- Ahmadjamil888/imos★ 1same name
- Ekajto/my-claude-skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository15 other files it gives its agents.
- analyzeSkill
- authSkill
- emailsSkill
- mcpSkill
- paymentsSkill
- planSkill
- testSkill
- lovable-codebase-audit-cleanupSkill
- deploy-externalSkill
- shipSkill
- art-directionSkill
- responsiveSkill
- secureSkill
- skill-name-in-kebab-caseSkill
- debugSkill
The file
We split this skill into the rules it gives an agent
1 rule. 0 are common, 1 is distinctive, and 0 are very specific to this project.
0
Common
Most of the 5 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 60
When behaviour drifts late in a long session, restating the rule in the message is a fair response.
“Common” is measured: kept by at least 6 in 10 of the 5 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Knowledge
Knowledge is the standing instruction set carried into every message. Getting it right raises the quality of every edit; getting it wrong degrades every edit, quietly and permanently.
The trigger to write it is almost always the same complaint: "I keep having to repeat this." A repeated instruction is a missing knowledge entry.
Two levels, one rule
| Scope | Holds | Who edits | |
| Workspace knowledge | Every project in the workspace | Rules that should be true everywhere — standards, conventions, preferred libraries, things to avoid | Workspace owners and admins |
| Project knowledge | One project | What this app is, who uses it, its schema, its architecture decisions, its vocabulary | Anyone who can edit the project |
The rule for placement: if it would be true in your next project too, it is workspace knowledge. If it is about this app, it is project knowledge.
Both cap at 10,000 characters. Both are included together in every message. Where they conflict, project knowledge generally wins, because it is more specific — but relying on that is worse than not conflicting. Keep shared rules in one place and project facts in the other.
One workspace knowledge per workspace; there is no way to scope different rules to subsets of projects.
Knowledge or skill?
The decision that keeps knowledge small enough to be followed.
- Relevant on every message → knowledge. Coding standards, naming, brand voice, the domain vocabulary.
- Relevant only when a specific topic comes up → a skill. A release checklist, a review playbook, a particular kind of content.
Putting task-specific instructions into knowledge is the most common mistake here. It bloats the always-on context, dilutes the rules that do matter, and the instruction still fails to fire reliably because it is buried.
Route the task
| The task | Playbook |
| Writing project knowledge for an existing app | reference/project.md |
| Setting standards across projects | reference/workspace.md |
| "Lovable keeps doing X wrong" | reference/fixing.md |
| Reviewing or trimming what is already there | reference/fixing.md |
How to write it
Be specific enough to be checkable. "Always enable TypeScript strict mode. Never use any — use unknown and narrow it" changes behaviour. "Write clean code" does not, and it consumes characters that a real rule could have used.
Write it like onboarding documentation. Explain the project the way you would to a developer joining next week, including the architectural decisions you do not want revisited. A decision recorded is a decision that stops being re-litigated in every session.
Prefer bullets and direct rules to paragraphs. Short instructions are followed more reliably than prose.
Say what to avoid, not only what to do. "Do not call fetch directly from components" prevents a specific recurring behaviour in a way that a positive rule about service layers does not.
Do not try to document everything. A few clear rules and a short description of the project improve output substantially. An exhaustive specification hits the character limit and buries the rules that mattered.
What it cannot do
In very long conversations, standing instructions are not always followed consistently. This is a real limit, not a reason to write more. Two consequences:
- A rule that must never be violated needs enforcement beyond knowledge — a test, a review step, a check in a skill.
- When behaviour drifts late in a long session, restating the rule in the message is a fair response; it does not mean the knowledge is wrong.
Instruction files in the repository also apply. A root-level AGENTS.md is always read regardless of conversation length, which makes it the more reliable home for rules that must survive a long session. For a technical user already keeping such a file, point them there rather than duplicating it.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

