Home/
Part XIV — Team Workflows and "Shipping With Adults in the Room"/43. Collaboration Patterns/43.2 Shared prompt libraries and templates
43.2 Shared prompt libraries and templates
Overview and links for this section of the guide.
On this page
The Internal Library
Create a `prompts` package in your monorepo.
import { summarizer } from '@org/prompts';
const summary = await summarizer.run(text);
This ensures that when the "Summarizer" prompt is improved, every app in the company benefits instantly.
Template Variables
Standardize your variable names. Use `{{user_context}}`, `{{file_content}}`, `{{query}}`. Don't use `{{input}}` in one place and `{{text}}` in another.