frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: I solved Claude Code's context drift with persistent Markdown files

3•Tanishq0333•8h ago
I've been using Claude Code to build SaaS products, and kept hitting the same wall: it writes brilliant code for 20 minutes, then forgets your database schema and starts rewriting working code. The problem isn't the model's memory, it's that there's no persistent project context between sessions. Come back tomorrow and Claude has zero knowledge of what it built yesterday. My solution: Force Claude to read project truth files before every action. I built a multi-agent system that creates persistent context files upfront: PROJECT.md - What you're building, business model, core features REQUIREMENTS.md - Database schema, auth flows, API structure, edge cases ROADMAP.md - Build phases with success criteria STATE.md - Current position, completed work, pending tasks How it works:

AI Product Manager asks questions most developers skip:

"How does money flow through this?" "What happens when users cancel mid-month?" + Any Edge cases specific to your SaaS

Creates the markdown files from your answers. Claude Code reads these files before writing ANY code. No guessing. Can't forget the schema, it's literally documented. Executor agents spawn per task, each reading the same context files. They build in parallel but never break what's already working. Verifier agent tests against success criteria after each phase. If broken, spawns debugger agent with persistent investigation files.

Results: Built 3 products in 30 days using this system:

Analytics dashboard: 13 hours Feedback widget: 18 hours Content calendar: 9 hours

No context drift. No "Claude forgot my auth system" moments. Just consistent builds. The biggest difference: Saturday: Build auth with Claude Sunday: Come back, describe next feature Claude reads REQUIREMENTS.md, sees existing auth schema Builds new feature without touching auth vs. the normal experience of Claude rewriting everything. I packaged this as PropelKit (Next.js boilerplate + AI PM system that creates these files automatically). But the core concept, persistent markdown context, works with any Claude Code setup.

Try it: https://propelkit.dev

The agent architecture uses Claude Sonnet/Opus (configurable) parallel thinking to spawn multiple agents that all read from the same truth files. Happy to answer questions about the implementation.

Comments

ashirviskas•1h ago
>The biggest difference: Saturday: Build auth with Claude Sunday: Come back, describe next feature Claude reads REQUIREMENTS.md, sees existing auth schema Builds new feature without touching auth vs. the normal experience of Claude rewriting everything

What do you mean rewriting everything?

When I started properly structuring my projects, it just follows the pattern and doesn't just "rewrite everything". It finds things in places it expects to find.

Your project seems to solve a specific flaw in your flow. And as a npm package, which is super suspicious.

EDIT: Oh, it's just a useless product looking for problems to solve just for some $$$ a month.

Show HN: Thermal Receipt Printers – Markdown and Web UI

https://github.com/sadreck/ThermalMarky
31•howlett•3d ago•8 comments

Show HN: Oxyde – Pydantic-native async ORM with a Rust core

https://github.com/mr-fatalyst/oxyde
54•mr_Fatalyst•3d ago•35 comments

Show HN: Claude Code skills that build complete Godot games

https://github.com/htdt/godogen
157•htdt•9h ago•97 comments

Show HN: Autonomous Prover Running > 1hr

https://perqed.com/minutiae/
2•bneb-dev•40m ago•0 comments

Show HN: Trackm, a personal finance web app

https://trackm.net
18•iccananea•2h ago•9 comments

Show HN: Hecate – Call an AI from Signal

https://github.com/rhodey/hecate
14•rhodey•10h ago•2 comments

Show HN: Spoke – On-device AI dictation for macOS with visual automation engine

https://usespoke.app/
2•usespoke•2h ago•1 comments

Show HN: Seasalt Cove, iPhone access to your Mac

https://seasalt.app
2•jerrodcodes•2h ago•0 comments

Show HN: Sprinklz.io – An RSS reader with powerful algorithmic controls

https://sprinklz.io
10•sammy0910•11h ago•3 comments

Show HN: Live-Editable Svelte Pages

https://svedit.dev
5•_mql•4h ago•1 comments

Show HN: Pincer – Twitter/X for bots. No humans allowed

https://pincer.wtf
4•johnpolacek•2h ago•3 comments

Show HN: Most GPU Upgrades Aren't Worth It, I Built a Calculator to Prove It

https://best-gpu.com/upgrade.php
5•Nebyl•5h ago•2 comments

Show HN: Signet – Autonomous wildfire tracking from satellite and weather data

https://signet.watch
118•mapldx•1d ago•31 comments

Show HN: GDSL – 800 line kernel: Lisp subset in 500, C subset in 1300

https://firthemouse.github.io/
83•FirTheMouse•1d ago•20 comments

Show HN: Hackerbrief – Top posts on Hacker News summarized daily

https://hackerbrief.vercel.app/
63•p0u4a•12h ago•44 comments

Show HN: AgentDiscuss – a place where AI agents discuss products

https://agentdiscuss.com/
9•leoooo•9h ago•9 comments

Show HN: What if your synthesizer was powered by APL (or a dumb K clone)?

https://octetta.github.io/k-synth/
89•octetta•1d ago•31 comments

Show HN: Tic-Tac-Word – Can you beat yourself in this tic-tac-toe word game?

https://www.tictacword.com
6•onion92•6h ago•4 comments

Show HN: Smart glasses that tell me when to stop pouring

https://github.com/RealComputer/GlassKit/tree/main/examples/rokid-overshoot-openai-realtime
3•tash_2s•6h ago•1 comments

Show HN: Open-source, extract any brand's logos, colors, and assets from a URL

https://openbrand.sh/
6•hitchyhocker•6h ago•0 comments

Show HN: Grafly.io – Free online diagramming tool

https://grafly.io/
3•lnenad•6h ago•1 comments

Show HN: Is Claude's 2x usage active?

https://2x.rishikeshs.com/
2•rishikeshs•6h ago•0 comments

Show HN: Ever wondered what Conway's Game of Life sounds like?

https://vovanz.github.io/conways-life-music/
3•vova_hn2•7h ago•5 comments

Show HN: I solved Claude Code's context drift with persistent Markdown files

3•Tanishq0333•8h ago•1 comments

Show HN: TakeHome – LLC vs. S-Corp tax calculator for solopreneurs

2•dalberto•8h ago•0 comments

Show HN: HypergraphZ – A Hypergraph Implementation in Zig

https://github.com/yamafaktory/hypergraphz
2•yamafaktory•8h ago•0 comments

Show HN: Puffermind – a social network where only AI agents can post

2•blurayfin•8h ago•0 comments

Show HN: Kontext.dev – Runtime Credentials for Agents

https://kontext.dev/blog/announcing-kontext
4•michiosw•8h ago•2 comments

Show HN: Open-Source Workflow Builder SDK

https://github.com/synergycodes/workflowbuilder
3•maciek996•9h ago•0 comments

Show HN: Goal.md, a goal-specification file for autonomous coding agents

https://github.com/jmilinovich/goal-md
27•jmilinovich•1d ago•7 comments