Build Project Memory for AI
Stop re-explaining your project in every new chat. Capture it once as a context profile the AI keeps across every conversation — stack-inferred conventions and all.
AI knows general programming but not your domain. Establish how your specific world works — its rules, its vocabulary, its non-negotiables — so it reasons inside it.
A model can write flawless Python and still misunderstand your data pipeline, because the hard part isn't the language, it's the domain. This setup establishes the domain for Quarry, a batch data pipeline feeding a warehouse. The facts that matter aren't syntax — they're that runs are idempotent, aggregates use UTC day boundaries, and bad rows are quarantined not dropped. The glossary defines run, backfill, DAG, and partition; the never-assume list bars trusting input data. The profile gives the AI the mental model of the domain, not just the code.
State the domain rules
Idempotent runs, UTC boundaries, quarantine bad rows — the laws of your world.
Define the vocabulary
Run, backfill, partition: the words that carry domain meaning.
Give the AI the model
It reasons inside your domain instead of applying generic defaults.
The profile captures domain facts in named sections: Always Remember holds invariants like UTC day boundaries and idempotent runs, and the Glossary defines terms like run, backfill, and partition. Project Context Builder generates it; you save it at your repo root as .cursorrules so Cursor loads it for every request and each teammate gets the same context.
The Never Assume section encodes exactly that: do not assume input data is clean, validate and quarantine bad rows; reference the migrations before writing a query; and when a fact is missing from the profile, ask rather than invent it. These bars stop the model applying generic defaults where the Quarry pipeline has strict non-negotiables.
No, this is project knowledge, not behavior. The AI Usage Notes state the profile is durable project identity and point you to the System Prompt Generator for a task persona with role, tone, and escalation rules, and to the Context Handoff Builder for carrying in-progress work state. This one establishes the domain's facts and vocabulary only.
Stop re-explaining your project in every new chat. Capture it once as a context profile the AI keeps across every conversation — stack-inferred conventions and all.
A reusable profile that tells AI everything constant about your project — type, stack, conventions, glossary, architecture principles, and the rules it must never guess.
Onboard AI to a codebase the way you'd onboard a new hire: what it is, how it's built, the rules that aren't written down, and the things never to assume.
End a working session like a shift change, not an abandonment: state captured, decisions logged, next step named — ready for the next session to pick up.
Convert scattered bug notes, Slack messages, or user complaints into structured engineering tasks with reproduction steps, severity, and root cause hypothesis.
What a converged conversation contains: a rejected voice, an accepted framing, a hard constraint, a format decision, and a final-version moment — each mapped to its prompt section.
Define what AI should permanently know about your project — stack conventions, glossary, and never-assume rules in a profile you paste once.