Most of what we learn on a project ends up in a Slack thread, a pull request comment or our own heads. Then the project ends, or we move on, and the next time the same problem shows up we solve it from scratch.
So I keep a personal knowledge center: a plain folder of Markdown files in its own git repo, separate from any company's docs. Anything worth remembering goes in once, written so I can reuse it on the next project.
- Hit somethinga gotcha, a fix, a decision
- Write it onceapplies to, verified with, symptom, cause, fix
- Make it findablefolder indexes and a search script
- Graph itclusters and links you missed
- Hand it to your AIread before debugging or designing
The next project starts from what the last one taught you
What goes in
Mostly gotchas, like the build that only fails on CI or the library option that silently does nothing. Then debugging techniques: how I found the problem, since that's the part I forget first. And decisions, with what I didn't pick and why.
How I write an entry
One topic per file, with kebab-case names. Every entry opens with two lines:
**Applies to:** the stack or situation it assumes.
**Verified with:** the versions, and when I last saw it hold.
Software moves, so an entry that was true for one version can be wrong for the next. When your versions differ, treat the entry as a lead to check.
After that, the entry goes symptom, cause, fix. You search for what you're seeing, so the symptom comes first.
Anything that only holds for one product goes in a separate case-studies folder, told as a story with its context, so it doesn't pose as general advice. And nothing that identifies a project: no account or app IDs, bucket names, ticket numbers or company internals. Keeping only the lesson is what makes it safe to carry from job to job.
Make it easy to find
Every folder has an index README.md with a row per entry. On top of that I have two small scripts. One is a few lines of shell around rg and fzf that fuzzy-finds across every entry and opens the match in my editor. The other checks the conventions above and lists entries whose "Verified with" date is more than six months old, so I know what to re-check.
Graph it
Once you have a decent number of entries, turn the folder into a knowledge graph. I use graphify, a Claude Code skill that reads the files and builds a graph of the ideas in them: clusters, the most connected topics, and links between entries you wouldn't have made yourself.
Mine has 277 nodes in 11 clusters. It linked a note about giving the mobile app its own API to a note about deny-by-default authorization, two entries in different folders I'd never connected. On a team knowledge base, graphing turned up a whole class of bug that no single write-up had named. The graph sits next to the notes, and I can ask it questions whenever I need to.
Hand it to your AI
My global instructions for Claude Code say:
Before debugging or designing in a stack it covers, read the matching folder index in the knowledge center. Entries carry "Applies to" and "Verified with" lines: if versions differ, treat an entry as a lead to verify, not a fact.
So when I start a new project on a stack I've used before, the agent starts from what I already learned.
Keep your employer's knowledge separate
Your team's knowledge base belongs to the company. Yours holds the lesson in your own words, without names or internals. If an entry only makes sense with company details in it, leave it out.
Start tonight
- Make an empty git repo called
knowledge-center. - Write your first entry about the last bug that cost you more than an hour: applies to, verified with, symptom, cause, fix.
- Add an entry whenever something surprises you. It takes about five minutes.
- Once you have a handful, graph it and point your AI at it.