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.
Overview
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.
Workflow
1
State the domain rules
Idempotent runs, UTC boundaries, quarantine bad rows — the laws of your world.
2
Define the vocabulary
Run, backfill, partition: the words that carry domain meaning.
3
Give the AI the model
It reasons inside your domain instead of applying generic defaults.
Why This Works
The domain, not the language, is what general-purpose models get wrong
Always-remember rules encode the invariants the system depends on
Never-assume rules stop the model trusting things your domain never trusts
Best for
Data, fintech, and other rule-heavy domains
Systems with strong invariants
Projects where the language is easy but the domain is hard
Not for
Explaining a specific algorithm — use the Code Explanation Prompt
A behavior persona for one task — use the System Prompt Generator
Use cases
Data, fintech, and other rule-heavy domains
Systems with strong invariants
Projects where the language is easy but the domain is hard
Tip: Save time by exploring related resources and tools that integrate with this workflow.
Found a bug, have a suggestion, or want to report something confusing? Send a short note.
Cookie preferences
NewPrompt uses optional Google Analytics cookies to understand site usage and improve the tools.
The site works normally if you decline analytics cookies.
Read more in our Cookie Policy.