Short answer: keep the prompts that worked, with blanks where the details change, in one shared place your team already uses. Each entry needs a name, the job it does, the prompt with placeholders like {table} and {question}, and one example of a good answer. Five to ten prompts cover most of an analyst's week: explain a query, write a measure, review SQL, summarise a chart, draft a data dictionary entry.
Image creators copy the prompt behind a picture they like and swap in their own subject. Analysts can do the same: the structure of a good prompt for "explain this query" does not change from one query to the next. Only the query does.
Which prompts are worth keeping?
| Name | Job | The part that changes |
|---|---|---|
| Explain query | Explain a SQL query in plain English, step by step | {query} |
| Write measure | Write one DAX measure with variables and DIVIDE | {meaning}, {tables}, {filters} |
| Review SQL | Find wrong joins, missing filters and slow patterns | {query}, {table sizes} |
| Summarise chart | Three sentences on what a chart shows, for an email | {numbers}, {audience} |
| Dictionary entry | Name, definition, formula and owner of a metric | {metric}, {formula} |
What does one entry look like?
Name: Explain query
Job: explain a SQL query to someone who does not write SQL
Prompt:
Explain this {dialect} query in plain English for a business reader.
Say what one row of the result means, then each step in order.
Point out anything that could make the numbers wrong.
Query: {query}
Good answer: (paste one you were happy with)The "good answer" line is what makes the entry reusable by a colleague: it shows what success looks like.
Where should the library live?
Where your team already looks: a page in your wiki, a folder in your repository, or a shared document. A coding agent can read it too: Claude Code loads skills from a project's .claude/skills/ folder, so a prompt you repeat daily can become a skill. Keep one owner, so entries get fixed when they stop working.
What goes wrong?
- Saving every prompt. Keep only the ones you used more than twice and liked the result of.
- No placeholders. A prompt with last month's table name baked in fails quietly next month.
- Company data in the examples. Use made-up rows in the "good answer".
Where can you check this?
- Claude Code docs: Extend Claude with skills, turning a repeated prompt into a skill
- Anthropic: Prompt engineering overview
Where do you start?
Write your first two entries from the DAX prompt and the SQL prompt. When one becomes a daily habit, see a Claude skill for your DAX conventions.