.dinoprompts
Last updated
Was this helpful?
Last updated
Was this helpful?
The .dinoprompts
file serves as your team's prompt library, allowing you to store and reuse battle-tested prompts that understand your data development patterns. This eliminates the need to recreate complex prompts and ensures consistency across your analytics engineering team.
Centralized Library: Store tailored prompts for analytics engineering workflows
Time Savings: Access proven prompts instantly instead of recreating them
Team Knowledge Sharing: Distribute effective prompts across your organization
Context-Aware: Use variables for dynamic, situation-specific prompts
Fast Onboarding: New team members access best practices immediately
Step-by-Step Instructions
Open DinoAI by clicking the DinoAI icon (🪄) in the left panel
Access Prompt Creation by clicking the Prompt
option in the chat input
Alternative: Use the bracket symbol shortcut "[" to quickly find prompts
Create the file by selecting "Add .dinoprompts
" to automatically create a new file with built-in prompts
Define your prompts using the YAML structure with name
and prompt
fields
Access your prompts using the prompt quick-open feature in DinoAI
Make sure the .dinoprompts
file is placed in the root directory of your repository
The .dinoprompts
file uses a simple YAML structure:
DinoAI provides built-in variables you can use in your prompts. Variables enable you to dynamically attach context to your prompts.
{{ git.diff.withOriginDefaultBranch }}
Includes the git diff between your current branch and the default branch of your repository
{{ editor.currentFile.path }}
Includes the file path of the current opened and selected file in your Code IDE
{{ editor.openFiles.path }}
Includes the file path of the all the opened files in your Code IDE
Be Specific: Include clear requirements and expected outputs
Use Variables: Leverage context-aware substitutions
Provide Examples: Include sample inputs/outputs when helpful
Iterate: Test and refine prompts based on results
Descriptive Names: Use clear, purpose-driven prompt names
Team Collaboration: Share and improve prompts regularly
Ready-made prompts for analytics engineering tasks:
Model Generation: Staging, intermediate, and mart models with proper structure
Code Review: Git diff analysis for best practices and performance
Documentation: Comprehensive model and column descriptions
Testing: Data quality tests for models and transformations
Optimization: Query performance improvements and bottleneck identification
Standards: Consistent formatting and naming convention enforcement