Create reusable prompt patterns and persistent preferences to improve your ZeroTwo workflow
Custom instructions allow you to set persistent preferences and behaviors that automatically apply to all your conversations in ZeroTwo. Instead of repeating the same context or requirements in every chat, you can define them once and have them consistently applied.
Custom instructions are persistent prompts that augment every conversation you have with AI models in ZeroTwo. They’re added to the system prompt automatically, ensuring your preferences, context, and requirements are always considered.
Think of custom instructions as your personal preferences file that travels with every conversation—like having a configuration file for how the AI should interact with you.
Help the AI understand your background and expertise level:
Copy
About me:- I'm a senior full-stack developer with 8 years of experience- I work primarily with React, TypeScript, Node.js, and PostgreSQL- I'm currently building a SaaS application for project management- I prefer functional programming patterns and immutable data structures- I use Visual Studio Code on macOS
Response preferences:- Provide TypeScript code by default unless I specify otherwise- Always include error handling in code examples- Explain your reasoning briefly before providing solutions- Use modern ES6+ syntax and avoid deprecated patterns- Keep explanations concise but comprehensive- Include inline comments for complex logic
Code style preferences:- Use functional components and hooks (no class components)- Prefer named exports over default exports- Use async/await instead of .then() chains- Follow Airbnb style guide for JavaScript/React- Use Tailwind CSS for styling- Write JSDoc comments for all functions- Prefer const over let, never use var
Communication preferences:- Be direct and practical—I prefer actionable advice over theory- Challenge my assumptions when they might lead to problems- Suggest better alternatives when you see potential issues- Point out security vulnerabilities and performance concerns- Assume I understand basic programming concepts- Explain advanced concepts with code examples
I'm a junior developer learning web development. I'm comfortable with HTML, CSS, and basic JavaScript, but still learning React and backend concepts.Please:- Explain concepts clearly with examples- Point out common mistakes and best practices- Suggest resources for deeper learning- Include detailed comments in code- Break complex tasks into smaller steps
Senior engineer pattern
Copy
I'm a senior engineer focused on architecture, performance, and scalability.Please:- Focus on design patterns and architectural decisions- Highlight performance implications- Consider scalability and maintainability- Point out edge cases and potential issues- Suggest testing strategies- Keep explanations concise—I can look up details
Full-stack pattern
Copy
I'm a full-stack developer working on end-to-end features.Tech stack: React/Next.js, Node.js/Express, PostgreSQL, RedisCurrent project: B2B SaaS platform with 10K usersPlease:- Consider both frontend and backend implications- Suggest API design patterns- Include database schema considerations- Think about authentication and authorization- Consider caching strategies when relevant
Context:- Data scientist working with Python, pandas, scikit-learn, TensorFlow- Focused on ML model development and data analysis- Working with structured and unstructured dataPreferences:- Provide Python code with type hints- Include data validation steps- Suggest appropriate algorithms for problems- Consider computational efficiency- Include visualization code when helpful- Use modern pandas patterns (avoid deprecated methods)
Copy
Context:- DevOps engineer managing AWS infrastructure- Use Terraform for IaC, Docker for containerization- Focus on CI/CD, monitoring, and reliabilityPreferences:- Provide infrastructure-as-code examples- Consider security best practices- Think about monitoring and observability- Include error handling and rollback strategies- Suggest cost optimization opportunities- Use AWS best practices and well-architected framework
Copy
Context:- Mobile developer working with React Native- Building iOS and Android apps- Focus on performance and user experiencePreferences:- Provide React Native code examples- Consider platform-specific differences- Think about offline functionality- Optimize for mobile performance- Consider battery and data usage- Follow platform design guidelines (iOS HIG, Material Design)
Current project context:- Building a real-time collaboration platform (think Figma/Google Docs)- Handling WebSocket connections for real-time updates- Managing complex state synchronization- Supporting 100+ concurrent users per session- Need to ensure data consistency and conflict resolutionTechnical constraints:- Must work in modern browsers (last 2 versions)- Target load time under 3 seconds- Support offline mode with sync on reconnect- GDPR compliant (data stored in EU)When providing solutions:- Consider real-time performance implications- Think about conflict resolution strategies- Ensure scalability for concurrent users- Prioritize user experience and responsiveness
Typical workflow preferences:- I'm usually iterating on existing code, not starting from scratch- I value refactoring suggestions and code improvements- I want to understand trade-offs between approaches- I need to balance feature velocity with code quality- I work in a team—suggest maintainable, readable solutionsCode review mindset:- Point out potential bugs or edge cases- Suggest more idiomatic approaches- Highlight performance concerns- Note security vulnerabilities- Recommend better naming or structure
Default behavior:- Provide TypeScript code with full type safety- Include error handling- Follow functional programming patternsWhen I ask for "quick prototype" or "MVP":- Prioritize speed over perfection- Use simpler implementations- Skip comprehensive error handling- Focus on core functionalityWhen I ask for "production code":- Include comprehensive error handling- Add logging and monitoring- Write unit tests- Consider edge cases thoroughly- Include JSDoc documentation
Before providing solutions:1. If the requirements are ambiguous, ask clarifying questions2. If multiple approaches exist, briefly outline options before implementing3. If I haven't specified constraints, ask about performance, scalability, or security requirements4. If the problem might have edge cases, ask about expected behaviorThis helps ensure we're aligned before you invest time in a detailed solution.
Provide instructions about how to interpret your prompts:
Copy
Interpreting my requests:- When I say "fix this," look for bugs, type errors, and logical issues- When I say "improve this," consider readability, performance, and maintainability- When I say "make it production-ready," add error handling, logging, tests, and documentation- When I paste code without context, assume I want a review or improvements- When I describe a feature, I usually want a complete implementation including types, error handling, and tests
Background:- Full-stack developer, 5 years experience- Current stack: Next.js, TypeScript, Node.js, PostgreSQL- Building B2B SaaS productsCode preferences:- TypeScript with strict mode- Functional React components with hooks- Async/await for asynchronous operations- Tailwind CSS for styling- Prisma for database accessQuality standards:- Always include error handling- Write self-documenting code with clear naming- Add TypeScript types for all functions- Include JSDoc for complex logic- Consider security and performanceResponse style:- Provide complete, runnable code examples- Explain architectural decisions briefly- Suggest improvements when you see issues- Point out potential bugs or edge cases
Background:- Data analyst working with Python and SQL- Focus on business intelligence and reporting- Non-technical stakeholdersTech stack:- Python with pandas, matplotlib, seaborn- SQL (PostgreSQL and BigQuery)- Jupyter notebooks for analysisPreferences:- Provide well-commented Python code- Include data validation steps- Suggest appropriate visualizations- Write SQL queries that are readable and maintainable- Explain statistical concepts clearlyDeliverable style:- Format outputs for executive presentations- Include insights and recommendations, not just data- Create visualizations that tell a story- Consider business context in analysis